You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: marklogic-client-api-functionaltests/src/test/java/com/marklogic/client/functionaltest/TestOpticOnViews.java
+27
Original file line number
Diff line number
Diff line change
@@ -2914,6 +2914,33 @@ public void testgroupByUnion() throws KeyManagementException, NoSuchAlgorithmExc
2914
2914
assertEquals("Row 2 testgroupByUnion MasterDate value incorrect", "2015-12-01", jsonBindingsNodesDate.get(1).path("MasterDate").path("value").asText());
System.out.println("Results from Column in non alphbetic column name order are : " + jsonBindingsNodesColOrd);
2937
+
2938
+
assertEquals("Nine nodes not returned from testgroupByUnion of plan5 ", 9, jsonBindingsNodesColOrd.size());
2939
+
assertEquals("Row 1 plan5 of testgroupByUnion MasterDate value incorrect", "2015-12-02", jsonBindingsNodesColOrd.get(0).path("MasterDate").path("value").asText());
2940
+
assertEquals("Row 1 plan5 of testgroupByUnion DateCount size incorrect", 1, jsonBindingsNodesColOrd.get(0).path("DateCount").path("value").asInt());
2941
+
assertEquals("Row 7 plan5 of testgroupByUnion color type incorrect", "null", jsonBindingsNodesColOrd.get(7).path("color").path("type").asText());
2942
+
assertEquals("Row 7 plan5 of testgroupByUnion color value incorrect", "blue", jsonBindingsNodesColOrd.get(6).path("color").path("value").asText());
0 commit comments