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

Method countStringAggregate

test/simpledb/AggregateTest.java:131–137  ·  view source on GitHub ↗

Unit test for Aggregate.getNext() using a count aggregate with string types

()

Source from the content-addressed store, hash-verified

129 * Unit test for Aggregate.getNext() using a count aggregate with string types
130 */
131 @Test public void countStringAggregate() throws Exception {
132 Aggregate op = new Aggregate(scan2, 1, 0,
133 Aggregator.Op.COUNT);
134 op.open();
135 count.open();
136 TestUtil.matchAllTuples(count, op);
137 }
138
139 /**
140 * Unit test for Aggregate.getNext() using a count aggregate with string types

Callers

nothing calls this directly

Calls 3

openMethod · 0.95
matchAllTuplesMethod · 0.95
openMethod · 0.65

Tested by

no test coverage detected