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

Method testBoolean

test/org/apache/pig/test/TestTextDataParser.java:85–90  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 }
84
85 @Test
86 public void testBoolean() throws Exception{
87 String myBoolean = "true";
88 Boolean b = ps.getLoadCaster().bytesToBoolean(myBoolean.getBytes());
89 assertEquals(Boolean.TRUE, b);
90 }
91
92 @Test
93 public void testInteger() throws Exception{

Callers

nothing calls this directly

Calls 4

bytesToBooleanMethod · 0.65
getLoadCasterMethod · 0.65
getBytesMethod · 0.65
assertEqualsMethod · 0.45

Tested by

no test coverage detected