< prev index next >

tests/system/src/test/java/test/robot/com/sun/glass/ui/monocle/ParameterizedTestBase.java

Print this page
rev 9504 : need to fix test log and others

@@ -23,11 +23,11 @@
  * questions.
  */
 
 package test.robot.com.sun.glass.ui.monocle;
 
-import com.sun.glass.ui.monocle.TestLog;
+import com.sun.glass.ui.monocle.TestLogShim;
 import test.robot.com.sun.glass.ui.monocle.TestApplication;
 import test.robot.com.sun.glass.ui.monocle.input.devices.TestTouchDevice;
 import javafx.application.Platform;
 import javafx.geometry.Rectangle2D;
 import org.junit.After;

@@ -76,20 +76,20 @@
     }
 
     @Before
     public void createDevice() throws Exception {
         TestApplication.showScene(stageBounds);
-        TestLog.log("Starting " + name.getMethodName() + "[" + device + "]");
+        TestLogShim.log("Starting " + name.getMethodName() + "[" + device + "]");
         Rectangle2D r = TestApplication.getScreenBounds();
         width = r.getWidth();
         height = r.getHeight();
-        TestLog.reset();
+        TestLogShim.reset();
         device.create();
         TestApplication.addMouseListeners();
         TestApplication.addTouchListeners();
         TestApplication.addGestureListeners();
-        TestLog.reset();
+        TestLogShim.reset();
         Platform.runLater(
                 () -> Thread.currentThread().setUncaughtExceptionHandler(
                         (t, e) -> exception = e));
     }
 
< prev index next >