Package ru.yandex.qatools.allure.events

Examples of ru.yandex.qatools.allure.events.TestCaseFinishedEvent


    @Test
    public void testFinishedTest() throws Exception {
        Description description = mock(Description.class);
        runListener.testFinished(description);
        verify(allure).fire(eq(new TestCaseFinishedEvent()));
    }
View Full Code Here


        assertThat(testCase.getName(), is("some.case.name"));
        return testCase;
    }

    public void fireTestCaseFinished() {
        Allure.LIFECYCLE.fire(new TestCaseFinishedEvent());
    }
View Full Code Here

        assertThat(listener.get(SimpleListener.EventType.TESTCASE_EVENT), is(1));
    }

    @Test
    public void testcaseFinishedEventTest() throws Exception {
        allure.fire(new TestCaseFinishedEvent());
        assertThat(listener.get(SimpleListener.EventType.TESTCASE_FINISHED_EVENT), is(1));
    }
View Full Code Here

    private String getCurrentSuitePrefix(ITestResult iTestResult) {
        return "{" + getCurrentSuiteTitle(iTestResult.getTestContext()) + "}";
    }
   
    private void fireFinishTest() {
        getLifecycle().fire(new TestCaseFinishedEvent());
    }
View Full Code Here

        finishFakeTestCase();
    }

    @Override
    public void testFinished(Description description) {
        getLifecycle().fire(new TestCaseFinishedEvent());
    }
View Full Code Here

        fireClearStepStorage();
        getLifecycle().fire(event);
    }

    public void finishFakeTestCase() {
        getLifecycle().fire(new TestCaseFinishedEvent());
    }
View Full Code Here

TOP

Related Classes of ru.yandex.qatools.allure.events.TestCaseFinishedEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.