Home
last modified time | relevance | path

Searched refs:expected (Results 1 – 25 of 7652) sorted by relevance

12345678910>>...307

/external/markdown/tests/test_syntax/extensions/
Dtest_code_hilite.py47 def assertOutputEquals(self, source, expected, **options): argument
53 self.assertMultiLineEqual(output.strip(), expected)
58 expected = (
63 expected = (
67 self.assertOutputEquals('# A Code Comment', expected)
71 expected = (
78 expected = (
83 self.assertOutputEquals('<?php print("Hello World"); ?>', expected, guess_lang=True)
87 expected = (
92 expected = (
[all …]
/external/google-java-format/core/src/test/java/com/google/googlejavaformat/java/
DJavadocFormattingTest.java39 String[] expected = { in notJavadoc() local
43 doFormatTest(input, expected); in notJavadoc()
52 String[] expected = { in empty() local
55 doFormatTest(input, expected); in empty()
65 String[] expected = { in emptyMultipleLines() local
68 doFormatTest(input, expected); in emptyMultipleLines()
77 String[] expected = { in simple() local
80 doFormatTest(input, expected); in simple()
98 String[] expected = { in commentMostlyUntouched() local
110 doFormatTest(input, expected); in commentMostlyUntouched()
[all …]
/external/angle/src/tests/preprocessor_tests/
Ddefine_test.cpp25 const char *expected = in TEST_F() local
32 preprocess(input, expected); in TEST_F()
46 const char *expected = in TEST_F() local
65 preprocess(input, expected); in TEST_F()
73 const char *expected = in TEST_F() local
80 preprocess(input, expected); in TEST_F()
88 const char *expected = in TEST_F() local
95 preprocess(input, expected); in TEST_F()
103 const char *expected = in TEST_F() local
110 preprocess(input, expected); in TEST_F()
[all …]
/external/harfbuzz_ng/test/subset/data/
DMakefile.am11 expected/32bit_var_store \
12 expected/basics \
13 expected/full-font \
14 expected/glyf_bug_3131 \
15 expected/cff-full-font \
16 expected/japanese \
17 expected/cff-japanese \
18 expected/cff.notoserifmyanmar \
19 expected/layout \
20 expected/layout.gpos \
[all …]
/external/curl/tests/libtest/
Dlib557.c68 const char *expected; /* expected string */ member
75 const char *expected; /* expected string */ member
82 const char *expected; /* expected string */ member
89 const char *expected; /* expected string */ member
96 const char *expected; /* expected string */ member
103 const char *expected; /* expected string */ member
110 const char *expected; /* expected string */ member
130 i = 1; us_test[i].num = 0xFFFFU; us_test[i].expected = "65535"; in test_unsigned_short_formatting()
131 i++; us_test[i].num = 0xFF00U; us_test[i].expected = "65280"; in test_unsigned_short_formatting()
132 i++; us_test[i].num = 0x00FFU; us_test[i].expected = "255"; in test_unsigned_short_formatting()
[all …]
/external/libcups/cups/
Dtestraster.c25 static void print_changes(cups_page_header2_t *header, cups_page_header2_t *expected);
132 expected; /* Expected page header */ in do_raster_tests() local
303 memset(&expected, 0, sizeof(expected)); in do_raster_tests()
304 expected.cupsWidth = 256; in do_raster_tests()
305 expected.cupsHeight = 256; in do_raster_tests()
306 expected.cupsBytesPerLine = 256; in do_raster_tests()
307 expected.HWResolution[0] = 64; in do_raster_tests()
308 expected.HWResolution[1] = 64; in do_raster_tests()
309 expected.PageSize[0] = 288; in do_raster_tests()
310 expected.PageSize[1] = 288; in do_raster_tests()
[all …]
/external/arm-neon-tests/
Dexpected_input4gcc.txt3 VECT_VAR_DECL(expected,int,8,8) [] = { 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7 };
4 VECT_VAR_DECL(expected,int,16,4) [] = { 0xfff0, 0xfff1, 0xfff2, 0xfff3 };
5 VECT_VAR_DECL(expected,int,32,2) [] = { 0xfffffff0, 0xfffffff1 };
6 VECT_VAR_DECL(expected,int,64,1) [] = { 0xfffffffffffffff0 };
7 VECT_VAR_DECL(expected,uint,8,8) [] = { 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7 };
8 VECT_VAR_DECL(expected,uint,16,4) [] = { 0xfff0, 0xfff1, 0xfff2, 0xfff3 };
9 VECT_VAR_DECL(expected,uint,32,2) [] = { 0xfffffff0, 0xfffffff1 };
10 VECT_VAR_DECL(expected,uint,64,1) [] = { 0xfffffffffffffff0 };
11 VECT_VAR_DECL(expected,poly,8,8) [] = { 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7 };
12 VECT_VAR_DECL(expected,poly,16,4) [] = { 0xfff0, 0xfff1, 0xfff2, 0xfff3 };
[all …]
Dexpected_input4gcc-nofp16.txt3 VECT_VAR_DECL(expected,int,8,8) [] = { 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7 };
4 VECT_VAR_DECL(expected,int,16,4) [] = { 0xfff0, 0xfff1, 0xfff2, 0xfff3 };
5 VECT_VAR_DECL(expected,int,32,2) [] = { 0xfffffff0, 0xfffffff1 };
6 VECT_VAR_DECL(expected,int,64,1) [] = { 0xfffffffffffffff0 };
7 VECT_VAR_DECL(expected,uint,8,8) [] = { 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7 };
8 VECT_VAR_DECL(expected,uint,16,4) [] = { 0xfff0, 0xfff1, 0xfff2, 0xfff3 };
9 VECT_VAR_DECL(expected,uint,32,2) [] = { 0xfffffff0, 0xfffffff1 };
10 VECT_VAR_DECL(expected,uint,64,1) [] = { 0xfffffffffffffff0 };
11 VECT_VAR_DECL(expected,poly,8,8) [] = { 0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7 };
12 VECT_VAR_DECL(expected,poly,16,4) [] = { 0xfff0, 0xfff1, 0xfff2, 0xfff3 };
[all …]
/external/testng/src/main/java/org/testng/
DAssertJUnit.java73 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
74 if((expected == null) && (actual == null)) { in assertEquals()
77 if((expected != null) && expected.equals(actual)) { in assertEquals()
80 failNotEquals(message, expected, actual); in assertEquals()
87 static public void assertEquals(Object expected, Object actual) { in assertEquals() argument
88 assertEquals(null, expected, actual); in assertEquals()
94 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument
95 if((expected == null) && (actual == null)) { in assertEquals()
98 if((expected != null) && expected.equals(actual)) { in assertEquals()
101 throw new AssertionError(format(message, expected, actual)); in assertEquals()
[all …]
DAssert.java111 static public void assertEquals(Object actual, Object expected, String message) { in assertEquals() argument
112 if (expected != null && expected.getClass().isArray()) { in assertEquals()
113 assertArrayEquals(actual, expected, message); in assertEquals()
116 assertEqualsImpl(actual, expected, message); in assertEquals()
124 private static void assertEqualsImpl(Object actual, Object expected, in assertEqualsImpl() argument
126 if((expected == null) && (actual == null)) { in assertEqualsImpl()
129 if(expected == null ^ actual == null) { in assertEqualsImpl()
130 failNotEquals(actual, expected, message); in assertEqualsImpl()
132 if (expected.equals(actual) && actual.equals(expected)) { in assertEqualsImpl()
135 failNotEquals(actual, expected, message); in assertEqualsImpl()
[all …]
/external/testng/src/main/java/org/testng/asserts/
DAssertion.java71 private final T expected; field in Assertion.SimpleAssert
78 public SimpleAssert(T actual, T expected) { in SimpleAssert() argument
79 this(actual, expected, null); in SimpleAssert()
82 public SimpleAssert(T actual, T expected, String message) { in SimpleAssert() argument
84 this.expected = expected; in SimpleAssert()
100 return expected; in getExpected()
171 public <T> void assertEquals(final T actual, final T expected, final String message) { in assertEquals() argument
172 doAssert(new SimpleAssert<T>(actual, expected, message) { in assertEquals()
175 org.testng.Assert.assertEquals(actual, expected, message); in assertEquals()
180 public <T> void assertEquals(final T actual, final T expected) { in assertEquals() argument
[all …]
/external/libchrome/mojo/public/java/system/javatests/src/org/chromium/mojo/bindings/
DValidationTestUtilTest.java53 ByteBuffer expected = ByteBuffer.allocateDirect(0); in testCorrectMessageParsing() local
54 expected.order(ByteOrder.LITTLE_ENDIAN); in testCorrectMessageParsing()
56 checkInputParser(input, true, expected, 0); in testCorrectMessageParsing()
61 ByteBuffer expected = ByteBuffer.allocateDirect(0); in testCorrectMessageParsing() local
62 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
64 checkInputParser(input, true, expected, 0); in testCorrectMessageParsing()
69 ByteBuffer expected = ByteBuffer.allocateDirect(17); in testCorrectMessageParsing() local
70 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
71 expected.put((byte) 0x10); in testCorrectMessageParsing()
72 expected.putShort((short) 65535); in testCorrectMessageParsing()
[all …]
/external/tensorflow/tensorflow/compiler/mlir/tensorflow/tests/
Dside-effect-analysis-test.mlir8 // expected-remark@above {{ID: 13}}
13 // expected-remark@above {{ID: 11}}
16 // expected-remark@above {{ID: 9}}
17 // expected-remark@above {{Successors: {10}}}
19 // expected-remark@above {{ID: 0}}
20 // expected-remark@above {{Successors: {1}}}
22 // expected-remark@above {{ID: 1}}
23 // expected-remark@above {{Predecessors: {0}}}
24 // expected-remark@above {{Successors: {6}}}
26 // expected-remark@above {{ID: 2}}
[all …]
/external/llvm/test/MC/Mips/msa/
Dinvalid.s8 addvi.b $w1, $w2, -1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
9 addvi.b $w1, $w2, 32 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
10 addvi.h $w1, $w2, -1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
11 addvi.h $w1, $w2, 32 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
12 addvi.w $w1, $w2, -1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
13 addvi.w $w1, $w2, 32 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
14 addvi.d $w1, $w2, -1 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
15 addvi.d $w1, $w2, 32 # CHECK: :[[@LINE]]:23: error: expected 5-bit unsigned immediate
16 andi.b $w1, $w2, -1 # CHECK: :[[@LINE]]:22: error: expected 8-bit unsigned immediate
17 andi.b $w1, $w2, 256 # CHECK: :[[@LINE]]:22: error: expected 8-bit unsigned immediate
[all …]
/external/webrtc/modules/rtp_rtcp/source/
Dvideo_rtp_depacketizer_vp9_unittest.cc23 void VerifyHeader(const RTPVideoHeaderVP9& expected, in VerifyHeader() argument
25 EXPECT_EQ(expected.inter_layer_predicted, actual.inter_layer_predicted); in VerifyHeader()
26 EXPECT_EQ(expected.inter_pic_predicted, actual.inter_pic_predicted); in VerifyHeader()
27 EXPECT_EQ(expected.flexible_mode, actual.flexible_mode); in VerifyHeader()
28 EXPECT_EQ(expected.beginning_of_frame, actual.beginning_of_frame); in VerifyHeader()
29 EXPECT_EQ(expected.end_of_frame, actual.end_of_frame); in VerifyHeader()
30 EXPECT_EQ(expected.ss_data_available, actual.ss_data_available); in VerifyHeader()
31 EXPECT_EQ(expected.non_ref_for_inter_layer_pred, in VerifyHeader()
33 EXPECT_EQ(expected.picture_id, actual.picture_id); in VerifyHeader()
34 EXPECT_EQ(expected.max_picture_id, actual.max_picture_id); in VerifyHeader()
[all …]
/external/junit/src/main/java/junit/framework/
DAssert.java71 public static void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
72 if (expected == null && actual == null) { in assertEquals()
75 if (expected != null && expected.equals(actual)) { in assertEquals()
78 failNotEquals(message, expected, actual); in assertEquals()
85 public static void assertEquals(Object expected, Object actual) { in assertEquals() argument
86 assertEquals(null, expected, actual); in assertEquals()
92 public static void assertEquals(String message, String expected, String actual) { in assertEquals() argument
93 if (expected == null && actual == null) { in assertEquals()
96 if (expected != null && expected.equals(actual)) { in assertEquals()
100 throw new ComparisonFailure(cleanMessage, expected, actual); in assertEquals()
[all …]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/message2/
DFromJsonTest.java25 .expected("hello")
29 .expected("hello world")
33 .expected("hello ")
38 .expected("hello world")
42 .expected("hello {$place}")
48 .expected("1.3 and 4.2")
54 .expected("1,3 et 4,2")
58 .expected("hello 4.2")
63 .expected("hello \u0664\u066B\u0662")
67 .expected("hello NaN")
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/message2/
DFromJsonTest.java28 .expected("hello")
32 .expected("hello world")
36 .expected("hello ")
41 .expected("hello world")
45 .expected("hello {$place}")
51 .expected("1.3 and 4.2")
57 .expected("1,3 et 4,2")
61 .expected("hello 4.2")
66 .expected("hello \u0664\u066B\u0662")
70 .expected("hello NaN")
[all …]
/external/libese/libapdu/tests/
Dapdu_test.cpp32 const std::vector<uint8_t> expected{1, 2, 3, 4}; in TEST() local
33 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
34 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
39 const std::vector<uint8_t> expected{4, 3, 2, 1, 3}; in TEST() local
40 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
41 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
46 const std::vector<uint8_t> expected{4, 3, 2, 1, 0}; in TEST() local
47 ASSERT_EQ(expected.size(), apdu.size()); in TEST()
48 ASSERT_TRUE(std::equal(apdu.begin(), apdu.end(), expected.begin(), expected.end())); in TEST()
53 const std::vector<uint8_t> expected{5, 6, 7, 8, 0, 1, 2}; in TEST() local
[all …]
/external/e2fsprogs/tests/j_long_revoke_trans_mcsum_64bit/
Dexpect22 Found expected sequence 1, type 1 (descriptor block) at block 1
23 Found expected sequence 1, type 1 (descriptor block) at block 64
24 Found expected sequence 1, type 1 (descriptor block) at block 127
25 Found expected sequence 1, type 1 (descriptor block) at block 190
26 Found expected sequence 1, type 1 (descriptor block) at block 253
27 Found expected sequence 1, type 1 (descriptor block) at block 316
28 Found expected sequence 1, type 1 (descriptor block) at block 379
29 Found expected sequence 1, type 1 (descriptor block) at block 442
30 Found expected sequence 1, type 1 (descriptor block) at block 505
31 Found expected sequence 1, type 1 (descriptor block) at block 568
[all …]
/external/llvm/test/MC/Mips/micromips/
Dinvalid.s4 …addiur1sp $7, 260 # CHECK: :[[@LINE]]:17: error: expected both 8-bit unsigned immediate and mult…
5 …addiur1sp $7, 241 # CHECK: :[[@LINE]]:17: error: expected both 8-bit unsigned immediate and mult…
7 addius5 $2, -9 # CHECK: :[[@LINE]]:15: error: expected 4-bit signed immediate
8 addius5 $2, 8 # CHECK: :[[@LINE]]:15: error: expected 4-bit signed immediate
9 break -1 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate
10 break 1024 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate
11 break -1, 5 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate
12 break 1024, 5 # CHECK: :[[@LINE]]:9: error: expected 10-bit unsigned immediate
13 break 7, -1 # CHECK: :[[@LINE]]:12: error: expected 10-bit unsigned immediate
14 break 7, 1024 # CHECK: :[[@LINE]]:12: error: expected 10-bit unsigned immediate
[all …]
/external/cronet/third_party/abseil-cpp/absl/strings/internal/
Dcordz_info_statistics_test.cc208 CordzStatistics expected; in TEST() local
209 expected.size = flat->length; in TEST()
210 expected.estimated_memory_usage = SizeOf(flat); in TEST()
211 expected.estimated_fair_share_memory_usage = expected.estimated_memory_usage; in TEST()
212 expected.node_count = 1; in TEST()
213 expected.node_counts.flat = 1; in TEST()
214 expected.node_counts.flat_512 = 1; in TEST()
216 EXPECT_THAT(SampleCord(flat), EqStatistics(expected)); in TEST()
223 CordzStatistics expected; in TEST() local
224 expected.size = flat->length; in TEST()
[all …]
/external/tensorflow/third_party/absl/abseil-cpp/absl/strings/internal/
Dcordz_info_statistics_test.cc207 CordzStatistics expected; in TEST() local
208 expected.size = flat->length; in TEST()
209 expected.estimated_memory_usage = SizeOf(flat); in TEST()
210 expected.estimated_fair_share_memory_usage = expected.estimated_memory_usage; in TEST()
211 expected.node_count = 1; in TEST()
212 expected.node_counts.flat = 1; in TEST()
213 expected.node_counts.flat_512 = 1; in TEST()
215 EXPECT_THAT(SampleCord(flat), EqStatistics(expected)); in TEST()
222 CordzStatistics expected; in TEST() local
223 expected.size = flat->length; in TEST()
[all …]
/external/webrtc/third_party/abseil-cpp/absl/strings/internal/
Dcordz_info_statistics_test.cc207 CordzStatistics expected; in TEST() local
208 expected.size = flat->length; in TEST()
209 expected.estimated_memory_usage = SizeOf(flat); in TEST()
210 expected.estimated_fair_share_memory_usage = expected.estimated_memory_usage; in TEST()
211 expected.node_count = 1; in TEST()
212 expected.node_counts.flat = 1; in TEST()
213 expected.node_counts.flat_512 = 1; in TEST()
215 EXPECT_THAT(SampleCord(flat), EqStatistics(expected)); in TEST()
222 CordzStatistics expected; in TEST() local
223 expected.size = flat->length; in TEST()
[all …]
/external/angle/third_party/abseil-cpp/absl/strings/internal/
Dcordz_info_statistics_test.cc208 CordzStatistics expected; in TEST() local
209 expected.size = flat->length; in TEST()
210 expected.estimated_memory_usage = SizeOf(flat); in TEST()
211 expected.estimated_fair_share_memory_usage = expected.estimated_memory_usage; in TEST()
212 expected.node_count = 1; in TEST()
213 expected.node_counts.flat = 1; in TEST()
214 expected.node_counts.flat_512 = 1; in TEST()
216 EXPECT_THAT(SampleCord(flat), EqStatistics(expected)); in TEST()
223 CordzStatistics expected; in TEST() local
224 expected.size = flat->length; in TEST()
[all …]

12345678910>>...307