use of org.openforis.collect.relational.model.Dataset in project collect by openforis.
the class RelationalDataConverterTest method testGenerator.
@Test
public void testGenerator() throws Exception {
RelationalSchemaGenerator rsg = new RelationalSchemaGenerator();
RelationalSchema rs = rsg.generateSchema(survey, "archenland1");
List<Table<?>> tables = rs.getTables();
CollectRecord record = createTestRecord(survey, "123_456");
Dataset data = rs.createDataset(record);
data.print(System.out);
// TODO proper integration test
}
Aggregations