summaryrefslogtreecommitdiffstats
path: root/branches/cpp-M1/sdo/runtime/core/test/sdotest.h
diff options
context:
space:
mode:
authorjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2009-11-16 06:23:13 +0000
committerjsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68>2009-11-16 06:23:13 +0000
commit8759a126a1bb9eec550c37b5b14642b0cfeb797b (patch)
treebc4744f903d38710e61a9e8ca6766132e5926201 /branches/cpp-M1/sdo/runtime/core/test/sdotest.h
parentfd1aa20dd751f242e2df5ee61c84dfbd7c0ebb83 (diff)
Cleaning up SVN structure, moving branch under sca-cpp/branches.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@880612 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'branches/cpp-M1/sdo/runtime/core/test/sdotest.h')
-rw-r--r--branches/cpp-M1/sdo/runtime/core/test/sdotest.h192
1 files changed, 0 insertions, 192 deletions
diff --git a/branches/cpp-M1/sdo/runtime/core/test/sdotest.h b/branches/cpp-M1/sdo/runtime/core/test/sdotest.h
deleted file mode 100644
index aaf309e2de..0000000000
--- a/branches/cpp-M1/sdo/runtime/core/test/sdotest.h
+++ /dev/null
@@ -1,192 +0,0 @@
-/*
- *
- * Copyright 2006 The Apache Software Foundation or its licensors, as applicable.
- *
- * Licensed 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.
- */
-
-/* $Id: sdotest.h,v 1.21 2006/03/16 12:21:04 slattery Exp $ */
-
-#include "commonj/sdo/SDO.h"
-using namespace commonj::sdo;
-
-
-// test
-
-class sdotest {
- public:
-
- static bool silent;
- static bool ramping;
-
- /* utilities */
-
- static int printseq(FILE *f, SequencePtr sptr);
- static void printDataStructure(FILE *f,DataFactory* dd);
- static void printDataObject(FILE *f, DataObjectPtr dol);
- static void printValue(FILE *f, DataObjectPtr dob, const Property& prop);
- static void printList(FILE *f, DataObjectPtr dob, const Property& prop);
- static void printOldValues(FILE *f, ChangeSummaryPtr cs, DataObjectPtr dob);
- static void dumpchangesummary(FILE *f, ChangeSummaryPtr cs);
- static int comparefiles(char* fn1, char*fn2);
- static int dumpproperties(FILE *f, DataObjectPtr root);
- static int printset(FILE *f, ChangeSummaryPtr cs);
-
- static int xsdtosdo();
-
- static void changeSummaryHeader(ChangeSummaryPtr cs);
- static void changeSummaryFooter();
- static void changeSummaryChange(int level, ChangeSummaryPtr cs, DataObjectPtr dob);
- static void changeSummaryDeletedObject(int indent, const char* name, ChangeSummaryPtr cs, DataObjectPtr dob);
- static void changeSummaryElements(int indent, ChangeSummaryPtr cs, DataObjectPtr dob);
- static void changeSummarySetting(Setting& s);
- static bool changeSummaryAttributes(ChangeSummaryPtr cs, DataObjectPtr dol);
- static char* convert(const char* uri);
-
- /* work in progress - generation of structures */
-
- static void generate(DataFactoryPtr fac);
-
- /* tests */
- static int xhtml1();
- static int definetest();
- static int stocktest();
-
- static int scopetest();
- static DataObjectPtr scopetest2();
-
-
- static int pete();
- static int testgenerate(const char* xsd, const char* output);
- static int emptycs();
- static int compatiblefactory();
- static int transferto(DataObjectPtr d, DataFactoryPtr f, bool expecterror);
- static int openseq();
- static int testanytwo(const char* xsd,
- const char* xsd2, const char* xml);
- static int testany(const char* xsd,
- const char* acceptedxsderror,
- const char* xml,
- const char* acceptedxmlerror);
- static int testOrder(const char* x1, const char* x2,
- const char* name1, const char* name2);
- static int simple();
- static int testinc2(const char* inc, const char* name1,
- const char* name2);
- static int testastyle(FILE *f, const char* style);
- static int teststyles();
- static int badelement();
- static int oddchars();
- static int notns();
- static int unsetlist();
- static int travel();
- static int testwsdl();
- static int bunique();
- static int buniqueread();
- static int propdefaulttest();
- static int showdefault(FILE *f, const Type& tm);
- static int graham6();
- static int graham5();
- static int graham4();
- static int leak();
- static int twolists();
- static int detachtest();
- static int includetest();
- static int testLoad();
- static int clonetest();
- static int testUtil();
- static int testErrors();
- static int doctest();
- static int notfound();
- static int serializeChangeSummary(ChangeSummaryPtr cs);
- static int cssave();
- static int csload();
- static int cssave2();
- static int csload2();
- static int bug1();
- static int bug2();
- static int setnull();
- static int testsubsload();
- static int testabstract();
- static int testsubs();
- static int testSCA();
- static int testOpen();
- static int saveOpen();
- static int loadOpen();
- static int testui();
- static int merle1();
- static int graham1();
- static int graham2();
- static int graham3();
- static int loadManyOpen();
- static int loadOpenNS();
-
-
- static int eqhelpertest();
- static int cohelpertest();
- static int datetest();
- static int matttest1();
- static int adddeletetest();
- static int carotest3();
- static int carotest2();
- static int carotest();
- static int setmany();
- static int noncontest();
- static int versiontest();
- static int defaulttest();
- static int defaulttest_strobj();
- static int querytest();
- static int getproptest();
- static int nulltest();
- static int usertest();
- static int rcptest();
- static int boolbug();
- static int scope1();
- static int scope2();
- static int scope3();
- static int conversiontest();
- static int changesummarytest();
- static int scenario1();
- static int scenario2();
- static int scenario3();
- static int scenario4();
- static int scenario5();
- static int seqtest();
- static int printDataObject(DataObjectPtr dol);
- static int printValue(DataObjectPtr dob, const Property& prop);
- static int printList(DataObjectPtr dob, const Property& prop);
- static int printOldValues(ChangeSummaryPtr cs, DataObjectPtr dob);
- static int testGetters(DataObjectPtr dor);
- static int testGetter(DataObjectPtr dor, char* str);
- static int maintest();
-
- static int b48602();
- static int b48736();
- static int b48686();
- static int b48601();
- static int b48300();
- static int b47663();
- static int b47764();
- static int b47802();
- static int b47293();
- static int b47137();
- static int b47137b();
- static int b46633();
- static int b46734();
- static int b46693();
- static int b46634();
- static int b46613();
- static int b46617();
- static int b46617b();
- static int b45933();
-};