Revision 52543
Added by Alessia Bardi over 6 years ago
modules/dnet-mapreduce-jobs/branches/beta/src/test/java/eu/dnetlib/data/transform/XsltRowTransformerFactoryTest.java | ||
---|---|---|
64 | 64 |
} |
65 | 65 |
|
66 | 66 |
@Test |
67 |
public void testParseClaimRel() throws Exception { |
|
68 |
|
|
69 |
doTest(loadFromTransformationProfile("claimRels_2_hbase.xml"), load("recordClaimRel.xml")); |
|
70 |
} |
|
71 |
|
|
72 |
|
|
73 |
@Test |
|
67 | 74 |
public void testParseFp7IctPUB() throws Exception { |
68 | 75 |
|
69 | 76 |
doTest(loadFromTransformationProfile("oaf2hbase.xml"), load("ec_fp7_ict.xml")); |
... | ... | |
117 | 124 |
doTest(loadFromTransformationProfile("odf2hbase.xml"), load("recordClaimDataset.xml")); |
118 | 125 |
} |
119 | 126 |
|
127 |
|
|
128 |
|
|
120 | 129 |
@Test |
121 | 130 |
public void testParseACM() throws Exception { |
122 | 131 |
|
modules/dnet-mapreduce-jobs/branches/beta/src/test/resources/eu/dnetlib/data/transform/recordClaimRel.xml | ||
---|---|---|
1 |
<ROW> |
|
2 |
<FIELD name="provenance">user:claim:search</FIELD> |
|
3 |
<RELATIONS> |
|
4 |
<RELATION type="resultProject" source="50|od______2659::2033e61a9b87d777724003384d61dc59" target="40|corda__h2020::3879ce7a8441d1a0a9576a22357fd290"/> |
|
5 |
</RELATIONS> |
|
6 |
</ROW> |
Also available in: Unified diff
Test for claimed relationship