tuscany-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jsdelf...@apache.org
Subject svn commit: r826544 - in /tuscany/cpp/sca: kernel/Makefile.am kernel/xml-test.cpp kernel/xsd-test.cpp modules/eval/Makefile.am modules/eval/eval-shell.cpp
Date Sun, 18 Oct 2009 22:25:03 GMT
Author: jsdelfino
Date: Sun Oct 18 22:25:02 2009
New Revision: 826544

URL: http://svn.apache.org/viewvc?rev=826544&view=rev
Log:
Renamed xml-test to xsd-test. Added another test under modules/eval.

Added:
    tuscany/cpp/sca/kernel/xsd-test.cpp
      - copied, changed from r826543, tuscany/cpp/sca/kernel/xml-test.cpp
    tuscany/cpp/sca/modules/eval/eval-shell.cpp
Removed:
    tuscany/cpp/sca/kernel/xml-test.cpp
Modified:
    tuscany/cpp/sca/kernel/Makefile.am
    tuscany/cpp/sca/modules/eval/Makefile.am

Modified: tuscany/cpp/sca/kernel/Makefile.am
URL: http://svn.apache.org/viewvc/tuscany/cpp/sca/kernel/Makefile.am?rev=826544&r1=826543&r2=826544&view=diff
==============================================================================
--- tuscany/cpp/sca/kernel/Makefile.am (original)
+++ tuscany/cpp/sca/kernel/Makefile.am Sun Oct 18 22:25:02 2009
@@ -15,7 +15,7 @@
 #  specific language governing permissions and limitations
 #  under the License.
 
-noinst_PROGRAMS = kernel-test xml-test
+noinst_PROGRAMS = kernel-test xsd-test
 
 nobase_include_HEADERS = *.hpp
 
@@ -24,6 +24,5 @@
 kernel_test_SOURCES = kernel-test.cpp
 kernel_test_LDADD = -lpthread -L${LIBXML2_LIB} -lxml2
 
-xml_test_SOURCES = xml-test.cpp
-xml_test_LDADD = -lpthread -L${LIBXML2_LIB} -lxml2
-
+xsd_test_SOURCES = xsd-test.cpp
+xsd_test_LDADD = -lpthread -L${LIBXML2_LIB} -lxml2

Copied: tuscany/cpp/sca/kernel/xsd-test.cpp (from r826543, tuscany/cpp/sca/kernel/xml-test.cpp)
URL: http://svn.apache.org/viewvc/tuscany/cpp/sca/kernel/xsd-test.cpp?p2=tuscany/cpp/sca/kernel/xsd-test.cpp&p1=tuscany/cpp/sca/kernel/xml-test.cpp&r1=826543&r2=826544&rev=826544&view=diff
==============================================================================
    (empty)

Modified: tuscany/cpp/sca/modules/eval/Makefile.am
URL: http://svn.apache.org/viewvc/tuscany/cpp/sca/modules/eval/Makefile.am?rev=826544&r1=826543&r2=826544&view=diff
==============================================================================
--- tuscany/cpp/sca/modules/eval/Makefile.am (original)
+++ tuscany/cpp/sca/modules/eval/Makefile.am Sun Oct 18 22:25:02 2009
@@ -15,7 +15,7 @@
 #  specific language governing permissions and limitations
 #  under the License.
 
-noinst_PROGRAMS = eval-test
+noinst_PROGRAMS = eval-test eval-shell
 
 datadir=$(prefix)/modules/eval
 nobase_data_DATA = *.xsd
@@ -25,3 +25,5 @@
 eval_test_SOURCES = eval-test.cpp
 eval_test_LDADD = -lpthread -L${LIBXML2_LIB} -lxml2
 
+eval_shell_SOURCES = eval-shell.cpp
+eval_shell_LDADD = -lpthread -L${LIBXML2_LIB} -lxml2

Added: tuscany/cpp/sca/modules/eval/eval-shell.cpp
URL: http://svn.apache.org/viewvc/tuscany/cpp/sca/modules/eval/eval-shell.cpp?rev=826544&view=auto
==============================================================================
--- tuscany/cpp/sca/modules/eval/eval-shell.cpp (added)
+++ tuscany/cpp/sca/modules/eval/eval-shell.cpp Sun Oct 18 22:25:02 2009
@@ -0,0 +1,35 @@
+/*
+ * 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.
+ */
+
+/* $Rev$ $Date$ */
+
+/**
+ * Script evaluator shell, used for interactive testing of scripts.
+ */
+
+#include <assert.h>
+#include <iostream>
+#include <string>
+#include <sstream>
+#include "driver.hpp"
+
+int main() {
+    tuscany::evalDriverRun(std::cin, std::cout);
+    return 0;
+}



Mime
View raw message