use of org.codice.alliance.transformer.nitf.MetacardFactory in project alliance by codice.
the class NitfGmtiTransformerTest method setUp.
@Before
public void setUp() {
this.metacardFactory = new MetacardFactory();
metacardFactory.setMetacardType(new MetacardTypeImpl(GMTI_METACARD, metacardTypeList));
this.nitfHeaderTransformer = new NitfHeaderTransformer();
this.nitfGmtiTransformer = new NitfGmtiTransformer();
this.nitfGmtiTransformer.setGeometryFactory(new GeometryFactory());
TreUtilityTest.createFileIfNecessary(GMTI_TEST_NITF, TreUtilityTest::createNitfNoImageTres);
NitfTestCommons.setupNitfUtilities("US", Collections.singletonList("USA"));
}
use of org.codice.alliance.transformer.nitf.MetacardFactory in project alliance by codice.
the class NitfHeaderTransformerTest method setUp.
@Before
public void setUp() {
nitfHeaderTransformer = new NitfHeaderTransformer();
metacardFactory = new MetacardFactory();
metacardFactory.setMetacardType(new ImageMetacardType());
}
use of org.codice.alliance.transformer.nitf.MetacardFactory in project alliance by codice.
the class ImageInputTransformerTest method createTransformer.
@Before
public void createTransformer() throws UnsupportedQueryException, SourceUnavailableException, FederationException {
transformer = new NitfImageTransformer();
metacardFactory = new MetacardFactory();
metacardFactory.setMetacardType(new ImageMetacardType());
headerTransformer = new NitfHeaderTransformer();
NitfTestCommons.setupNitfUtilities(TEST_CLASSIFICATION_SYSTEM, Collections.singletonList("USA"));
}
Aggregations