(String id, int actualCount )
| 114 | |
| 115 | //verifies results |
| 116 | public void verifyUnion(String id, int actualCount ) throws Exception { |
| 117 | |
| 118 | Iterator<Tuple> it = pig.openIterator(id); |
| 119 | Tuple t = null ; |
| 120 | int count = 0 ; |
| 121 | |
| 122 | while(it.hasNext()) { |
| 123 | t = it.next() ; |
| 124 | System.out.println(count + ":" + t) ; |
| 125 | count++ ; |
| 126 | } |
| 127 | |
| 128 | assertEquals(count, actualCount); |
| 129 | } |
| 130 | |
| 131 | |
| 132 | /*** |
no test coverage detected