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
|
@Test
|
||||||
public void signature_IntInt(){
|
public void signature_IntInt(){
|
||||||
var classSignature = funNGenerator.getSpecializedSignature(Arrays.asList(integerType), integerType);
|
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
|
@Test
|
||||||
public void signature_IntT(){
|
public void signature_IntT(){
|
||||||
var classSignature = funNGenerator.getSpecializedSignature(Arrays.asList(integerType), genericT);
|
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
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user