Home
last modified time | relevance | path

Searched refs:TestCase (Results 1 – 25 of 42) sorted by relevance

12

/art/test/800-smali/src/
DMain.java28 private static class TestCase { class in Main
29 public TestCase(String testName, String testClass, String testMethodName, Object[] values, in TestCase() method in Main.TestCase
41 public TestCase(String testName, String testClass, String testMethodName, Object[] values, in TestCase() method in Main.TestCase
56 private List<TestCase> testCases;
60 testCases = new LinkedList<TestCase>(); in Main()
61 testCases.add(new TestCase("PackedSwitch", "PackedSwitch", "packedSwitch", in Main()
63 testCases.add(new TestCase("PackedSwitch key INT_MAX", "PackedSwitch", in Main()
65 testCases.add(new TestCase("PackedSwitch key overflow", "b_24399945", in Main()
68 testCases.add(new TestCase("b/17790197", "B17790197", "getInt", null, null, 100)); in Main()
69 testCases.add(new TestCase("FloatBadArgReg", "FloatBadArgReg", "getInt", in Main()
[all …]
/art/test/1914-get-local-instance/src/art/
DTest1914.java90 public static class TestCase {
94 public TestCase(Method target) {
97 public TestCase(Object thiz, Method target) {
192 final TestCase[] MAIN_TEST_CASES = new TestCase[] {
193 new TestCase(null, getMethod(Test1914.class, "StaticMethod")),
194 new TestCase(null, getMethod(Test1914.class, "NativeStaticMethod")),
195 new TestCase(new TargetClass("InstanceMethodObject"),
197 new TestCase(new TargetClass("NativeInstanceMethodObject"),
199 new TestCase(getProxyObject(Foo.class),
203 for (TestCase t: MAIN_TEST_CASES) {
/art/test/1912-get-set-local-primitive/src/art/
DTest1912.java137 public static class TestCase {
140 public TestCase(Method target) {
224 final TestCase[] MAIN_TEST_CASES = new TestCase[] {
225 new TestCase(getMethod("IntMethod")),
226 new TestCase(getMethod("LongMethod")),
227 new TestCase(getMethod("FloatMethod")),
228 new TestCase(getMethod("DoubleMethod")),
242 for (TestCase t: MAIN_TEST_CASES) {
249 new TestCase(getMethod("BooleanMethod")).exec(
251 new TestCase(getMethod("ByteMethod")).exec(
[all …]
/art/test/1913-get-set-local-objects/src/art/
DTest1913.java140 public static class TestCase {
143 public TestCase(Method target) {
227 final TestCase[] MAIN_TEST_CASES = new TestCase[] {
228 new TestCase(getMethod("ObjectMethod")),
229 new TestCase(getMethod("InterfaceMethod")),
230 new TestCase(getMethod("SpecificClassMethod")),
231 new TestCase(getMethod("PrimitiveMethod")),
244 for (TestCase t: MAIN_TEST_CASES) {
/art/test/543-checker-dce-trycatch/smali/
DTestCase.smali29 ## CHECK-START: int TestCase.testDeadEntry(int, int, int, int) dead_code_elimination$after_inlining…
32 ## CHECK-START: int TestCase.testDeadEntry(int, int, int, int) dead_code_elimination$after_inlining…
37 ## CHECK-START: int TestCase.testDeadEntry(int, int, int, int) dead_code_elimination$after_inlining…
40 ## CHECK-START: int TestCase.testDeadEntry(int, int, int, int) dead_code_elimination$after_inlining…
74 ## CHECK-START: int TestCase.testDeadExit(int, int, int, int) dead_code_elimination$after_inlining …
77 ## CHECK-START: int TestCase.testDeadExit(int, int, int, int) dead_code_elimination$after_inlining …
82 ## CHECK-START: int TestCase.testDeadExit(int, int, int, int) dead_code_elimination$after_inlining …
85 ## CHECK-START: int TestCase.testDeadExit(int, int, int, int) dead_code_elimination$after_inlining …
120 ## CHECK-START: int TestCase.testOneTryBlockDead(int, int, int, int) dead_code_elimination$after_in…
125 ## CHECK-START: int TestCase.testOneTryBlockDead(int, int, int, int) dead_code_elimination$after_in…
[all …]
/art/test/1939-proxy-frames/src/art/
DTest1939.java73 public static class TestCase {
77 public TestCase(Method target) {
80 public TestCase(Object thiz, Method target) {
174 TestCase test = new TestCase(
/art/tools/checker/match/
Dtest.py20 from file_format.checker.struct import CheckerFile, TestCase, TestAssertion
29 class MatchLines_Test(unittest.TestCase):
33 testCase = TestCase(checkerFile, "TestMethod TestPass", 0)
103 class MatchFiles_Test(unittest.TestCase):
/art/test/663-checker-select-generator/smali/
DTestCase.smali19 ## CHECK-START: boolean TestCase.testCase(boolean) select_generator (before)
27 ## CHECK-START: boolean TestCase.testCase(boolean) select_generator (after)
49 ## CHECK-START: java.lang.Object TestCase.referenceTypeTestCase(Main$Sub1, Main$Sub2, boolean) sele…
57 ## CHECK-START: java.lang.Object TestCase.referenceTypeTestCase(Main$Sub1, Main$Sub2, boolean) sele…
/art/test/948-change-annotations/src/
DTestCase.java17 public interface TestCase { interface
DRemoveAnnotationsTest.java18 public class RemoveAnnotationsTest implements TestCase {
DAddAnnotationsTest.java18 public class AddAnnotationsTest implements TestCase {
DChangeAnnotationValues.java18 public class ChangeAnnotationValues implements TestCase {
/art/test/550-checker-regression-wide-store/smali/
DTestCase.smali28 ## CHECK-START: int TestCase.invalidateLow(long) builder (after)
33 ## CHECK-DAG: InvokeStaticOrDirect method_name:TestCase.$noinline$throw env:[[_,<<Cast>>,<<Arg>>,_…
56 ## CHECK-START: void TestCase.invalidateHigh1(long) builder (after)
70 ## CHECK-START: void TestCase.invalidateHigh2(long) builder (after)
/art/test/675-checker-unverified-method/smali/
DTestCase.smali22 ## CHECK-START: void TestCase.foo(java.lang.Object) inliner (after)
23 ## CHECK-DAG: InvokeStaticOrDirect method_name:TestCase.bar always_throws:true
24 ## CHECK-DAG: InvokeStaticOrDirect method_name:TestCase.bad always_throws:false
/art/test/467-regalloc-pair/
Dinfo.txt2 that used to trip when compiling TestCase.testCase on x86.
/art/tools/checker/file_format/checker/
Dtest.py20 from file_format.checker.struct import CheckerFile, TestCase, TestAssertion, TestExpression
27 class CheckerParser_PrefixTest(unittest.TestCase):
76 class CheckerParser_TestExpressionTest(unittest.TestCase):
191 class CheckerParser_FileLayoutTest(unittest.TestCase):
199 testCase = TestCase(testFile, caseName, 0)
293 class CheckerParser_SuffixTests(unittest.TestCase):
369 class CheckerParser_EvalTests(unittest.TestCase):
/art/tools/cpp-define-generator/
Dmake_header_test.py44 class CppDefineGeneratorTest(unittest.TestCase):
/art/test/485-checker-dce-loop-update/smali/
DTestCase.smali26 ## CHECK-START: int TestCase.testSingleExit(int, boolean) dead_code_elimination$after_inlining (bef…
39 ## CHECK-START: int TestCase.testSingleExit(int, boolean) dead_code_elimination$after_inlining (aft…
76 ## CHECK-START: int TestCase.testMultipleExits(int, boolean, boolean) dead_code_elimination$after_i…
91 ## CHECK-START: int TestCase.testMultipleExits(int, boolean, boolean) dead_code_elimination$after_i…
132 ## CHECK-START: int TestCase.testExitPredecessors(int, boolean, boolean) dead_code_elimination$afte…
149 ## CHECK-START: int TestCase.testExitPredecessors(int, boolean, boolean) dead_code_elimination$afte…
162 ## CHECK-START: int TestCase.testExitPredecessors(int, boolean, boolean) dead_code_elimination$afte…
165 ## CHECK-START: int TestCase.testExitPredecessors(int, boolean, boolean) select_generator (after)
213 ## CHECK-START: int TestCase.testInnerLoop(int, boolean, boolean) dead_code_elimination$after_inlin…
236 ## CHECK-START: int TestCase.testInnerLoop(int, boolean, boolean) dead_code_elimination$after_inlin…
/art/test/468-checker-bool-simplif-regression/smali/
DTestCase.smali21 ## CHECK-START: boolean TestCase.testCase() select_generator (before)
29 ## CHECK-START: boolean TestCase.testCase() select_generator (after)
/art/test/537-checker-debuggable/smali/
DTestCase.smali23 ## CHECK-START: int TestCase.deadPhi(int, int, int) builder (after)
26 ## CHECK-START-DEBUGGABLE: int TestCase.deadPhi(int, int, int) builder (after)
/art/test/592-checker-regression-bool-input/smali/
DTestCase.smali19 ## CHECK-START: boolean TestCase.testCase() select_generator (after)
23 ## CHECK-START: boolean TestCase.testCase() load_store_elimination (after)
/art/tools/checker/file_format/c1visualizer/
Dtest.py24 class C1visualizerParser_Test(unittest.TestCase):
/art/test/563-checker-fakestring/smali/
DTestCase.smali21 ## CHECK-START: java.lang.String TestCase.vregAliasing(byte[]) register (after)
44 ## CHECK-START: void TestCase.compareNewInstance() register (after)
73 ## CHECK-START: int TestCase.deoptimizeNewInstance(int[], byte[]) register (after)
78 ## CHECK-START-DEBUGGABLE: int TestCase.deoptimizeNewInstance(int[], byte[]) register (after)
116 ## CHECK-START: java.lang.String TestCase.removeNewInstance(byte[]) register (after)
120 ## CHECK-START-DEBUGGABLE: java.lang.String TestCase.removeNewInstance(byte[]) register (after)
240 ## CHECK-START: int TestCase.deoptimizeNewInstanceAfterLoop(int[], byte[], int) register (after)
283 ## CHECK-START: java.lang.String TestCase.loopAndStringInitAndTest(byte[], boolean) builder (after)
288 ## CHECK-START: java.lang.String TestCase.loopAndStringInitAndTest(byte[], boolean) register (after)
309 ## CHECK-START: java.lang.String TestCase.loopAndStringInitAndPhi(byte[], boolean) register (after)
/art/test/575-checker-string-init-alias/smali/
DTestCase.smali21 ## CHECK-START: void TestCase.testNoAlias(int[], java.lang.String) register (after)
47 ## CHECK-START: void TestCase.testAlias(int[], java.lang.String) register (after)
/art/test/406-fields/src/
DMain.java19 public class Main extends TestCase {

12