()
| 34 | private Path methodJadxMapFile; |
| 35 | |
| 36 | @BeforeEach |
| 37 | public void setup() { |
| 38 | try { |
| 39 | resource = new JarResource(getClasspathFile("inherit.jar")); |
| 40 | workspace = new Workspace(resource); |
| 41 | classMapFile = getClasspathFile("inherit-class-map.txt"); |
| 42 | /* |
| 43 | test/Jedi -> rename/GoodGuy |
| 44 | test/Sith -> rename/BadGuy |
| 45 | test/Greetings -> rename/Hello |
| 46 | */ |
| 47 | methodMapFile = getClasspathFile("inherit-method-map.txt"); |
| 48 | methodEnigmaMapFile = getClasspathFile("inherit-method-map-enigma.txt"); |
| 49 | methodProguardMapFile = getClasspathFile("inherit-method-map-proguard.txt"); |
| 50 | methodTSrgMapFile = getClasspathFile("inherit-method-map-tsrg.txt"); |
| 51 | methodTiny1MapFile = getClasspathFile("inherit-method-map-tiny-1.txt"); |
| 52 | methodTiny2MapFile = getClasspathFile("inherit-method-map-tiny-2.txt"); |
| 53 | methodJadxMapFile = getClasspathFile("inherit-method-map-jadx.txt"); |
| 54 | /* |
| 55 | test/Greetings -> rename/Hello |
| 56 | test/Greetings.say()V -> rename/Hello.speak() |
| 57 | */ |
| 58 | } catch(IOException ex) { |
| 59 | fail(ex); |
| 60 | } |
| 61 | } |
| 62 | |
| 63 | @Test |
| 64 | public void testRenamedClasses() { |
nothing calls this directly
no test coverage detected