HomeSort by relevance Sort by last modified time
    Searched refs:Assert (Results 201 - 225 of 824) sorted by null

1 2 3 4 5 6 7 891011>>

  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
CookieUtils.java 9 import junit.framework.Assert;
34 assert getCallCount() > 0;
65 * Clear all cookies from the CookieManager synchronously then assert they are gone.
82 Assert.assertFalse(cookieManager.hasCookies());
  /external/chromium_org/content/public/test/android/javatests/src/org/chromium/content/browser/test/util/
DOMUtils.java 11 import junit.framework.Assert;
89 Assert.assertFalse("Failed to retrieve bounds for " + nodeId,
101 Assert.assertEquals("Invalid bounds returned.", 4, i);
105 Assert.fail("Failed to evaluate JavaScript: " + jsonText + "\n" + exception);
193 Assert.assertFalse("Failed to retrieve contents for " + nodeId,
202 Assert.assertNotNull("Invalid contents returned.", value);
206 Assert.fail("Failed to evaluate JavaScript: " + jsonText + "\n" + exception);
252 Assert.assertNotNull("Failed to get DOM element bounds of '" + nodeName + "'.", bounds);
  /external/eclipse-windowbuilder/propertysheet/src/org/eclipse/wb/internal/core/model/property/category/
PropertyCategory.java 14 import org.eclipse.wb.internal.core.utils.check.Assert;
62 Assert.isTrue(system.isSystem());
  /external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/
HuffmanTest.java 25 import static org.junit.Assert.assertEquals;
26 import static org.junit.Assert.assertTrue;
  /external/okhttp/okio/src/test/java/okio/
MockSink.java 25 import static org.junit.Assert.assertEquals;
26 import static org.junit.Assert.assertTrue;
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/
ApplicationResolverTest.java 12 import static org.junit.Assert.assertEquals;
13 import static org.junit.Assert.assertTrue;
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
ActivityManagerTest.java 11 import static junit.framework.Assert.assertFalse;
12 import static org.junit.Assert.assertTrue;
BaseAdapterTest.java 11 import static junit.framework.Assert.assertFalse;
12 import static junit.framework.Assert.assertTrue;
FragmentTest.java 10 import static org.junit.Assert.assertEquals;
11 import static org.junit.Assert.assertTrue;
PreferenceManagerTest.java 15 import static org.junit.Assert.assertEquals;
16 import static org.junit.Assert.assertNotNull;
StateListDrawableTest.java 13 import static org.junit.Assert.assertNotNull;
14 import static org.junit.Assert.assertThat;
ProgressDialogTest.java 16 import static junit.framework.Assert.assertNull;
21 import static org.junit.Assert.assertEquals;
22 import static org.junit.Assert.assertNotNull;
23 import static org.junit.Assert.assertThat;
24 import static org.junit.Assert.assertTrue;
BundleTest.java 9 import org.junit.Assert;
16 import static org.junit.Assert.*;
259 Assert.assertArrayEquals(new String[] { "a" }, bundle.getStringArray("foo"));
269 Assert.assertEquals(list, bundle.getStringArrayList("foo"));
279 Assert.assertEquals(list, bundle.getIntegerArrayList("foo"));
307 Assert.assertArrayEquals(arr, bundle.getByteArray("foo"));
316 Assert.assertArrayEquals(arr, bundle.getCharArray("foo"));
334 Assert.assertArrayEquals(arr, bundle.getIntArray("foo"));
343 Assert.assertArrayEquals(arr, bundle.getLongArray("foo"));
352 Assert.assertArrayEquals(arr, bundle.getShortArray("foo"))
    [all...]
  /frameworks/base/tests/WebViewTests/src/com/android/webviewtests/
JavaBridgeTestBase.java 28 import junit.framework.Assert;
68 Assert.fail("Wait timed out");
  /external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
AwContentsClientFullScreenVideoTest.java 11 import junit.framework.Assert;
99 Assert.assertFalse(DOMUtils.hasVideoEnded(
110 Assert.assertTrue(DOMUtils.waitForEndOfVideo(
129 Assert.assertTrue(fullScreenErrorObserver.waitForEvent(500));
130 Assert.assertFalse(mContentsClient.wasCustomViewShownCalled());
  /external/smali/dexlib2/src/test/java/org/jf/dexlib2/analysis/
CustomMethodInlineTableTest.java 50 import org.junit.Assert;
77 Assert.assertEquals(Opcode.INVOKE_VIRTUAL, deodexedInstruction.getOpcode());
80 Assert.assertEquals(method, methodReference);
104 Assert.assertEquals(Opcode.INVOKE_STATIC, deodexedInstruction.getOpcode());
107 Assert.assertEquals(method, methodReference);
131 Assert.assertEquals(Opcode.INVOKE_DIRECT, deodexedInstruction.getOpcode());
134 Assert.assertEquals(method, methodReference);
  /cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
StepCounterTestActivity.java 22 import junit.framework.Assert;
187 Assert.assertTrue(
197 Assert.assertFalse(stepsReportedMessage, userReportedSteps < stepsExpected);
225 Assert.assertEquals(eventLengthMessage, expectedLength, valuesLength);
238 Assert.assertTrue(eventTriggered, countDelta > 0);
261 Assert.assertFalse(stepsDeltaMessage, stepsCountedDelta > MAX_STEP_DISCREPANCY);
291 Assert.assertFalse(stepsDetectedMessage, stepsDetectedDelta > MAX_STEP_DISCREPANCY);
304 Assert.assertEquals(eventLengthMessage, expectedLength, valuesLength);
310 Assert.assertEquals(eventValueMessage, expectedValue, value0);
  /cts/tests/tests/hardware/src/android/hardware/cts/helpers/
TestSensorEventListener.java 19 import junit.framework.Assert;
138 Assert.assertTrue(
162 Assert.assertTrue(message, mEventLatch.await(timeoutUs, TimeUnit.MICROSECONDS));
TestSensorManager.java 19 import junit.framework.Assert;
102 Assert.assertTrue(message, result);
153 Assert.assertTrue(
  /cts/tools/signature-tools/test/signature/comparator/
PackageCompareTest.java 19 import static org.junit.Assert.assertEquals;
20 import static org.junit.Assert.assertNotNull;
21 import static org.junit.Assert.assertNull;
  /external/chromium_org/third_party/webrtc/base/
common.h 74 // and allow applications to override the assert behavior.
84 // Assert (and from the ASSERT macro in debug mode) before any other action
94 // Sets a custom assert logger to be used instead of the default LogAssert
95 // behavior. To clear the custom assert logger, pass NULL for |logger| and the
96 // default behavior will be restored. Only one custom assert logger can be set
107 inline bool Assert(bool result, const char* function, const char* file,
123 #ifndef ASSERT
124 #define ASSERT(x) \
125 (void)rtc::Assert((x), __FUNCTION__, __FILE__, __LINE__, #x
    [all...]
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/
FakeHttpLayerTest.java 18 import static org.junit.Assert.assertFalse;
19 import static org.junit.Assert.assertThat;
20 import static org.junit.Assert.assertTrue;
  /libcore/luni/src/test/java/libcore/java/io/
OldAndroidBufferedInputStreamTest.java 23 import junit.framework.Assert;
41 Assert.assertEquals(str, read(a));
48 Assert.assertEquals("AbCdEfGhIj", read(b, 10));
  /libcore/luni/src/test/java/libcore/util/
SerializationTester.java 24 import static junit.framework.Assert.assertEquals;
25 import static junit.framework.Assert.assertTrue;
26 import static junit.framework.Assert.fail;
  /libcore/support/src/test/java/libcore/javax/net/ssl/
RandomPrivateKeyX509ExtendedKeyManager.java 19 import junit.framework.Assert;
80 Assert.fail("Unsupported key algorithm: " + originalPrivateKey.getAlgorithm());
84 Assert.fail("Failed to generate private key: " + e);

Completed in 791 milliseconds

1 2 3 4 5 6 7 891011>>