OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Assert
(Results
101 - 125
of
698
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
Base64Test.java
10
import static org.junit.
Assert
.assertEquals;
11
import static org.junit.
Assert
.assertArrayEquals;
CheckedTextViewTest.java
10
import static org.junit.
Assert
.assertFalse;
11
import static org.junit.
Assert
.assertTrue;
FrameLayoutTest.java
12
import static org.junit.
Assert
.assertNotNull;
13
import static org.junit.
Assert
.assertThat;
LayoutInflaterTest.java
11
import static org.junit.
Assert
.assertNotNull;
12
import static org.junit.
Assert
.assertSame;
PeriodicSyncTest.java
12
import static org.junit.
Assert
.assertNotNull;
13
import static org.junit.
Assert
.assertThat;
ToastTest.java
3
import static org.junit.
Assert
.assertEquals;
4
import static org.junit.
Assert
.assertNotNull;
DatabaseUtilsTest.java
4
import static org.junit.
Assert
.assertThat;
JsPromptResultTest.java
8
import static org.junit.
Assert
.assertNotNull;
LinkMovementMethodTest.java
9
import static org.junit.
Assert
.assertThat;
NdefRecordTest.java
8
import static org.junit.
Assert
.assertSame;
NfcAdapterTest.java
9
import static org.junit.
Assert
.assertThat;
ScrollViewTest.java
8
import static junit.framework.
Assert
.assertEquals;
TextPaintTest.java
8
import static junit.framework.
Assert
.assertEquals;
ClipboardManagerTest.java
12
import static org.junit.
Assert
.assertFalse;
13
import static org.junit.
Assert
.assertThat;
14
import static org.junit.
Assert
.assertTrue;
CriteriaTest.java
4
import junit.framework.
Assert
;
42
Assert
.assertTrue(criteria1.equals(criteria));
47
Assert
.assertTrue(criteria2.equals(criteria));
ItemizedOverlayTest.java
10
import static org.junit.
Assert
.assertEquals;
11
import static org.junit.
Assert
.assertNull;
12
import static org.junit.
Assert
.assertTrue;
/external/smali/smali/src/test/java/
LexerTest.java
36
import org.junit.
Assert
;
154
Assert
.fail("Could not load " + smaliFile);
173
Assert
.fail("Too many tokens");
177
Assert
.assertTrue("Encountered an INVALID_TOKEN not on the error channel",
183
Assert
.fail("Unknown token: " + expectedToken.tokenName);
188
Assert
.fail(String.format("Invalid token at index %d. Expecting %s, got %s(%s)",
194
Assert
.fail(
202
Assert
.fail(String.format("Not enough tokens. Expecting %d tokens, but got %d", expectedTokens.size(),
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/
ResourceTexture.java
23
import junit.framework.
Assert
;
33
Assert
.assertNotNull(context);
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/mock/
TestLogger.java
22
import junit.framework.
Assert
;
36
Assert
.fail(message);
/cts/tests/tests/mediastress/src/android/mediastress/cts/
NativeMediaTest.java
26
import junit.framework.
Assert
;
85
Assert
.assertNotNull(status); // null means time-out
86
Assert
.assertEquals(expectAlive, status.booleanValue());
90
Assert
.assertEquals(Environment.getExternalStorageState(), Environment.MEDIA_MOUNTED);
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/util/
JSUtils.java
10
import junit.framework.
Assert
;
31
Assert
.assertTrue(CriteriaHelper.pollForCriteria(new Criteria() {
41
Assert
.fail("Failed to check if DOM is loaded: " + t.toString());
73
Assert
.assertTrue("Failed to retrieve JavaScript evaluation results.",
/external/guava/guava-tests/test/com/google/common/util/concurrent/
ListenableFutureTester.java
19
import static junit.framework.
Assert
.assertEquals;
20
import static junit.framework.
Assert
.assertFalse;
21
import static junit.framework.
Assert
.assertTrue;
22
import static junit.framework.
Assert
.fail;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/
SQLiteTestHelper.java
6
import static org.junit.
Assert
.assertThat;
/libcore/luni/src/test/java/libcore/java/io/
OldAndroidPushbackReaderTest.java
23
import junit.framework.
Assert
;
37
Assert
.assertEquals("PUSHAbCdEfGhIjKlMnOpQrStUvWxYz", read(a));
45
Assert
.assertEquals("XAbCdEfGhI", read(b, 10));
52
Assert
.assertEquals("bdfhjlnprtvxz", skipRead(c));
/development/tools/mkstubs/tests/com/android/mkstubs/sourcer/
AccessSourcerTest.java
21
import org.junit.
Assert
;
51
Assert
.assertEquals("public abstract", s);
60
Assert
.assertEquals("private static final", s);
Completed in 842 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>