mirror of
https://github.com/nosqlbench/nosqlbench.git
synced 2025-02-25 18:55:28 -06:00
add multi-layer recursion and path-relative recursion tests
This commit is contained in:
parent
29e1dbe122
commit
60bf8bd631
@ -80,8 +80,15 @@ class NBAtFileTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAtfileRecursion() {
|
||||
public void testAtfileSimpleRecursion() {
|
||||
LinkedList<String> strings = NBAtFile.includeAt("@src/test/resources/atfiles/simple_recursion.yaml");
|
||||
assertThat(strings).containsExactly("arg1","arg1","arg2","arg3","arg3");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void testAtfileDoubleRecursion() {
|
||||
LinkedList<String> strings = NBAtFile.includeAt("@src/test/resources/atfiles/double_recursion.yaml");
|
||||
assertThat(strings).containsExactly("arg1","arg1","arg1","arg2","arg3","arg3","arg3","deepval");
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -0,0 +1 @@
|
||||
- deepval
|
@ -0,0 +1,4 @@
|
||||
- arg1
|
||||
- include:${DIR}/simple_recursion.yaml
|
||||
- arg3
|
||||
- include:${DIR}/deeper/deeper_recursion.yaml
|
Loading…
Reference in New Issue
Block a user