From c28aa6b49186282e660898176e8d279650281b3c Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Wed, 2 Jun 2010 02:56:25 +0000 Subject: 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 --- sca-cpp/trunk/modules/scdl/Makefile.am | 2 +- sca-cpp/trunk/modules/scdl/validate-test | 23 +++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100755 sca-cpp/trunk/modules/scdl/validate-test (limited to 'sca-cpp/trunk/modules/scdl') 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 -- cgit v1.2.3