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

Method shouldFail

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

Source from the content-addressed store, hash-verified

384 }
385
386 private void shouldFail(String query) throws RecognitionException, IOException {
387 System.out.println("Testing: " + query);
388 parse( query );
389 }
390
391 private int parse(String query) throws IOException, RecognitionException {
392 CharStream input = new QueryParserStringStream( query, null );

Callers 11

testNegative2Method · 0.95
testNegative3Method · 0.95
testNegative4Method · 0.95
testNegative5Method · 0.95
testNegative6Method · 0.95
testCubeNegative1Method · 0.95
testCubeNegative2Method · 0.95
testCubeNegative3Method · 0.95
testCubeNegative4Method · 0.95
testCubeNegative5Method · 0.95
testCubeNegative6Method · 0.95

Calls 1

parseMethod · 0.95

Tested by

no test coverage detected