public class ArraysSubstitutionsTest extends MethodSubstitutionTest
ArraysSubstitutions
.GraalCompilerTest.ArgSupplier, GraalCompilerTest.Result
GraalTest.MultiCauseAssertionError
Modifier and Type | Field and Description |
---|---|
static int[] |
constantArray1 |
static int[] |
constantArray2 |
static int[] |
constantArray3 |
static int[] |
intArray |
static int[] |
intArrayCompare |
private static int |
N |
lastCompiledGraph
Constructor and Description |
---|
ArraysSubstitutionsTest() |
Modifier and Type | Method and Description |
---|---|
static boolean |
arraysEqualsBoolean(boolean[] a,
boolean[] b) |
static boolean |
arraysEqualsByte(byte[] a,
byte[] b) |
static boolean |
arraysEqualsChar(char[] a,
char[] b) |
static boolean |
arraysEqualsDouble(double[] a,
double[] b) |
static boolean |
arraysEqualsFloat(float[] a,
float[] b) |
static boolean |
arraysEqualsInt(int[] a,
int[] b) |
static boolean |
arraysEqualsLong(long[] a,
long[] b) |
static boolean |
arraysEqualsShort(short[] a,
short[] b) |
void |
testCanonicalEqual() |
static boolean |
testCanonicalEqualSnippet() |
void |
testCanonicalLength() |
static boolean |
testCanonicalLengthSnippet() |
void |
testConstants() |
static boolean |
testConstantsSnippet() |
void |
testEqualsBoolean() |
void |
testEqualsByte() |
void |
testEqualsChar() |
void |
testEqualsDouble() |
void |
testEqualsFloat() |
void |
testEqualsInt() |
void |
testEqualsLong() |
void |
testEqualsNodeGVN() |
static boolean |
testEqualsNodeGVNSnippet(boolean b) |
void |
testEqualsShort() |
void |
testVirtualEqual() |
static boolean |
testVirtualEqualSnippet() |
void |
testVirtualNotEqual() |
static boolean |
testVirtualNotEqualSnippet(int x) |
assertInGraph, assertNotInGraph, executeVarargsSafe, invokeSafe, testGraph, testSubstitution
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
private static final int N
public static int[] intArrayCompare
public static int[] intArray
public static final int[] constantArray1
public static final int[] constantArray2
public static final int[] constantArray3
public ArraysSubstitutionsTest()
public void testEqualsBoolean()
public static boolean arraysEqualsBoolean(boolean[] a, boolean[] b)
public void testEqualsByte()
public static boolean arraysEqualsByte(byte[] a, byte[] b)
public void testEqualsChar()
public static boolean arraysEqualsChar(char[] a, char[] b)
public void testEqualsShort()
public static boolean arraysEqualsShort(short[] a, short[] b)
public void testEqualsInt()
public static boolean arraysEqualsInt(int[] a, int[] b)
public void testEqualsLong()
public static boolean arraysEqualsLong(long[] a, long[] b)
public void testEqualsFloat()
public static boolean arraysEqualsFloat(float[] a, float[] b)
public void testEqualsDouble()
public static boolean arraysEqualsDouble(double[] a, double[] b)
public void testEqualsNodeGVN()
public static boolean testEqualsNodeGVNSnippet(boolean b)
public void testConstants()
public static boolean testConstantsSnippet()
public void testCanonicalLength()
public static boolean testCanonicalLengthSnippet()
public void testCanonicalEqual()
public static boolean testCanonicalEqualSnippet()
public void testVirtualEqual()
public static boolean testVirtualEqualSnippet()
public void testVirtualNotEqual()
public static boolean testVirtualNotEqualSnippet(int x)