Home
last modified time | relevance | path

Searched refs:t (Results 1 – 25 of 318) sorted by relevance

12345678910>>...13

/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/
DTest_rsub_int_lit8.java36 T_rsub_int_lit8_1 t = new T_rsub_int_lit8_1(); in testN1() local
37 assertEquals("Subtest_1 is failed", -4, t.run(8)); in testN1()
38 assertEquals("Subtest_2 is failed",45, t.run1(15)); in testN1()
39 assertEquals("Subtest_3 is failed",0, t.run2(20)); in testN1()
40 assertEquals("Subtest_4 is failed",-35, t.run3(10)); in testN1()
41 assertEquals("Subtest_5 is failed",-20, t.run4(-50)); in testN1()
42 assertEquals("Subtest_6 is failed",20, t.run5(-70)); in testN1()
49 T_rsub_int_lit8_2 t = new T_rsub_int_lit8_2(); in testN2() local
50 assertEquals("Subtest_1 is failed",123, t.run(0)); in testN2()
51 assertEquals("Subtest_2 is failed",-123, t.run1(0)); in testN2()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/
DTest_rsub_int.java36 T_rsub_int_1 t = new T_rsub_int_1(); in testN1() local
37 assertEquals("Subtest_1 is failed", -4, t.run(8)); in testN1()
38 assertEquals("Subtest_2 is failed",45, t.run1(15)); in testN1()
39 assertEquals("Subtest_3 is failed",0, t.run2(20)); in testN1()
40 assertEquals("Subtest_4 is failed",-35, t.run3(10)); in testN1()
41 assertEquals("Subtest_5 is failed",-20, t.run4(-50)); in testN1()
42 assertEquals("Subtest_6 is failed",20, t.run5(-70)); in testN1()
49 T_rsub_int_2 t = new T_rsub_int_2(); in testN2() local
50 assertEquals("Subtest_1 is failed",255, t.run(0)); in testN2()
51 assertEquals("Subtest_2 is failed",-32768, t.run1(0)); in testN2()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/int_to_byte/
DTest_int_to_byte.java30 T_int_to_byte_1 t = new T_int_to_byte_1(); in testN1() local
31 assertEquals(1, t.run(1)); in testN1()
38 T_int_to_byte_1 t = new T_int_to_byte_1(); in testN2() local
39 assertEquals(-1, t.run(-1)); in testN2()
46 T_int_to_byte_1 t = new T_int_to_byte_1(); in testN3() local
47 assertEquals(16, t.run(16)); in testN3()
54 T_int_to_byte_1 t = new T_int_to_byte_1(); in testN4() local
55 assertEquals(-32, t.run(-32)); in testN4()
62 T_int_to_byte_1 t = new T_int_to_byte_1(); in testN5() local
63 assertEquals(-122, t.run(134)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sparse_switch/
DTest_sparse_switch.java31 T_sparse_switch_1 t = new T_sparse_switch_1(); in testN1() local
32 assertEquals(2, t.run(-1)); in testN1()
34 assertEquals(-1, t.run(9)); in testN1()
35 assertEquals(20, t.run(10)); in testN1()
36 assertEquals(-1, t.run(11)); in testN1()
38 assertEquals(-1, t.run(14)); in testN1()
39 assertEquals(20, t.run(15)); in testN1()
40 assertEquals(-1, t.run(16)); in testN1()
47 T_sparse_switch_1 t = new T_sparse_switch_1(); in testB1() local
48 assertEquals(-1, t.run(Integer.MAX_VALUE)); in testB1()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_float_2addr/
DTest_sub_float_2addr.java29 T_sub_float_2addr_1 t = new T_sub_float_2addr_1(); in testN1() local
30 assertEquals(-0.44000006f, t.run(2.7f, 3.14f)); in testN1()
37 T_sub_float_2addr_1 t = new T_sub_float_2addr_1(); in testN2() local
38 assertEquals(3.14f, t.run(0, -3.14f)); in testN2()
45 T_sub_float_2addr_1 t = new T_sub_float_2addr_1(); in testN3() local
46 assertEquals(-0.44000006f, t.run(-3.14f, -2.7f)); in testN3()
53 T_sub_float_2addr_1 t = new T_sub_float_2addr_1(); in testB1() local
54 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN)); in testB1()
62 T_sub_float_2addr_1 t = new T_sub_float_2addr_1(); in testB2() local
63 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, in testB2()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_float/
DTest_sub_float.java31 T_sub_float_1 t = new T_sub_float_1(); in testN1() local
32 assertEquals(-0.44000006f, t.run(2.7f, 3.14f)); in testN1()
39 T_sub_float_1 t = new T_sub_float_1(); in testN2() local
40 assertEquals(3.14f, t.run(0, -3.14f)); in testN2()
47 T_sub_float_1 t = new T_sub_float_1(); in testN3() local
48 assertEquals(-0.44000006f, t.run(-3.14f, -2.7f)); in testN3()
55 T_sub_float_1 t = new T_sub_float_1(); in testB1() local
56 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN)); in testB1()
64 T_sub_float_1 t = new T_sub_float_1(); in testB2() local
65 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.POSITIVE_INFINITY, in testB2()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/packed_switch/
DTest_packed_switch.java30 T_packed_switch_1 t = new T_packed_switch_1(); in testN1() local
31 assertEquals(2, t.run(-1)); in testN1()
33 assertEquals(-1, t.run(4)); in testN1()
34 assertEquals(20, t.run(2)); in testN1()
35 assertEquals(-1, t.run(5)); in testN1()
37 assertEquals(-1, t.run(6)); in testN1()
38 assertEquals(20, t.run(3)); in testN1()
39 assertEquals(-1, t.run(7)); in testN1()
46 T_packed_switch_1 t = new T_packed_switch_1(); in testB1() local
47 assertEquals(-1, t.run(Integer.MAX_VALUE)); in testB1()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int/
DTest_rem_int.java30 T_rem_int_1 t = new T_rem_int_1(); in testN1() local
31 assertEquals(0, t.run(8, 4)); in testN1()
38 T_rem_int_1 t = new T_rem_int_1(); in testN2() local
39 assertEquals(3, t.run(1073741823, 4)); in testN2()
46 T_rem_int_1 t = new T_rem_int_1(); in testN3() local
47 assertEquals(0, t.run(0, 4)); in testN3()
54 T_rem_int_1 t = new T_rem_int_1(); in testN4() local
55 assertEquals(-1, t.run(-10, 3)); in testN4()
62 T_rem_int_1 t = new T_rem_int_1(); in testN5() local
63 assertEquals(1, t.run(1073741824, -3)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int_2addr/
DTest_rem_int_2addr.java30 T_rem_int_2addr_1 t = new T_rem_int_2addr_1(); in testN1() local
31 assertEquals(0, t.run(8, 4)); in testN1()
38 T_rem_int_2addr_1 t = new T_rem_int_2addr_1(); in testN2() local
39 assertEquals(3, t.run(1073741823, 4)); in testN2()
46 T_rem_int_2addr_1 t = new T_rem_int_2addr_1(); in testN3() local
47 assertEquals(0, t.run(0, 4)); in testN3()
54 T_rem_int_2addr_1 t = new T_rem_int_2addr_1(); in testN4() local
55 assertEquals(-1, t.run(-10, 3)); in testN4()
62 T_rem_int_2addr_1 t = new T_rem_int_2addr_1(); in testN5() local
63 assertEquals(1, t.run(1073741824, -3)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_long/
DTest_div_long.java30 T_div_long_1 t = new T_div_long_1(); in testN1() local
31 assertEquals(2l, t.run(100000000000l, 40000000000l)); in testN1()
38 T_div_long_1 t = new T_div_long_1(); in testN2() local
39 assertEquals(8l, t.run(98765432123456l, 12345678912345l)); in testN2()
46 T_div_long_1 t = new T_div_long_1(); in testN3() local
47 assertEquals(0l, t.run(0l, 98765432123456l)); in testN3()
54 T_div_long_1 t = new T_div_long_1(); in testN4() local
55 assertEquals(-8, t.run(-98765432123456l, 12345678912345l)); in testN4()
62 T_div_long_1 t = new T_div_long_1(); in testN5() local
63 assertEquals(-8, t.run(98765432123456l, -12345678912345l)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_int_2addr/
DTest_div_int_2addr.java29 T_div_int_2addr_1 t = new T_div_int_2addr_1(); in testN1() local
30 assertEquals(2, t.run(8, 4)); in testN1()
37 T_div_int_2addr_1 t = new T_div_int_2addr_1(); in testN2() local
38 assertEquals(268435455, t.run(1073741823, 4)); in testN2()
45 T_div_int_2addr_1 t = new T_div_int_2addr_1(); in testN3() local
46 assertEquals(0, t.run(0, 4)); in testN3()
53 T_div_int_2addr_1 t = new T_div_int_2addr_1(); in testN4() local
54 assertEquals(-3, t.run(-10, 3)); in testN4()
61 T_div_int_2addr_1 t = new T_div_int_2addr_1(); in testN5() local
62 assertEquals(-357913941, t.run(1073741824, -3)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_long_2addr/
DTest_rem_long_2addr.java30 T_rem_long_2addr_1 t = new T_rem_long_2addr_1(); in testN1() local
31 assertEquals(2000000000l, t.run(10000000000l, 4000000000l)); in testN1()
38 T_rem_long_2addr_1 t = new T_rem_long_2addr_1(); in testN2() local
39 assertEquals(123l, t.run(1234567890123l, 123456789l)); in testN2()
46 T_rem_long_2addr_1 t = new T_rem_long_2addr_1(); in testN3() local
47 assertEquals(0l, t.run(0l, 1234567890123l)); in testN3()
54 T_rem_long_2addr_1 t = new T_rem_long_2addr_1(); in testN4() local
55 assertEquals(-2000000000l, t.run(-10000000000l, 4000000000l)); in testN4()
62 T_rem_long_2addr_1 t = new T_rem_long_2addr_1(); in testN5() local
63 assertEquals(2000000000l, t.run(10000000000l, -4000000000l)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_int/
DTest_div_int.java30 T_div_int_1 t = new T_div_int_1(); in testN1() local
31 assertEquals(2, t.run(8, 4)); in testN1()
38 T_div_int_1 t = new T_div_int_1(); in testN2() local
39 assertEquals(268435455, t.run(1073741823, 4)); in testN2()
46 T_div_int_1 t = new T_div_int_1(); in testN3() local
47 assertEquals(0, t.run(0, 4)); in testN3()
54 T_div_int_1 t = new T_div_int_1(); in testN4() local
55 assertEquals(-3, t.run(-10, 3)); in testN4()
62 T_div_int_1 t = new T_div_int_1(); in testN5() local
63 assertEquals(-357913941, t.run(1073741824, -3)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_long/
DTest_rem_long.java30 T_rem_long_1 t = new T_rem_long_1(); in testN1() local
31 assertEquals(2000000000l, t.run(10000000000l, 4000000000l)); in testN1()
38 T_rem_long_1 t = new T_rem_long_1(); in testN2() local
39 assertEquals(123l, t.run(1234567890123l, 123456789l)); in testN2()
46 T_rem_long_1 t = new T_rem_long_1(); in testN3() local
47 assertEquals(0l, t.run(0l, 1234567890123l)); in testN3()
54 T_rem_long_1 t = new T_rem_long_1(); in testN4() local
55 assertEquals(-2000000000l, t.run(-10000000000l, 4000000000l)); in testN4()
62 T_rem_long_1 t = new T_rem_long_1(); in testN5() local
63 assertEquals(2000000000l, t.run(10000000000l, -4000000000l)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_long_2addr/
DTest_div_long_2addr.java29 T_div_long_2addr_1 t = new T_div_long_2addr_1(); in testN1() local
30 assertEquals(2l, t.run(100000000000l, 40000000000l)); in testN1()
37 T_div_long_2addr_1 t = new T_div_long_2addr_1(); in testN2() local
38 assertEquals(8l, t.run(98765432123456l, 12345678912345l)); in testN2()
45 T_div_long_2addr_1 t = new T_div_long_2addr_1(); in testN3() local
46 assertEquals(0l, t.run(0l, 98765432123456l)); in testN3()
53 T_div_long_2addr_1 t = new T_div_long_2addr_1(); in testN4() local
54 assertEquals(-8, t.run(-98765432123456l, 12345678912345l)); in testN4()
61 T_div_long_2addr_1 t = new T_div_long_2addr_1(); in testN5() local
62 assertEquals(-8, t.run(98765432123456l, -12345678912345l)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput/
DTest_iput.java41 T_iput_1 t = new T_iput_1(); in testN1() local
42 assertEquals(0, t.st_i1); in testN1()
43 t.run(); in testN1()
44 assertEquals(1000000, t.st_i1); in testN1()
51 T_iput_19 t = new T_iput_19(); in testN2() local
52 assertEquals(0.0f, t.st_f1); in testN2()
53 t.run(); in testN2()
54 assertEquals(3.14f, t.st_f1); in testN2()
62 T_iput_12 t = new T_iput_12(); in testN3() local
63 assertEquals(0, t.st_i1); in testN3()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/not_int/
DTest_not_int.java30 T_not_int_1 t = new T_not_int_1(); in testN1() local
31 assertEquals(-6, t.run(5)); in testN1()
32 assertEquals(-257, t.run(256)); in testN1()
39 T_not_int_1 t = new T_not_int_1(); in testN2() local
40 assertEquals(4, t.run(-5)); in testN2()
41 assertEquals(255, t.run(-256)); in testN2()
48 T_not_int_1 t = new T_not_int_1(); in testN3() local
49 assertEquals(-0xcaff, t.run(0xcafe)); in testN3()
50 assertEquals(-0x12d, t.run(0x12c)); in testN3()
57 T_not_int_1 t = new T_not_int_1(); in testB1() local
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_object/
DTest_iput_object.java38 T_iput_object_1 t = new T_iput_object_1(); in testN1() local
39 assertEquals(null, t.st_i1); in testN1()
40 t.run(); in testN1()
41 assertEquals(t, t.st_i1); in testN1()
49 T_iput_object_12 t = new T_iput_object_12(); in testN2() local
50 assertEquals(null, t.st_i1); in testN2()
51 t.run(); in testN2()
52 assertEquals(t, t.st_i1); in testN2()
61 T_iput_object_14 t = new T_iput_object_14(); in testN4() local
62 assertEquals(null, t.getProtectedField()); in testN4()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_ne/
DTest_if_ne.java15 T_if_ne_1 t = new T_if_ne_1(); in testN1() local
16 assertEquals(1, t.run(5, 6)); in testN1()
23 T_if_ne_1 t = new T_if_ne_1(); in testN2() local
24 assertEquals(1234, t.run(0x0f0e0d0c, 0x0f0e0d0c)); in testN2()
31 T_if_ne_1 t = new T_if_ne_1(); in testN3() local
32 assertEquals(1, t.run(5, -5)); in testN3()
39 T_if_ne_1 t = new T_if_ne_1(); in testN4() local
40 assertEquals(1, t.run(0x01001234, 0x1234)); in testN4()
47 T_if_ne_2 t = new T_if_ne_2(); in testN5() local
50 assertEquals(1, t.run(a, b)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_eq/
DTest_if_eq.java31 T_if_eq_1 t = new T_if_eq_1(); in testN1() local
36 assertEquals(1234, t.run(5, 6)); in testN1()
43 T_if_eq_1 t = new T_if_eq_1(); in testN2() local
44 assertEquals(1, t.run(0x0f0e0d0c, 0x0f0e0d0c)); in testN2()
51 T_if_eq_1 t = new T_if_eq_1(); in testN3() local
52 assertEquals(1234, t.run(5, -5)); in testN3()
59 T_if_eq_1 t = new T_if_eq_1(); in testN4() local
60 assertEquals(1234, t.run(0x01001234, 0x1234)); in testN4()
67 T_if_eq_2 t = new T_if_eq_2(); in testN5() local
70 assertEquals(1234, t.run(a, b)); in testN5()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int_2addr/
DTest_sub_int_2addr.java29 T_sub_int_2addr_1 t = new T_sub_int_2addr_1(); in testN1() local
30 assertEquals(4, t.run(8, 4)); in testN1()
37 T_sub_int_2addr_1 t = new T_sub_int_2addr_1(); in testN2() local
38 assertEquals(-255, t.run(0, 255)); in testN2()
45 T_sub_int_2addr_1 t = new T_sub_int_2addr_1(); in testN3() local
46 assertEquals(65536, t.run(0, -65536)); in testN3()
53 T_sub_int_2addr_1 t = new T_sub_int_2addr_1(); in testN4() local
54 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647)); in testN4()
61 T_sub_int_2addr_1 t = new T_sub_int_2addr_1(); in testB1() local
62 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE)); in testB1()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_double_2addr/
DTest_sub_double_2addr.java29 T_sub_double_2addr_1 t = new T_sub_double_2addr_1(); in testN1() local
30 assertEquals(-0.43999999999999995d, t.run(2.7d, 3.14d)); in testN1()
37 T_sub_double_2addr_1 t = new T_sub_double_2addr_1(); in testN2() local
38 assertEquals(3.14d, t.run(0, -3.14d)); in testN2()
45 T_sub_double_2addr_1 t = new T_sub_double_2addr_1(); in testN3() local
46 assertEquals(-0.43999999999999995d, t.run(-3.14d, -2.7d)); in testN3()
53 T_sub_double_2addr_1 t = new T_sub_double_2addr_1(); in testB1() local
54 assertEquals(Double.NaN, t.run(Double.MAX_VALUE, Double.NaN)); in testB1()
62 T_sub_double_2addr_1 t = new T_sub_double_2addr_1(); in testB2() local
63 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, in testB2()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int/
DTest_sub_int.java30 T_sub_int_1 t = new T_sub_int_1(); in testN1() local
31 assertEquals(4, t.run(8, 4)); in testN1()
38 T_sub_int_1 t = new T_sub_int_1(); in testN2() local
39 assertEquals(-255, t.run(0, 255)); in testN2()
46 T_sub_int_1 t = new T_sub_int_1(); in testN3() local
47 assertEquals(65536, t.run(0, -65536)); in testN3()
54 T_sub_int_1 t = new T_sub_int_1(); in testN4() local
55 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647)); in testN4()
62 T_sub_int_1 t = new T_sub_int_1(); in testB1() local
63 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE)); in testB1()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_double/
DTest_sub_double.java30 T_sub_double_1 t = new T_sub_double_1(); in testN1() local
31 assertEquals(-0.43999999999999995d, t.run(2.7d, 3.14d)); in testN1()
38 T_sub_double_1 t = new T_sub_double_1(); in testN2() local
39 assertEquals(3.14d, t.run(0, -3.14d)); in testN2()
46 T_sub_double_1 t = new T_sub_double_1(); in testN3() local
47 assertEquals(-0.43999999999999995d, t.run(-3.14d, -2.7d)); in testN3()
54 T_sub_double_1 t = new T_sub_double_1(); in testB1() local
55 assertEquals(Double.NaN, t.run(Double.MAX_VALUE, Double.NaN)); in testB1()
63 T_sub_double_1 t = new T_sub_double_1(); in testB2() local
64 assertEquals(Double.POSITIVE_INFINITY, t.run(Double.POSITIVE_INFINITY, in testB2()
[all …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/iput_wide/
DTest_iput_wide.java39 T_iput_wide_1 t = new T_iput_wide_1(); in testN1() local
40 assertEquals(0, t.st_i1); in testN1()
41 t.run(); in testN1()
42 assertEquals(778899112233l, t.st_i1); in testN1()
49 T_iput_wide_5 t = new T_iput_wide_5(); in testN2() local
50 assertEquals(0.0d, t.st_i1); in testN2()
51 t.run(); in testN2()
52 assertEquals(0.5d, t.st_i1); in testN2()
60 T_iput_wide_12 t = new T_iput_wide_12(); in testN3() local
61 assertEquals(0, t.st_i1); in testN3()
[all …]

12345678910>>...13