diff --git a/.idea/workspace.xml b/.idea/workspace.xml index db81f6f..a903dcf 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,7 @@ - + @@ -177,15 +177,39 @@ - + - + + + + + + + + + + + + + + + + + + + + + + + + + @@ -198,7 +222,7 @@ - + @@ -206,6 +230,15 @@ + + + + + + + + + @@ -220,19 +253,17 @@ - + - - + + - - - - + + @@ -288,12 +319,12 @@ @@ -308,10 +339,10 @@ - @@ -639,7 +670,7 @@ - + @@ -1569,14 +1680,14 @@ - + - + @@ -1598,7 +1709,6 @@ @@ -1633,25 +1744,6 @@ - - - - - - - - - - - - - - - - - - - @@ -1893,15 +1985,6 @@ - - - - - - - - - @@ -1916,44 +1999,60 @@ - + - + + + + + + + + - + - + - + - + - + - + + + + + - + - - - - + + + + + + + + + @@ -1966,30 +2065,46 @@ - + - + - + - + - + - + + + + + + + + + + - + + + + + + + + - + diff --git a/bakemono/src/test/java/com/ontology2/bakemono/entityCentric/ExtractIsAToolTest.java b/bakemono/src/test/java/com/ontology2/bakemono/entityCentric/ExtractIsAToolTest.java index 01fc1c1..189942a 100644 --- a/bakemono/src/test/java/com/ontology2/bakemono/entityCentric/ExtractIsAToolTest.java +++ b/bakemono/src/test/java/com/ontology2/bakemono/entityCentric/ExtractIsAToolTest.java @@ -38,4 +38,27 @@ public void parsesArgumentsCorrectly() throws IllegalAccessException { assertEquals(1,options.type.size()); assertEquals("http://rdf.basekb.com/ns/skiing.ski_area",options.type.get(0)); } + + @Test + public void parsesMultiplePathsCorrectly() throws IllegalAccessException { + List arguments= Lists.newArrayList( + "-dir", + "s3n://basekb-now/2013-12-08-00-00/sieved", + "-input", + "a,label", + "-prefix", + "http://rdf.basekb.com/ns/", + "-type", + "skiing.ski_area", + "-output", + "s3n://basekb-sandbox/only-ski-tiny" + ); + + ExtractIsAOptions options=extractIsATool.extractOptions(arguments); + List pathList=Lists.newArrayList( + "s3n://basekb-now/2013-12-08-00-00/sieved/a", + "s3n://basekb-now/2013-12-08-00-00/sieved/label" + ); + assertEquals(pathList,options.input); + } }