Search in sources :

Example 6 with RealSystemAccess

use of org.kie.workbench.common.migration.cli.RealSystemAccess in project kie-wb-common by kiegroup.

the class FormDefinitionGeneratorWithUnsupportedFieldsTest method doInit.

@Override
protected void doInit() throws Exception {
    List<FormMigrationSummary> summaries = new ArrayList<>();
    initForm(form -> userForm = form, DATAOBJECTS_RESOURCES, USER_WITH_UNSUPPORTED_FIELDS, userFormPath);
    summaries.add(new FormMigrationSummary(new Resource<>(userForm, userFormPath)));
    context = new MigrationContext(workspaceProject, weldContainer, migrationServicesCDIWrapper, new RealSystemAccess(), summaries);
}
Also used : MigrationContext(org.kie.workbench.common.forms.migration.tool.pipelines.MigrationContext) RealSystemAccess(org.kie.workbench.common.migration.cli.RealSystemAccess) FormMigrationSummary(org.kie.workbench.common.forms.migration.tool.FormMigrationSummary) ArrayList(java.util.ArrayList) Resource(org.kie.workbench.common.forms.migration.tool.Resource)

Aggregations

ArrayList (java.util.ArrayList)6 FormMigrationSummary (org.kie.workbench.common.forms.migration.tool.FormMigrationSummary)6 Resource (org.kie.workbench.common.forms.migration.tool.Resource)6 MigrationContext (org.kie.workbench.common.forms.migration.tool.pipelines.MigrationContext)6 RealSystemAccess (org.kie.workbench.common.migration.cli.RealSystemAccess)6