Unit test for Insert.getTupleDesc()
()
| 41 | * Unit test for Insert.getTupleDesc() |
| 42 | */ |
| 43 | @Test public void getTupleDesc() throws Exception { |
| 44 | Insert op = new Insert(tid,scan1, empty.getId()); |
| 45 | TupleDesc expected = Utility.getTupleDesc(1); |
| 46 | TupleDesc actual = op.getTupleDesc(); |
| 47 | assertEquals(expected, actual); |
| 48 | } |
| 49 | |
| 50 | /** |
| 51 | * Unit test for Insert.getNext(), inserting elements into an empty file |
nothing calls this directly
no test coverage detected