]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/console/TestSCLConsole.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.scl.ui / src / org / simantics / scl / ui / console / TestSCLConsole.java
old mode 100755 (executable)
new mode 100644 (file)
index 3147d7b..28519f7
@@ -1,31 +1,31 @@
-package org.simantics.scl.ui.console;\r
-\r
-import org.eclipse.swt.SWT;\r
-import org.eclipse.swt.layout.FillLayout;\r
-import org.eclipse.swt.widgets.Display;\r
-import org.eclipse.swt.widgets.Shell;\r
-import org.junit.Test;\r
-\r
-public class TestSCLConsole {\r
-\r
-    @Test\r
-    public void testConsole() throws Exception {\r
-        Display display = new Display();\r
-        Shell shell = new Shell(display);\r
-        shell.setSize(640, 480);\r
-        \r
-        FillLayout layout = new FillLayout();\r
-        shell.setLayout(layout);\r
-        \r
-        // Test console\r
-        new SCLConsole(shell, SWT.NONE);\r
-                \r
-        // Open shell\r
-        shell.open();\r
-        while (!shell.isDisposed()) {\r
-            if (!display.readAndDispatch()) \r
-                display.sleep();\r
-        }\r
-        display.dispose();\r
-    }\r
+package org.simantics.scl.ui.console;
+
+import org.eclipse.swt.SWT;
+import org.eclipse.swt.layout.FillLayout;
+import org.eclipse.swt.widgets.Display;
+import org.eclipse.swt.widgets.Shell;
+import org.junit.Test;
+
+public class TestSCLConsole {
+
+    @Test
+    public void testConsole() throws Exception {
+        Display display = new Display();
+        Shell shell = new Shell(display);
+        shell.setSize(640, 480);
+        
+        FillLayout layout = new FillLayout();
+        shell.setLayout(layout);
+        
+        // Test console
+        new SCLConsole(shell, SWT.NONE);
+                
+        // Open shell
+        shell.open();
+        while (!shell.isDisposed()) {
+            if (!display.readAndDispatch()) 
+                display.sleep();
+        }
+        display.dispose();
+    }
 }
\ No newline at end of file