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

@@ -0,0 +1,34 @@
import java.util.*;
import lombok.val;
public class ValOutersWithGenerics<Z> {
class Inner {
Inner() {
super();
}
}
static class SubClass extends ValOutersWithGenerics<String> {
SubClass() {
super();
}
public void testSubClassOfOutersWithGenerics() {
List<Inner> list = new ArrayList<Inner>();
final @val ValOutersWithGenerics<java.lang.String>.Inner elem = list.get(0);
}
}
public ValOutersWithGenerics() {
super();
}
public void testOutersWithGenerics() {
final @val java.lang.String foo = "";
List<Inner> list = new ArrayList<Inner>();
final @val ValOutersWithGenerics<Z>.Inner elem = list.get(0);
}
public void testLocalClasses() {
class Local<A> {
Local() {
super();
}
}
final @val Local<java.lang.String> q = new Local<String>();
}
}