From 44cab3c9db5aef97fde57baec205a34fc794f64b Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Tue, 2 Jun 2015 09:42:21 +0200 Subject: Fix CheckMemoryUsage java class looks like I accidentally broke this with commit a405184aa972ca375f04205fd22f83d54952648d "java: inline CheckMemoryUsage test properties" Change-Id: I321ce16bcd7da0f74525cd5041e3ce36cdd12d23 --- vcl/qa/complex/memCheck/CheckMemoryUsage.java | 4 +--- 1 file changed, 1 insertion(+), 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."); -- cgit