- ga($receiver) - Static method in class ai.tock.bot.test.ConnectorHelpersKt
-
The Google Assistant message if any.
- genericMessage() - Method in class ai.tock.bot.test.BotBusMockLog
-
Convert current BotBusLog action first message to a generic message
- getAction() - Method in class ai.tock.bot.test.BotBusMock
-
- getAction() - Method in class ai.tock.bot.test.BotBusMockLog
-
The action sent.
- getAnswers() - Method in class ai.tock.bot.test.BotBusMock
-
The list of all bot answers recorded.
- getAnswers() - Method in class ai.tock.bot.test.BotBusMockContext
-
The list of all bot answers recorded.
- getApplicationId() - Method in class ai.tock.bot.test.BotBusMock
-
- getApplicationId() - Method in class ai.tock.bot.test.BotBusMockContext
-
- getBotAnswerInterceptors() - Method in class ai.tock.bot.test.TestContext
-
The bot answer interceptors to apply.
- getBotBusMockContext() - Method in class ai.tock.bot.test.TestContext
-
The context of the bus.
- getBotDefinition() - Method in class ai.tock.bot.test.BotBusMock
-
- getBotDefinition() - Method in class ai.tock.bot.test.BotBusMockContext
-
- getBotDefinition() - Method in class ai.tock.bot.test.junit.TockJUnit4Rule
-
- getBotDefinition() - Method in class ai.tock.bot.test.junit.TockJUnit5ExtensionBase
-
- getBotId() - Method in class ai.tock.bot.test.BotBusMock
-
- getBotId() - Method in class ai.tock.bot.test.BotBusMockContext
-
- getBusAnswers() - Method in class ai.tock.bot.test.BotBusMock
-
The list of bot answers for this bus.
- getBusContextValue(name) - Method in class ai.tock.bot.test.BotBusMock
-
Returns the non persistent current value.
- getConnectorData() - Method in class ai.tock.bot.test.BotBusMock
-
- getConnectorType() - Method in class ai.tock.bot.test.BotBusMock
-
- getConnectorType() - Method in class ai.tock.bot.test.BotBusMockContext
-
- getContext() - Method in class ai.tock.bot.test.BotBusMock
-
- getCurrentAnswerIndex() - Method in class ai.tock.bot.test.BotBusMock
-
- getCurrentTestContext() - Static method in class ai.tock.bot.test.TestIocKt
-
- getDefaultTestConnectorType() - Static method in class ai.tock.bot.test.TestConfigurationKt
-
Default connector used for tests.
- getDelay() - Method in class ai.tock.bot.test.BotBusMockLog
-
The delay before the action is sent.
- getDialog() - Method in class ai.tock.bot.test.BotBusMock
-
- getDialog() - Method in class ai.tock.bot.test.BotBusMockContext
-
- getEntities() - Method in class ai.tock.bot.test.BotBusMock
-
- getFirstAction() - Method in class ai.tock.bot.test.BotBusMockContext
-
- getFirstAnswer() - Method in class ai.tock.bot.test.BotBusMock
-
The first answer recorded.
- getFirstAnswer() - Method in class ai.tock.bot.test.BotBusMockContext
-
The first answer recorded.
- getFirstBusAnswer() - Method in class ai.tock.bot.test.BotBusMock
-
The first answer for this bus.
- getI18nProvider() - Method in class ai.tock.bot.test.BotBusMock
-
- getI18nProvider() - Method in class ai.tock.bot.test.BotBusMockContext
-
- getInitialUserPreferences() - Method in class ai.tock.bot.test.BotBusMockContext
-
- getIntent() - Method in class ai.tock.bot.test.BotBusMock
-
- getLastAnswer() - Method in class ai.tock.bot.test.BotBusMock
-
The last answer recorded.
- getLastAnswer() - Method in class ai.tock.bot.test.BotBusMockContext
-
The last answer recorded.
- getLastBusAnswer() - Method in class ai.tock.bot.test.BotBusMock
-
The last answer for this bus.
- getLifecycle() - Method in class ai.tock.bot.test.junit.TockJUnit4Rule
-
- getLifecycle() - Method in class ai.tock.bot.test.junit.TockJUnit5ExtensionBase
-
- getMockedBotApplicationConfigurationDAO() - Method in class ai.tock.bot.test.TestContext
-
Default mocked BotApplicationConfigurationDAO.
- getMockedDialogFlowDAO() - Method in class ai.tock.bot.test.TestContext
-
Default mocked UserLock.
- getMockedDialogReportDAO() - Method in class ai.tock.bot.test.TestContext
-
Default mocked DialogReportDAO.
- getMockedFeatureDAO() - Method in class ai.tock.bot.test.TestContext
-
Default mocked UserLock.
- getMockedI18nDAO() - Method in class ai.tock.bot.test.TestContext
-
Default mocked I18nDAO.
- getMockedNlpClient() - Method in class ai.tock.bot.test.TestContext
-
Default mocked NlpClient.
- getMockedNlpController() - Method in class ai.tock.bot.test.TestContext
-
Default newMocked NlpController.
- getMockedStoryDefinitionConfigurationDAO() - Method in class ai.tock.bot.test.TestContext
-
Default mocked StoryDefinitionConfigurationDAO.
- getMockedTestPlanDAO() - Method in class ai.tock.bot.test.TestContext
-
Default mocked TestPlanDAO.
- getMockedUserLock() - Method in class ai.tock.bot.test.TestContext
-
Default mocked UserLock.
- getMockedUserReportDAO() - Method in class ai.tock.bot.test.TestContext
-
Default mocked UserReportDAO.
- getMockedUserTimelineDAO() - Method in class ai.tock.bot.test.TestContext
-
Default mocked UserTimelineDAO.
- getNextUserActionState() - Method in class ai.tock.bot.test.BotBusMock
-
- getSecondAnswer() - Method in class ai.tock.bot.test.BotBusMock
-
The second answer recorded.
- getSecondAnswer() - Method in class ai.tock.bot.test.BotBusMockContext
-
The second answer recorded.
- getSecondBusAnswer() - Method in class ai.tock.bot.test.BotBusMock
-
The second answer for this bus.
- getSnapshots() - Method in class ai.tock.bot.test.BotBusMockContext
-
- getStory() - Method in class ai.tock.bot.test.BotBusMock
-
- getStory() - Method in class ai.tock.bot.test.BotBusMockContext
-
- getStoryHandlerListeners() - Method in class ai.tock.bot.test.TestContext
-
The story handler listeners to apply.
- getTargetConnectorType() - Method in class ai.tock.bot.test.BotBusMock
-
- getTestContext() - Method in class ai.tock.bot.test.BotBusMockContext
-
- getTestContext() - Method in class ai.tock.bot.test.junit.TockJUnit4Rule
-
- getTestContext() - Method in class ai.tock.bot.test.junit.TockJUnit5ExtensionBase
-
- getTestContext() - Method in class ai.tock.bot.test.TestLifecycle
-
- getTestInjector() - Method in class ai.tock.bot.test.TestContext
-
KodeinInjector used in tests.
- getTestKodein() - Method in class ai.tock.bot.test.TestContext
-
The test Kodein injected.
- getTestModules() - Static method in class ai.tock.bot.test.TestIocKt
-
- getTestTranslatorModule() - Static method in class ai.tock.bot.test.TestIocKt
-
Module containing TranslatorEngine.
- getThirdAnswer() - Method in class ai.tock.bot.test.BotBusMock
-
The third answer recorded.
- getThirdAnswer() - Method in class ai.tock.bot.test.BotBusMockContext
-
The third answer recorded.
- getThirdBusAnswer() - Method in class ai.tock.bot.test.BotBusMock
-
The third answer for this bus.
- getTranslator() - Method in class ai.tock.bot.test.BotBusMock
-
The translator used to translate labels - default is NoOp.
- getUnderlyingConnector() - Method in class ai.tock.bot.test.BotBusMock
-
- getUserId() - Method in class ai.tock.bot.test.BotBusMock
-
- getUserId() - Method in class ai.tock.bot.test.BotBusMockContext
-
- getUserInterfaceType() - Method in class ai.tock.bot.test.BotBusMock
-
- getUserInterfaceType() - Method in class ai.tock.bot.test.BotBusMockContext
-
- getUserLocale() - Method in class ai.tock.bot.test.BotBusMock
-
- getUserPreferences() - Method in class ai.tock.bot.test.BotBusMock
-
- getUserPreferences() - Method in class ai.tock.bot.test.BotBusMockContext
-
- getUserTimeline() - Method in class ai.tock.bot.test.BotBusMock
-
- getUserTimeline() - Method in class ai.tock.bot.test.BotBusMockContext
-
- selectChoice(busMockLog, buttonTitle, tests) - Method in class ai.tock.bot.test.junit.TockJUnit5ExtensionBase
-
Sends a message simulating a click on action of a previous bus log and execute the tests.
- selectElementChoice(busMockLog, elementIndex, buttonTitle, tests) - Method in class ai.tock.bot.test.junit.TockJUnit5ExtensionBase
-
Sends a message simulating a click on action of an element in previous bus log and execute the tests.
- send(action, delay) - Method in class ai.tock.bot.test.BotBusMock
-
- send(text, intent, entities, connectorType, userInterfaceType, locale, userId, botId, userPreferences, metadata, tests) - Method in class ai.tock.bot.test.junit.TockJUnit5ExtensionBase
-
Sends a sentence and execute the tests.
- send(intent, connectorType, userInterfaceType, locale, userId, botId, userPreferences, actionProvider, tests) - Method in class ai.tock.bot.test.junit.TockJUnit5ExtensionBase
-
Sends an action and execute the tests.
- sendAction(action, delay) - Method in class ai.tock.bot.test.BotBusMock
-
- sendChoice(intent, parameters, connectorType, userInterfaceType, locale, userId, botId, userPreferences, tests) - Method in class ai.tock.bot.test.junit.TockJUnit5ExtensionBase
-
Sends a choice and execute the tests.
- sendMessage(intent, message, connectorType, userInterfaceType, locale, userId, botId, userPreferences, tests) - Method in class ai.tock.bot.test.junit.TockJUnit5ExtensionBase
-
Sends a message and execute the tests.
- sendRawText(plainText, delay) - Method in class ai.tock.bot.test.BotBusMock
-
- sentence(text, entityValues) - Method in class ai.tock.bot.test.BotBusMockContext
-
Create a new sentence for this context.
- sentence(text, entityValues) - Method in class ai.tock.bot.test.BotBusMockContext
-
Create a new sentence for this context.
- sentence(text, intent, entityValues) - Method in class ai.tock.bot.test.BotBusMockContext
-
Create a new sentence for this context.
- sentence(text, intent, entityValues) - Method in class ai.tock.bot.test.BotBusMockContext
-
Create a new sentence for this context.
- sentence(message, entityValues) - Method in class ai.tock.bot.test.BotBusMockContext
-
Create a new sentence for this context.
- sentence(message, entityValues) - Method in class ai.tock.bot.test.BotBusMockContext
-
Create a new sentence for this context.
- sentence(message, intent, entityValues) - Method in class ai.tock.bot.test.BotBusMockContext
-
Create a new sentence for this context.
- sentence(message, intent, entityValues) - Method in class ai.tock.bot.test.BotBusMockContext
-
Create a new sentence for this context.
- setBotBusMockContext(p) - Method in class ai.tock.bot.test.TestContext
-
The context of the bus.
- setBotDefinition(value) - Method in class ai.tock.bot.test.BotBusMock
-
- setBotDefinition(p) - Method in class ai.tock.bot.test.BotBusMockContext
-
- setBusContextValue(key, value) - Method in class ai.tock.bot.test.BotBusMock
-
Update the non persistent current value.
- setConnectorData(p) - Method in class ai.tock.bot.test.BotBusMock
-
- setConnectorType(value) - Method in class ai.tock.bot.test.BotBusMock
-
- setConnectorType(p) - Method in class ai.tock.bot.test.BotBusMockContext
-
- setCurrentTestContext(p) - Static method in class ai.tock.bot.test.TestIocKt
-
- setDefaultTestConnectorType(p) - Static method in class ai.tock.bot.test.TestConfigurationKt
-
Default connector used for tests.
- setDialog(value) - Method in class ai.tock.bot.test.BotBusMock
-
- setDialog(p) - Method in class ai.tock.bot.test.BotBusMockContext
-
- setFirstAction(p) - Method in class ai.tock.bot.test.BotBusMockContext
-
- setI18nProvider(value) - Method in class ai.tock.bot.test.BotBusMock
-
- setI18nProvider(p) - Method in class ai.tock.bot.test.BotBusMockContext
-
- setIntent(value) - Method in class ai.tock.bot.test.BotBusMock
-
- setMockedBotApplicationConfigurationDAO(p) - Method in class ai.tock.bot.test.TestContext
-
Default mocked BotApplicationConfigurationDAO.
- setMockedDialogFlowDAO(p) - Method in class ai.tock.bot.test.TestContext
-
Default mocked UserLock.
- setMockedDialogReportDAO(p) - Method in class ai.tock.bot.test.TestContext
-
Default mocked DialogReportDAO.
- setMockedFeatureDAO(p) - Method in class ai.tock.bot.test.TestContext
-
Default mocked UserLock.
- setMockedI18nDAO(p) - Method in class ai.tock.bot.test.TestContext
-
Default mocked I18nDAO.
- setMockedNlpClient(p) - Method in class ai.tock.bot.test.TestContext
-
Default mocked NlpClient.
- setMockedNlpController(p) - Method in class ai.tock.bot.test.TestContext
-
Default newMocked NlpController.
- setMockedStoryDefinitionConfigurationDAO(p) - Method in class ai.tock.bot.test.TestContext
-
Default mocked StoryDefinitionConfigurationDAO.
- setMockedTestPlanDAO(p) - Method in class ai.tock.bot.test.TestContext
-
Default mocked TestPlanDAO.
- setMockedUserLock(p) - Method in class ai.tock.bot.test.TestContext
-
Default mocked UserLock.
- setMockedUserReportDAO(p) - Method in class ai.tock.bot.test.TestContext
-
Default mocked UserReportDAO.
- setMockedUserTimelineDAO(p) - Method in class ai.tock.bot.test.TestContext
-
Default mocked UserTimelineDAO.
- setNextUserActionState(value) - Method in class ai.tock.bot.test.BotBusMock
-
- setStory(value) - Method in class ai.tock.bot.test.BotBusMock
-
- setStory(p) - Method in class ai.tock.bot.test.BotBusMockContext
-
- setTargetConnectorType(value) - Method in class ai.tock.bot.test.BotBusMock
-
- setTestTranslatorModule(p) - Static method in class ai.tock.bot.test.TestIocKt
-
Module containing TranslatorEngine.
- setUserInterfaceType(value) - Method in class ai.tock.bot.test.BotBusMock
-
- setUserInterfaceType(p) - Method in class ai.tock.bot.test.BotBusMockContext
-
- setUserTimeline(value) - Method in class ai.tock.bot.test.BotBusMock
-
- setUserTimeline(p) - Method in class ai.tock.bot.test.BotBusMockContext
-
- slack($receiver) - Static method in class ai.tock.bot.test.ConnectorHelpersKt
-
The Slack message if any.
- start() - Method in class ai.tock.bot.test.TestLifecycle
-
- startBusMock(testContext) - Static method in class ai.tock.bot.test.BotBusMockInitializersKt
-
Provides a mock context initialized with the specified
class TestContext and runs the story.
- startBusMock() - Method in class ai.tock.bot.test.junit.TockJUnit4Rule
-
Provides a mock context initialized with the current
testContext and runs the bus.
- startBusMock() - Method in class ai.tock.bot.test.junit.TockJUnit5ExtensionBase
-
Provides a mock context initialized with the current
testContext and runs the bus.
- startNewBusMock($receiver, testContext, story, connectorType, locale, userId) - Static method in class ai.tock.bot.test.BotBusMockInitializersKt
-
Provides a mock initialized with the specified StoryDefinition and starts the story.
- startNewBusMock(story, connectorType, locale, userId) - Method in class ai.tock.bot.test.junit.TockJUnit4Rule
-
Provides a mock initialized with the specified StoryDefinition and starts the story.
- startNewBusMock(story, connectorType, locale, userId) - Method in class ai.tock.bot.test.junit.TockJUnit5ExtensionBase
-
Provides a mock initialized with the specified StoryDefinition and starts the story.