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

Method testLong

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

Source from the content-addressed store, hash-verified

97 }
98
99 @Test
100 public void testLong() throws Exception{
101 String myLong = "1";
102 Long l = ps.getLoadCaster().bytesToLong(myLong.getBytes());
103 assertEquals(Long.valueOf(1L), l);
104 }
105
106 @Test
107 public void testFloat() throws Exception{

Callers

nothing calls this directly

Calls 4

bytesToLongMethod · 0.65
getLoadCasterMethod · 0.65
getBytesMethod · 0.65
assertEqualsMethod · 0.45

Tested by

no test coverage detected