public class ClassSubstitutionsTests extends GraalCompilerTest
Modifier and Type | Class and Description |
---|---|
private static class |
ClassSubstitutionsTests.A |
private static class |
ClassSubstitutionsTests.B |
private static class |
ClassSubstitutionsTests.C |
GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
private static ClassSubstitutionsTests.A |
a |
Object[] |
arrayField |
private static ClassSubstitutionsTests.B |
b |
private static ClassSubstitutionsTests.C |
c |
Number |
instanceField |
String[] |
stringArrayField |
lastCompiledGraph
Constructor and Description |
---|
ClassSubstitutionsTests() |
Modifier and Type | Method and Description |
---|---|
protected static StructuredGraph |
assertNotInGraph(StructuredGraph graph,
Class<?> clazz) |
boolean |
classIsAssignable1() |
boolean |
classIsAssignable2() |
boolean |
classIsAssignable3() |
boolean |
classIsAssignable4() |
boolean |
classIsAssignable5() |
boolean |
classIsAssignable6() |
boolean |
classIsAssignable7() |
boolean |
constantIsArray() |
boolean |
constantIsInterface() |
boolean |
constantIsPrimitive() |
boolean |
fieldIsArray() |
boolean |
fieldIsNotArray() |
boolean |
foldComponentType() |
protected StructuredGraph |
test(String snippet) |
void |
testClassIsAssignable() |
private void |
testConstantReturn(String name,
Object value) |
void |
testFieldIsArray() |
void |
testFieldIsNotArray() |
void |
testFoldComponentType() |
void |
testIsArray() |
void |
testIsInterface() |
void |
testIsPrimitive() |
addMethod, after, afterTest, applyArgSuppliers, argsWithReceiver, asResolvedJavaMethod, assertConstantReturn, assertEquals, assertEquals, assertEquals, before, beforeTest, branchProbability, breakpoint, breakpoint, checkArgs, checkHighTierGraph, checkLowTierGraph, checkMidTierGraph, compile, countUnusedConstants, createLIRSuites, createSuites, editGraphBuilderConfiguration, executeActual, executeActualCheckDeopt, executeExpected, getBackend, getCanonicalGraphString, getCode, getCode, getCode, getCodeCache, getConstantReflection, getCustomGraphBuilderSuite, getDefaultGraphBuilderPlugins, getDefaultGraphBuilderSuite, getDefaultHighTierContext, getLIRSuites, getLowerer, getMetaAccess, getNodeCountExcludingUnusedConstants, getProviders, getReplacements, getResolvedJavaMethod, getResolvedJavaMethod, getResolvedJavaMethod, getSnippetReflection, getSpeculationLog, getSuites, getTarget, initializeDebugging, invoke, isArchitecture, iterationCount, lookupMethod, parseDebug, parseEager, parseEager, parseForCompile, parseProfiled, parseProfiled, referenceInvoke, supply, test, test, testAgainstExpected, testAgainstExpected, testN
assertDeepEquals, assertDeepEquals, assertDeepEquals, assertDeepEquals, assertFalse, assertFalse, assertFalse, assertTrue, assertTrue, assertTrue, equalFloatsOrDoublesDelta, fail, getMethod, getMethod, getMethod, ulpsDelta
public Number instanceField
public Object[] arrayField
public String[] stringArrayField
private static final ClassSubstitutionsTests.A a
private static final ClassSubstitutionsTests.B b
private static final ClassSubstitutionsTests.C c
public ClassSubstitutionsTests()
protected StructuredGraph test(String snippet)
protected static StructuredGraph assertNotInGraph(StructuredGraph graph, Class<?> clazz)
public boolean constantIsArray()
public boolean constantIsInterface()
public boolean constantIsPrimitive()
public void testIsArray()
public void testIsInterface()
public void testIsPrimitive()
public boolean fieldIsNotArray()
public void testFieldIsNotArray()
public boolean foldComponentType()
public void testFoldComponentType()
public void testFieldIsArray()
public boolean fieldIsArray()
public boolean classIsAssignable1()
public boolean classIsAssignable2()
public boolean classIsAssignable3()
public boolean classIsAssignable4()
public boolean classIsAssignable5()
public boolean classIsAssignable6()
public boolean classIsAssignable7()
public void testClassIsAssignable()
private void testConstantReturn(String name, Object value)