Home
last modified time | relevance | path

Searched refs:TestCase (Results 1 – 25 of 45) 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/1965-get-set-local-primitive-no-tables/src/art/
DTest1965.java90 public static class TestCase {
93 public TestCase(Method target) {
176 final TestCase[] MAIN_TEST_CASES = new TestCase[] {
177 new TestCase(getMethod("IntMethod")), new TestCase(getMethod("LongMethod")),
178 new TestCase(getMethod("FloatMethod")), new TestCase(getMethod("DoubleMethod")),
179 new TestCase(getMethod("ObjectMethod")), new TestCase(getMethod("NullObjectMethod")),
196 for (TestCase t : MAIN_TEST_CASES) {
203 new TestCase(getMethod("BooleanMethod"))
205 new TestCase(getMethod("ByteMethod"))
208 new TestCase(getMethod("CharMethod"))
[all …]
/art/test/1966-get-set-local-objects-no-table/src/art/
DTest1966.java135 public static class TestCase {
138 public TestCase(Method target) {
209 final TestCase[] MAIN_TEST_CASES = new TestCase[] {
210 new TestCase(getMethod("ObjectMethod")),
211 new TestCase(getMethod("CastInterfaceMethod")),
212 new TestCase(getMethod("CastExactMethod")),
213 new TestCase(getMethod("InterfaceMethod")),
214 new TestCase(getMethod("ExactClassMethod")),
215 new TestCase(getMethod("PrimitiveMethod")),
216 new TestCase(getMethod("NullMethod")),
[all …]
/art/test/1912-get-set-local-primitive/src/art/
DTest1912.java143 public static class TestCase {
146 public TestCase(Method target) {
226 final TestCase[] MAIN_TEST_CASES = new TestCase[] {
227 new TestCase(getMethod("IntMethod")), new TestCase(getMethod("LongMethod")),
228 new TestCase(getMethod("FloatMethod")), new TestCase(getMethod("DoubleMethod")),
229 new TestCase(getMethod("ObjectMethod")), new TestCase(getMethod("NullObjectMethod")),
246 for (TestCase t : MAIN_TEST_CASES) {
253 new TestCase(getMethod("BooleanMethod"))
255 new TestCase(getMethod("ByteMethod"))
258 new TestCase(getMethod("CharMethod"))
[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/1913-get-set-local-objects/src/art/
DTest1913.java173 public static class TestCase {
176 public TestCase(Method target) {
256 final TestCase[] MAIN_TEST_CASES = new TestCase[] {
257 new TestCase(getMethod("ObjectMethod")), new TestCase(getMethod("InterfaceMethod")),
258 new TestCase(getMethod("SpecificClassMethod")), new TestCase(getMethod("PrimitiveMethod")),
259 new TestCase(getMethod("NullObjectMethod")),
260 new TestCase(getMethod("NullInterfaceMethod")),
261 new TestCase(getMethod("NullSpecificClassMethod")),
274 for (TestCase t : MAIN_TEST_CASES) {
/art/test/1967-get-set-local-bad-slot/src/art/
DTest1967.java112 public static class TestCase {
115 public TestCase(Method target) {
200 final TestCase[] MAIN_TEST_CASES =
201 new TestCase[] {
202 new TestCase(getMethod("IntMethod")),
203 new TestCase(getMethod("LongMethod")),
204 new TestCase(getMethod("ObjectMethod")),
224 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/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/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/948-change-annotations/src/
DTestCase.java17 public interface TestCase { interface
DAddAnnotationsTest.java18 public class AddAnnotationsTest implements TestCase {
DChangeAnnotationValues.java18 public class ChangeAnnotationValues implements TestCase {
DRemoveAnnotationsTest.java18 public class RemoveAnnotationsTest implements TestCase {
/art/tools/checker/file_format/checker/
Dtest.py19 from file_format.checker.struct import CheckerFile, TestCase, TestStatement, TestExpression
27 class CheckerParser_PrefixTest(unittest.TestCase):
77 class CheckerParser_TestExpressionTest(unittest.TestCase):
192 class CheckerParser_FileLayoutTest(unittest.TestCase):
200 test_case = TestCase(test_file, case_name, 0)
293 class CheckerParser_SuffixTests(unittest.TestCase):
379 class CheckerParser_EvalTests(unittest.TestCase):
/art/test/467-regalloc-pair/
Dinfo.txt2 that used to trip when compiling TestCase.testCase on x86.
/art/test/817-hiddenapi/src-ex/
DTestCase.java17 public class TestCase { class
/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/tools/checker/match/
Dtest.py18 from file_format.checker.struct import CheckerFile, TestCase, TestStatement
28 class MatchLines_Test(unittest.TestCase):
32 test_case = TestCase(checker_file, "TestMethod TestPass", 0)
102 class MatchFiles_Test(unittest.TestCase):
/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/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/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)

12