-
- All Implemented Interfaces:
-
com.kaspersky.kaspresso.testcases.core.testassistants.TestAssistantsProvider
public abstract class TestCase extends BaseTestCase<Unit, Unit>
The base class for all test cases. Extend this class with a single base project-wide inheritor of TestCase as a parent for all actual project-wide test cases. Nesting test cases are not permitted because they may produce an exception caused by re-initialization of the Kaspresso, use com.kaspersky.kaspresso.testcases.api.scenario.Scenario instead.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringtestCaseNameprivate final TestAssistantsProviderImpltestAssistantsProviderprivate final AdbServeradbServerprivate final Devicedeviceprivate final UiTestLoggertestLoggerprivate final Paramsparamsprivate final Function1<Function1<Unit, Unit>, Unit>dataProducerprivate final List<MainSectionEnricher<Unit>>mainSectionEnrichers
-
Constructor Summary
Constructors Constructor Description TestCase(Kaspresso.Builder kaspressoBuilder)
-
Method Summary
Modifier and Type Method Description final StringgetTestCaseName()final TestAssistantsProviderImplgetTestAssistantsProvider()AdbServergetAdbServer()DevicegetDevice()UiTestLoggergetTestLogger()ParamsgetParams()final Function1<Function1<Unit, Unit>, Unit>getDataProducer()final List<MainSectionEnricher<Unit>>getMainSectionEnrichers()-
Methods inherited from class com.kaspersky.kaspresso.testcases.api.testcase.TestCase
createBaseTestBodyBuilder -
Methods inherited from class com.kaspersky.kaspresso.testcases.core.testassistants.TestAssistantsProvider
equals, hashCode, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getTestCaseName
final String getTestCaseName()
-
getTestAssistantsProvider
final TestAssistantsProviderImpl getTestAssistantsProvider()
-
getAdbServer
AdbServer getAdbServer()
-
getTestLogger
UiTestLogger getTestLogger()
-
getDataProducer
final Function1<Function1<Unit, Unit>, Unit> getDataProducer()
-
getMainSectionEnrichers
final List<MainSectionEnricher<Unit>> getMainSectionEnrichers()
-
-
-
-