Home
last modified time | relevance | path

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

12345678910>>...145

/external/chromium_org/build/android/
Dsymbolize_test.py36 expected = '00 0x00000000 ' + LIB_A_PATH + '+0x00000254\n'
37 self.assertEqual(expected, RunSymbolizer(expected))
40 expected = '#00 0x00000000 ' + LIB_A_PATH + '+0x00000254\n'
41 self.assertEqual(expected, RunSymbolizer(expected))
42 expected = '#00 0x00000000 ' + LIB_A_PATH + '+0x00000254\n'
43 self.assertEqual(expected, RunSymbolizer(expected))
46 expected = '#0a 0x00000000 ' + LIB_A_PATH + '+0x00000254\n'
47 self.assertEqual(expected, RunSymbolizer(expected))
50 expected = '#00 0xghijklmn ' + LIB_A_PATH + '+0x00000254\n'
51 self.assertEqual(expected, RunSymbolizer(expected))
[all …]
/external/chromium_org/gpu/command_buffer/client/
Dgles2_implementation_unittest_autogen.h20 Cmds expected; in TEST_F() local
21 expected.cmd.Init(1, 2); in TEST_F()
24 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); in TEST_F()
32 Cmds expected; in TEST_F() local
33 expected.cmd.Init(GL_ARRAY_BUFFER, 2); in TEST_F()
36 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); in TEST_F()
46 Cmds expected; in TEST_F() local
47 expected.cmd.Init(GL_FRAMEBUFFER, 2); in TEST_F()
50 EXPECT_EQ(0, memcmp(&expected, commands_, sizeof(expected))); in TEST_F()
60 Cmds expected; in TEST_F() local
[all …]
/external/chromium_org/third_party/angle/tests/preprocessor_tests/
Ddefine_test.cpp18 const char* expected = "\n" in TEST_F() local
26 preprocess(input, expected); in TEST_F()
39 const char* expected = "\n" in TEST_F() local
65 preprocess(input, expected); in TEST_F()
72 const char* expected = "\n" in TEST_F() local
80 preprocess(input, expected); in TEST_F()
87 const char* expected = "\n" in TEST_F() local
95 preprocess(input, expected); in TEST_F()
102 const char* expected = "\n" in TEST_F() local
110 preprocess(input, expected); in TEST_F()
[all …]
Dif_test.cpp21 const char* expected = "pass_1\n" in TEST_F() local
27 preprocess(str, expected); in TEST_F()
37 const char* expected = "pass_1\n" in TEST_F() local
43 preprocess(str, expected); in TEST_F()
55 const char* expected = "pass_1\n" in TEST_F() local
63 preprocess(str, expected); in TEST_F()
75 const char* expected = "pass_1\n" in TEST_F() local
83 preprocess(str, expected); in TEST_F()
101 const char* expected = "pass_1\n" in TEST_F() local
115 preprocess(str, expected); in TEST_F()
[all …]
/external/chromium_org/mojo/android/javatests/src/org/chromium/mojo/bindings/
DValidationTestUtilTest.java43 ByteBuffer expected = ByteBuffer.allocateDirect(0); in testCorrectMessageParsing() local
44 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
46 checkInputParser(input, true, expected, 0); in testCorrectMessageParsing()
51 ByteBuffer expected = ByteBuffer.allocateDirect(0); in testCorrectMessageParsing() local
52 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
54 checkInputParser(input, true, expected, 0); in testCorrectMessageParsing()
59 ByteBuffer expected = ByteBuffer.allocateDirect(17); in testCorrectMessageParsing() local
60 expected.order(ByteOrder.nativeOrder()); in testCorrectMessageParsing()
61 expected.put((byte) 0x10); in testCorrectMessageParsing()
62 expected.putShort((short) 65535); in testCorrectMessageParsing()
[all …]
/external/junit/src/junit/framework/
DAssert.java62 static public void assertEquals(String message, Object expected, Object actual) { in assertEquals() argument
63 if (expected == null && actual == null) in assertEquals()
65 if (expected != null && expected.equals(actual)) in assertEquals()
67 failNotEquals(message, expected, actual); in assertEquals()
73 static public void assertEquals(Object expected, Object actual) { in assertEquals() argument
74 assertEquals(null, expected, actual); in assertEquals()
79 static public void assertEquals(String message, String expected, String actual) { in assertEquals() argument
80 if (expected == null && actual == null) in assertEquals()
82 if (expected != null && expected.equals(actual)) in assertEquals()
85 throw new ComparisonFailure(cleanMessage, expected, actual); in assertEquals()
[all …]
/external/chromium_org/cc/test/
Dgeometry_test_utils.h16 #define EXPECT_FLOAT_RECT_EQ(expected, actual) \ argument
18 EXPECT_FLOAT_EQ((expected).x(), (actual).x()); \
19 EXPECT_FLOAT_EQ((expected).y(), (actual).y()); \
20 EXPECT_FLOAT_EQ((expected).width(), (actual).width()); \
21 EXPECT_FLOAT_EQ((expected).height(), (actual).height()); \
24 #define EXPECT_RECT_NEAR(expected, actual, abs_error) \ argument
26 EXPECT_NEAR((expected).x(), (actual).x(), (abs_error)); \
27 EXPECT_NEAR((expected).y(), (actual).y(), (abs_error)); \
28 EXPECT_NEAR((expected).width(), (actual).width(), (abs_error)); \
29 EXPECT_NEAR((expected).height(), (actual).height(), (abs_error)); \
[all …]
/external/chromium_org/cc/output/
Dfilter_operations_unittest.cc148 FilterOperation expected = FilterOperation::CreateGrayscaleFilter(0.f); in TEST() local
149 EXPECT_EQ(expected, blended); in TEST()
152 expected = FilterOperation::CreateGrayscaleFilter(0.625f); in TEST()
153 EXPECT_EQ(expected, blended); in TEST()
156 expected = FilterOperation::CreateGrayscaleFilter(1.f); in TEST()
157 EXPECT_EQ(expected, blended); in TEST()
164 FilterOperation expected = FilterOperation::CreateGrayscaleFilter(0.75f); in TEST() local
165 EXPECT_EQ(expected, blended); in TEST()
168 expected = FilterOperation::CreateGrayscaleFilter(0.25f); in TEST()
169 EXPECT_EQ(expected, blended); in TEST()
[all …]
/external/chromium_org/chrome/renderer/autofill/
Dform_autofill_browsertest.cc138 FormFieldData expected; in ExpectLabelsAndTypes() local
139 expected.label = labels[i]; in ExpectLabelsAndTypes()
140 expected.name = names[i]; in ExpectLabelsAndTypes()
141 expected.value = values[i]; in ExpectLabelsAndTypes()
142 expected.form_control_type = control_types[i]; in ExpectLabelsAndTypes()
143 expected.max_length = max_length; in ExpectLabelsAndTypes()
145 EXPECT_FORM_FIELD_DATA_EQUALS(expected, fields[i]); in ExpectLabelsAndTypes()
207 FormFieldData expected; in TestFormFillFunctions() local
212 expected.form_control_type = field_cases[i].form_control_type; in TestFormFillFunctions()
213 expected.max_length = in TestFormFillFunctions()
[all …]
/external/chromium_org/third_party/closure_linter/closure_linter/
Dfixjsstyle_test.py71 expected = open(golden_filename, 'r')
73 self.assertEqual(actual.readlines(), expected.readlines())
92 expected = [
104 self._AssertFixes(original, expected, include_header=False)
118 expected = [
128 self._AssertFixes(original, expected)
146 expected = [
154 self._AssertFixes(original, expected, include_header=False)
171 expected = [
181 self._AssertFixes(original, expected, include_header=False)
[all …]
/external/chromium_org/third_party/WebKit/Source/modules/indexeddb/
DIDBKeyPathTest.cpp39 void checkKeyPath(const String& keyPath, const Vector<String>& expected, int parserError) in checkKeyPath() argument
51 ASSERT_EQ(expected.size(), keyPathElements.size()); in checkKeyPath()
52 for (size_t i = 0; i < expected.size(); ++i) in checkKeyPath()
53 ASSERT_TRUE(expected[i] == keyPathElements[i]) << i; in checkKeyPath()
58 Vector<String> expected; in TEST() local
60 checkKeyPath(keyPath, expected, 0); in TEST()
65 Vector<String> expected; in TEST() local
67 expected.append(String("foo")); in TEST()
68 checkKeyPath(keyPath, expected, 0); in TEST()
73 Vector<String> expected; in TEST() local
[all …]
/external/skia/tests/
DMatrixClipCollapseTest.cpp142 DrawOpType draw, SkTDArray<DrawType>* expected,
146 SkTDArray<DrawType>* expected, int accumulatedClips);
149 SkTDArray<DrawType>* expected);
194 static void add_clip(ClipType clip, MatType mat, SkTDArray<DrawType>* expected) { in add_clip() argument
195 if (NULL == expected) { in add_clip()
204 *expected->append() = CONCAT; in add_clip()
205 *expected->append() = CLIP_RECT; in add_clip()
208 *expected->append() = CONCAT; in add_clip()
209 *expected->append() = CLIP_RRECT; in add_clip()
212 *expected->append() = CONCAT; in add_clip()
[all …]
/external/chromium_org/third_party/skia/tests/
DMatrixClipCollapseTest.cpp142 DrawOpType draw, SkTDArray<DrawType>* expected,
146 SkTDArray<DrawType>* expected, int accumulatedClips);
149 SkTDArray<DrawType>* expected);
194 static void add_clip(ClipType clip, MatType mat, SkTDArray<DrawType>* expected) { in add_clip() argument
195 if (NULL == expected) { in add_clip()
204 *expected->append() = CONCAT; in add_clip()
205 *expected->append() = CLIP_RECT; in add_clip()
208 *expected->append() = CONCAT; in add_clip()
209 *expected->append() = CLIP_RRECT; in add_clip()
212 *expected->append() = CONCAT; in add_clip()
[all …]
/external/chromium_org/third_party/libaddressinput/src/cpp/test/
Daddress_formatter_test.cc109 std::vector<std::string> expected; in TEST() local
110 expected.push_back("Rotopapa"); in TEST()
111 expected.push_back("Irwell 3RD"); in TEST()
112 expected.push_back("Leeston 8704"); in TEST()
116 EXPECT_EQ(expected, lines); in TEST()
124 EXPECT_EQ(expected, lines); in TEST()
149 std::vector<std::string> expected; in TEST() local
150 expected.push_back(kPostalCode); in TEST()
151 expected.push_back(std::string(kTaiwanAdmin).append(kTaiwanCity)); in TEST()
152 expected.push_back(kTaiwanStreetLine); in TEST()
[all …]
Daddress_input_helper_test.cc78 AddressData expected = address; in TEST_F() local
79 expected.postal_code = "6798"; in TEST_F()
81 EXPECT_EQ(expected, address); in TEST_F()
92 AddressData expected = address; in TEST_F() local
93 expected.administrative_area = "ND"; in TEST_F()
95 EXPECT_EQ(expected, address); in TEST_F()
100 expected.administrative_area = "CA"; in TEST_F()
102 EXPECT_EQ(expected, address); in TEST_F()
111 AddressData expected = address; in TEST_F() local
113 expected.administrative_area = "\xE5\xBD\xB0\xE5\x8C\x96\xE7\xB8\xA3"; in TEST_F()
[all …]
/external/guava/guava-tests/test/com/google/common/base/
DPreconditionsTest.java41 } catch (IllegalArgumentException expected) { in testCheckArgument_simple_failure()
53 } catch (IllegalArgumentException expected) { in testCheckArgument_simpleMessage_failure()
54 verifySimpleMessage(expected); in testCheckArgument_simpleMessage_failure()
62 } catch (IllegalArgumentException expected) { in testCheckArgument_nullMessage_failure()
63 assertEquals("null", expected.getMessage()); in testCheckArgument_nullMessage_failure()
75 } catch (IllegalArgumentException expected) { in testCheckArgument_complexMessage_failure()
76 verifyComplexMessage(expected); in testCheckArgument_complexMessage_failure()
88 } catch (IllegalStateException expected) { in testCheckState_simple_failure()
100 } catch (IllegalStateException expected) { in testCheckState_simpleMessage_failure()
101 verifySimpleMessage(expected); in testCheckState_simpleMessage_failure()
[all …]
/external/clang/test/Analysis/
Dglobal_region_invalidation.mm12 clang_analyzer_eval(p == 0); // expected-warning{{TRUE}}
20 clang_analyzer_eval(globalIntRef == 42); // expected-warning{{UNKNOWN}}
31 clang_analyzer_eval(globalInt == 42); // expected-warning{{UNKNOWN}}
32 clang_analyzer_eval(globalStruct.value == 43); // expected-warning{{UNKNOWN}}
38 clang_analyzer_eval(globalInt == 42); // expected-warning{{TRUE}}
39 clang_analyzer_eval(globalStruct.value == 43); // expected-warning{{TRUE}}
42 clang_analyzer_eval(globalInt == 42); // expected-warning{{UNKNOWN}}
43 clang_analyzer_eval(globalStruct.value == 43); // expected-warning{{UNKNOWN}}
50 clang_analyzer_eval(globalInt == 42); // expected-warning{{TRUE}}
51 clang_analyzer_eval(globalStruct.value == 43); // expected-warning{{TRUE}}
[all …]
Divars.m15 clang_analyzer_eval(savedID == obj->uniqueID); // expected-warning{{TRUE}}
18 clang_analyzer_eval(savedID == obj->uniqueID); // expected-warning{{UNKNOWN}}
28 clang_analyzer_eval(savedID == self->uniqueID); // expected-warning{{TRUE}}
31 clang_analyzer_eval(savedID == self->uniqueID); // expected-warning{{UNKNOWN}}
61 clang_analyzer_eval(s.a == 1); // expected-warning{{TRUE}}
62 clang_analyzer_eval(s.b == 2); // expected-warning{{TRUE}}
63 clang_analyzer_eval(c == 3); // expected-warning{{TRUE}}
64 clang_analyzer_eval(d == 4); // expected-warning{{TRUE}}
68 clang_analyzer_eval(s.a == 1); // expected-warning{{TRUE}}
69 clang_analyzer_eval(s.b == 2); // expected-warning{{TRUE}}
[all …]
/external/clang/test/SemaOpenCL/
Dinvalid-logical-ops-1.1.cl10 int flaf = 0.0f && 0.0f; // expected-error {{invalid operands}}
11 int flof = 0.0f || 0.0f; // expected-error {{invalid operands}}
12 float fbaf = 0.0f & 0.0f; // expected-error {{invalid operands}}
13 float fbof = 0.0f | 0.0f; // expected-error {{invalid operands}}
14 float fbxf = 0.0f ^ 0.0f; // expected-error {{invalid operands}}
15 int flai = 0.0f && 0; // expected-error {{invalid operands}}
16 int floi = 0.0f || 0; // expected-error {{invalid operands}}
17 float ibaf = 0 & 0.0f; // expected-error {{invalid operands}}
18 float ibof = 0 | 0.0f; // expected-error {{invalid operands}}
19 float bnf = ~0.0f; // expected-error {{invalid argument type}}
[all …]
/external/deqp/framework/delibs/decpp/
DdeRandom.cpp54 …static const bool expected[] = { true, false, false, false, true, true, false, false, false, false… in Random_selfTest() local
56 for (int i = 0; i < DE_LENGTH_OF_ARRAY(expected); i++) in Random_selfTest()
57 DE_TEST_ASSERT(expected[i] == rnd.getBool()); in Random_selfTest()
63 static const int expected[] = { -6628, -6483, 802, -7758, -8463, 3165, 9216, 3107, 1851, 8707 }; in Random_selfTest() local
65 for (int i = 0; i < DE_LENGTH_OF_ARRAY(expected); i++) in Random_selfTest()
66 DE_TEST_ASSERT(expected[i] == rnd.getInt(-10000, 10000)); in Random_selfTest()
72 …static const deUint32 expected[] = { 3694588092u, 3135240271u, 882874943u, 2108407657u, 376640368u… in Random_selfTest() local
74 for (int i = 0; i < DE_LENGTH_OF_ARRAY(expected); i++) in Random_selfTest()
75 DE_TEST_ASSERT(expected[i] == rnd.getUint32()); in Random_selfTest()
81 …static const deUint64 expected[] = { 15868135030466279503ull, 3791919008751271785ull, 161765806430… in Random_selfTest() local
[all …]
/external/easymock/src/org/easymock/internal/matchers/
DArrayEquals.java26 public ArrayEquals(Object expected) { in ArrayEquals() argument
27 super(expected); in ArrayEquals()
32 Object expected = getExpected(); in matches() local
33 if (expected instanceof boolean[] in matches()
35 return Arrays.equals((boolean[]) expected, (boolean[]) actual); in matches()
36 } else if (expected instanceof byte[] in matches()
38 return Arrays.equals((byte[]) expected, (byte[]) actual); in matches()
39 } else if (expected instanceof char[] in matches()
41 return Arrays.equals((char[]) expected, (char[]) actual); in matches()
42 } else if (expected instanceof double[] in matches()
[all …]
/external/clang/test/Parser/
Dobjc-recover.mm5 int 123 // expected-error{{expected unqualified-id}}
9 int 123 // expected-error{{expected unqualified-id}}
15 int 123 // expected-error{{expected unqualified-id}}
16 - (void)foo; // expected-note{{here}}
17 int 456 // expected-error{{expected unqualified-id}}
18 + (void)bar; // expected-note{{here}}
22 int 123 // expected-error{{expected unqualified-id}}
23 - (id)foo {} // expected-warning{{conflicting return type}}
24 int 456 // expected-error{{expected unqualified-id}}
25 + (id)bar {} // expected-warning{{conflicting return type}}
[all …]
Dobjcxx0x-lambda-expressions.mm10 [foo,+] {}; // expected-error {{expected expression}}
12 []; // expected-error {{expected body of lambda expression}}
13 [=,foo+] {}; // expected-error {{expected ',' or ']' in lambda capture list}}
14 [&this] {}; // expected-error {{cannot take the address of an rvalue of type 'C *'}}
24 [foo{bar}] () {}; // expected-error {{<initializer_list>}}
25 [foo = {bar}] () {}; // expected-error {{<initializer_list>}}
27 [foo(bar) baz] () {}; // expected-error {{called object type 'int' is not a function}}
30 …[foo = bar baz]; // expected-warning {{receiver type 'int'}} expected-warning {{instance method '-…
32 [get(bar) baz]; // expected-warning {{instance method '-baz'}}
33 [get(bar), baz]; // expected-error {{expected body of lambda}}
[all …]
/external/chromium_org/components/translate/core/browser/
Dtranslate_prefs_unittest.cc46 std::vector<std::string> expected; in TEST() local
47 expected.push_back("en"); in TEST()
48 expected.push_back("fr"); in TEST()
49 expected.push_back("iw"); in TEST()
50 expected.push_back("ht"); in TEST()
51 expected.push_back("it"); in TEST()
52 expected.push_back("ja"); in TEST()
53 expected.push_back("tl"); in TEST()
54 expected.push_back("zh"); in TEST()
55 expected.push_back("zh-TW"); in TEST()
[all …]
/external/chromium_org/tools/gn/
Dparser_unittest.cc22 void DoParserPrintTest(const char* input, const char* expected) { in DoParserPrintTest() argument
37 EXPECT_EQ(expected, collector.str()); in DoParserPrintTest()
40 void DoExpressionPrintTest(const char* input, const char* expected) { in DoExpressionPrintTest() argument
53 EXPECT_EQ(expected, collector.str()); in DoExpressionPrintTest()
133 const char* expected = in TEST() local
145 DoExpressionPrintTest(input, expected); in TEST()
151 const char* expected = in TEST() local
157 DoExpressionPrintTest(input, expected); in TEST()
165 const char* expected = in TEST() local
177 DoParserPrintTest(input, expected); in TEST()
[all …]

12345678910>>...145