use of org.apache.accumulo.core.security.ColumnVisibility.NodeComparator in project accumulo by apache.
the class ColumnVisibilityTest method testEmptyParseTreesAreEqual.
@Test
public void testEmptyParseTreesAreEqual() {
Comparator<Node> comparator = new NodeComparator(new byte[] {});
Node empty = new ColumnVisibility().getParseTree();
assertEquals(0, comparator.compare(empty, parse("")));
}
Aggregations