mirror of
https://github.com/Kingsrook/qqq.git
synced 2025-07-18 13:10:44 +00:00
Updates for tests for min/max records
This commit is contained in:
@ -1304,7 +1304,7 @@ public class QInstanceValidatorTest extends BaseTest
|
|||||||
{
|
{
|
||||||
TableAutomationAction action = getAction0(qInstance);
|
TableAutomationAction action = getAction0(qInstance);
|
||||||
action.setCodeReference(null);
|
action.setCodeReference(null);
|
||||||
action.setProcessName(TestUtils.PROCESS_NAME_GREET_PEOPLE);
|
action.setProcessName(TestUtils.PROCESS_NAME_BASEPULL);
|
||||||
},
|
},
|
||||||
"different table");
|
"different table");
|
||||||
}
|
}
|
||||||
|
@ -1132,21 +1132,21 @@ public class TestUtils
|
|||||||
{
|
{
|
||||||
return new QProcessMetaData()
|
return new QProcessMetaData()
|
||||||
.withName(PROCESS_NAME_GREET_PEOPLE)
|
.withName(PROCESS_NAME_GREET_PEOPLE)
|
||||||
.withTableName(TABLE_NAME_PERSON)
|
.withTableName(TABLE_NAME_PERSON_MEMORY)
|
||||||
.addStep(new QBackendStepMetaData()
|
.addStep(new QBackendStepMetaData()
|
||||||
.withName("prepare")
|
.withName("prepare")
|
||||||
.withCode(new QCodeReference()
|
.withCode(new QCodeReference()
|
||||||
.withName(MockBackendStep.class.getName())
|
.withName(MockBackendStep.class.getName())
|
||||||
.withCodeType(QCodeType.JAVA))
|
.withCodeType(QCodeType.JAVA))
|
||||||
.withInputData(new QFunctionInputMetaData()
|
.withInputData(new QFunctionInputMetaData()
|
||||||
.withRecordListMetaData(new QRecordListMetaData().withTableName(TABLE_NAME_PERSON))
|
.withRecordListMetaData(new QRecordListMetaData().withTableName(TABLE_NAME_PERSON_MEMORY))
|
||||||
.withFieldList(List.of(
|
.withFieldList(List.of(
|
||||||
new QFieldMetaData("greetingPrefix", QFieldType.STRING),
|
new QFieldMetaData("greetingPrefix", QFieldType.STRING),
|
||||||
new QFieldMetaData("greetingSuffix", QFieldType.STRING)
|
new QFieldMetaData("greetingSuffix", QFieldType.STRING)
|
||||||
)))
|
)))
|
||||||
.withOutputMetaData(new QFunctionOutputMetaData()
|
.withOutputMetaData(new QFunctionOutputMetaData()
|
||||||
.withRecordListMetaData(new QRecordListMetaData()
|
.withRecordListMetaData(new QRecordListMetaData()
|
||||||
.withTableName(TABLE_NAME_PERSON)
|
.withTableName(TABLE_NAME_PERSON_MEMORY)
|
||||||
.withField(new QFieldMetaData("fullGreeting", QFieldType.STRING))
|
.withField(new QFieldMetaData("fullGreeting", QFieldType.STRING))
|
||||||
)
|
)
|
||||||
.withFieldList(List.of(new QFieldMetaData("outputMessage", QFieldType.STRING))))
|
.withFieldList(List.of(new QFieldMetaData("outputMessage", QFieldType.STRING))))
|
||||||
|
Reference in New Issue
Block a user