Home
last modified time | relevance | path

Searched refs:assertTrue (Results 1 – 12 of 12) sorted by relevance

/external/junit/src/junit/framework/
DAssert.java18 static public void assertTrue(String message, boolean condition) { in assertTrue() method in Assert
26 static public void assertTrue(boolean condition) { in assertTrue() method in Assert
27 assertTrue(null, condition); in assertTrue()
34 assertTrue(message, !condition); in assertFalse()
217 assertTrue(message, object != null); in assertNotNull()
230 assertTrue(message, object == null); in assertNull()
/external/icu4c/test/intltest/
Dsvccoll.cpp394 assertTrue("count after > count before", n2 > n1); in TestRegisterFactory()
458 assertTrue("count after unregister == count before register", n3 == n1); in TestRegisterFactory()
506 assertTrue("count verified", i==n); in checkStringEnumeration()
516 assertTrue("idxAfterReset verified", idxAfterReset==n); in checkStringEnumeration()
517 assertTrue("buffAfterReset verified", buffAfterReset==buf); in checkStringEnumeration()
536 if (!assertTrue("getAvailableLocales != NULL", iter!=NULL)) return -1; in checkAvailable()
557 if (!assertTrue("getKeywords != NULL", iter!=NULL)) return; in TestSeparateTree()
563 if (!assertTrue("getKeywordValues != NULL", iter!=NULL)) return; in TestSeparateTree()
574 assertTrue("getFunctionalEquivalent(fr).isAvailable==TRUE", in TestSeparateTree()
582 assertTrue("getFunctionalEquivalent(fr_FR).isAvailable==TRUE", in TestSeparateTree()
Dintltest.h150 UBool assertTrue(const char* message, UBool condition, UBool quiet=FALSE);
163 UBool assertTrue(const UnicodeString& message, UBool condition, UBool quiet=FALSE);
Dintltest.cpp1452 UBool IntlTest::assertTrue(const char* message, UBool condition, UBool quiet) { in assertTrue() function in IntlTest
1541 UBool IntlTest::assertTrue(const UnicodeString& message, UBool condition, UBool quiet) { in assertTrue() function in IntlTest
1542 return assertTrue(extractToAssertBuf(message), condition, quiet); in assertTrue()
Dnumfmtst.cpp1538 assertTrue("ucurr_getName (fallback)", in TestCurrencyNames()
1543 assertTrue("ucurr_getName (fallback)", in TestCurrencyNames()
1548 assertTrue("ucurr_getName (default)", in TestCurrencyNames()
1553 assertTrue("ucurr_getName (default)", in TestCurrencyNames()
1559 assertTrue("ucurr_getName (default to root)", in TestCurrencyNames()
Ddtfmttst.cpp350 assertTrue("DATEFORMAT_FIELD_NAMES", DATEFORMAT_FIELD_NAMES_LENGTH == UDAT_FIELD_COUNT); in TestFieldPosition()
351 assertTrue("Data", UDAT_FIELD_COUNT == uprv_strlen(PATTERN_CHARS)); in TestFieldPosition()
394 assertTrue("data size", EXPECTED_LENGTH == COUNT * UDAT_FIELD_COUNT); in TestFieldPosition()
Dtranstst.cpp207 assertTrue("getAvailableIDs()!=NULL", avail!=NULL); in TestInstantiation()
209 assertTrue("getAvailableIDs().count()==countAvailableIDs()", in TestInstantiation()
216 !assertTrue("snext()!=NULL", (&id)!=NULL, TRUE)) { in TestInstantiation()
278 assertTrue("snext()==NULL", avail->snext(ec)==NULL); in TestInstantiation()
2429 assertTrue("countElements", t->countElements() == 3); in TestNewEngine()
Dtransrt.cpp1118 assertTrue("NumericPinyin must roundtrip", roundtripOK); in TestHan()
/external/icu4c/test/cintltst/
Dcintltst.h92 U_CFUNC UBool assertTrue(const char* msg, int condition);
Dcintltst.c688 U_CFUNC UBool assertTrue(const char* msg, int /*not UBool*/ condition) { in assertTrue() function
Dcmsccoll.c4326 assertTrue("count verified", i==n); in checkUEnumeration()
4357 assertTrue("ucol_openAvailableLocales!=0", e!=0); in TestSeparateTrees()
4365 assertTrue("ucol_getKeywords!=0", e!=0); in TestSeparateTrees()
4372 assertTrue("ucol_getKeywordValues!=0", e!=0); in TestSeparateTrees()
4381 assertTrue("ucol_getKeywordValues!=0 [with warning code set]", e!=0); in TestSeparateTrees()
4397 assertTrue("getFunctionalEquivalent(fr).isAvailable==TRUE", in TestSeparateTrees()
4404 assertTrue("getFunctionalEquivalent(fr_FR).isAvailable==TRUE", in TestSeparateTrees()
Dcldrtest.c1193 assertTrue("case-folded is a superset", in TestExemplarSet()
1201 assertTrue("case-folded is sometimes a strict superset, and sometimes equal", in TestExemplarSet()