[tests] migrates bytecode analysis tests to light test case

... and moves test data out of source code
This commit is contained in:
Roman Shevchenko
2018-09-14 14:45:43 +02:00
parent eee623e8d2
commit e0589b585f
61 changed files with 598 additions and 927 deletions

View File

@@ -0,0 +1,27 @@
package bytecodeAnalysis.data;
// A class to test the clash of the same class in different source paths
// See also ../src/data/TestConflict.java
public class TestConflict {
static native int throwInDataNativeInConflict();
static int nativeInDataThrowInConflict() {
throw new RuntimeException();
}
static int throwBoth() {
throw new RuntimeException();
}
void pureInDataSideEffectInConflict() {
System.out.println();
}
void sideEffectInDataPureInConflict() { }
void pureBoth() { }
void sideEffectBoth() {
System.out.println();
}
}