/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
D | TypedValueTest.java | 62 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/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/ |
D | ForceEarlyReturnTest.java | 51 static Value expectedValue; field in ForceEarlyReturnTest 110 forceEarlyReturnPacket.setNextValueAsValue(expectedValue); in RunTestForceEarlyReturn() 128 if (!actualValue.equals(toString(expectedValue))) { in RunTestForceEarlyReturn() 131 + " expected:<" + expectedValue.toString() + "> but was:<" in RunTestForceEarlyReturn() 153 expectedValue = Value.createInt(EXPECTED_INT); in testForceEarlyReturn_ReturnInt() 169 expectedValue = Value.createShort(EXPECTED_SHORT); in testForceEarlyReturn_ReturnShort() 185 expectedValue = Value.createByte(EXPECTED_BYTE); in testForceEarlyReturn_ReturnByte() 201 expectedValue = Value.createChar(EXPECTED_CHAR); in testForceEarlyReturn_ReturnChar() 217 expectedValue = Value.createBoolean(EXPECTED_BOOLEAN); in testForceEarlyReturn_ReturnBoolean() 231 expectedValue = Value.createVoidValue(); in testForceEarlyReturn_NotSuspended() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | ustrtest.cpp | 68 UnicodeString expectedValue; in TestBasicManipulation() local 73 expectedValue = "Now is the time for all good men to come swiftly to the aid of the party.\n"; in TestBasicManipulation() 74 if (test1 != expectedValue) in TestBasicManipulation() 75 errln("insert() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation() 78 if(*c != expectedValue) { in TestBasicManipulation() 79 errln("clone()->insert() failed: expected \"" + expectedValue + "\"\n,got \"" + *c + "\""); in TestBasicManipulation() 84 expectedValue = "Now is the time for all good men to come to the aid of the party.\n"; in TestBasicManipulation() 85 if (test1 != expectedValue) in TestBasicManipulation() 86 errln("remove() failed: expected \"" + expectedValue + "\"\n,got \"" + test1 + "\""); in TestBasicManipulation() 89 expectedValue = "Now is the time for all good men to come to the aid of their country.\n"; in TestBasicManipulation() [all …]
|
/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/ |
D | BaseDexReaderTest.java | 69 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()
|
D | BaseDexReaderSleb128Test.java | 251 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()
|
D | BaseDexReaderLeb128Test.java | 244 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()
|
/external/icu/icu4c/source/tools/toolutil/ |
D | denseranges.cpp | 125 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/ |
D | IsEqual.java | 15 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/ |
D | chashtst.c | 39 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/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
D | ResultSetMetaDataTest.java | 66 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local 67 if (expectedValue == null) { in testPublicStatics() 71 expectedValue, fieldValue); in testPublicStatics()
|
D | ConnectionTest.java | 71 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local 72 if (expectedValue == null) { in testPublicStatics() 76 expectedValue, fieldValue); in testPublicStatics()
|
D | ParameterMetaDataTest.java | 76 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local 77 if (expectedValue == null) { in testPublicStatics() 81 expectedValue, fieldValue); in testPublicStatics()
|
D | StatementTest.java | 74 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local 75 if (expectedValue == null) { in testPublicStatics() 79 expectedValue, fieldValue); in testPublicStatics()
|
D | ResultSetTest.java | 84 Object expectedValue = thePublicStatics.get(fieldName); in testPublicStatics() local 85 if (expectedValue == null) { in testPublicStatics() 89 expectedValue, fieldValue); in testPublicStatics()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/lang/ |
D | UTF16Test.java | 1247 String expectedValue = in TestReplace() local 1249 if (!result.equals(expectedValue)) { in TestReplace() 1250 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace() 1254 expectedValue = test1; in TestReplace() 1255 if (!result.equals(expectedValue)) { in TestReplace() 1256 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace() 1261 expectedValue = "One potatoe two potatoe three potatoe four\n"; in TestReplace() 1262 if (!result.equals(expectedValue)) { in TestReplace() 1263 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace() 1268 … expectedValue = "One potato\ud800\udc00 two potato\ud800\udc00 three potato\ud800\udc00 four\n"; in TestReplace() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/lang/ |
D | UTF16Test.java | 1246 String expectedValue = in TestReplace() local 1248 if (!result.equals(expectedValue)) { in TestReplace() 1249 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace() 1253 expectedValue = test1; in TestReplace() 1254 if (!result.equals(expectedValue)) { in TestReplace() 1255 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace() 1260 expectedValue = "One potatoe two potatoe three potatoe four\n"; in TestReplace() 1261 if (!result.equals(expectedValue)) { in TestReplace() 1262 errln("findAndReplace failed: expected \"" + expectedValue + in TestReplace() 1267 … expectedValue = "One potato\ud800\udc00 two potato\ud800\udc00 three potato\ud800\udc00 four\n"; in TestReplace() [all …]
|
/external/nanohttpd/webserver/src/test/java/fi/iki/elonen/ |
D | TestCorsHttpServer.java | 139 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-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/StackFrame/ |
D | GetValues002Test.java | 51 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()
|
D | JDWPStackFrameAccessTest.java | 259 Value expectedValue; in checkStackFrame() local 261 expectedValue = variableInfo.getValueOnFirstSuspension(); in checkStackFrame() 263 expectedValue = variableInfo.getValueOnSecondSuspension(); in checkStackFrame() 265 …Writer.println("Check variable \"" + variableName + "\" contains value \"" + expectedValue + "\""); in checkStackFrame() 267 testVarInfo.getSlot(), expectedValue.getTag()); in checkStackFrame() 270 expectedValue, actual); in checkStackFrame()
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | SmaliLiteralTest.java | 41 private void doTest(long expectedValue, String literalValue) { in doTest() argument 57 Assert.assertEquals(expectedValue, literalElement.getIntegralValue()); in doTest()
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/Events/ |
D | Breakpoint003Test.java | 73 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/guava/guava-tests/test/com/google/common/collect/ |
D | ImmutableRangeMapTest.java | 108 Integer expectedValue = null; in testGet() local 110 expectedValue = 1; in testGet() 112 expectedValue = 2; in testGet() 115 assertEquals(expectedValue, rangeMap.get(i)); in testGet()
|
/external/guava/guava-tests/test/com/google/common/util/concurrent/ |
D | ListenableFutureTester.java | 67 public void testCompletedFuture(@Nullable Object expectedValue) in testCompletedFuture() argument 76 assertEquals(expectedValue, future.get()); in testCompletedFuture()
|
/external/protobuf/csharp/src/Google.Protobuf.Test/ |
D | JsonTokenizerTest.cs | 66 public void StringValue(string json, string expectedValue) in StringValue() argument 68 AssertTokensNoReplacement("\"" + json + "\"", JsonToken.Value(expectedValue)); in StringValue() 189 public void NumberValue(string json, double expectedValue) in NumberValue() argument 191 AssertTokens(json, JsonToken.Value(expectedValue)); in NumberValue()
|
/external/mockftpserver/tags/2.4/src/test/groovy/org/mockftpserver/fake/command/ |
D | AcctCommandHandlerTest.groovy | 81 def expectedValue = isAccountNameInSession ? ACCOUNT_NAME : null 82 assert session.getAttribute(SessionKeys.ACCOUNT_NAME) == expectedValue
|