summaryrefslogtreecommitdiff
path: root/src/test/resources
diff options
context:
space:
mode:
authorAndrew Branson <andrew.branson@cern.ch>2014-04-01 15:58:01 +0200
committerAndrew Branson <andrew.branson@cern.ch>2014-04-01 15:58:01 +0200
commit5b9cc0f4318309879be677bb0278542217f6a0b5 (patch)
treeb2f5f62e701e26cbfd770542a4ca1162567c70e3 /src/test/resources
parent391c7935ae40f60672b88312b02151c3f941796e (diff)
AbstractMain - remove usage and help, fail if config or connect args are
missing or the files aren't found. Tests. Fixes #177
Diffstat (limited to 'src/test/resources')
-rw-r--r--src/test/resources/server.conf1
-rw-r--r--src/test/resources/test.clc16
2 files changed, 17 insertions, 0 deletions
diff --git a/src/test/resources/server.conf b/src/test/resources/server.conf
new file mode 100644
index 0000000..476aeb0
--- /dev/null
+++ b/src/test/resources/server.conf
@@ -0,0 +1 @@
+ClusterStorage=MemoryOnlyClusterStorage \ No newline at end of file
diff --git a/src/test/resources/test.clc b/src/test/resources/test.clc
new file mode 100644
index 0000000..be1d5d0
--- /dev/null
+++ b/src/test/resources/test.clc
@@ -0,0 +1,16 @@
+
+Name=Test Cristal Server
+
+// TCP server ports
+ItemServer.name=localhost
+ItemServer.iiop=1500
+ItemServer.Proxy.port=1553
+
+// LDAP Lookup config
+LDAP.GlobalPath=o=cern,c=ch
+LDAP.RootPath=cn=cristal
+LDAP.LocalPath=cn=test
+LDAP.port=389
+LDAP.host=localhost
+LDAP.user=cn=Manager,o=cern,c=ch
+LDAP.password=test