diff options
author | Kurt Zenker <kz@openoffice.org> | 2005-11-02 16:45:44 +0000 |
---|---|---|
committer | Kurt Zenker <kz@openoffice.org> | 2005-11-02 16:45:44 +0000 |
commit | f9fb932c9532001557228c2b0950b56e0428dbc2 (patch) | |
tree | b68659ab1652f2ddb37c9af8ff28336286249942 /qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java | |
parent | f021fdbcd7291e07807af43f4bf1b2de736b2c3b (diff) |
INTEGRATION: CWS qadev24 (1.4.76); FILE MERGED
2005/09/19 13:50:45 cn 1.4.76.2: RESYNC: (1.4-1.5); FILE MERGED
2005/08/15 12:46:26 cn 1.4.76.1: #i52579# UNO-API calls must recorded
Diffstat (limited to 'qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java')
-rw-r--r-- | qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java b/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java index 420cefec2be6..86b4dc903526 100644 --- a/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java +++ b/qadevOOo/tests/java/ifc/frame/_XDispatchRecorder.java @@ -4,9 +4,9 @@ * * $RCSfile: _XDispatchRecorder.java,v $ * - * $Revision: 1.5 $ + * $Revision: 1.6 $ * - * last change: $Author: rt $ $Date: 2005-09-09 00:01:24 $ + * last change: $Author: kz $ $Date: 2005-11-02 17:45:44 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -90,7 +90,7 @@ public class _XDispatchRecorder extends MultiMethodTest { oObj.startRecording(xFrame); - log.println("NEGATIVE TEST: dispatch calles via API must not recorded"); + log.println("dispatch calles via API must be recorded"); dispURL = utils.parseURL((XMultiServiceFactory)tParam.getMSF(), ".uno:InsertText"); PropertyValue prop = new PropertyValue(); @@ -114,11 +114,9 @@ public class _XDispatchRecorder extends MultiMethodTest { oObj.endRecording(); boolean res = macro != null - && macro.indexOf(dispURL.Complete) == -1 - && macro.indexOf((String)dispArgs[0].Value) == -1; + && macro.indexOf(dispURL.Complete) > -1; if (!res) log.println("Dispatch URL '" + dispURL.Complete - + "' or its argument '" + dispArgs[0].Value - + "' was found in macro - FAILED"); + + "' was NOT found in macro - FAILED"); tRes.tested("getRecordedMacro()", res); } |