HomeSort by relevance Sort by last modified time
    Searched full:actual (Results 351 - 375 of 14177) sorted by null

<<11121314151617181920>>

  /art/test/410-floats/src/
Main.java 129 public static void assertEquals(float expected, float actual) {
130 if (expected != actual) {
131 throw new AssertionError("Expected " + expected + " got " + actual);
135 public static void assertEquals(double expected, double actual) {
136 if (expected != actual) {
137 throw new AssertionError("Expected " + expected + " got " + actual);
  /art/test/561-divrem/src/
Main.java 18 public static void assertEquals(int expected, int actual) {
19 if (expected != actual) {
20 throw new Error("Expected " + expected + ", got " + actual);
24 public static void assertEquals(long expected, long actual) {
25 if (expected != actual) {
26 throw new Error("Expected " + expected + ", got " + actual);
  /art/test/566-checker-codegen-select/src/
Main.java 79 public static void assertIntEquals(int expected, int actual) {
80 if (expected != actual) {
81 throw new Error(expected + " != " + actual);
85 public static void assertLongEquals(long expected, long actual) {
86 if (expected != actual) {
87 throw new Error(expected + " != " + actual);
  /art/test/566-polymorphic-inlining/src/
Main.java 24 public static void assertEquals(Object expected, Object actual) {
25 if (expected != actual) {
26 throw new Error("Expected " + expected + ", got " + actual);
30 public static void assertEquals(int expected, int actual) {
31 if (expected != actual) {
32 throw new Error("Expected " + expected + ", got " + actual);
  /art/test/631-checker-get-class/src/
Main.java 87 int actual = bar(new Main()); local
88 if (actual != 42) {
89 throw new Error("Expected 42, got " + actual);
91 actual = bar(new SubMain());
92 if (actual != 4) {
93 throw new Error("Expected 4, got " + actual);
  /cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
AutofillRestrictionsTest.java 107 String actual = null; local
111 actual = runShellCommand("settings get secure %s", AUTOFILL_SERVICE);
113 actual = runShellCommand("settings get --user %d secure %s", mUserId,
116 if (expected.equals(actual)) {
122 + "; actual: " + actual + " after 0.5 seconds");
  /external/autotest/client/site_tests/touch_TapSettings/
touch_TapSettings.py 29 @raises: TestFail if actual value does not match expected.
39 raise error.TestFail('Expected clicks=%s, actual=%s.'
47 @raises: TestFail if actual value does not match expected.
60 actual = actual_dragging and actual_click_count == 1
62 if actual is not expected:
66 % (actual, expected, actual_click_count))
  /external/chromium-trace/catapult/devil/devil/utils/
markdown_test.py 41 actual = markdown.md_code(raw, language='python')
42 self.assertEquals(expected, actual)
65 actual = markdown.md_code(raw, language=None)
66 self.assertEquals(expected, actual)
71 actual = markdown.md_escape(raw)
72 self.assertEquals(expected, actual)
  /external/icu/icu4j/eclipse-build/plugins.template/com.ibm.icu.base/src/com/ibm/icu/text/
UFormat.java 37 // * for locale <tt>en_US_CALIFORNIA</tt>, the actual data may be
38 // * drawn from <tt>en</tt> (the <i>actual</i> locale), and
43 // * contains a partial preview implementation. The <i>actual</i>
65 // * should be null. The actual locale must be at the same level or
71 // * @param actual the locale containing data used to construct this
77 // final void setLocale(ULocale valid, ULocale actual) {
  /external/junit/src/main/java/org/junit/internal/runners/
MethodRoadie.java 113 Throwable actual = e.getTargetException(); local
114 if (actual instanceof AssumptionViolatedException) {
117 addFailure(actual);
118 } else if (testMethod.isUnexpected(actual)) {
120 + actual.getClass().getName() + ">";
121 addFailure(new Exception(message, actual));
  /frameworks/av/media/libnbaio/
SourceAudioBufferProvider.cpp 76 ssize_t actual = mSource->read(mAllocated, buffer->frameCount); local
77 if (actual > 0) {
78 ALOG_ASSERT((size_t) actual <= buffer->frameCount);
80 mRemaining = actual;
82 buffer->frameCount = actual;
83 mGetCount = actual;
  /frameworks/base/tools/aapt2/
Diagnostics.h 76 DiagMessageActual actual = message.Build(); local
77 Log(Level::Error, actual);
81 DiagMessageActual actual = message.Build(); local
82 Log(Level::Warn, actual);
86 DiagMessageActual actual = message.Build(); local
87 Log(Level::Note, actual);
  /frameworks/rs/tests/java_api/RSTest_CompatLib/src/com/android/rs/test/
math_agree.rs 58 static void fail_f1(float v1, float v2, float actual, float expected, char *op_name) {
59 int dist = float_dist(actual, expected);
64 rsDebug("Renderscript result", actual);
68 static void fail_f2(float2 v1, float2 v2, float2 actual, float2 expected, char *op_name) {
70 dist.x = float_dist(actual.x, expected.x);
71 dist.y = float_dist(actual.y, expected.y);
79 rsDebug("Renderscript result .x", actual.x);
80 rsDebug("Renderscript result .y", actual.y);
85 static void fail_f3(float3 v1, float3 v2, float3 actual, float3 expected, char *op_name) {
87 dist.x = float_dist(actual.x, expected.x)
    [all...]
  /frameworks/rs/tests/java_api/RSTest_CompatLibLegacy/src/com/android/rs/test/
math_agree.rs 58 static void fail_f1(float v1, float v2, float actual, float expected, char *op_name) {
59 int dist = float_dist(actual, expected);
64 rsDebug("Renderscript result", actual);
68 static void fail_f2(float2 v1, float2 v2, float2 actual, float2 expected, char *op_name) {
70 dist.x = float_dist(actual.x, expected.x);
71 dist.y = float_dist(actual.y, expected.y);
79 rsDebug("Renderscript result .x", actual.x);
80 rsDebug("Renderscript result .y", actual.y);
85 static void fail_f3(float3 v1, float3 v2, float3 actual, float3 expected, char *op_name) {
87 dist.x = float_dist(actual.x, expected.x)
    [all...]
  /frameworks/rs/tests/java_api/RsTest/src/com/android/rs/test/
math_agree.rs 58 static void fail_f1(float v1, float v2, float actual, float expected, char *op_name) {
59 int dist = float_dist(actual, expected);
64 rsDebug("Renderscript result", actual);
68 static void fail_f2(float2 v1, float2 v2, float2 actual, float2 expected, char *op_name) {
70 dist.x = float_dist(actual.x, expected.x);
71 dist.y = float_dist(actual.y, expected.y);
79 rsDebug("Renderscript result .x", actual.x);
80 rsDebug("Renderscript result .y", actual.y);
85 static void fail_f3(float3 v1, float3 v2, float3 actual, float3 expected, char *op_name) {
87 dist.x = float_dist(actual.x, expected.x)
    [all...]
  /libcore/dalvik/src/main/java/dalvik/system/profiler/
BinaryHprof.java 118 * Returns null if the actual size meets expectations, or a
121 public String checkSize(int actual) {
122 if (actual < minimumSize) {
124 + " but received " + actual;
129 if (actual > maximumSize) {
131 + " but received " + actual;
  /packages/apps/Email/tests/src/com/android/email/mail/store/imap/
ImapTestUtils.java 45 public static final void assertElement(ImapElement expected, ImapElement actual) {
46 assertElement("(no message)", expected, actual);
55 ImapElement actual) {
56 if (expected == null && actual == null) {
59 if (expected != null && expected.equalsForTest(actual)) {
62 Assert.fail(String.format("%s expected=%s\nactual=%s", message, expected, actual));
  /packages/apps/TV/tests/unit/src/com/android/tv/dvr/
ScheduledRecordingTest.java 65 ScheduledRecording actual = ScheduledRecording.builder(INPUT_ID, p) local
67 assertEquals("type", ScheduledRecording.TYPE_PROGRAM, actual.getType());
71 ScheduledRecording actual = createTestRecordingWithIdAndPeriod(1, INPUT_ID, CHANNEL_ID, local
73 assertEquals("type", ScheduledRecording.TYPE_TIMED, actual.getType());
79 ScheduledRecording actual = ScheduledRecording.buildFrom(expected).build(); local
80 RecordingTestUtils.assertRecordingEquals(expected, actual);
  /toolchain/binutils/binutils-2.25/gold/testsuite/
incremental_test.sh 30 echo "Actual output differs from expected:"
44 echo "Actual output below:"
50 # Extract actual command line from linker's -v output.
54 cut -d ' ' -f 2- > actual
64 check_cmp actual recorded
66 rm -f actual recorded
  /art/test/575-checker-string-init-alias/src/
Main.java 27 private static void assertEqual(String expected, String actual) {
28 if (!expected.equals(actual)) {
29 throw new Error("Assertion failed: " + expected + " != " + actual);
  /cts/tests/tests/content/src/android/content/pm/cts/
PermissionGroupInfoTest.java 55 private void checkInfoSame(PermissionGroupInfo expected, PermissionGroupInfo actual) {
56 assertEquals(expected.descriptionRes, actual.descriptionRes);
57 assertEquals(expected.nonLocalizedDescription, actual.nonLocalizedDescription);
ServiceInfoTest.java 54 private void checkInfoSame(ServiceInfo expected, ServiceInfo actual) {
55 assertEquals(expected.name, actual.name);
56 assertEquals(expected.permission, actual.permission);
  /development/samples/ApiDemos/tests/src/com/example/android/apis/os/
MorseCodeConverterTest.java 46 private void assertArraysEqual(long[] expected, long[] actual) {
47 assertEquals("Unexpected array length.", expected.length, actual.length);
50 long actualLong = actual[i];
  /external/compiler-rt/test/builtins/Unit/
truncdfsf2_test.c 22 float actual = __truncdfsf2(a); local
25 if (actual != expected) {
27 "expected %f\n", a, actual, expected);
  /external/easymock/src/org/easymock/internal/matchers/
Equals.java 33 public boolean matches(Object actual) {
35 return actual == null;
37 return expected.equals(actual);

Completed in 1048 milliseconds

<<11121314151617181920>>