]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.tests.modelled.ui/src/org/simantics/tests/modelled/ui/TestsUIUtils.java
Fixed all line endings of the repository
[simantics/platform.git] / bundles / org.simantics.tests.modelled.ui / src / org / simantics / tests / modelled / ui / TestsUIUtils.java
index c6bd1c28708d1fed48d642147ebc85994e79c73e..651ee47df7282751f3e891b11dcce3e5588b2caa 100644 (file)
@@ -1,23 +1,23 @@
-package org.simantics.tests.modelled.ui;\r
-\r
-import java.io.IOException;\r
-\r
-import org.eclipse.e4.ui.model.application.ui.basic.MPart;\r
-import org.simantics.db.Resource;\r
-import org.simantics.db.exception.DatabaseException;\r
-import org.simantics.ui.workbench.e4.E4WorkbenchUtils;\r
-\r
-public class TestsUIUtils {\r
-\r
-    private TestsUIUtils() {\r
-    }\r
-\r
-    public static void runSTSTestAction(Resource test) throws DatabaseException, IOException {\r
-        MPart part = E4WorkbenchUtils.getMPartById(STSTestRunnerView.ID);\r
-        E4WorkbenchUtils.openAndShowPart(part);\r
-        Object obj = part.getObject();\r
-        STSTestRunnerView view = (STSTestRunnerView) obj;\r
-        view.currentTest(test);\r
-        view.execute();\r
-    }\r
-}\r
+package org.simantics.tests.modelled.ui;
+
+import java.io.IOException;
+
+import org.eclipse.e4.ui.model.application.ui.basic.MPart;
+import org.simantics.db.Resource;
+import org.simantics.db.exception.DatabaseException;
+import org.simantics.ui.workbench.e4.E4WorkbenchUtils;
+
+public class TestsUIUtils {
+
+    private TestsUIUtils() {
+    }
+
+    public static void runSTSTestAction(Resource test) throws DatabaseException, IOException {
+        MPart part = E4WorkbenchUtils.getMPartById(STSTestRunnerView.ID);
+        E4WorkbenchUtils.openAndShowPart(part);
+        Object obj = part.getObject();
+        STSTestRunnerView view = (STSTestRunnerView) obj;
+        view.currentTest(test);
+        view.execute();
+    }
+}