summaryrefslogtreecommitdiff
path: root/qadevOOo/runner
diff options
context:
space:
mode:
Diffstat (limited to 'qadevOOo/runner')
-rw-r--r--qadevOOo/runner/complexlib/Assurance.java2
-rw-r--r--qadevOOo/runner/convwatch/GraphicalTestArguments.java6
-rw-r--r--qadevOOo/runner/convwatch/MSOfficePrint.java2
-rw-r--r--qadevOOo/runner/convwatch/PerformanceContainer.java2
-rw-r--r--qadevOOo/runner/graphical/MSOfficePostscriptCreator.java2
-rw-r--r--qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java2
-rw-r--r--qadevOOo/runner/graphical/PerformanceContainer.java2
-rw-r--r--qadevOOo/runner/helper/ComplexDescGetter.java2
-rw-r--r--qadevOOo/runner/helper/ProcessHandler.java4
-rw-r--r--qadevOOo/runner/lib/MultiMethodTest.java10
-rw-r--r--qadevOOo/runner/lib/TestParameters.java2
-rw-r--r--qadevOOo/runner/lib/TestResult.java2
12 files changed, 19 insertions, 19 deletions
diff --git a/qadevOOo/runner/complexlib/Assurance.java b/qadevOOo/runner/complexlib/Assurance.java
index 53d287e9dc48..0cbc1e0aaf20 100644
--- a/qadevOOo/runner/complexlib/Assurance.java
+++ b/qadevOOo/runner/complexlib/Assurance.java
@@ -170,7 +170,7 @@ public class Assurance
public class AssureException extends RuntimeException {
- public AssureException(String msg) {
+ private AssureException(String msg) {
super(msg);
}
public AssureException(Throwable cause) {
diff --git a/qadevOOo/runner/convwatch/GraphicalTestArguments.java b/qadevOOo/runner/convwatch/GraphicalTestArguments.java
index 2d35b9669eed..669083bd0778 100644
--- a/qadevOOo/runner/convwatch/GraphicalTestArguments.java
+++ b/qadevOOo/runner/convwatch/GraphicalTestArguments.java
@@ -329,7 +329,7 @@ public class GraphicalTestArguments
}
// set methods
- public void setReferenceType(String _sType)
+ private void setReferenceType(String _sType)
{
// special casse, null is not allowed, set to default.
if (_sType == null)
@@ -342,10 +342,10 @@ public class GraphicalTestArguments
}
}
public void setTargetFrameName(String _sTargetFrameName) {m_sTargetFrameName = _sTargetFrameName;}
- public void setPrinterName(String _sName) {m_sPrinterName = _sName;}
+ private void setPrinterName(String _sName) {m_sPrinterName = _sName;}
private void setHidden() { m_bHidden = true;}
private void setViewable() {m_bHidden = false;}
- public void setDefaultXMLFormatApp(String _sNameOfApp) {m_sDefaultXMLFormatApplication = _sNameOfApp;}
+ private void setDefaultXMLFormatApp(String _sNameOfApp) {m_sDefaultXMLFormatApplication = _sNameOfApp;}
// get methods
public XMultiServiceFactory getMultiServiceFactory()
diff --git a/qadevOOo/runner/convwatch/MSOfficePrint.java b/qadevOOo/runner/convwatch/MSOfficePrint.java
index 9ed3b4b60727..e6235bed9716 100644
--- a/qadevOOo/runner/convwatch/MSOfficePrint.java
+++ b/qadevOOo/runner/convwatch/MSOfficePrint.java
@@ -42,7 +42,7 @@ public class MSOfficePrint
{
private String m_sPrinterName; // within Windows the tools need a printer name;
- public void setPrinterName(String _s) {m_sPrinterName = _s;}
+ private void setPrinterName(String _s) {m_sPrinterName = _s;}
private static boolean isWordDocument(String _sSuffix)
diff --git a/qadevOOo/runner/convwatch/PerformanceContainer.java b/qadevOOo/runner/convwatch/PerformanceContainer.java
index 0590ef37fc23..2f32bdeaeb06 100644
--- a/qadevOOo/runner/convwatch/PerformanceContainer.java
+++ b/qadevOOo/runner/convwatch/PerformanceContainer.java
@@ -26,7 +26,7 @@ public class PerformanceContainer {
/*
simple helper functions to start/stop a timer, to know how long a process need in milliseconds
*/
- public long getStartTime()
+ private long getStartTime()
{
return System.currentTimeMillis();
}
diff --git a/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java b/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java
index ba9a7ba25c64..a909651bc5f0 100644
--- a/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java
+++ b/qadevOOo/runner/graphical/MSOfficePostscriptCreator.java
@@ -36,7 +36,7 @@ public class MSOfficePostscriptCreator implements IOffice
{
private String m_sPrinterName; // within Windows the tools need a printer name;
- public void setPrinterName(String _s)
+ private void setPrinterName(String _s)
{
m_sPrinterName = _s;
}
diff --git a/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java b/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java
index dfbdfd8a648c..efba9a86cfe8 100644
--- a/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java
+++ b/qadevOOo/runner/graphical/OpenOfficePostscriptCreator.java
@@ -622,7 +622,7 @@ public class OpenOfficePostscriptCreator implements IOffice
- public boolean isStoreAllowed()
+ private boolean isStoreAllowed()
{
return false;
}
diff --git a/qadevOOo/runner/graphical/PerformanceContainer.java b/qadevOOo/runner/graphical/PerformanceContainer.java
index 5812f59d7f71..0ebda690f5c5 100644
--- a/qadevOOo/runner/graphical/PerformanceContainer.java
+++ b/qadevOOo/runner/graphical/PerformanceContainer.java
@@ -27,7 +27,7 @@ public class PerformanceContainer {
/*
simple helper functions to start/stop a timer, to know how long a process need in milliseconds
*/
- public long getStartTime()
+ private long getStartTime()
{
return System.currentTimeMillis();
}
diff --git a/qadevOOo/runner/helper/ComplexDescGetter.java b/qadevOOo/runner/helper/ComplexDescGetter.java
index 1c2099cce8d9..e92cce05d77c 100644
--- a/qadevOOo/runner/helper/ComplexDescGetter.java
+++ b/qadevOOo/runner/helper/ComplexDescGetter.java
@@ -33,7 +33,7 @@ import complexlib.ComplexTestCase;
public class ComplexDescGetter extends DescGetter
{
- ComplexTest testClass;
+ private ComplexTest testClass;
/** Creates new ComplexDescGetter */
public ComplexDescGetter()
diff --git a/qadevOOo/runner/helper/ProcessHandler.java b/qadevOOo/runner/helper/ProcessHandler.java
index 332eb52f5a83..9e0b352e55eb 100644
--- a/qadevOOo/runner/helper/ProcessHandler.java
+++ b/qadevOOo/runner/helper/ProcessHandler.java
@@ -729,7 +729,7 @@ public class ProcessHandler
* @return <code>true</code> if the external command was
* found and successfully started.
*/
- public boolean isStarted()
+ private boolean isStarted()
{
return isStarted;
}
@@ -741,7 +741,7 @@ public class ProcessHandler
* @return <code>true</code> if the command correctly starts,
* exits and was not interrupted due to timeout.
*/
- public boolean isFinished()
+ private boolean isFinished()
{
return isFinished;
}
diff --git a/qadevOOo/runner/lib/MultiMethodTest.java b/qadevOOo/runner/lib/MultiMethodTest.java
index c1f0b308f07b..aabd919054e3 100644
--- a/qadevOOo/runner/lib/MultiMethodTest.java
+++ b/qadevOOo/runner/lib/MultiMethodTest.java
@@ -290,7 +290,7 @@ public class MultiMethodTest
* @param methName the method name to set status
* @param methStatus the status to set to the method
*/
- protected void setStatus(String methName, Status methStatus)
+ private void setStatus(String methName, Status methStatus)
{
tRes.tested(methName, methStatus);
}
@@ -298,7 +298,7 @@ public class MultiMethodTest
/**
* sets the substates
*/
- protected void setSubStates(String msg)
+ private void setSubStates(String msg)
{
for (int k = 0; k < entry.SubEntryCount; k++)
{
@@ -332,7 +332,7 @@ public class MultiMethodTest
/**
* Checks if the <code>method</code> test has been already called.
*/
- protected boolean isCalled(String method)
+ private boolean isCalled(String method)
{
return methCalled.contains(method);
}
@@ -373,7 +373,7 @@ public class MultiMethodTest
/**
* Just calls the <code>method</code> test.
*/
- protected void callMethod(String method)
+ private void callMethod(String method)
{
methCalled.add(method);
invokeTestMethod(getMethodFor(method), method);
@@ -440,7 +440,7 @@ public class MultiMethodTest
*
* @return the testing method, if found, <tt>null</tt> otherwise
*/
- protected Method getMethodFor(String method)
+ private Method getMethodFor(String method)
{
String mName = "_" + method;
diff --git a/qadevOOo/runner/lib/TestParameters.java b/qadevOOo/runner/lib/TestParameters.java
index 1ca6a5c5b638..57501c140c06 100644
--- a/qadevOOo/runner/lib/TestParameters.java
+++ b/qadevOOo/runner/lib/TestParameters.java
@@ -199,7 +199,7 @@ public class TestParameters extends HashMap<String,Object> {
* to OOo rules.
* @return A valid OS name, or "" if the name is not known.
*/
- String getSOCompatibleOSName() {
+ private String getSOCompatibleOSName() {
String osname = System.getProperty ("os.name").toLowerCase ();
String osarch = System.getProperty ("os.arch");
String operatingSystem = "";
diff --git a/qadevOOo/runner/lib/TestResult.java b/qadevOOo/runner/lib/TestResult.java
index a6c964f258ee..eb7a469cdc99 100644
--- a/qadevOOo/runner/lib/TestResult.java
+++ b/qadevOOo/runner/lib/TestResult.java
@@ -27,7 +27,7 @@ public class TestResult {
/**
* Contains methods having been tested and their results.
*/
- protected HashMap<String, Status> testedMethods = new HashMap<String, Status>();
+ private HashMap<String, Status> testedMethods = new HashMap<String, Status>();
/**
* The method makes method tested with the result, i.e. it adds to its