Revision 57203
Added by Alessia Bardi over 4 years ago
XsltRowTransformerFactoryTest.java | ||
---|---|---|
600 | 600 |
doTest(loadFromTransformationProfile("oaf2hbase.xml"), load("journalRecord.xml")); |
601 | 601 |
} |
602 | 602 |
|
603 |
@Test |
|
604 |
public void testSygmaDatacite() throws Exception { |
|
605 |
|
|
606 |
final List<Row> rows = Lists.newArrayList(); |
|
607 |
rows.addAll(asRows(loadFromTransformationProfile("odf2hbase.xml"), load("sygma_datacite.xml"))); |
|
608 |
rows.addAll(asRows(loadFromTransformationProfile("projects_2_hbase.xsl"), load("projectRecordCorda.xml"))); |
|
609 |
|
|
610 |
printAll(mapAll(buildTable(rows))); |
|
611 |
} |
|
612 |
|
|
603 | 613 |
private void doTestJsonRow(final String json) throws Exception { |
604 | 614 |
Row row = asRowFromJson(json); |
605 | 615 |
log.info(row); |
Also available in: Unified diff
Testing sygma