summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/modules/scdl
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-06-02 02:56:25 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2010-06-02 02:56:25 +0000
commitc28aa6b49186282e660898176e8d279650281b3c (patch)
tree35d1966a5a1c7549e5dd7428d75f1fe8d2bca7d7 /sca-cpp/trunk/modules/scdl
parentaab6c4af74817a50306bdc80bfa9151addec1785 (diff)
Upgrade SCDL schemas to cd05 level. Remove unused and unsupported schemas. Add SCDL schema validation test case.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@950343 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r--sca-cpp/trunk/modules/scdl/Makefile.am2
-rwxr-xr-xsca-cpp/trunk/modules/scdl/validate-test23
2 files changed, 24 insertions, 1 deletions
diff --git a/sca-cpp/trunk/modules/scdl/Makefile.am b/sca-cpp/trunk/modules/scdl/Makefile.am
index 8ad68a1bb5..bbd9c1500b 100644
--- a/sca-cpp/trunk/modules/scdl/Makefile.am
+++ b/sca-cpp/trunk/modules/scdl/Makefile.am
@@ -21,4 +21,4 @@ scdl_test_LDFLAGS = -lxml2
EXTRA_DIST = test.composite
noinst_PROGRAMS = scdl-test
-TESTS = scdl-test
+TESTS = scdl-test validate-test
diff --git a/sca-cpp/trunk/modules/scdl/validate-test b/sca-cpp/trunk/modules/scdl/validate-test
new file mode 100755
index 0000000000..e70fe67aa0
--- /dev/null
+++ b/sca-cpp/trunk/modules/scdl/validate-test
@@ -0,0 +1,23 @@
+#!/bin/sh
+
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+# Validate test composite
+../../kernel/xsd-test ../../xsd/tuscany-sca-1.1.xsd test.composite 2>/dev/null
+rc=$?
+return $rc