/external/testng/src/main/java/org/testng/asserts/ |
D | Assertion.java | 12 protected void doAssert(IAssert<?> assertCommand) { in doAssert() method in Assertion 30 assertCommand.doAssert(); in executeAssert() 104 abstract public void doAssert(); in doAssert() method in Assertion.SimpleAssert 109 doAssert(new SimpleAssert<Boolean>(condition, Boolean.TRUE, message) { in assertTrue() 111 public void doAssert() { in assertTrue() 118 doAssert(new SimpleAssert<Boolean>(condition, Boolean.TRUE) { in assertTrue() 120 public void doAssert() { in assertTrue() 127 doAssert(new SimpleAssert<Boolean>(condition, Boolean.FALSE, message) { in assertFalse() 129 public void doAssert() { in assertFalse() 136 doAssert(new SimpleAssert<Boolean>(condition, Boolean.FALSE) { in assertFalse() [all …]
|
D | SoftAssert.java | 17 protected void doAssert(IAssert<?> a) { in doAssert() method in SoftAssert 20 a.doAssert(); in doAssert()
|
D | IAssert.java | 5 void doAssert(); in doAssert() method
|
/external/icu/icu4c/source/test/intltest/ |
D | apicoll.cpp | 52 CollationAPITest::doAssert(UBool condition, const char *message) in doAssert() function in CollationAPITest 106 doAssert((col->compare("ab", "abc") == Collator::LESS), "ab < abc comparison failed"); in TestProperty() 107 doAssert((col->compare("ab", "AB") == Collator::LESS), "ab < AB comparison failed"); in TestProperty() 108 …doAssert((col->compare("blackbird", "black-bird") == Collator::GREATER), "black-bird > blackbird c… in TestProperty() 109 …doAssert((col->compare("black bird", "black-bird") == Collator::LESS), "black bird > black-bird co… in TestProperty() 110 …doAssert((col->compare("Hello", "hello") == Collator::GREATER), "Hello > hello comparison failed"); in TestProperty() 111 … doAssert((col->compare("","",success) == UCOL_EQUAL), "Comparison between empty strings failed"); in TestProperty() 113 …doAssert((col->compareUTF8("\x61\x62\xc3\xa4", "\x61\x62\xc3\x9f", success) == UCOL_LESS), "ab a-u… in TestProperty() 121 …doAssert((col->compare(abauIter, abssIter, success) == UCOL_LESS), "ab a-umlaut < ab sharp-s UChar… in TestProperty() 126 …doAssert((col->compare("ab", "abc", 2) == Collator::EQUAL), "ab = abc with length 2 comparison fai… in TestProperty() [all …]
|
D | usettest.cpp | 392 doAssert(set.isEmpty() == TRUE, "set should be empty"); in TestAddRemove() 393 doAssert(set.size() == 0, "size should be 0"); in TestAddRemove() 395 doAssert(set.size() == 0x110000, "size should be 0x110000"); in TestAddRemove() 399 doAssert(set.isEmpty() == FALSE, "set should not be empty"); in TestAddRemove() 400 doAssert(set.size() != 0, "size should not be equal to 0"); in TestAddRemove() 401 doAssert(set.size() == 26, "size should be equal to 26"); in TestAddRemove() 404 doAssert(set.size() == 22, "size should be equal to 22"); in TestAddRemove() 407 doAssert(set.size() == 19, "size should be equal to 19"); in TestAddRemove() 410 doAssert(set.size() == 16, "size should be equal to 16"); in TestAddRemove() 413 doAssert(set.size() == 10, "size should be equal to 10"); in TestAddRemove() [all …]
|
D | apicoll.h | 27 void doAssert(UBool condition, const char *message);
|
D | usettest.h | 172 void doAssert(UBool, const char*);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationAPITest.java | 64 doAssert(bytes.length == 3 && bytes[0] == 1 && bytes[1] == 1 in TestCollationKey() 71 doAssert(sortkIgnorable != null && sortkIgnorable.toByteArray().length == 3, in TestCollationKey() 73 doAssert(sortkIgnorable.compareTo(sortk1) == 0, in TestCollationKey() 78 doAssert(sortk1 == null, "Error code should return bogus collation key"); in TestCollationKey() 83 doAssert((sortk1.compareTo(sortk2)) > 0, "Result should be \"Abcda\" >>> \"abcda\""); in TestCollationKey() 87 doAssert(!(sortk1.equals(sortk2)), "The sort keys should be different"); in TestCollationKey() 88 doAssert((sortk1.hashCode() != sortk2.hashCode()), "sort key hashCode() failed"); in TestCollationKey() 89 doAssert((sortk1.equals(sortkNew)), "The sort keys assignment failed"); in TestCollationKey() 90 doAssert((sortk1.hashCode() == sortkNew.hashCode()), "sort key hashCode() failed"); in TestCollationKey() 109 doAssert(key1.compareTo(key2) > 0, in TestCollationKey() [all …]
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationAPITest.java | 63 doAssert(bytes.length == 3 && bytes[0] == 1 && bytes[1] == 1 in TestCollationKey() 70 doAssert(sortkIgnorable != null && sortkIgnorable.toByteArray().length == 3, in TestCollationKey() 72 doAssert(sortkIgnorable.compareTo(sortk1) == 0, in TestCollationKey() 77 doAssert(sortk1 == null, "Error code should return bogus collation key"); in TestCollationKey() 82 doAssert((sortk1.compareTo(sortk2)) > 0, "Result should be \"Abcda\" >>> \"abcda\""); in TestCollationKey() 86 doAssert(!(sortk1.equals(sortk2)), "The sort keys should be different"); in TestCollationKey() 87 doAssert((sortk1.hashCode() != sortk2.hashCode()), "sort key hashCode() failed"); in TestCollationKey() 88 doAssert((sortk1.equals(sortkNew)), "The sort keys assignment failed"); in TestCollationKey() 89 doAssert((sortk1.hashCode() == sortkNew.hashCode()), "sort key hashCode() failed"); in TestCollationKey() 108 doAssert(key1.compareTo(key2) > 0, in TestCollationKey() [all …]
|
/external/icu/icu4c/source/test/cintltst/ |
D | putiltst.c | 49 static void doAssert(double expect, double got, const char *message); 71 doAssert(expn1, 0.5, "uprv_fmod(30.50, 15.00) failed."); in TestPUtilAPI() 75 doAssert(expn1, 1, "uprv_ceil(0.021) failed."); in TestPUtilAPI() 79 doAssert(expn1, 0, "uprv_floor(0.021) failed."); in TestPUtilAPI() 83 doAssert(expn1, 0.675, "uprv_fabs(2.02-1.345) failed."); in TestPUtilAPI() 86 doAssert(uprv_fmax(2.4, 1.2), 2.4, "uprv_fmax(2.4, 1.2) failed."); in TestPUtilAPI() 90 … doAssert(expn1, uprv_getNaN(), "uprv_fmax(uprv_getNaN(), 1.2) failed. when one parameter is NaN"); in TestPUtilAPI() 93 doAssert(uprv_fmin(2.4, 1.2), 1.2, "uprv_fmin(2.4, 1.2) failed."); in TestPUtilAPI() 97 … doAssert(expn1, uprv_getNaN(), "uprv_fmin(uprv_getNaN(), 1.2) failed. when one parameter is NaN"); in TestPUtilAPI() 100 doAssert(uprv_max(4, 2), 4, "uprv_max(4, 2) failed."); in TestPUtilAPI() [all …]
|
D | capitst.c | 168 static void doAssert(int condition, const char *message) in doAssert() function 350 doAssert( (ucol_getStrength(col) == UCOL_TERTIARY), "collation object has the wrong strength"); in TestProperty() 351 …doAssert( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary differe… in TestProperty() 355 …doAssert( (ucol_getStrength(col) != UCOL_TERTIARY), "collation object's strength is secondary diff… in TestProperty() 356 …doAssert( (ucol_getStrength(col) != UCOL_PRIMARY), "collation object's strength is primary differe… in TestProperty() 357 doAssert( (ucol_getStrength(col) == UCOL_SECONDARY), "collation object has the wrong strength"); in TestProperty() 388 doAssert(u_strFindFirst(rules, tempLength, aa, 2) != NULL, in TestProperty() 398 doAssert( tempLength == 0x00, "getRulesEx() result incorrect" ); in TestProperty() 420 doAssert( (ucol_getStrength(col) != UCOL_TERTIARY), "collation object has the wrong strength"); in TestProperty() 421 …doAssert( (ucol_getStrength(col) == UCOL_PRIMARY), "collation object's strength is not primary dif… in TestProperty() [all …]
|
D | capitst.h | 34 static void doAssert(int condition, const char *message);
|
/external/mockito/src/test/java/org/mockitousage/junitrule/ |
D | StubbingWarningsJUnitRuleTest.java | 27 public void doAssert(Throwable t) { in no_unused_stubs_reported_on_failure() 42 public void doAssert(Throwable t) { in stubbing_arg_mismatch_on_failure() 61 public void doAssert(Throwable t) { in no_stubbing_arg_mismatch_when_no_mismatch_on_fail() 91 public void doAssert(Throwable t) { in multiple_stubbing_arg_mismatch_on_failure() 119 public void doAssert(Throwable t) { in reports_only_mismatching_stubs() 143 public void doAssert(Throwable t) { in no_mismatch_when_stub_was_used()
|
D | StrictJUnitRuleTest.java | 78 public void doAssert(Throwable t) { in fails_fast_when_stubbing_invoked_with_different_argument() 132 public void doAssert(Throwable t) { in unused_stubs_with_multiple_mocks()
|
/external/mockito/src/test/java/org/mockitoutil/ |
D | SafeJUnitRule.java | 36 failureAssert.doAssert(t); in apply() 52 public void doAssert(Throwable t) { 63 public void doAssert(Throwable t) { 91 void doAssert(Throwable t);
|
D | SafeJUnitRuleTest.java | 107 public void doAssert(Throwable t) { in expected_exception_assert_did_not_match()
|
/external/testng/src/test/java/test/assertion/ |
D | MyRawAssertion.java | 49 doAssert(new IAssert() { in myAssert() 56 public void doAssert() { in myAssert()
|