/external/smali/dexlib2/src/test/java/org/jf/dexlib2/dexbacked/ |
BaseDexReaderSleb128Test.java | 34 import junit.framework.Assert; 258 Assert.assertEquals(expectedValue, reader.readSleb128()); 259 Assert.assertEquals(expectedLength, reader.getOffset()); 267 Assert.fail();
|
/external/testng/src/test/java/test/dataprovider/ |
ConfigurationAndDataProvidersTest.java | 3 import org.testng.Assert; 26 Assert.assertTrue(m_beforeSuite, "beforeSuite should have been invoked"); 27 Assert.assertTrue(m_beforeTest, "beforeTest should have been invoked"); 28 Assert.assertTrue(m_beforeClass, "beforeClass should have been invoked"); 29 Assert.assertFalse(m_beforeTestMethod, "beforeMethod should not have been invoked");
|
/external/testng/src/test/java/test/groupinvocation/ |
DummyTest.java | 3 import org.testng.Assert;
32 Assert.assertNotNull(hashCode1, "External @BeforeGroups not invoked");
34 Assert.assertNotNull(hashCode2, "External @AfterGroups not invoked");
35 Assert.assertEquals(hashCode1, hashCode2, "External @BeforeGroups and @AfterGroups were not invoked on the" +
|
/packages/apps/Dialer/java/com/android/dialer/shortcuts/ |
ShortcutRefresher.java | 25 import com.android.dialer.common.Assert; 41 Assert.isMainThread(); 42 Assert.isNotNull(context); 74 Assert.isWorkerThread();
|
ShortcutUsageReporter.java | 37 import com.android.dialer.common.Assert; 68 Assert.isMainThread(); 69 Assert.isNotNull(context); 91 Assert.isWorkerThread(); 110 Assert.isWorkerThread();
|
/external/archive-patcher/shared/src/test/java/com/google/archivepatcher/shared/ |
TypedRangeTest.java | 20 import org.junit.Assert; 36 Assert.assertEquals(555, range.getOffset()); 37 Assert.assertEquals(777, range.getLength()); 38 Assert.assertSame(text, range.getMetadata()); 45 Assert.assertNotNull(range.toString()); 46 Assert.assertFalse(range.toString().length() == 0); 53 Assert.assertTrue(range1.compareTo(range2) < 0); 54 Assert.assertTrue(range2.compareTo(range1) > 0); 55 Assert.assertTrue(range1.compareTo(range1) == 0); 62 Assert.assertEquals(range1a.hashCode(), range1b.hashCode()) [all...] |
/external/guava/guava-testlib/src/com/google/common/util/concurrent/testing/ |
MockFutureListener.java | 24 import junit.framework.Assert; 62 Assert.assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS)); 65 Assert.assertEquals(expectedData, future.get()); 78 Assert.assertTrue(countDownLatch.await(1L, TimeUnit.SECONDS)); 82 Assert.fail("This call was supposed to throw an ExecutionException"); 84 Assert.assertSame(expectedCause, expected.getCause()); 91 Assert.assertFalse(countDownLatch.await(1L, TimeUnit.SECONDS));
|
/external/jcommander/src/test/java/com/beust/jcommander/ |
VariableArityTest.java | 3 import org.testng.Assert; 56 Assert.assertNotEquals(config.seed, 0); 57 Assert.assertEquals(config.modelMatrixFile, Arrays.asList(new String[] { "foo" })); 58 Assert.assertEquals(config.featureFile, Arrays.asList(new String[] { "foo" })); 59 Assert.assertEquals(config.seed, 1024); 60 Assert.assertEquals(config.outputFile, "foo");
|
MyClass.java | 3 import org.testng.Assert; 20 Assert.assertEquals(value, "\"");
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/command/ |
InvocationRecord.java | 18 import org.mockftpserver.core.util.Assert;
113 Assert.notNull(key, "key");
114 Assert.isFalse(locked, "The InvocationRecord is locked!");
126 Assert.notNull(key, "key");
154 Assert.notNull(key, "key");
170 Assert.notNull(key, "key");
|
SimpleCompositeCommandHandler.java | 19 import org.mockftpserver.core.util.Assert;
66 Assert.notNull(commandHandler, "commandHandler");
76 Assert.notNull(commandHandlers, "commandHandlers");
90 Assert.isTrue(index < commandHandlers.size(), "No CommandHandler defined for index " + index);
91 Assert.isTrue(index >= 0, "The index cannot be less than zero: " + index);
99 Assert.notNull(command, "command");
100 Assert.notNull(session, "session");
101 Assert.isTrue(commandHandlers.size() > invocationIndex, "No CommandHandler defined for invocation #" + invocationIndex);
|
AbstractCommandHandler.java | 20 import org.mockftpserver.core.util.Assert;
73 Assert.notNull(text, "text");
79 * Assert that the specified number is a valid reply code
86 Assert.isTrue(replyCode > 0, "The number [" + replyCode + "] is not a valid reply code");
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/core/command/ |
InvocationRecord.java | 25 import org.mockftpserver.core.util.Assert;
113 Assert.notNull(key, "key");
114 Assert.isFalse(locked, "The InvocationRecord is locked!");
127 Assert.notNull(key, "key");
155 Assert.notNull(key, "key");
172 Assert.notNull(key, "key");
|
SimpleCompositeCommandHandler.java | 24 import org.mockftpserver.core.util.Assert;
66 Assert.notNull(commandHandler, "commandHandler");
76 Assert.notNull(commandHandlers, "commandHandlers");
90 Assert.isTrue(index < commandHandlers.size(), "No CommandHandler defined for index " + index);
91 Assert.isTrue(index >= 0, "The index cannot be less than zero: " + index);
99 Assert.notNull(command, "command");
100 Assert.notNull(session, "session");
101 Assert.isTrue(commandHandlers.size() > invocationIndex, "No CommandHandler defined for invocation #" + invocationIndex);
|
/external/testng/src/test/java/test/assertion/ |
SoftAssertTest.java | 3 import org.testng.Assert; 30 Assert.assertEquals(succeed.size(), 1, succeed.toString()); 31 Assert.assertEquals(failures.size(), 1, failures.toString()); 42 Assert.fail("Exception expected"); 45 Assert.assertEquals(lines.length, 2); 47 Assert.assertFalse(lines[1].contains(message));
|
/packages/apps/Dialer/java/com/android/dialer/calllog/datasources/systemcalllog/ |
SystemCallLogDataSource.java | 29 import com.android.dialer.common.Assert; 48 Assert.isMainThread(); 67 Assert.isWorkerThread(); 85 Assert.isWorkerThread(); 88 Assert.checkState(mutations.isEmpty()); 107 Assert.isMainThread();
|
/cts/tests/sensor/src/android/hardware/cts/helpers/sensorverification/ |
AbstractMeanVerification.java | 19 import junit.framework.Assert; 38 Assert.assertEquals(mSums.length, event.values.length);
|
/cts/tests/tests/os/src/android/os/health/cts/ |
TimerStatTest.java | 23 import junit.framework.Assert; 37 Assert.assertEquals(0, timer.getCount()); 38 Assert.assertEquals(0, timer.getTime()); 48 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); 52 Assert.assertEquals(12, timer.getCount()); 53 Assert.assertEquals(Long.MAX_VALUE, timer.getTime()); 63 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); 67 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); 68 Assert.assertEquals(5000, timer.getTime()); 78 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()) [all...] |
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Protocol/DebugAssert/ |
DebugAssert.h | 19 debugger support, but things like ASSERT() and DEBUG() macros
78 EFI_DEBUG_ASSERT Assert;
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
base64.c | 98 #define Assert(Cond) if (!(Cond)) abort()
185 Assert(output[0] < 64);
186 Assert(output[1] < 64);
187 Assert(output[2] < 64);
188 Assert(output[3] < 64);
208 Assert(output[0] < 64);
209 Assert(output[1] < 64);
210 Assert(output[2] < 64);
|
/external/compiler-rt/make/ |
util.mk | 78 # Function: Assert value message 81 Assert = $(if $(1),,\
|
/external/flatbuffers/tests/FlatBuffers.Test/ |
Assert.cs | 76 public static class Assert
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/util/ |
IoUtil.java | 39 Assert.notNull(input, "input");
|
PatternUtil.java | 44 Assert.notNull(stringWithWildcards, "stringWithWildcards");
|
StringUtil.java | 63 Assert.notNull(parts, "parts");
64 Assert.notNull(delimiter, "delimiter");
|