• Home
  • Raw
  • Download

Lines Matching refs:monitor

27 import vogar.monitor.TargetMonitor;
45 private TargetMonitor monitor; field in JUnitRunnerTest
51 monitor = mock(TargetMonitor.class); in setUp()
72 runner.init(monitor, "", null, target, skipPastReference, testEnvironment, 0, false); in test_init_and_run_for_SimpleTest_should_perform_test()
75 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SimpleTest_should_perform_test()
77 verify(monitor).outcomeFinished(Result.SUCCESS); in test_init_and_run_for_SimpleTest_should_perform_test()
82 runner.init(monitor, "", null, target, skipPastReference, testEnvironment, 0, false); in test_init_and_run_for_SuiteTest_should_perform_tests()
85 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SuiteTest_should_perform_tests()
87 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SuiteTest_should_perform_tests()
89 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SuiteTest_should_perform_tests()
91 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SuiteTest_should_perform_tests()
93 verify(monitor, times(4)).outcomeFinished(Result.SUCCESS); in test_init_and_run_for_SuiteTest_should_perform_tests()
99 … runner.init(monitor, actionName, null, target, skipPastReference, testEnvironment, 0, false); in test_init_and_run_for_SimpleTest2_with_ActionName_should_perform_test()
102 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SimpleTest2_with_ActionName_should_perform_test()
104 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SimpleTest2_with_ActionName_should_perform_test()
106 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SimpleTest2_with_ActionName_should_perform_test()
108 verify(monitor, times(3)).outcomeFinished(Result.SUCCESS); in test_init_and_run_for_SimpleTest2_with_ActionName_should_perform_test()
114 … runner.init(monitor, actionName, null, target, skipPastReference, testEnvironment, 0, false); in test_init_and_run_for_SimpleTest2_limitting_to_1method_should_perform_test()
117 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SimpleTest2_limitting_to_1method_should_perform_test()
119 verify(monitor).outcomeFinished(Result.SUCCESS); in test_init_and_run_for_SimpleTest2_limitting_to_1method_should_perform_test()
125 … runner.init(monitor, actionName, null, target, skipPastReference, testEnvironment, 0, false); in test_init_and_run_for_SimpleTest2_limitting_to_2methods_should_perform_test()
128 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SimpleTest2_limitting_to_2methods_should_perform_test()
130 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SimpleTest2_limitting_to_2methods_should_perform_test()
132 verify(monitor, times(2)).outcomeFinished(Result.SUCCESS); in test_init_and_run_for_SimpleTest2_limitting_to_2methods_should_perform_test()
138 …runner.init(monitor, actionName, "testSimple2", target, skipPastReference, testEnvironment, 0, fal… in test_init_limitting_to_1method_and_run_for_SimpleTest2_should_perform_test()
141 verify(monitor).outcomeStarted(runner, in test_init_limitting_to_1method_and_run_for_SimpleTest2_should_perform_test()
143 verify(monitor).outcomeFinished(Result.SUCCESS); in test_init_limitting_to_1method_and_run_for_SimpleTest2_should_perform_test()
151 … runner.init(monitor, "", "testSimple", target, skipPastReference, testEnvironment, 0, false); in test_init_limitting_to_1method_and_run_for_SuiteTest_should_throw_exception()
164 …runner.init(monitor, actionName, "testSimple5", target, skipPastReference, testEnvironment, 0, fal… in test_init_limitting_to_wrong_1method_and_run_for_SimpleTest2_should_fail_test()
167 verify(monitor).outcomeStarted(runner, in test_init_limitting_to_wrong_1method_and_run_for_SimpleTest2_should_fail_test()
169 verify(monitor).outcomeFinished(Result.EXEC_FAILED); in test_init_limitting_to_wrong_1method_and_run_for_SimpleTest2_should_fail_test()
180 …runner.init(monitor, actionName, "testSimple3", target, skipPastReference, testEnvironment, 0, fal… in test_init_and_run_for_SimpleTest2_limitting_to_1method_with_both_init_and_run_should_perform_test()
183 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_SimpleTest2_limitting_to_1method_with_both_init_and_run_should_perform_test()
185 verify(monitor).outcomeFinished(Result.SUCCESS); in test_init_and_run_for_SimpleTest2_limitting_to_1method_with_both_init_and_run_should_perform_test()
195 … runner.init(monitor, actionName, null, target, skipPastReference, testEnvironment, 0, false); in test_init_and_run_for_FailTest_should_perform_test()
198 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_FailTest_should_perform_test()
200 verify(monitor).outcomeStarted(runner, target.getName() + "#testFail", in test_init_and_run_for_FailTest_should_perform_test()
202 verify(monitor).outcomeStarted(runner, in test_init_and_run_for_FailTest_should_perform_test()
204 verify(monitor).outcomeFinished(Result.SUCCESS); in test_init_and_run_for_FailTest_should_perform_test()
205 verify(monitor, times(2)).outcomeFinished(Result.EXEC_FAILED); in test_init_and_run_for_FailTest_should_perform_test()
220 … runner.init(monitor, actionName, null, target, skipPastReference, testEnvironment, 0, false); in test_init_and_run_for_LongTest_with_time_limit_should_report_time_out()
223 verify(monitor).outcomeStarted(runner, target.getName() + "#test", in test_init_and_run_for_LongTest_with_time_limit_should_report_time_out()
225 verify(monitor).outcomeFinished(Result.EXEC_FAILED); in test_init_and_run_for_LongTest_with_time_limit_should_report_time_out()
235 … runner.init(monitor, actionName, null, target, skipPastReference, testEnvironment, 0, false); in test_init_and_run_for_LongTest2_with_time_limit_should_not_report_time_out()
238 verify(monitor, times(8)).outcomeFinished(Result.SUCCESS); in test_init_and_run_for_LongTest2_with_time_limit_should_not_report_time_out()