forked from JavaTX/JavaCompilerCore
modified: src/test/java/insertGenerics/TestTPHsAndGenerics.java
This commit is contained in:
parent
ff93b0967e
commit
345b03b775
@ -66,7 +66,7 @@ public class TestTPHsAndGenerics {
|
|||||||
if (fogg.allConstraints.contains((new MethodConstraint("DZP", "ETW", Relation.EXTENDS)))) {
|
if (fogg.allConstraints.contains((new MethodConstraint("DZP", "ETW", Relation.EXTENDS)))) {
|
||||||
classConstraintsTest.add(new ClassConstraint("UD", "DZP", Relation.EXTENDS));
|
classConstraintsTest.add(new ClassConstraint("UD", "DZP", Relation.EXTENDS));
|
||||||
classConstraintsTest.add(new ClassConstraint("DZP", "ETW", Relation.EXTENDS));
|
classConstraintsTest.add(new ClassConstraint("DZP", "ETW", Relation.EXTENDS));
|
||||||
classConstraintsTest.add(new ClassConstraint("U", "java/lang/Object", Relation.EXTENDS));
|
classConstraintsTest.add(new ClassConstraint("ETW", "java/lang/Object", Relation.EXTENDS));
|
||||||
|
|
||||||
lmc.add(new MethodConstraint("AI", "AE", Relation.EXTENDS));
|
lmc.add(new MethodConstraint("AI", "AE", Relation.EXTENDS));
|
||||||
lmc.add(new MethodConstraint("AD", "AI", Relation.EXTENDS));
|
lmc.add(new MethodConstraint("AD", "AI", Relation.EXTENDS));
|
||||||
@ -84,7 +84,7 @@ public class TestTPHsAndGenerics {
|
|||||||
if (fogg.allConstraints.contains((new MethodConstraint("DZP", "U", Relation.EXTENDS)))) {
|
if (fogg.allConstraints.contains((new MethodConstraint("DZP", "U", Relation.EXTENDS)))) {
|
||||||
classConstraintsTest.add(new ClassConstraint("ETW", "DZP", Relation.EXTENDS));
|
classConstraintsTest.add(new ClassConstraint("ETW", "DZP", Relation.EXTENDS));
|
||||||
classConstraintsTest.add(new ClassConstraint("DZP", "U", Relation.EXTENDS));
|
classConstraintsTest.add(new ClassConstraint("DZP", "U", Relation.EXTENDS));
|
||||||
classConstraintsTest.add(new ClassConstraint("ETW", "java/lang/Object", Relation.EXTENDS));
|
classConstraintsTest.add(new ClassConstraint("U", "java/lang/Object", Relation.EXTENDS));
|
||||||
|
|
||||||
lmc.add(new MethodConstraint("AI", "AE", Relation.EXTENDS));
|
lmc.add(new MethodConstraint("AI", "AE", Relation.EXTENDS));
|
||||||
lmc.add(new MethodConstraint("AD", "AI", Relation.EXTENDS));
|
lmc.add(new MethodConstraint("AD", "AI", Relation.EXTENDS));
|
||||||
@ -94,7 +94,7 @@ public class TestTPHsAndGenerics {
|
|||||||
methodConstraintsWithPositionTest.put("TPH ABm(TPH ABTPH AD)", lmc);
|
methodConstraintsWithPositionTest.put("TPH ABm(TPH ABTPH AD)", lmc);
|
||||||
lmc = new HashSet<>();
|
lmc = new HashSet<>();
|
||||||
lmc.add(new MethodConstraint("V", "ETW", Relation.EXTENDS));
|
lmc.add(new MethodConstraint("V", "ETW", Relation.EXTENDS));
|
||||||
methodConstraintsWithPositionTest.put("TPH ETWid2(TPH V)", lmc);
|
methodConstraintsWithPositionTest.put("TPH Uid2(TPH V)", lmc);
|
||||||
lmc = new HashSet<>();
|
lmc = new HashSet<>();
|
||||||
lmc.add(new MethodConstraint("AM", "java/lang/Object", Relation.EXTENDS));
|
lmc.add(new MethodConstraint("AM", "java/lang/Object", Relation.EXTENDS));
|
||||||
methodConstraintsWithPositionTest.put("TPH AIm2(TPH AMTPH AI)", lmc);
|
methodConstraintsWithPositionTest.put("TPH AIm2(TPH AMTPH AI)", lmc);
|
||||||
|
Loading…
Reference in New Issue
Block a user