summaryrefslogtreecommitdiff
path: root/qadevOOo/runner/lib/MultiMethodTest.java
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner/lib/MultiMethodTest.java')
-rw-r--r--qadevOOo/runner/lib/MultiMethodTest.java21
1 files changed, 13 insertions, 8 deletions
diff --git a/qadevOOo/runner/lib/MultiMethodTest.java b/qadevOOo/runner/lib/MultiMethodTest.java
index 5a64357401f6..884059bcfd88 100644
--- a/qadevOOo/runner/lib/MultiMethodTest.java
+++ b/qadevOOo/runner/lib/MultiMethodTest.java
@@ -164,7 +164,8 @@ public class MultiMethodTest
if (! entry.entryName.equals("ifc.qadevooo._SelfTest"))
{
String ifcName = getInterfaceName();
- System.out.println("checking : " + ifcName);
+ // System.out.println("checking : " + ifcName);
+ System.out.print("checking: [" + entry.longName + "]");
// defining a name of the class corresponding to the tested interface
// or service
@@ -183,12 +184,12 @@ public class MultiMethodTest
}
catch (ClassNotFoundException cnfE)
{
-
+ System.out.println();
cnfE.printStackTrace(log);
log.println("could not find a class : " + getTestedClassName());
return null;
-
}
+ System.out.println(" is iface: [" + testedClassName + "] testcode: [" + entry.entryName + "]");
// quering the tested interface from the tested object
XInterface tCase = tEnv.getTestObject();
@@ -231,7 +232,8 @@ public class MultiMethodTest
DescEntry aSubEntry = entry.SubEntries[i];
try
{
- executeMethod(aSubEntry.entryName);
+ final String sEntryName = aSubEntry.entryName;
+ executeMethod(sEntryName);
}
catch (Exception e)
{
@@ -255,7 +257,7 @@ public class MultiMethodTest
* Is called before calling method tests, but after initialization.
* Subclasses may override to perform actions before method tests.
*/
- protected void before() throws Exception
+ protected void before()
{
}
@@ -318,13 +320,15 @@ public class MultiMethodTest
/**
* Checks if the <code>method</code> is optional in the service.
*/
- protected boolean isOptional(String method)
+ protected boolean isOptional(String _method)
{
for (int k = 0; k < entry.SubEntryCount; k++)
{
- if (entry.SubEntries[k].entryName.equals(method))
+ final String sName = entry.SubEntries[k].entryName;
+ if (sName.equals(_method))
{
- return entry.SubEntries[k].isOptional;
+ final boolean bIsOptional = entry.SubEntries[k].isOptional;
+ return bIsOptional;
}
}
return false;
@@ -367,6 +371,7 @@ public class MultiMethodTest
log.println("Execute: " + method);
callMethod(method);
log.println(method + ": " + tRes.getStatusFor(method));
+ log.println();
}
}