MCPcopy Create free account
hub / github.com/LFYSec/MScan / testGetType1

Method testGetType1

src/test/java/pascal/taie/language/TypeTest.java:116–126  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

114 }
115
116 @Test
117 void testGetType1() {
118 Type a = typeSystem.getClassType("A");
119 Type aArray = typeSystem.getArrayType(a, 1);
120 Type aArray2 = typeSystem.getType("A[]");
121 assertEquals(aArray, aArray2);
122
123 Type intArray = typeSystem.getArrayType(INT, 2);
124 Type intArray2 = typeSystem.getType("int[][]");
125 assertEquals(intArray, intArray2);
126 }
127}

Callers

nothing calls this directly

Calls 3

getClassTypeMethod · 0.65
getArrayTypeMethod · 0.65
getTypeMethod · 0.65

Tested by

no test coverage detected