Searched refs:JUnitResultAssert (Results 1 – 8 of 8) sorted by relevance
/external/mockito/src/test/java/org/mockitoutil/ |
D | JUnitResultAssert.java | 19 public class JUnitResultAssert { class 22 private JUnitResultAssert(Result result) { in JUnitResultAssert() method in JUnitResultAssert 38 public JUnitResultAssert fails(int expectedFailureCount, Class expectedException) { in fails() 52 public JUnitResultAssert fails(int expectedFailureCount) { in fails() 64 public JUnitResultAssert failsExactly(Class ... expectedExceptions) { in failsExactly() 83 public JUnitResultAssert fails(Class expectedException, String exceptionMessage) { in fails() 93 public JUnitResultAssert fails(String methodName, Class expectedException) { in fails() 106 …public JUnitResultAssert fails(int expectedFailureCount, String methodName, Class expectedExceptio… in fails() 111 public JUnitResultAssert succeeds(int successCount) { in succeeds() 136 public static JUnitResultAssert assertThat(Result result) { in assertThat() [all …]
|
/external/mockito/src/test/java/org/mockitousage/session/ |
D | MockitoSessionTest.java | 17 import org.mockitoutil.JUnitResultAssert; 37 JUnitResultAssert.assertThat(result).succeeds(1); in session_without_any_configuration() 45 JUnitResultAssert.assertThat(result).succeeds(1); in session_without_init_mocks_configured() 53 JUnitResultAssert.assertThat(result).succeeds(1); in session_without_strictness_configured() 61 JUnitResultAssert.assertThat(result).fails(1, UnfinishedStubbingException.class); in session_with_incorrect_mockito_usage() 69 JUnitResultAssert.assertThat(result) in reports_other_failure_and_incorrect_mockito_usage() 78 JUnitResultAssert.assertThat(result).succeeds(1); in allows_initializing_mocks_manually() 86 JUnitResultAssert.assertThat(result).succeeds(1); in allows_updating_strictness() 94 JUnitResultAssert.assertThat(result).isSuccessful(); in allows_overriding_failure()
|
/external/mockito/src/test/java/org/mockitousage/junitrunner/ |
D | SilentRunnerTest.java | 17 import org.mockitoutil.JUnitResultAssert; 36 JUnitResultAssert.assertThat(result).isSuccessful(); in passing_test() 45 JUnitResultAssert.assertThat(result).fails(1, TooLittleActualInvocations.class); in failing_test() 54 JUnitResultAssert.assertThat(result).fails(1, IllegalArgumentException.class); in failing_test_in_constructor() 63 …JUnitResultAssert.assertThat(result).fails(1, "unfinished_stubbing_test_method", UnfinishedStubbin… in validates_framework_usage() 72 JUnitResultAssert.assertThat(result).isSuccessful(); in ignores_unused_stubs()
|
D | StrictRunnerTest.java | 19 import org.mockitoutil.JUnitResultAssert; 39 JUnitResultAssert.assertThat(result).isSuccessful(); in succeeds_when_all_stubs_were_used() 51 JUnitResultAssert.assertThat(result).fails(3, UnnecessaryStubbingException.class); in fails_when_stubs_were_not_used() 59 JUnitResultAssert.assertThat(result).fails(1, MyAssertionError.class); in does_not_report_unused_stubs_when_different_failure_is_present() 70 JUnitResultAssert.assertThat(result).fails(1, UnnecessaryStubbingException.class); in runner_can_coexist_with_rule() 78 JUnitResultAssert.assertThat(result).isSuccessful(); in runner_in_multi_threaded_tests()
|
D | StrictStubsRunnerTest.java | 16 import org.mockitoutil.JUnitResultAssert; 29 JUnitResultAssert.assertThat(result) in detects_unnecessary_stubbings() 38 JUnitResultAssert.assertThat(result) in fails_fast_on_argument_mismatch()
|
D | StubbingWarningsJUnitRunnerTest.java | 21 import static org.mockitoutil.JUnitResultAssert.assertThat;
|
/external/mockito/src/test/java/org/mockitousage/junitrule/ |
D | MutableStrictJUnitRuleTest.java | 16 import org.mockitoutil.JUnitResultAssert; 29 JUnitResultAssert.assertThat(result) in rule_can_be_changed_to_strict() 39 JUnitResultAssert.assertThat(result) in rule_can_be_changed_to_lenient()
|
/external/mockito/src/test/java/org/mockitousage/stubbing/ |
D | StrictStubbingEndToEndTest.java | 26 import static org.mockitoutil.JUnitResultAssert.assertThat;
|