MCPcopy Create free account
hub / github.com/apache/pig / assertOutputAnyOrder

Method assertOutputAnyOrder

test/org/apache/pig/pigunit/PigTest.java:376–378  ·  view source on GitHub ↗

Compares the expected results to the results of the last alias generated in the script. Order does not matter and as long as the result is located in any index of expected and any line of the output then this will pass. @param expected The expected results

(String[] expected)

Source from the content-addressed store, hash-verified

374 * @param expected The expected results
375 */
376 public void assertOutputAnyOrder(String[] expected) throws IOException, ParseException {
377 assertOutput(expected, true);
378 }
379
380 public void assertOutput(String[] expected) throws IOException, ParseException {
381 assertOutput(expected, false);

Callers 2

testAnyOrderOutputMethod · 0.80

Calls 1

assertOutputMethod · 0.95

Tested by

no test coverage detected