Home
last modified time | relevance | path

Searched refs:expectedValue (Results 1 – 24 of 24) sorted by relevance

/external/android-mock/src/com/google/android/testing/mocking/
DAndroidMock.java263 public static <T> IExpectationSetters<T> expect(T expectedValue) { in expect() argument
264 return EasyMock.expect(expectedValue); in expect()
444 public static <T extends Comparable<T>> T geq(Comparable<T> expectedValue) { in geq() argument
445 return EasyMock.geq(expectedValue); in geq()
464 public static byte geq(byte expectedValue) { in geq() argument
465 return EasyMock.geq(expectedValue); in geq()
484 public static double geq(double expectedValue) { in geq() argument
485 return EasyMock.geq(expectedValue); in geq()
504 public static float geq(float expectedValue) { in geq() argument
505 return EasyMock.geq(expectedValue); in geq()
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DTypedValueTest.java62 TypedValue expectedValue = new TypedValue(); in testSetTo() local
63 expectedValue.assetCookie = 1; in testSetTo()
64 expectedValue.data = 3; in testSetTo()
65 expectedValue.density = 4; in testSetTo()
66 expectedValue.resourceId = 5; in testSetTo()
67 expectedValue.string = "string"; in testSetTo()
68 expectedValue.type = 6; in testSetTo()
71 actualValue.setTo(expectedValue); in testSetTo()
73 assertThat(expectedValue.assetCookie, equalTo(actualValue.assetCookie)); in testSetTo()
74 assertThat(expectedValue.data, equalTo(actualValue.data)); in testSetTo()
[all …]
/external/chromium_org/third_party/icu/source/test/intltest/
Dustrtest.cpp74 UnicodeString expectedValue; in TestBasicManipulation() local
79 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n"; in TestBasicManipulation()
80 if (test1 != expectedValue) in TestBasicManipulation()
81 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
84 if(*c != expectedValue) { in TestBasicManipulation()
85 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\""); in TestBasicManipulation()
90 expectedValue = "Now is the time for all good men to come to the aid of the party.\n"; in TestBasicManipulation()
91 if (test1 != expectedValue) in TestBasicManipulation()
92 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
95 expectedValue = "Now is the time for all good men to come to the aid of their country.\n"; in TestBasicManipulation()
[all …]
Dloctest.cpp1678 const char *expectedValue; in TestKeywordVariantParsing() member
1696 if(uprv_strcmp(testCases[i].expectedValue, buffer) != 0) { in TestKeywordVariantParsing()
1698 testCases[i].expectedValue, testCases[i].localeID, testCases[i].keyword, buffer); in TestKeywordVariantParsing()
/external/icu4c/test/intltest/
Dustrtest.cpp76 UnicodeString expectedValue; in TestBasicManipulation() local
81 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n"; in TestBasicManipulation()
82 if (test1 != expectedValue) in TestBasicManipulation()
83 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
86 if(*c != expectedValue) { in TestBasicManipulation()
87 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\""); in TestBasicManipulation()
92 expectedValue = "Now is the time for all good men to come to the aid of the party.\n"; in TestBasicManipulation()
93 if (test1 != expectedValue) in TestBasicManipulation()
94 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
97 expectedValue = "Now is the time for all good men to come to the aid of their country.\n"; in TestBasicManipulation()
[all …]
Dloctest.cpp1699 const char *expectedValue; in TestKeywordVariantParsing() member
1717 if(uprv_strcmp(testCases[i].expectedValue, buffer) != 0) { in TestKeywordVariantParsing()
1719 testCases[i].expectedValue, testCases[i].localeID, testCases[i].keyword, buffer); in TestKeywordVariantParsing()
/external/chromium_org/third_party/angle/tests/preprocessor_tests/
Dchar_test.cpp53 std::string expectedValue; in TEST_P() local
64 expectedValue = str; in TEST_P()
69 expectedValue = str; in TEST_P()
74 expectedValue = str; in TEST_P()
91 EXPECT_EQ(expectedValue, token.text); in TEST_P()
/external/icu4c/tools/toolutil/
Ddenseranges.cpp123 int32_t expectedValue=minValue; in uprv_makeDenseRanges() local
125 ++expectedValue; in uprv_makeDenseRanges()
127 if(expectedValue!=actualValue) { in uprv_makeDenseRanges()
128 gaps.add(expectedValue, (int64_t)actualValue-(int64_t)expectedValue); in uprv_makeDenseRanges()
129 expectedValue=actualValue; in uprv_makeDenseRanges()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DResultSetMetaDataTest.java66 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local
67 if (expectedValue == null) { in testPublicStatics()
71 expectedValue, fieldValue); in testPublicStatics()
DConnectionTest.java71 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local
72 if (expectedValue == null) { in testPublicStatics()
76 expectedValue, fieldValue); in testPublicStatics()
DParameterMetaDataTest.java76 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local
77 if (expectedValue == null) { in testPublicStatics()
81 expectedValue, fieldValue); in testPublicStatics()
DStatementTest.java74 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local
75 if (expectedValue == null) { in testPublicStatics()
79 expectedValue, fieldValue); in testPublicStatics()
DResultSetTest.java84 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local
85 if (expectedValue == null) { in testPublicStatics()
89 expectedValue, fieldValue); in testPublicStatics()
/external/chromium_org/third_party/icu/source/test/cintltst/
Dchashtst.c37 int32_t expectedValue);
41 int32_t expectedValue);
357 int32_t expectedValue) { in _get() argument
363 } else if (value != expectedValue) { in _get()
365 key, value, expectedValue); in _get()
374 int32_t expectedValue) { in _remove() argument
376 if (value != expectedValue) { in _remove()
378 key, value, expectedValue); in _remove()
Dcloctst.c1542 const char *expectedValue; in TestKeywordVariantParsing() member
1559 if(uprv_strcmp(testCases[i].expectedValue, buffer) != 0) { in TestKeywordVariantParsing()
1561 testCases[i].expectedValue, testCases[i].localeID, testCases[i].keyword, buffer); in TestKeywordVariantParsing()
/external/icu4c/test/cintltst/
Dchashtst.c37 int32_t expectedValue);
41 int32_t expectedValue);
357 int32_t expectedValue) { in _get() argument
363 } else if (value != expectedValue) { in _get()
365 key, value, expectedValue); in _get()
374 int32_t expectedValue) { in _remove() argument
376 if (value != expectedValue) { in _remove()
378 key, value, expectedValue); in _remove()
Dcloctst.c1688 const char *expectedValue; in TestKeywordVariantParsing() member
1705 if(uprv_strcmp(testCases[i].expectedValue, buffer) != 0) { in TestKeywordVariantParsing()
1707 testCases[i].expectedValue, testCases[i].localeID, testCases[i].keyword, buffer); in TestKeywordVariantParsing()
/external/chromium_org/third_party/angle/src/compiler/
DShaderLang.cpp26 size_t expectedValue) in checkVariableMaxLengths() argument
34 return (expectedValue == activeUniformLimit && in checkVariableMaxLengths()
35 expectedValue == activeAttribLimit && in checkVariableMaxLengths()
36 expectedValue == varyingLimit); in checkVariableMaxLengths()
39 static bool checkMappedNameMaxLength(const ShHandle handle, size_t expectedValue) in checkMappedNameMaxLength() argument
43 return (expectedValue == mappedNameMaxLength); in checkMappedNameMaxLength()
/external/chromium-trace/trace-viewer/src/base/
Dsettings_test.js12 function assertSettingIs(expectedValue, key) { argument
13 assertEquals(expectedValue, base.Settings.get('my_key'),
14 'Expected Settings.' + key + ' to be ' + expectedValue);
/external/guava/guava-tests/test/com/google/common/util/concurrent/
DListenableFutureTester.java64 public void testCompletedFuture(Object expectedValue) in testCompletedFuture() argument
73 assertEquals(expectedValue, future.get()); in testCompletedFuture()
/external/chromium_org/chrome/third_party/mock4js/
Dmock4js.js44 object.eq = function(expectedValue) { argument
45 return new MatchExactly(expectedValue);
196 function MatchExactly(expectedValue) { argument
197 this._expectedValue = expectedValue;
/external/chromium_org/chrome/test/android/javatests/src/org/chromium/chrome/test/util/browser/sync/
DSyncTestUtil.java177 String expectedValue = statEntry.getValue().toLowerCase().trim(); in areExpectedStatsAmongActual() local
183 if (!expectedValue.contentEquals(actualValue)) { in areExpectedStatsAmongActual()
/external/chromium_org/third_party/WebKit/Source/core/animation/
DKeyframeAnimationEffectTest.cpp65 void expectDoubleValue(double expectedValue, PassRefPtr<AnimatableValue> value) in expectDoubleValue() argument
75 EXPECT_FLOAT_EQ(static_cast<float>(expectedValue), actualValue); in expectDoubleValue()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
DMapInterfaceTest.java1222 V expectedValue = map.get(keyToRemove); in testRemove() local
1224 assertEquals(expectedValue, oldValue); in testRemove()