Home
last modified time | relevance | path

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

1234

/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DForceEarlyReturnTest.java50 static Value expectedValue; field in ForceEarlyReturnTest
107 forceEarlyReturnPacket.setNextValueAsValue(expectedValue); in RunTestForceEarlyReturn()
125 if (!actualValue.equals(toString(expectedValue))) { in RunTestForceEarlyReturn()
128 + " expected:<" + expectedValue.toString() + "> but was:<" in RunTestForceEarlyReturn()
150 expectedValue = Value.createInt(EXPECTED_INT); in testForceEarlyReturn_ReturnInt()
166 expectedValue = Value.createShort(EXPECTED_SHORT); in testForceEarlyReturn_ReturnShort()
182 expectedValue = Value.createByte(EXPECTED_BYTE); in testForceEarlyReturn_ReturnByte()
198 expectedValue = Value.createChar(EXPECTED_CHAR); in testForceEarlyReturn_ReturnChar()
214 expectedValue = Value.createBoolean(EXPECTED_BOOLEAN); in testForceEarlyReturn_ReturnBoolean()
228 expectedValue = Value.createVoidValue(); in testForceEarlyReturn_NotSuspended()
[all …]
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/dependency/
DCachedDependencyResolverFileCacheTest.java42 String expectedValue = "some string"; in shouldLoadObjectWhenCacheExists() local
44 writeToCacheFile(expectedValue); in shouldLoadObjectWhenCacheExists()
48 assertEquals(expectedValue, value); in shouldLoadObjectWhenCacheExists()
64 Long expectedValue = 421L; in shouldWriteObjectToFile() local
66 assertTrue(cache.write(ID, expectedValue)); in shouldWriteObjectToFile()
70 assertEquals(expectedValue, actual); in shouldWriteObjectToFile()
100 private void writeToCacheFile(Object expectedValue) throws IOException { in writeToCacheFile() argument
108 out.writeObject(expectedValue); in writeToCacheFile()
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/
DBaseDexReaderTest.java69 private void performSizedIntTest(int expectedValue, byte[] buf) { in performSizedIntTest() argument
72 Assert.assertEquals(expectedValue, reader.readSizedInt(buf.length)); in performSizedIntTest()
124 private void performSizedSmallUintTest(int expectedValue, byte[] buf) { in performSizedSmallUintTest() argument
127 Assert.assertEquals(expectedValue, reader.readSizedSmallUint(buf.length)); in performSizedSmallUintTest()
194 private void performSizedRightExtendedIntTest(int expectedValue, byte[] buf) { in performSizedRightExtendedIntTest() argument
197 Assert.assertEquals(expectedValue, reader.readSizedRightExtendedInt(buf.length)); in performSizedRightExtendedIntTest()
303 private void performSizedRightExtendedLongTest(long expectedValue, byte[] buf) { in performSizedRightExtendedLongTest() argument
306 Assert.assertEquals(expectedValue, reader.readSizedRightExtendedLong(buf.length)); in performSizedRightExtendedLongTest()
412 private void performSizedLongTest(long expectedValue, byte[] buf) { in performSizedLongTest() argument
415 Assert.assertEquals(expectedValue, reader.readSizedLong(buf.length)); in performSizedLongTest()
DBaseDexReaderLeb128Test.java244 private void performTest(int expectedValue, byte[] buf) { in performTest() argument
245 performTest(expectedValue, buf, buf.length); in performTest()
248 private void performTest(int expectedValue, byte[] buf, int expectedLength) { in performTest() argument
251 Assert.assertEquals(expectedValue, reader.readSmallUleb128()); in performTest()
DBaseDexReaderSleb128Test.java251 private void performTest(int expectedValue, byte[] buf) { in performTest() argument
252 performTest(expectedValue, buf, buf.length); in performTest()
255 private void performTest(int expectedValue, byte[] buf, int expectedLength) { in performTest() argument
258 Assert.assertEquals(expectedValue, reader.readSleb128()); in performTest()
/external/icu/icu4c/source/test/intltest/
Dustrtest.cpp75 UnicodeString expectedValue; in TestBasicManipulation() local
80 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n"; in TestBasicManipulation()
81 if (test1 != expectedValue) in TestBasicManipulation()
82 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
85 if(*c != expectedValue) { in TestBasicManipulation()
86 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\""); in TestBasicManipulation()
91 expectedValue = "Now is the time for all good men to come to the aid of the party.\n"; in TestBasicManipulation()
92 if (test1 != expectedValue) in TestBasicManipulation()
93 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation()
96 expectedValue = "Now is the time for all good men to come to the aid of their country.\n"; in TestBasicManipulation()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Ddenseranges.cpp125 int32_t expectedValue=minValue; in uprv_makeDenseRanges() local
127 ++expectedValue; in uprv_makeDenseRanges()
129 if(expectedValue!=actualValue) { in uprv_makeDenseRanges()
130 gaps.add(expectedValue, (int64_t)actualValue-(int64_t)expectedValue); in uprv_makeDenseRanges()
131 expectedValue=actualValue; in uprv_makeDenseRanges()
/external/hamcrest/hamcrest-core/src/main/java/org/hamcrest/core/
DIsEqual.java15 private final Object expectedValue; field in IsEqual
18 expectedValue = equalArg; in IsEqual()
23 return areEqual(actualValue, expectedValue); in matches()
28 description.appendValue(expectedValue); in describeTo()
/external/icu/icu4c/source/test/cintltst/
Dchashtst.c39 int32_t expectedValue);
43 int32_t expectedValue);
359 int32_t expectedValue) { in _get() argument
365 } else if (value != expectedValue) { in _get()
367 key, value, expectedValue); in _get()
376 int32_t expectedValue) { in _remove() argument
378 if (value != expectedValue) { in _remove()
380 key, value, expectedValue); in _remove()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/
DUTF16Test.java1249 String expectedValue = in TestReplace() local
1251 if (!result.equals(expectedValue)) { in TestReplace()
1252 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace()
1256 expectedValue = test1; in TestReplace()
1257 if (!result.equals(expectedValue)) { in TestReplace()
1258 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace()
1263 expectedValue = "One potatoe two potatoe three potatoe four\n"; in TestReplace()
1264 if (!result.equals(expectedValue)) { in TestReplace()
1265 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace()
1270expectedValue = "One potato\ud800\udc00 two potato\ud800\udc00 three potato\ud800\udc00 four\n"; in TestReplace()
[all …]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/
DUTF16Test.java1252 String expectedValue = in TestReplace() local
1254 if (!result.equals(expectedValue)) { in TestReplace()
1255 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace()
1259 expectedValue = test1; in TestReplace()
1260 if (!result.equals(expectedValue)) { in TestReplace()
1261 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace()
1266 expectedValue = "One potatoe two potatoe three potatoe four\n"; in TestReplace()
1267 if (!result.equals(expectedValue)) { in TestReplace()
1268 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace()
1273expectedValue = "One potato\ud800\udc00 two potato\ud800\udc00 three potato\ud800\udc00 four\n"; in TestReplace()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/renderpass/
DvktRenderPassDepthStencilResolveTests.cpp811 float expectedValue = m_config.depthExpectedValue; in verifyDepth() local
813 expectedValue = m_config.clearValue.depth; in verifyDepth()
869 float error = deFloatAbs(depth - expectedValue); in verifyDepth()
875 << expectedValue << TestLog::EndMessage; in verifyDepth()
880 << "Depth value is " << expectedValue in verifyDepth()
895 deUint8 expectedValue = m_config.stencilExpectedValue; in verifyStencil() local
897 expectedValue = static_cast<deUint8>(m_config.clearValue.stencil); in verifyStencil()
925 if (stencil != expectedValue) in verifyStencil()
930 << " expected: " << static_cast<deUint32>(expectedValue) in verifyStencil()
937 << static_cast<deUint32>(expectedValue) in verifyStencil()
[all …]
/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()
DStatementTest.java74 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local
75 if (expectedValue == null) { in testPublicStatics()
79 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()
DResultSetTest.java84 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local
85 if (expectedValue == null) { in testPublicStatics()
89 expectedValue, fieldValue); in testPublicStatics()
/external/nanohttpd/webserver/src/test/java/fi/iki/elonen/
DTestCorsHttpServer.java139 final String expectedValue = "origin"; in testAccessControlAllowHeaderUsesSystemPropertyWhenSet() local
140 … System.setProperty(SimpleWebServer.ACCESS_CONTROL_ALLOW_HEADER_PROPERTY_NAME, expectedValue); in testAccessControlAllowHeaderUsesSystemPropertyWhenSet()
147 …s("Cors should have added a header: Access-Control-Allow-Headers: " + expectedValue, expectedValue, in testAccessControlAllowHeaderUsesSystemPropertyWhenSet()
/external/apache-commons-bcel/src/test/java/org/apache/bcel/generic/
DTypeTestCase.java28 final String expectedValue = "Ljava/util/Map<X, java/util/List<Y>>;"; in testBCEL243() local
30 assertEquals("Type.getType", expectedValue, actualValue); in testBCEL243()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/
DGetValues002Test.java51 Value expectedValue = Value.createByte(StackTrace002Debuggee.BYTE_PARAM_VALUE); in testGetValues002_Byte() local
53 suspensionMethodInfo.addVariable("param", expectedValue); in testGetValues002_Byte()
55 methodInfo.addVariable("param", expectedValue); in testGetValues002_Byte()
67 Value expectedValue = Value.createChar(StackTrace002Debuggee.CHAR_PARAM_VALUE); in testGetValues003_Char() local
69 suspensionMethodInfo.addVariable("param", expectedValue); in testGetValues003_Char()
71 methodInfo.addVariable("param", expectedValue); in testGetValues003_Char()
DJDWPStackFrameAccessTest.java260 Value expectedValue; in checkStackFrame() local
262 expectedValue = variableInfo.getValueOnFirstSuspension(); in checkStackFrame()
264 expectedValue = variableInfo.getValueOnSecondSuspension(); in checkStackFrame()
266 …Writer.println("Check variable \"" + variableName + "\" contains value \"" + expectedValue + "\""); in checkStackFrame()
268 testVarInfo.getSlot(), expectedValue.getTag()); in checkStackFrame()
271 expectedValue, actual); in checkStackFrame()
/external/adhd/cras/src/tests/
Darray_unittest.cc96 double expectedValue = 0; in TEST() local
99 EXPECT_EQ(expectedValue, *p); in TEST()
101 expectedValue += 2; in TEST()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/
DBreakpoint003Test.java73 Object expectedValue) { in test() argument
116 assertEquals("Invalid String value", strLocalVariable, expectedValue); in test()
118 assertEquals("Invalid long value", longVal, ((Long)expectedValue).longValue()); in test()
/external/smali/smalidea/src/test/java/org/jf/smalidea/
DSmaliLiteralTest.java41 private void doTest(long expectedValue, String literalValue) { in doTest() argument
57 Assert.assertEquals(expectedValue, literalElement.getIntegralValue()); in doTest()
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/java8/
DInterfaceMethod.java29 public default String defaultInvokingBootclasspathMethods(String expectedValue) { in defaultInvokingBootclasspathMethods() argument
30 return Stream.of(expectedValue).findFirst().orElse("unexpected"); in defaultInvokingBootclasspathMethods()

1234