Examples of ClearStepStorageEvent


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

        when(description.getMethodName()).thenReturn("some.method.name");

        doReturn("some.uid").when(runListener).getSuiteUid(description);
        runListener.testStarted(description);

        inOrder(allure).verify(allure).fire(eq(new ClearStepStorageEvent()));
        inOrder(allure).verify(allure).fire(eq(
                withExecutorInfo(new TestCaseStartedEvent("some.uid", "some.method.name"))
        ));
    }
View Full Code Here

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

    private void fireClearTestStorage() {
        Allure.LIFECYCLE.fire(new ClearTestStorageEvent());
    }

    private void fireClearStepStorage() {
        Allure.LIFECYCLE.fire(new ClearStepStorageEvent());
    }
View Full Code Here

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

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

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

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

            getLifecycle().fire(new TestCaseFailureEvent().withThrowable(throwable));
        }
    }

    public void fireClearStepStorage() {
        getLifecycle().fire(new ClearStepStorageEvent());
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.