Home
last modified time | relevance | path

Searched refs:actualValue (Results 1 – 16 of 16) sorted by relevance

/external/skia/tests/
DClearTest.cpp18 uint32_t* actualValue, int* failX, int* failY) { in check_rect() argument
34 *actualValue = pixel; in check_rect()
72 uint32_t actualValue; in clear_op_test() local
83 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
84 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
94 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
95 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
105 if (!check_rect(rtContext.get(), fullRect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test()
106 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test()
116 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
[all …]
/external/skqp/tests/
DClearTest.cpp18 uint32_t* actualValue, int* failX, int* failY) { in check_rect() argument
34 *actualValue = pixel; in check_rect()
72 uint32_t actualValue; in clear_op_test() local
83 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
84 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
94 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
95 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor1, actualValue, in clear_op_test()
105 if (!check_rect(rtContext.get(), fullRect, kColor2, &actualValue, &failX, &failY)) { in clear_op_test()
106 ERRORF(reporter, "Expected 0x%08x but got 0x%08x at (%d, %d).", kColor2, actualValue, in clear_op_test()
116 if (!check_rect(rtContext.get(), fullRect, kColor1, &actualValue, &failX, &failY)) { in clear_op_test()
[all …]
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/
DTypedValueTest.java70 TypedValue actualValue = new TypedValue(); in testSetTo() local
71 actualValue.setTo(expectedValue); in testSetTo()
73 assertThat(expectedValue.assetCookie, equalTo(actualValue.assetCookie)); in testSetTo()
74 assertThat(expectedValue.data, equalTo(actualValue.data)); in testSetTo()
75 assertThat(expectedValue.density, equalTo(actualValue.density)); in testSetTo()
76 assertThat(expectedValue.resourceId, equalTo(actualValue.resourceId)); in testSetTo()
77 assertThat(expectedValue.string, equalTo(actualValue.string)); in testSetTo()
78 assertThat(expectedValue.type, equalTo(actualValue.type)); in testSetTo()
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/jdwp/ThreadReference/
DForceEarlyReturn002Test.java95 String actualValue = synchronizer.receiveMessage(); in testForceEarlyReturn_ReturnLong() local
97 if (!actualValue.equals(new Long(EXPECTED_LONG).toString())) { in testForceEarlyReturn_ReturnLong()
101 + actualValue + ">"); in testForceEarlyReturn_ReturnLong()
105 logWriter.println("==> Returned value: " + actualValue); in testForceEarlyReturn_ReturnLong()
DForceEarlyReturn004Test.java99 String actualValue = synchronizer.receiveMessage(); in testForceEarlyReturn_ReturnDouble() local
101 if (!actualValue.equals(new Double(EXPECTED_DOUBLE).toString())) { in testForceEarlyReturn_ReturnDouble()
105 + actualValue + ">"); in testForceEarlyReturn_ReturnDouble()
109 logWriter.println("==> Returned value: " + actualValue); in testForceEarlyReturn_ReturnDouble()
DForceEarlyReturn003Test.java99 String actualValue = synchronizer.receiveMessage(); in testForceEarlyReturn_ReturnFloat() local
101 if (!actualValue.equals(new Float(EXPECTED_FLOAT).toString())) { in testForceEarlyReturn_ReturnFloat()
105 + actualValue + ">"); in testForceEarlyReturn_ReturnFloat()
109 logWriter.println("==> Returned value: " + actualValue); in testForceEarlyReturn_ReturnFloat()
DForceEarlyReturnTest.java126 String actualValue = synchronizer.receiveMessage(); in RunTestForceEarlyReturn() local
128 if (!actualValue.equals(toString(expectedValue))) { in RunTestForceEarlyReturn()
132 + actualValue + ">"); in RunTestForceEarlyReturn()
136 logWriter.println("==> Returned value: " + actualValue); in RunTestForceEarlyReturn()
/external/icu/icu4c/source/tools/toolutil/
Ddenseranges.cpp128 int32_t actualValue=values[i]; in uprv_makeDenseRanges() local
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.java22 public boolean matches(Object actualValue) { in matches() argument
23 return areEqual(actualValue, expectedValue); in matches()
/external/flatbuffers/samples/
DSampleBinary.cs124 static void Assert(bool assertPassed, string codeExecuted, string actualValue, in Assert() argument
129 Console.WriteLine("Assert failed! " + codeExecuted + " (" + actualValue + in Assert()
Dsample_binary.go160 func assert(assertPassed bool, codeExecuted string, actualValue string, expectedValue string) {
162 panic("Assert failed! " + codeExecuted + " (" + actualValue +
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/text/
DSpoofCheckerTest.java591 boolean actualValue = sc.failsChecks(testString, checkResult); in TestRestrictionLevel()
598 expectedFailure, actualValue); in TestRestrictionLevel()
632 boolean actualValue = sc.failsChecks(testString, checkResult); in TestMixedNumbers()
634 …Equals("Testing spoof mixed numbers for '" + testString + "', ", expected.size() > 1, actualValue); in TestMixedNumbers()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/text/
DSpoofCheckerTest.java594 boolean actualValue = sc.failsChecks(testString, checkResult); in TestRestrictionLevel()
601 expectedFailure, actualValue); in TestRestrictionLevel()
635 boolean actualValue = sc.failsChecks(testString, checkResult); in TestMixedNumbers()
637 …Equals("Testing spoof mixed numbers for '" + testString + "', ", expected.size() > 1, actualValue); in TestMixedNumbers()
/external/icu/icu4c/source/test/intltest/
Ditspoof.cpp573 int32_t actualValue = uspoof_checkUnicodeString(sc, testString, NULL, &status); in testRestrictionLevel() local
581 testNum, levelIndex, expectedValue, actualValue); in testRestrictionLevel()
582 TEST_ASSERT_MSG(expectedValue == actualValue, msgBuffer); in testRestrictionLevel()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderBuiltinVarTests.cpp1192 … const float actualValue = validationBuffer.getPixel(sampleNdx + m_samples * colNdx, rowNdx).x(); in validateDepthBuffer() local
1197 if (de::abs(expectedValue - actualValue) > tolerance) in validateDepthBuffer()
1199 … "," << sampleNdx << "): expected " << expectedValue << " but got " << actualValue << TestLog::End… in validateDepthBuffer()
1205 if (de::abs(actualValue - m_defaultDepthValue) > tolerance) in validateDepthBuffer()
1207 … "," << sampleNdx << "): expected " << expectedValue << " but got " << actualValue << TestLog::End… in validateDepthBuffer()
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DNativeCryptoTest.java3105 private static void assertContains(String actualValue, String expectedSubstring) { in assertContains() argument
3106 if (actualValue == null) { in assertContains()
3109 if (actualValue.contains(expectedSubstring)) { in assertContains()
3112 fail("\"" + actualValue + "\" does not contain \"" + expectedSubstring + "\""); in assertContains()