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

Method testOperator

test/org/apache/pig/test/TestNull.java:251–270  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

249 }
250
251 @Test
252 public void testOperator() throws ExecException {
253 int TRIALS = 10;
254 byte[] types = DataType.genAllTypes();
255 Map<Byte, String> map = DataType.genTypeToNameMap();
256 // System.out.println("Testing Not Equal To Expression:");
257
258 long t1 = System.currentTimeMillis();
259
260 for (byte b : types) {
261 // System.out.print("\t With " + map.get(b) + ": ");
262 for (int i = 0; i < TRIALS; i++) {
263 assertTrue(test(b));
264 }
265 /*
266 * if (succ) System.out.println("Success!!"); else
267 * System.out.println("Failure");
268 */
269 }
270 }
271}

Callers

nothing calls this directly

Calls 3

genAllTypesMethod · 0.95
genTypeToNameMapMethod · 0.95
testMethod · 0.95

Tested by

no test coverage detected