MCPcopy Create free account
hub / github.com/1345414527/MIT6.830 / addTable

Method addTable

test/simpledb/BTreeRootPtrPageTest.java:45–48  ·  view source on GitHub ↗

Set up initial resources for each unit test.

()

Source from the content-addressed store, hash-verified

43 * Set up initial resources for each unit test.
44 */
45 @Before public void addTable() {
46 this.pid = new BTreePageId(-1, 0, BTreePageId.ROOT_PTR);
47 Database.getCatalog().addTable(new SkeletonFile(-1, Utility.getTupleDesc(2)), SystemTestUtil.getUUID());
48 }
49
50 /**
51 * Unit test for BTreeRootPtrPage.getId()

Callers

nothing calls this directly

Calls 3

getCatalogMethod · 0.95
getTupleDescMethod · 0.95
getUUIDMethod · 0.95

Tested by

no test coverage detected