Searched defs:expected (Results 176 - 200 of 464) sorted by relevance

1234567891011>>

/external/chromium/chrome/browser/password_manager/
H A Dpassword_form_data.cc85 const PasswordForm* expected = *it; local
86 if (*expected == *actual) {
/external/chromium/chrome/browser/sync/util/
H A Dnigori_unittest.cc24 std::string expected = local
27 EXPECT_EQ(expected, permuted);
77 std::string expected("test, test, 1, 2, 3");
78 EXPECT_EQ(expected, plaintext);
/external/chromium/net/disk_cache/
H A Dmapped_file_unittest.cc76 int expected = completed ? 0 : 1; local
79 helper.WaitUntilCacheIoFinished(expected);
84 expected++;
86 helper.WaitUntilCacheIoFinished(expected);
88 EXPECT_EQ(expected, g_cache_tests_received);
H A Ddisk_cache_perftest.cc56 int expected = 0; local
75 expected++;
82 expected++;
88 helper.WaitUntilCacheIoFinished(expected);
91 return expected;
107 int expected = 0; local
123 expected++;
129 expected++;
135 helper.WaitUntilCacheIoFinished(expected);
138 return expected;
[all...]
/external/easymock/src/org/easymock/internal/
H A DIMocksBehavior.java21 void addExpected(ExpectedInvocation expected, Result result, Range count); argument
23 void addStub(ExpectedInvocation expected, Result result); argument
H A DUnorderedBehavior.java34 public void addExpected(ExpectedInvocation expected, Result result, argument
37 if (entry.getExpectedInvocation().equals(expected)) {
44 results.add(new ExpectedInvocationAndResults(expected, list));
55 // actual and expected matched, validate the capture
61 // reset the capture (already validated or expected didn't
100 public boolean allowsExpectedInvocation(ExpectedInvocation expected, argument
109 return lastMethodCall.equals(expected);
/external/guava/guava-tests/test/com/google/common/hash/
H A DHashCodesTest.java48 for (ExpectedHashCode expected : expectedHashCodes) {
49 if (expected.bytes.length == 4) {
50 HashCode fromInt = HashCodes.fromInt(expected.asInt);
51 assertExpectedHashCode(expected, fromInt);
58 for (ExpectedHashCode expected : expectedHashCodes) {
59 if (expected.bytes.length == 8) {
60 HashCode fromLong = HashCodes.fromLong(expected.asLong);
61 assertExpectedHashCode(expected, fromLong);
67 for (ExpectedHashCode expected : expectedHashCodes) {
68 HashCode fromBytes = HashCodes.fromBytes(expected
73 assertExpectedHashCode(ExpectedHashCode expected, HashCode hash) argument
[all...]
/external/icu4c/test/cintltst/
H A Dencoll.c265 UCollationResult expected=UCOL_EQUAL; local
296 if (i < j) expected = UCOL_LESS;
297 if (i == j) expected = UCOL_EQUAL;
298 if (i > j) expected = UCOL_GREATER;
299 doTest(myCollation, testMore[i], testMore[j], expected );
326 UCollationResult expected=UCOL_EQUAL; local
348 if (i < j) expected = UCOL_LESS;
349 if (i == j) expected = UCOL_EQUAL;
350 if (i > j) expected = UCOL_GREATER;
351 doTest(myCollation, testAcute[i], testAcute[j], expected );
[all...]
H A Dcfrtst.c171 UCollationResult expected=UCOL_EQUAL; local
190 if (i < j) expected = UCOL_LESS;
191 if (i == j) expected = UCOL_EQUAL;
192 if (i > j) expected = UCOL_GREATER;
193 doTest(myCollation, testAcute[i], testAcute[j], expected );
/external/icu4c/test/intltest/
H A Dfrcoll.cpp161 Collator::EComparisonResult expected; local
175 expected = Collator::LESS;
177 expected = Collator::EQUAL;
179 expected = Collator::GREATER;
180 doTest(myCollation, testAcute[i], testAcute[j], expected );
/external/openssl/crypto/rc4/
H A Drc4test.c209 static unsigned char expected[]={ local
222 if (memcmp(md,expected,sizeof(md))) {
230 printf(" %02x",expected[j]);
/external/v8/src/
H A Dchecks.cc65 v8::Handle<v8::Value> expected,
68 if (!expected->Equals(value)) {
70 v8::String::Utf8Value expected_str(expected);
62 CheckEqualsHelper(const char* file, int line, const char* expected_source, v8::Handle<v8::Value> expected, const char* value_source, v8::Handle<v8::Value> value) argument
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/
H A DUTF16CharsetEncoderTest.java126 void assertByteArray(ByteBuffer out, byte[] expected) { argument
133 .wrap(expected)));
/external/apache-harmony/support/src/test/java/org/apache/harmony/testframework/
H A DCharSinkTester.java51 * Configures whether the writer is expected to throw exceptions when an
82 private static void assertArrayEquals(char[] expected, char[] actual) { argument
83 Assert.assertEquals(Arrays.toString(expected), Arrays.toString(actual));
93 char[] expected = new char[] {};
97 assertArrayEquals(expected, getChars());
101 char[] expected = new char[] {};
110 assertArrayEquals(expected, getChars());
114 char[] expected = "EFGCDECBA".toCharArray();
117 for (char c : expected) {
122 assertArrayEquals(expected, getChar
[all...]
H A DSinkTester.java52 * Configures whether the stream is expected to throw exceptions when an
83 private static void assertArrayEquals(byte[] expected, byte[] actual) { argument
84 Assert.assertEquals(Arrays.toString(expected), Arrays.toString(actual));
94 byte[] expected = new byte[] {};
98 assertArrayEquals(expected, getBytes());
102 byte[] expected = new byte[] {};
111 assertArrayEquals(expected, getBytes());
115 byte[] expected = new byte[] { 5, 6, 7, 3, 4, 5, 3, 2, 1 };
118 for (byte b : expected) {
123 assertArrayEquals(expected, getByte
[all...]
/external/chromium/base/
H A Dfile_path_unittest.cc17 const FilePath::CharType* expected; member in struct:UnaryTestData
22 bool expected; member in struct:UnaryBooleanTestData
27 const FilePath::CharType* expected; member in struct:BinaryTestData
32 bool expected; member in struct:BinaryBooleanTestData
37 int expected; member in struct:BinaryIntTestData
136 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) <<
223 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed.value()) <<
247 // need to be defined with different expected results on platforms that use
301 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed_str.value()) <<
304 EXPECT_EQ(FilePath::StringType(cases[i].expected), observed_pat
[all...]
/external/chromium/chrome/browser/extensions/
H A Dextension_proxy_api_helpers_unittest.cc275 scoped_ptr<DictionaryValue> expected(new DictionaryValue);
276 expected->Set("proxyForHttp",
278 expected->Set("proxyForHttps",
280 expected->Set("proxyForFtp",
282 expected->Set("fallbackProxy",
286 expected->Set(keys::kProxyConfigBypassList, bypass_list);
288 EXPECT_TRUE(Value::Equals(expected.get(), extension_pref.get()));
299 scoped_ptr<DictionaryValue> expected(new DictionaryValue);
300 expected->SetString(keys::kProxyConfigPacScriptUrl, kSamplePacScriptUrl);
302 EXPECT_TRUE(Value::Equals(expected
320 ListValue expected; local
[all...]
/external/chromium/chrome/browser/sessions/
H A Dsession_service_test_helper.cc77 const TabNavigation& expected,
79 EXPECT_TRUE(expected.virtual_url() == actual.virtual_url());
80 EXPECT_EQ(expected.referrer(), actual.referrer());
81 EXPECT_EQ(expected.title(), actual.title());
82 EXPECT_EQ(expected.state(), actual.state());
83 EXPECT_EQ(expected.transition(), actual.transition());
84 EXPECT_EQ(expected.type_mask(), actual.type_mask());
76 AssertNavigationEquals( const TabNavigation& expected, const TabNavigation& actual) argument
/external/chromium/chrome/common/
H A Dtime_format_unittest.cc37 string16 expected = ASCIIToUTF16(expected_ascii); local
38 string16 expected_left = expected + ASCIIToUTF16(" left");
39 string16 expected_ago = expected + ASCIIToUTF16(" ago");
40 EXPECT_EQ(expected, TimeFormat::TimeRemainingShort(delta));
/external/chromium/testing/gtest/test/
H A Dgtest_repeat_test.cc63 #define GTEST_CHECK_INT_EQ_(expected, actual) \
65 const int expected_val = (expected);\
70 << "Expected: " #expected "\n"\
152 // Checks that the count for each test is expected.
153 void CheckCounts(int expected) { argument
154 GTEST_CHECK_INT_EQ_(expected, g_environment_set_up_count);
155 GTEST_CHECK_INT_EQ_(expected, g_environment_tear_down_count);
156 GTEST_CHECK_INT_EQ_(expected, g_should_fail_count);
157 GTEST_CHECK_INT_EQ_(expected, g_should_pass_count);
158 GTEST_CHECK_INT_EQ_(expected, g_death_test_coun
[all...]
/external/dbus/dbus/
H A Ddbus-marshal-validate-util.c39 DBusValidity expected; member in struct:__anon5015
58 if (v != tests[i].expected)
542 _dbus_warn ("invalid code %d expected valid on sequence %d little endian\n",
567 _dbus_warn ("invalid code %d expected valid on sequence %d big endian\n",
/external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/utils/check/
H A DAssert.java103 throw new AssertionFailedException("null argument expected: " + message); //$NON-NLS-1$
115 * the format of error message to produce if the check fails, as expected by
117 * <code>"Execution flow problem. %s expected, but %s found."</code>.
123 fail("null argument expected: " + String.format(errorFormat, args)); //$NON-NLS-1$
131 * the format of error message to produce if the check fails, as expected by
133 * <code>"Execution flow problem. {0} expected, but {1} found."</code>.
137 String message = "null argument expected: " + MessageFormat.format(errorFormat, args); //$NON-NLS-1$
182 * the format of error message to produce if the check fails, as expected by
184 * <code>"Execution flow problem. %s expected, but %s found."</code>.
198 * the format of error message to produce if the check fails, as expected b
323 equals(int expected, int actual) argument
339 equals(int expected, int actual, String message) argument
[all...]
/external/gtest/test/
H A Dgtest_repeat_test.cc63 #define GTEST_CHECK_INT_EQ_(expected, actual) \
65 const int expected_val = (expected);\
70 << "Expected: " #expected "\n"\
152 // Checks that the count for each test is expected.
153 void CheckCounts(int expected) { argument
154 GTEST_CHECK_INT_EQ_(expected, g_environment_set_up_count);
155 GTEST_CHECK_INT_EQ_(expected, g_environment_tear_down_count);
156 GTEST_CHECK_INT_EQ_(expected, g_should_fail_count);
157 GTEST_CHECK_INT_EQ_(expected, g_should_pass_count);
158 GTEST_CHECK_INT_EQ_(expected, g_death_test_coun
[all...]
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DCollectionToArrayTester.java149 List<E> expected = getOrderedElements();
151 assertEquals(expected.get(i), array[i]);
165 } catch (ArrayStoreException expected) {
177 private void expectArrayContentsAnyOrder(Object[] expected, Object[] actual) { argument
179 Arrays.asList(expected), Arrays.asList(actual));
182 private void expectArrayContentsInOrder(List<E> expected, Object[] actual) { argument
184 expected, Arrays.asList(actual));
/external/guava/guava-tests/test/com/google/common/collect/
H A DBstRangeOpsTest.java236 SimpleNode d, GeneralRange<Character> range, String expected) {
238 BstRangeOps.minusRange(range, balancePolicy, nodeFactory, d), expected);
235 testTraversalAfterClearingRangeIs( SimpleNode d, GeneralRange<Character> range, String expected) argument

Completed in 693 milliseconds

1234567891011>>