More test files, test files updated to be valid java, and ecj test now goes through the complete compile process. This means val and @Delegate testing is now enabled.

TODO: Update -eclipse tests.
This commit is contained in:
Reinier Zwitserloot committed 2012-02-14 16:39:48 +01:00
1 parent 5e9e16a6b9
commit 06581537f2
55 files changed
+691 -132

No files matched your search

@@ -1,8 +1,8 @@
public class ValComplex {
private ValSimple field = new ValSimple();
private String field = "";
private static final int CONSTANT = 20;
public void testReferencingOtherFiles() {
final java.lang.String shouldBeString = field.method();
public void testComplex() {
final char[] shouldBeCharArray = field.toCharArray();
final int shouldBeInt = CONSTANT;
final java.lang.Object lock = new Object();
synchronized (lock) {
@@ -10,11 +10,11 @@ public class ValComplex {
final int inner = 10;
switch (field) {
case 5:
final java.lang.String shouldBeString2 = shouldBeString;
final char[] shouldBeCharArray2 = shouldBeCharArray;
final int innerInner = inner;
}
}
final ValSimple shouldBeValSimple = field; //Unshadowing
final java.lang.String shouldBeString = field; //Unshadowing
}
}