use of io.crate.operation.reference.sys.RowContextReferenceResolver in project crate by crate.
the class SysNodesTableInfoTest method testRegistered.
/**
* Ensures that all columns registered in SysNodesTableInfo can actually be resolved
*/
@Test
public void testRegistered() {
SysNodesTableInfo info = new SysNodesTableInfo(clusterService);
RowContextReferenceResolver referenceResolver = RowContextReferenceResolver.INSTANCE;
Iterator<Reference> iter = info.iterator();
while (iter.hasNext()) {
assertNotNull(referenceResolver.getImplementation(iter.next()));
}
}
Aggregations