summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-06-02 09:42:21 +0200
committerNoel Grandin <noel@peralex.com>2015-06-02 09:44:28 +0200
commit44cab3c9db5aef97fde57baec205a34fc794f64b (patch)
tree5811e1dc279e25135133b27a9d2d9895db7131c6 /vcl
parent038a6835d10c2f45d3aaa6df45ef331265a44c57 (diff)
Fix CheckMemoryUsage java class
looks like I accidentally broke this with commit a405184aa972ca375f04205fd22f83d54952648d "java: inline CheckMemoryUsage test properties" Change-Id: I321ce16bcd7da0f74525cd5041e3ce36cdd12d23
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qa/complex/memCheck/CheckMemoryUsage.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/vcl/qa/complex/memCheck/CheckMemoryUsage.java b/vcl/qa/complex/memCheck/CheckMemoryUsage.java
index be221e02d631..4d9d56a30cc7 100644
--- a/vcl/qa/complex/memCheck/CheckMemoryUsage.java
+++ b/vcl/qa/complex/memCheck/CheckMemoryUsage.java
@@ -37,7 +37,6 @@ import org.junit.Test;
import org.openoffice.test.OfficeConnection;
import util.DesktopTools;
-import util.OSName;
import util.PropertyName;
import com.sun.star.beans.PropertyValue;
@@ -104,10 +103,9 @@ public class CheckMemoryUsage
// some Tests need the qadevOOo TestParameters, it is like a Hashmap for Properties.
TestParameters param = new TestParameters();
- param.put(PropertyName.SERVICE_FACTORY, xMsf); // some qadevOOo functions need the ServiceFactory
// test does definitely not run on Windows.
- if (param.get(PropertyName.OPERATING_SYSTEM).equals(OSName.WNTMSCI))
+ if (param.get(PropertyName.OPERATING_SYSTEM).equals(PropertyName.WNTMSCI))
{
System.out.println("Test can only reasonably be executed with a tool that "
+ "displays the memory usage of StarOffice.");