mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2024-11-27 19:20:42 -06:00
test classpath and loader fixes
This commit is contained in:
parent
540abeee00
commit
50e617233f
@ -41,7 +41,7 @@ public class NamingFolio {
|
||||
|
||||
private final Map<String, Labeled> graph = new LinkedHashMap<>();
|
||||
private final ElementNamer namer;
|
||||
public final static String DEFAULT_NAMER_SPEC = "[COLUMN][-TYPEDEF]_[TABLE][-KEYSPACE]";
|
||||
public final static String DEFAULT_NAMER_SPEC = "[COLUMN]-[TYPEDEF-][TABLE][-KEYSPACE]";
|
||||
|
||||
public NamingFolio(String namerspec) {
|
||||
this.namer = new ElementNamer(
|
||||
|
@ -26,7 +26,7 @@ public class NamingFolioTest {
|
||||
|
||||
@Test
|
||||
public void testBindingFolio() {
|
||||
NamingFolio folio = new NamingFolio();
|
||||
NamingFolio folio = new NamingFolio("[OPTYPE-][COLUMN-][TYPEDEF-][TABLE!]-[KEYSPACE]");
|
||||
folio.addFieldRef(Map.of("column","c1","typedef","t1","table","tb1","keyspace","ks1"));
|
||||
assertThat(folio.getNames()).containsExactly("c1-t1-tb1-ks1");
|
||||
folio.addFieldRef("c2","t2","tb2","ks2");
|
||||
|
Loading…
Reference in New Issue
Block a user