public abstract class AbstractFunctionalityTestCase extends Object
| Modifier and Type | Field and Description |
|---|---|
private String |
description |
private static String |
ERROR_MESSAGE_FORMAT |
private String |
expectedOutput |
private Long |
id |
private String |
inputParam |
private String |
name |
private com.metaring.framework.type.series.TextSeries |
persistenceEpilogueVerifications |
private com.metaring.framework.type.series.TextSeries |
persistencePreambleActions |
private static CoreTestsBatterySupervisor |
SUPERVISOR |
private String |
title |
| Constructor and Description |
|---|
AbstractFunctionalityTestCase(String title,
String description,
String inputParam,
String expectedOutput,
com.metaring.framework.type.series.TextSeries persistencePreambleActions,
com.metaring.framework.type.series.TextSeries persistenceEpilogueVerifications) |
| Modifier and Type | Method and Description |
|---|---|
void |
after() |
private void |
assertResult(com.metaring.framework.rpc.RpcResponse rpcResponse,
Consumer<List<String>> consumer) |
private static void |
await(CountDownLatch counter) |
void |
before() |
protected void |
performAfterTest() |
protected void |
performBeforeTest() |
private void |
performPreambleThenTest(CountDownLatch counter,
List<String> errorMessages) |
private void |
performPreambleThenTest(CountDownLatch counter,
List<String> errorMessages,
Integer i) |
private void |
performTest(CountDownLatch counter,
List<String> errorMessages) |
void |
test() |
private void |
verifyEpilogueQueriesThenAccept(Consumer<List<String>> consumer,
List<String> errorMessages) |
private void |
verifyEpilogueQueriesThenAccept(Consumer<List<String>> consumer,
List<String> errorMessages,
Integer i) |
private void |
verifyResult(List<String> errorMessages,
String propertyName,
com.metaring.framework.type.DataRepresentation expectedJson,
com.metaring.framework.type.DataRepresentation resultJson) |
private static final CoreTestsBatterySupervisor SUPERVISOR
private static final String ERROR_MESSAGE_FORMAT
private Long id
private String name
private String inputParam
private String expectedOutput
private String title
private String description
private com.metaring.framework.type.series.TextSeries persistencePreambleActions
private com.metaring.framework.type.series.TextSeries persistenceEpilogueVerifications
public final void before()
public final void test()
private final void performPreambleThenTest(CountDownLatch counter, List<String> errorMessages)
private final void performPreambleThenTest(CountDownLatch counter, List<String> errorMessages, Integer i)
private final void performTest(CountDownLatch counter, List<String> errorMessages)
private final void assertResult(com.metaring.framework.rpc.RpcResponse rpcResponse,
Consumer<List<String>> consumer)
private final void verifyEpilogueQueriesThenAccept(Consumer<List<String>> consumer, List<String> errorMessages)
private final void verifyEpilogueQueriesThenAccept(Consumer<List<String>> consumer, List<String> errorMessages, Integer i)
private final void verifyResult(List<String> errorMessages, String propertyName, com.metaring.framework.type.DataRepresentation expectedJson, com.metaring.framework.type.DataRepresentation resultJson)
public final void after()
private static final void await(CountDownLatch counter)
Copyright © 2019. All rights reserved.