vcl/qa/complex/memCheck/CheckMemoryUsage.java |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit 44cab3c9db5aef97fde57baec205a34fc794f64b
Author: Noel Grandin <n...@peralex.com>
Date:   Tue Jun 2 09:42:21 2015 +0200

    Fix CheckMemoryUsage java class
    
    looks like I accidentally broke this with
    commit a405184aa972ca375f04205fd22f83d54952648d
    "java: inline CheckMemoryUsage test properties"
    
    Change-Id: I321ce16bcd7da0f74525cd5041e3ce36cdd12d23

diff --git a/vcl/qa/complex/memCheck/CheckMemoryUsage.java 
b/vcl/qa/complex/memCheck/CheckMemoryUsage.java
index be221e0..4d9d56a 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.");
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to