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

Method shouldPass

test/org/apache/pig/parser/TestQueryParser.java:381–384  ·  view source on GitHub ↗
(String query)

Source from the content-addressed store, hash-verified

379 }
380
381 private void shouldPass(String query) throws RecognitionException, IOException {
382 System.out.println("Testing: " + query);
383 Assert.assertEquals(query + " should have passed", 0, parse(query));
384 }
385
386 private void shouldFail(String query) throws RecognitionException, IOException {
387 System.out.println("Testing: " + query);

Callers 15

testNegative1Method · 0.95
test2Method · 0.95
test3Method · 0.95
test4Method · 0.95
test5Method · 0.95
test6Method · 0.95
test7Method · 0.95
test8Method · 0.95
testCubePositive1Method · 0.95
testCubePositive2Method · 0.95
testCubePositive3Method · 0.95
test9Method · 0.95

Calls 2

parseMethod · 0.95
assertEqualsMethod · 0.45

Tested by

no test coverage detected