forked from D-Net/dnet-hadoop
[Clean Country] added test to verify remove of country
This commit is contained in:
parent
dc0ec88a58
commit
8685eaa706
|
@ -167,7 +167,7 @@ public class CleanCountryTest {
|
||||||
"--isSparkSessionManaged", Boolean.FALSE.toString(),
|
"--isSparkSessionManaged", Boolean.FALSE.toString(),
|
||||||
"--inputPath", workingDir.toString() + "/dataset",
|
"--inputPath", workingDir.toString() + "/dataset",
|
||||||
"-graphTableClassName", Dataset.class.getCanonicalName(),
|
"-graphTableClassName", Dataset.class.getCanonicalName(),
|
||||||
"-workingPath", workingDir.toString() + "/working",
|
"-workingDir", workingDir.toString() + "/working",
|
||||||
"-country", "NL",
|
"-country", "NL",
|
||||||
"-verifyParam", "10.17632",
|
"-verifyParam", "10.17632",
|
||||||
"-collectedfrom", "NARCIS",
|
"-collectedfrom", "NARCIS",
|
||||||
|
@ -183,6 +183,8 @@ public class CleanCountryTest {
|
||||||
|
|
||||||
Assertions.assertEquals(1, tmp.count());
|
Assertions.assertEquals(1, tmp.count());
|
||||||
|
|
||||||
|
Assertions.assertEquals(0, tmp.first().getCountry().size());
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue