forked from JavaTX/JavaCompilerCore
Verbesserung der FunNGenerator Tests für Signaturen.
This commit is contained in:
parent
cd5fbac987
commit
e2d76d314a
@ -73,13 +73,13 @@ public class FunNGeneratorTest {
|
||||
@Test
|
||||
public void signature_IntInt(){
|
||||
var classSignature = funNGenerator.getSpecializedSignature(Arrays.asList(integerType), integerType);
|
||||
assertEquals("LFun1$$Ljava$lang$Integer$_$Ljava$lang$Integer$_$;", classSignature);
|
||||
assertEquals("LFun1$$Ljava$lang$Integer$_$Ljava$lang$Integer$_$<Ljava/lang/Integer;Ljava/lang/Integer;>;", classSignature);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void signature_IntT(){
|
||||
var classSignature = funNGenerator.getSpecializedSignature(Arrays.asList(integerType), genericT);
|
||||
assertEquals("LFun1$$Ljava$lang$Integer$_$LT$_$;", classSignature);
|
||||
assertEquals("LFun1$$Ljava$lang$Integer$_$LT$_$<Ljava/lang/Integer;TT;>;", classSignature);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
Loading…
Reference in New Issue
Block a user