extract test of unit
This commit is contained in:
parent
59b45b5f87
commit
cbe2d7b0f5
@ -49,6 +49,12 @@ public class TestInferWildcards
|
||||
for (CompilationUnitTree t : iterable) {
|
||||
System.out.println("unit: " + t.toString());
|
||||
|
||||
testUnit(t);
|
||||
}
|
||||
}
|
||||
|
||||
@SuppressWarnings("rawtypes")
|
||||
private void testUnit (CompilationUnitTree t) {
|
||||
InferWildcardsVisitor inferWildcardsVisitor = new InferWildcardsVisitor();
|
||||
t.accept(inferWildcardsVisitor, null);
|
||||
|
||||
@ -59,7 +65,5 @@ public class TestInferWildcards
|
||||
// Generated TPH
|
||||
Map<TypePlaceholder, Tree> placeholderMapping = inferWildcardsVisitor.getPlaceholderMapping();
|
||||
System.out.println("Placeholder: " + placeholderMapping.toString());
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user