summaryrefslogtreecommitdiffstats
path: root/config-lib/src/test/resources
diff options
context:
space:
mode:
authorgjoranv <gv@oath.com>2017-08-17 11:06:40 +0200
committergjoranv <gv@oath.com>2017-08-17 12:13:12 +0200
commit702399219195d98db5b007596e772936388054bb (patch)
tree2ecf52ed30dcbbd7276ba7a5136cd60db242615f /config-lib/src/test/resources
parent2b2d0ea6280b54ad37f85b091e6a46b1566d430b (diff)
Add test for package and namespace.
Diffstat (limited to 'config-lib/src/test/resources')
-rw-r--r--config-lib/src/test/resources/configdefinitions/namespace-and-package.def7
-rw-r--r--config-lib/src/test/resources/configdefinitions/namespace.def3
-rw-r--r--config-lib/src/test/resources/configdefinitions/package.def5
3 files changed, 13 insertions, 2 deletions
diff --git a/config-lib/src/test/resources/configdefinitions/namespace-and-package.def b/config-lib/src/test/resources/configdefinitions/namespace-and-package.def
new file mode 100644
index 00000000000..4e61d25f05f
--- /dev/null
+++ b/config-lib/src/test/resources/configdefinitions/namespace-and-package.def
@@ -0,0 +1,7 @@
+# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+namespace=my.namespace
+
+package=com.github.myproject
+
+a int
diff --git a/config-lib/src/test/resources/configdefinitions/namespace.def b/config-lib/src/test/resources/configdefinitions/namespace.def
index d92dc656fe7..b1406fc1bc4 100644
--- a/config-lib/src/test/resources/configdefinitions/namespace.def
+++ b/config-lib/src/test/resources/configdefinitions/namespace.def
@@ -1,6 +1,5 @@
# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
-namespace=test
-namespace=myproject.config
+namespace=my.namespace
a int
diff --git a/config-lib/src/test/resources/configdefinitions/package.def b/config-lib/src/test/resources/configdefinitions/package.def
new file mode 100644
index 00000000000..eba915738a5
--- /dev/null
+++ b/config-lib/src/test/resources/configdefinitions/package.def
@@ -0,0 +1,5 @@
+# Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
+
+package=com.github.myproject
+
+a int