]> gerrit.simantics Code Review - simantics/platform.git/blobdiff - bundles/org.simantics.graph/tests/org/simantics/graph/tests/refactoring/TestRefactoring.java
(refs #7216) Removed OldTransferableGraph1 and all referring code
[simantics/platform.git] / bundles / org.simantics.graph / tests / org / simantics / graph / tests / refactoring / TestRefactoring.java
diff --git a/bundles/org.simantics.graph/tests/org/simantics/graph/tests/refactoring/TestRefactoring.java b/bundles/org.simantics.graph/tests/org/simantics/graph/tests/refactoring/TestRefactoring.java
deleted file mode 100644 (file)
index f7c7cb1..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-package org.simantics.graph.tests.refactoring;
-
-import java.io.File;
-import java.net.URLDecoder;
-
-import org.simantics.graph.refactoring.PrintReferencesTool;
-import org.simantics.graph.refactoring.RefactoringTool;
-
-public class TestRefactoring {
-
-    public static void main(String[] args) throws Exception {
-        File dir = new File(URLDecoder.decode(TestRefactoring.class.getResource(".").getPath(), "UTF-8")).getAbsoluteFile();// new File(TestRefactoring.class.getResource(".").getFile());
-        System.out.println(dir);
-        File input = new File(dir, "xor5.aprosSymbol");
-        File mappingSpec = new File(dir, "mappingSpec.txt");
-        File output = new File(dir, "xor5_refactored.aprosSymbol");
-        
-        System.out.println("-- Before refactoring");
-        System.out.println("------------------------------------------");
-        PrintReferencesTool.print(input);
-        
-        RefactoringTool.refactor(mappingSpec, input, output);
-        
-        System.out.println("-- After refactoring");
-        System.out.println("------------------------------------------");
-        PrintReferencesTool.print(output);
-    }
-    
-}