Skip to content

Commit c44ab65

Browse files
committed
clarification
1 parent d60d0b6 commit c44ab65

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/test/java/com/webfuzzing/overlayjvm/OverlayJVM_V1_1_0_custom_Test.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public void testLibrarySupport() throws Exception {
3434
ONode schema = ONode.ofJson(json);
3535

3636
//----------------------------------------------------
37-
//this should return no results
37+
//Case (0): this should return no results
3838
String q0 = "$.a[?@.y]";
3939
boolean e0 = schema.exists(q0);
4040
ONode r0 = schema.select(q0);
@@ -45,7 +45,7 @@ public void testLibrarySupport() throws Exception {
4545
assertNull(r0.parent());
4646

4747
//----------------------------------------------------
48-
//this should return the empty array in b
48+
//Case (1): this should return the empty array in b
4949
String q1 = "$.b";
5050
boolean e1 = schema.exists(q1);
5151
ONode r1 = schema.select(q1);
@@ -57,7 +57,7 @@ public void testLibrarySupport() throws Exception {
5757
assertNotNull(r1.parent());
5858

5959
//----------------------------------------------------
60-
//should get the elements in c and d
60+
//Case (2): should get the elements in c and d
6161
String q2 = "$.*.y";
6262
boolean e2 = schema.exists(q2);
6363
ONode r2 = schema.select(q2);
@@ -70,7 +70,7 @@ public void testLibrarySupport() throws Exception {
7070
assertEquals(r2.get(0).parent().parent(), r2.get(1).parent().parent());
7171

7272
//----------------------------------------------------
73-
// although e is null, it exists
73+
//Case (3): although e is null, it exists
7474
String q3 = "$.e";
7575
boolean e3 = schema.exists(q3);
7676
ONode r3 = schema.select(q3);
@@ -81,7 +81,7 @@ public void testLibrarySupport() throws Exception {
8181
assertNotNull(r3.parent());
8282

8383
//----------------------------------------------------
84-
// f is undefined in the document
84+
//Case (4): f is undefined in the document
8585
String q4 = "$.f";
8686
boolean e4 = schema.exists(q4);
8787
ONode r4 = schema.select(q4);
@@ -93,7 +93,7 @@ public void testLibrarySupport() throws Exception {
9393
assertNull(r4.parent());
9494

9595
//----------------------------------------------------
96-
// f is undefined
96+
//Case (5): f is undefined
9797
String q5 = "$.f[?@.y]";
9898
boolean e5 = schema.exists(q5);
9999
ONode r5 = schema.select(q5);

0 commit comments

Comments
 (0)