Browse Source

Merge pull request #54 from jochenberger/disable-a_root_scan-test

disable `ScanPathTokenTest.a_root_scan()` for the moment
pull/55/head
kallestenflo 10 years ago
parent
commit
7b036acf32
  1. 9
      json-path/src/test/java/com/jayway/jsonpath/old/internal/ScanPathTokenTest.java

9
json-path/src/test/java/com/jayway/jsonpath/old/internal/ScanPathTokenTest.java

@ -5,6 +5,7 @@ import com.jayway.jsonpath.JsonPath;
import com.jayway.jsonpath.internal.PathCompiler;
import com.jayway.jsonpath.internal.spi.json.JsonSmartJsonProvider;
import org.junit.Ignore;
import org.junit.Test;
import java.util.List;
@ -90,6 +91,14 @@ public class ScanPathTokenTest {
);
@Test
@Ignore("does not work currently")
//FIXME handle $.. like the Goessner implementation
public void a_root_scan() {
Object o = JsonPath.read(DOCUMENT, "$..");
}
@Test
public void a_document_can_be_scanned_for_property() {

Loading…
Cancel
Save