Author: dkulp
Date: Thu Jul 31 21:17:19 2008
New Revision: 681598
URL: http://svn.apache.org/viewvc?rev=681598&view=rev
Log:
Change to list of tests that don't work as that's more interesting to know.
Modified:
cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/corba/CORBADocLitClientTypeTest.java
Modified:
cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/corba/CORBADocLitClientTypeTest.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/corba/CORBADocLitClientTypeTest.java?rev=681598&r1=681597&r2=681598&view=diff
==============================================================================
---
cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/corba/CORBADocLitClientTypeTest.java
(original)
+++
cxf/trunk/systests/src/test/java/org/apache/cxf/systest/type_test/corba/CORBADocLitClientTypeTest.java
Thu Jul 31 21:17:19 2008
@@ -41,77 +41,127 @@
protected static final QName PORT_NAME = new
QName("http://apache.org/type_test/doc",
"TypeTestCORBAPort");
- private static final Set<String> WORKING_TESTS = new HashSet<String>();
- private static final Set<String> NOT_RUN_TESTS = new HashSet<String>();
+ private static final Set<String> NOT_WORKING_TESTS = new HashSet<String>();
+ private static final Set<String> RUN_TESTS = new HashSet<String>();
static {
- String working[] = new String[] {
- //"InheritanceEmptyAllDerivedEmpty",
- "DerivedEmptyBaseEmptyAll",
- "DerivedEmptyBaseEmptyChoice",
- "MultipleOccursSequenceInSequence",
- "StructWithBinary",
- "ChoiceWithBinary",
- "SimpleChoice",
- "UnboundedArray",
- "EmptyAll",
- "StructWithNillables",
- "AnonymousStruct",
- "FixedArray",
- "BoundedArray",
- "CompoundArray",
- "NestedArray",
- "EmptyChoice",
- "Name",
- "Void",
- "Oneway",
- "Byte",
- "Short",
- "UnsignedShort",
- "Int",
- "UnsignedInt",
- "Long",
- "UnsignedLong",
- "Float",
- "Double",
- //"UnsignedByte",
- "Boolean",
- "String",
- //"StringI18N",
- "Date",
- //"DateTime",
- "Time",
- "GYear",
- "GYearMonth",
- "GMonth",
- "GMonthDay",
- "GDay",
- "Duration",
- "NormalizedString",
- "Token",
- "Language",
- "NMTOKEN",
- //"NMTOKENS",
- "NCName",
- "ID",
- "Decimal",
- "Integer",
- "PositiveInteger",
- "NonPositiveInteger",
- "NegativeInteger",
- "NonNegativeInteger",
- "HexBinary",
- "Base64Binary",
- "AnyURI",
- "ColourEnum",
- "NumberEnum",
- "StringEnum",
- "DecimalEnum",
- "NMTokenEnum",
- "AnyURIEnum",
- "SimpleRestriction",
- "SimpleRestriction4",
+
+ String notWorking[] = new String[] {
+ "DerivedChoiceBaseChoice",
+ "UnionWithAnonEnum",
+ "SimpleAll",
+ "OccuringChoiceWithAnyAttribute",
+ "ChoiceArray",
+ "ChoiceOfSeq",
+ "DerivedStructBaseStruct",
+ "OccuringChoice2",
+ "OccuringStructWithAnyAttribute",
+ "OccuringStruct",
+ "OccuringStruct2",
+ "InheritanceUnboundedArrayDerivedChoice",
+ "ComplexTypeWithAttributes",
+ "OccuringChoice1",
+ "StructWithSubstitutionGroup",
+ "StructWithNillableStruct",
+ "SimpleContent2",
+ "OccuringAll",
+ "Document",
+ "ChoiceWithAnyAttribute",
+ "RecursiveUnionData",
+ "ExtBase64Binary",
+ "RecursiveStructArray",
+ "StructWithAnyArray",
+ "UnsignedByte",
+ "SimpleStruct",
+ "RecOuterType",
+ "UnionWithStringListRestriction",
+ "RecElType",
+ "AnonEnumList",
+ "DerivedNoContent",
+ "StructWithMultipleSubstitutionGroups",
+ "StructWithNillableChoice",
+ "RestrictedAllBaseAll",
+ "NestedStruct",
+ "StructWithOccuringStruct",
+ "SequenceWithGroups",
+ "RecursiveUnion",
+ "ExtendsSimpleType",
+ "InheritanceEmptyAllDerivedEmpty",
+ "HexBinaryRestriction",
+ "DerivedStructBaseChoice",
+ "UnionSimpleContent",
+ "ChoiceWithSubstitutionGroup",
+ "UnionWithAnonList",
+ "ComplexRestriction",
+ "NMTOKENS",
+ "SequenceWithGroupSeq",
+ "IDTypeAttribute",
+ "SimpleContent3",
+ "SimpleUnionList",
+ "OccuringChoice",
+ "SimpleRestriction2",
+ "SimpleContent1",
+ "StructWithAnyXsi",
+ "InheritanceNestedStruct",
+ "StructWithInvalidAny",
+ "SimpleRestriction6",
+ "ComplexRestriction5",
+ "ExtendsSimpleContent",
+ "DateTime",
+ "DerivedChoiceBaseStruct",
+ "StringI18N",
+ "ChoiceOfChoice",
+ "ComplexRestriction3",
+ "Base64BinaryRestriction",
+ "StructWithList",
+ "QNameList",
+ "InheritanceSimpleStructDerivedStruct",
+ "SimpleRestriction5",
+ "ChoiceWithSubstitutionGroupAbstract",
+ "ChoiceWithSubstitutionGroupNil",
+ "ChoiceWithGroups",
+ "SequenceWithGroupChoice",
+ "DerivedChoiceBaseArray",
+ "UnionWithStringList",
+ "SimpleRestriction3",
+ "ComplexRestriction2",
+ "SimpleListRestriction2",
+ "DerivedStructBaseEmpty",
+ "RestrictedChoiceBaseChoice",
+ "ChoiceWithGroupSeq",
+ "EmptyStruct",
+ "RestrictedStructBaseStruct",
+ "InheritanceSimpleChoiceDerivedStruct",
+ "RecursiveStruct",
+ "MRecSeqA",
+ "StructWithUnion",
+ "StructWithOptionals",
+ "OccuringStruct1",
+ "ExtColourEnum",
+ "RecSeqB6918",
+ "StructWithSubstitutionGroupNil",
+ "SimpleContentExtWithAnyAttribute",
+ "StructWithAnyAttribute",
+ "StringList",
+ "StructWithOccuringChoice",
+ "StructWithAny",
+ "SequenceWithOccuringGroup",
+ "ComplexTypeWithAttributeGroup1",
+ "QName",
+ "StructWithOccuringStruct2",
+ "Occuri ngStruct2",
+ "ChoiceWithGroupChoice",
+ "StructWithInvalidAnyArray",
+ "MRecSeqC",
+ "AnonymousType",
+ "AnyURIRestriction",
+ "NumberList",
+ "StructWithSubstitutionGroupAbstract",
+ "GroupDirectlyInComplexType",
+ "ComplexTypeWithAttributeGroup",
+ "ComplexRestriction4",
};
- WORKING_TESTS.addAll(Arrays.asList(working));
+ NOT_WORKING_TESTS.addAll(Arrays.asList(notWorking));
+
}
@@ -125,18 +175,18 @@
public static void deleteRefFile() throws Exception {
File file = new File("./TypeTest.ref");
file.delete();
- //for (String s : NOT_RUN_TESTS) {
+ //for (String s : RUN_TESTS) {
// System.out.println(s);
//}
}
public boolean shouldRunTest(String name) {
- if (!WORKING_TESTS.contains(name)) {
- NOT_RUN_TESTS.add(name);
- return false;
+ if (!NOT_WORKING_TESTS.contains(name)) {
+ RUN_TESTS.add(name);
+ return true;
//return true;
}
- return true;
+ return false;
}