OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:Assert
(Results
226 - 250
of
698
) sorted by null
1
2
3
4
5
6
7
8
9
10
11
>>
/frameworks/base/core/tests/coretests/src/android/widget/layout/linear/
ExceptionTextView.java
19
import junit.framework.
Assert
;
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
AppCompatibility.java
31
import junit.framework.
Assert
;
63
Assert
.assertNotNull("Could not get the Context", mContext);
67
Assert
.assertNotNull("Could not get Activity Manager", mActivityManager);
70
Assert
.assertNotNull("Missing Package Manager", mPackageManager);
/libcore/luni/src/test/java/libcore/java/io/
OldAndroidDataInputStreamTest.java
25
import junit.framework.
Assert
;
39
Assert
.assertEquals(str, read(a));
46
Assert
.assertEquals("AbCdEfGhIj", read(b, 10));
53
Assert
.assertEquals("bdfhjl\np\rtvxz", skipRead(c));
/packages/apps/QuickSearchBox/tests/src/com/android/quicksearchbox/util/
MockTask.java
19
import static junit.framework.
Assert
.assertEquals;
/external/apache-harmony/support/src/test/java/tests/support/
Support_HttpServer.java
27
import junit.framework.
Assert
;
133
Assert
.fail("Test server error on HTTP Server on port "
240
Assert
.fail("Duplicate Content-Length: " + line);
248
Assert
.fail("Duplicate Transfer-Encoding: "
254
Assert
.fail("Unknown Transfer-Encoding: "
261
Assert
.fail("Found both Content-Length and Transfer-Encoding");
422
Assert
.assertTrue("unexpected header: " + header,
424
Assert
.assertTrue("invalid header: " + header,
/external/guava/guava-testlib/src/com/google/common/testing/
EqualsTester.java
20
import static junit.framework.
Assert
.assertEquals;
21
import static junit.framework.
Assert
.assertTrue;
/external/junit/src/org/junit/rules/
ExpectedException.java
9
import org.junit.
Assert
;
114
Assert
.assertThat(e, fMatcher);
/external/okhttp/src/test/java/com/squareup/okhttp/internal/
AsyncApiTest.java
27
import static org.junit.
Assert
.assertEquals;
28
import static org.junit.
Assert
.assertTrue;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
RadioGroupTest.java
12
import static org.junit.
Assert
.assertEquals;
13
import static org.junit.
Assert
.assertThat;
ShadowAutoCompleteTextViewTest.java
3
import static org.junit.
Assert
.assertEquals;
4
import static org.junit.
Assert
.assertSame;
ViewTreeObserverTest.java
13
import static org.junit.
Assert
.assertFalse;
14
import static org.junit.
Assert
.assertTrue;
PopupWindowTest.java
20
import static junit.framework.
Assert
.assertEquals;
21
import static junit.framework.
Assert
.assertNotNull;
22
import static junit.framework.
Assert
.assertSame;
24
import static org.junit.
Assert
.assertFalse;
25
import static org.junit.
Assert
.*;
26
import static org.junit.
Assert
.assertTrue;
LogTest.java
5
import junit.framework.
Assert
;
12
import static junit.framework.
Assert
.assertEquals;
14
import static org.junit.
Assert
.assertFalse;
15
import static org.junit.
Assert
.assertThat;
16
import static org.junit.
Assert
.assertTrue;
111
assertLogged(Log.
ASSERT
, "tag", "msg", null);
120
assertLogged(Log.
ASSERT
, "tag", "msg", throwable);
149
assertTrue(Log.isLoggable("FOO", Log.
ASSERT
));
162
assertTrue(Log.isLoggable("FOO", Log.
ASSERT
));
WifiManagerTest.java
20
import static junit.framework.
Assert
.assertTrue;
24
import static org.junit.
Assert
.assertEquals;
25
import static org.junit.
Assert
.assertFalse;
26
import static org.junit.
Assert
.assertNotNull;
27
import static org.junit.
Assert
.assertThat;
ImageViewTest.java
23
import static org.junit.
Assert
.assertEquals;
24
import static org.junit.
Assert
.assertFalse;
25
import static org.junit.
Assert
.assertTrue;
LocationTest.java
10
import static junit.framework.
Assert
.assertEquals;
11
import static junit.framework.
Assert
.assertTrue;
12
import static junit.framework.
Assert
.assertFalse;
TextViewTest.java
17
import junit.framework.
Assert
;
29
import static junit.framework.
Assert
.assertFalse;
31
import static org.junit.
Assert
.*;
319
Assert
.assertEquals(6, shadowOf(textView.getCompoundDrawables()[0]).getLoadedFromResourceId());
320
Assert
.assertEquals(7, shadowOf(textView.getCompoundDrawables()[1]).getLoadedFromResourceId());
321
Assert
.assertEquals(8, shadowOf(textView.getCompoundDrawables()[2]).getLoadedFromResourceId());
322
Assert
.assertEquals(9, shadowOf(textView.getCompoundDrawables()[3]).getLoadedFromResourceId());
329
Assert
.assertNull(textView.getCompoundDrawables()[0]);
330
Assert
.assertNull(textView.getCompoundDrawables()[1]);
331
Assert
.assertNull(textView.getCompoundDrawables()[2])
[
all
...]
/libcore/luni/src/test/java/libcore/java/lang/
ThreadTest.java
20
import junit.framework.
Assert
;
31
Assert
.assertNotNull("Must have a Java context ClassLoader",
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/gsm/
UsimDataDownloadCommands.java
31
import junit.framework.
Assert
;
61
Assert
.assertFalse("expectAcknowledgeGsmSms called twice", mExpectingAcknowledgeGsmSms);
73
Assert
.assertFalse("expectAcknowledgeGsmSms called twice", mExpectingAcknowledgeGsmSms);
87
Assert
.assertFalse("expectSendEnvelope called twice", mExpectingSendEnvelope);
103
Assert
.assertFalse("expecting SMS acknowledge call", mExpectingAcknowledgeGsmSms);
104
Assert
.assertFalse("expecting send envelope call", mExpectingSendEnvelope);
111
Assert
.assertTrue("unexpected call to acknowledge SMS", mExpectingAcknowledgeGsmSms);
112
Assert
.assertEquals(mExpectingAcknowledgeGsmSmsSuccess, success);
113
Assert
.assertEquals(mExpectingAcknowledgeGsmSmsFailureCause, cause);
127
Assert
.assertTrue("unexpected call to acknowledge SMS", mExpectingAcknowledgeGsmSms)
[
all
...]
/frameworks/base/test-runner/src/android/test/
MoreAsserts.java
20
import junit.framework.
Assert
;
54
Assert
.assertTrue(
324
Assert
.assertEquals(message, Arrays.asList(expected), actualList);
450
Assert
.assertTrue(
457
Assert
.assertFalse(
463
Assert
.assertEquals(message, expectedResult, lhs.equals(rhs));
466
Assert
.assertEquals(message, expectedResult, rhs.equals(lhs));
475
Assert
.assertTrue(hashMessage, lhs.hashCode() == rhs.hashCode());
547
Assert
.fail((userMessage == null)
/cts/tools/signature-tools/test/signature/converter/
ConvertEnumTest.java
19
import static org.junit.
Assert
.assertEquals;
20
import static org.junit.
Assert
.assertNotNull;
21
import static org.junit.
Assert
.assertSame;
22
import static org.junit.
Assert
.assertTrue;
23
import static org.junit.
Assert
.assertFalse;
/external/chromium_org/third_party/yasm/source/patched-yasm/libyasm/
inttree.c
19
static void
Assert
(int assertion, const char *error)
154
Assert
(!it->nil->red,"nil not red in ITLeftRotate");
155
Assert
((it->nil->maxHigh=LONG_MIN),
218
Assert
(!it->nil->red,"nil not red in ITRightRotate");
219
Assert
((it->nil->maxHigh=LONG_MIN),
263
Assert
(!it->nil->red,"nil not red in ITTreeInsertHelp");
264
Assert
((it->nil->maxHigh=INT_MIN),
366
Assert
(!it->nil->red,"nil not red in ITTreeInsert");
367
Assert
(!it->root->red,"root not red in ITTreeInsert");
368
Assert
((it->nil->maxHigh=LONG_MIN)
[
all
...]
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/
SensorManagerTestVerifier.java
35
import junit.framework.
Assert
;
47
private final
Assert
mAssert;
151
public
Assert
verifier() {
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/
logtesting.py
70
"""
Assert
that the given messages match the logged messages.
164
"""
Assert
there are no remaining log messages, and reset logging.
181
# deliberately doesn't want to
assert
every message.
194
"""
Assert
the current array of log messages, and clear its contents.
246
# deliberately doesn't want to
assert
every message.
252
"""
Assert
the current array of log messages, and clear its contents.
/frameworks/base/tests/CoreTests/android/core/
SocketTest.java
19
import junit.framework.
Assert
;
275
Assert
.assertNull("Connect must not fail immediately. Maybe try different address.", error);
276
Assert
.assertFalse("Connect must not succeed. Maybe try different address.", connected);
Completed in 503 milliseconds
1
2
3
4
5
6
7
8
9
10
11
>>