[jboss-svn-commits] JBoss Common SVN: r4494 - in jbossxb/branches/split/core/trunk: src/main/java/org/jboss/xb/binding and 44 other directories.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Jun 11 11:10:36 EDT 2010
Author: alex.loubyansky at jboss.com
Date: 2010-06-11 11:10:32 -0400 (Fri, 11 Jun 2010)
New Revision: 4494
Added:
jbossxb/branches/split/core/trunk/src/main/java/org/jboss/xb/binding/parser/JBossXBParserFactory.java
jbossxb/branches/split/core/trunk/src/main/java/org/jboss/xb/binding/parser/ParserFactoryResolverUtil.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/XbTestSuite.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/anyattribute/ObjectAnyAttributeTestSuite.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/BeanAccessModeTestSuite.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/JBossXmlModelGroupTestSuite.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/SequencesRequirePropOrderTestSuite.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/ValidatorTestSuite.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/UnorderedSequenceTestSuite.java
Removed:
jbossxb/branches/split/core/trunk/src/main/java/org/jboss/xb/binding/parser/sax/
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JBossXBTestSuite.java
Modified:
jbossxb/branches/split/core/trunk/pom.xml
jbossxb/branches/split/core/trunk/src/main/java/org/jboss/xb/binding/UnmarshallerImpl.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/AbstractSystemPropertyInitializationTest.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/BuilderTestSuite.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/multiplerootclasses/test/MultipleRootClassesUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/ObjectTestSuite.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/anyattribute/test/AnyAttributeUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/ObjectAttributeTestSuite.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/javatypeadapter/test/JavaTypeAdapterUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/QualifierPointListUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/SchemaDefaultAttributeValueUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/AllAccessModeGroupOverrideUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/AllAccessModeTypeOverrideUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PropertyAccessModeGroupOverrideUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PropertyAccessModeTypeOverrideUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PublicMemberAccessModeGroupOverrideUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PublicMemberAccessModeTypeOverrideUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/SchemaLevelAllAccessModeUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/SchemaLevelPropertyAccessModeUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/SchemaLevelPublicMemberAccessModeUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/ObjectElementTestSuite.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/javatypeadapter/test/JavaTypeAdapterUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/jbossxmlnsprefix/test/JBossXmlNsPrefixUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/wrapper/test/WrapperUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/xmlelements/test/XmlElementsUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlcollection/test/JBossXmlCollectionUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlmapentry/test/JBossXmlMapEntryUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlpreservewhitespace/test/JBossXmlPreserveWhitespaceUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmltransient/test/JBossXmlTransientTypeAndPropertiesUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlvalue/test/MixedTypeIgnoreEmptyStringUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/propertyrefs/test/PropertyReplacementUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/ObjectTypeTestSuite.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/ParticleChoiceBindingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/ParticleChoiceUnmarshallingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyAllBindingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyAllUnmarshallingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyChoiceBindingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyChoiceUnmarshallingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertySequenceBindingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertySequenceUnmarshallingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatableParticleChoiceBindingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatableParticleChoiceUnmarshallingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyAllBindingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyAllUnmarshallingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyChoiceBindingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyChoiceUnmarshallingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertySequenceBindingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertySequenceUnmarshallingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoParticleGroupsBindingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoParticleGroupsUnmarshallingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoPropertyGroupsBindingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoPropertyGroupsUnmarshallingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/XmlTypeChoiceCollectionBindingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/XmlTypeChoiceCollectionUnmarshallingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmltype/test/JBossXmlTypeUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/xmlanyelement/ObjectTypeXmlAnyElementTestSuite.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/xmlenum/ObjectTypeXmlEnumTestSuite.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/xmlenum/test/CollectionOfEnumUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/repeatableterms/test/RepeatableTermsUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/schemarebuild/test/SchemaRebuildUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/AbstractSequencesRequirePropOrderTest.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/InitializationUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithSequencePropertyUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithUndefinedPropOrderUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithUnorderedSequencePropertyUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithUnorderedSequenceUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithXmlAccessorOrderUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/UnorderedSequenceForRootWithSequencePropertyUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/UnorderedSequenceForRootWithUndefinedPropOrderUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/useunorderedsequence/test/InitializationUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/BasicBindingValidatorUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/ComplexTypeEquivalentToSimpleUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/ImportedSchemaUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/JavaBeanBindingValidationUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/UnboundedChoiceAsUnorderedSequenceUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/ValidatingResolverUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnnotatedPojoServerUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnnotationsUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnyTypeDomBindingUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnyUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ArrayWrapperUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AttributeRefUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AttributesUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/BasicArraysUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/BeforeMarshalAfterUnmarshalHandlerTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/BooleanPatternUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ChoiceMinOccurs0UnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/CollectionsUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/Dom2SaxUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/EnumUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ExceptionUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/IntrospectionUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JNDIBindingUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JbxbCharactersUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JbxbPojoServerUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JbxbSchemaBindingAttributeUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ListValueUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/LoginConfigUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MappingTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MapsUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MinOccurs0UnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MiscUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ModelGroupBindingUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MultispacedUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/NamespaceRegistryUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/PoUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/PojoServerUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/QNameAttributesUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/RepeatableTermsUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/RequiredAttributesUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SchemaImportUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SchemaIncludeUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SchemalessTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SimpleTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SimpleTypeBindingUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SoapEncUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SundayUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/WildcardUnresolvedElementsUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XMLNameToJavaIdentifierUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XercesBugTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XsiNilUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XsiTypeUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/choiceresolution/test/Foo2BarSequenceOrBarUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/choiceresolution/test/FooBarSequenceOrBarUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/elementorder/test/ElementOrderUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/jbxb/defaults/DefaultsUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/jbxb/minOccurs/Schema1UnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/BasicUnorderedSequenceUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/MiscGroupsUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/NestedSequenceUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/UnorderedOrderedMixUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/UnorderedSequenceAnnotationUnitTestCase.java
jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/UnorderedSequenceWithCollectionsUnitTestCase.java
Log:
introduced parser factory, prepared the test suite to be exported by other (parser) projects
Modified: jbossxb/branches/split/core/trunk/pom.xml
===================================================================
--- jbossxb/branches/split/core/trunk/pom.xml 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/pom.xml 2010-06-11 15:10:32 UTC (rev 4494)
@@ -5,9 +5,9 @@
<version>5</version>
</parent>
<modelVersion>4.0.0</modelVersion>
- <artifactId>jbossxb</artifactId>
+ <artifactId>jbossxb-core</artifactId>
<packaging>jar</packaging>
- <version>2.0.2-SNAPSHOT</version>
+ <version>3.0.0-SNAPSHOT</version>
<name>JBoss XML Binding</name>
<url>http://www.jboss.org</url>
<description>JBoss XML Binding</description>
@@ -15,7 +15,7 @@
<connection>scm:svn:https://svn.jboss.org/repos/common/jbossxb/trunk</connection>
</scm>
<build>
- <finalName>jboss-xml-binding</finalName>
+ <finalName>jbossxb-core</finalName>
<plugins>
<plugin>
<artifactId>maven-release-plugin</artifactId>
@@ -94,7 +94,29 @@
</configuration>
</execution>
</executions>
- </plugin>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-source-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</build>
<repositories>
@@ -182,6 +204,13 @@
<version>2.1.9</version>
<scope>compile</scope>
</dependency>
+
+ <dependency>
+ <groupId>org.jboss</groupId>
+ <artifactId>jbossxb-saxparser</artifactId>
+ <version>3.0.0-SNAPSHOT</version>
+ <scope>test</scope>
+ </dependency>
<dependency>
<groupId>org.jboss.test</groupId>
Modified: jbossxb/branches/split/core/trunk/src/main/java/org/jboss/xb/binding/UnmarshallerImpl.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/main/java/org/jboss/xb/binding/UnmarshallerImpl.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/main/java/org/jboss/xb/binding/UnmarshallerImpl.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,7 +26,7 @@
import org.jboss.xb.binding.metadata.unmarshalling.DocumentBinding;
import org.jboss.xb.binding.parser.JBossXBParser;
-import org.jboss.xb.binding.parser.sax.SaxJBossXBParser;
+import org.jboss.xb.binding.parser.ParserFactoryResolverUtil;
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBindingResolver;
import org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler;
@@ -53,7 +53,7 @@
*/
public UnmarshallerImpl() throws JBossXBException
{
- parser = new SaxJBossXBParser();
+ parser = ParserFactoryResolverUtil.resolveParserFactory().createParser();
}
public void setValidation(boolean validation) throws JBossXBException
Added: jbossxb/branches/split/core/trunk/src/main/java/org/jboss/xb/binding/parser/JBossXBParserFactory.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/main/java/org/jboss/xb/binding/parser/JBossXBParserFactory.java (rev 0)
+++ jbossxb/branches/split/core/trunk/src/main/java/org/jboss/xb/binding/parser/JBossXBParserFactory.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -0,0 +1,12 @@
+package org.jboss.xb.binding.parser;
+
+/**
+ * A JBossXBParserFactory.
+ *
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public interface JBossXBParserFactory
+{
+ JBossXBParser createParser();
+}
Added: jbossxb/branches/split/core/trunk/src/main/java/org/jboss/xb/binding/parser/ParserFactoryResolverUtil.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/main/java/org/jboss/xb/binding/parser/ParserFactoryResolverUtil.java (rev 0)
+++ jbossxb/branches/split/core/trunk/src/main/java/org/jboss/xb/binding/parser/ParserFactoryResolverUtil.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -0,0 +1,89 @@
+package org.jboss.xb.binding.parser;
+
+import java.io.IOException;
+import java.net.URL;
+import java.util.Enumeration;
+
+import org.jboss.xb.binding.JBossXBRuntimeException;
+
+/**
+ * A ParserFactoryBindingUtil.
+ *
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public class ParserFactoryResolverUtil
+{
+ private static final String BINDING_IMPL_RESOURCE = "org/jboss/xb/binding/parser/JBossXBParserFactoryImpl.class";
+ private static final String FACTORY_IMPL = "org.jboss.xb.binding.parser.JBossXBParserFactoryImpl";
+
+ private static JBossXBParserFactory factory;
+
+ static
+ {
+ ensureSingleBinding();
+ }
+
+ private static void ensureSingleBinding()
+ {
+ ClassLoader tcl = Thread.currentThread().getContextClassLoader();
+
+ Enumeration<URL> urls;
+ try
+ {
+ urls = tcl.getResources(BINDING_IMPL_RESOURCE);
+ }
+ catch (IOException e)
+ {
+ throw new JBossXBRuntimeException("Failed to locate " + BINDING_IMPL_RESOURCE, e);
+ }
+
+ if(!urls.hasMoreElements())
+ throw new JBossXBRuntimeException("Failed to locate " + BINDING_IMPL_RESOURCE);
+
+ URL url = urls.nextElement();
+ System.out.println(url.toExternalForm());
+ if(urls.hasMoreElements())
+ {
+ StringBuffer message = new StringBuffer();
+ message.append("There should be only one ").append(BINDING_IMPL_RESOURCE).append(" in the classpath but found:\n");
+ int urlsTotal = 1;
+ message.append(urlsTotal).append(") ").append(url.toExternalForm()).append("\n");
+ while (!urls.hasMoreElements())
+ {
+ url = urls.nextElement();
+ ++urlsTotal;
+ message.append(urlsTotal).append(") ").append(url.toExternalForm()).append("\n");
+ }
+ throw new JBossXBRuntimeException(message.toString());
+ }
+
+ Class<?> factoryCl;
+ try
+ {
+ factoryCl = tcl.loadClass(FACTORY_IMPL);
+ }
+ catch (ClassNotFoundException e)
+ {
+ throw new JBossXBRuntimeException("Failed to load " + FACTORY_IMPL, e);
+ }
+
+ try
+ {
+ factory = (JBossXBParserFactory) factoryCl.newInstance();
+ }
+ catch(ClassCastException cce)
+ {
+ throw new JBossXBRuntimeException(FACTORY_IMPL + " doesn't implement " + JBossXBParserFactory.class.getName(), cce);
+ }
+ catch (Exception e)
+ {
+ throw new JBossXBRuntimeException("Failed to instantiate " + factoryCl.getName(), e);
+ }
+ }
+
+ public static JBossXBParserFactory resolveParserFactory()
+ {
+ return factory;
+ }
+}
Added: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/XbTestSuite.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/XbTestSuite.java (rev 0)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/XbTestSuite.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -0,0 +1,185 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.xb;
+
+
+import org.jboss.test.javabean.test.JavaBeanTestSuite;
+import org.jboss.test.xb.builder.BuilderTestSuite;
+import org.jboss.test.xb.validator.ValidatorTestSuite;
+import org.jboss.test.xml.AnnotatedPojoServerUnitTestCase;
+import org.jboss.test.xml.AnnotationsUnitTestCase;
+import org.jboss.test.xml.AnyComplexTypeUnitTestCase;
+import org.jboss.test.xml.AnyTypeDomBindingUnitTestCase;
+import org.jboss.test.xml.AnyUnitTestCase;
+import org.jboss.test.xml.ArrayWrapperUnitTestCase;
+import org.jboss.test.xml.AttributeRefUnitTestCase;
+import org.jboss.test.xml.AttributesUnitTestCase;
+import org.jboss.test.xml.BasicArraysUnitTestCase;
+import org.jboss.test.xml.BeforeMarshalAfterUnmarshalHandlerTestCase;
+import org.jboss.test.xml.BooleanPatternUnitTestCase;
+import org.jboss.test.xml.ChoiceMinOccurs0UnitTestCase;
+import org.jboss.test.xml.CollectionOverridePropertyUnitTestCase;
+import org.jboss.test.xml.CollectionsUnitTestCase;
+import org.jboss.test.xml.Dom2SaxUnitTestCase;
+import org.jboss.test.xml.DuplicateInterceptorUnitTestCase;
+import org.jboss.test.xml.EnumUnitTestCase;
+import org.jboss.test.xml.ExceptionUnitTestCase;
+import org.jboss.test.xml.GlobalGroupUnitTestCase;
+import org.jboss.test.xml.IgnorableWhitespaceUnitTestCase;
+import org.jboss.test.xml.IntrospectionUnitTestCase;
+import org.jboss.test.xml.JNDIBindingUnitTestCase;
+import org.jboss.test.xml.JbxbCharactersUnitTestCase;
+import org.jboss.test.xml.JbxbPojoServerUnitTestCase;
+import org.jboss.test.xml.JbxbSchemaBindingAttributeUnitTestCase;
+import org.jboss.test.xml.ListValueUnitTestCase;
+import org.jboss.test.xml.LoginConfigUnitTestCase;
+import org.jboss.test.xml.MappingTestCase;
+import org.jboss.test.xml.MapsUnitTestCase;
+import org.jboss.test.xml.MinOccurs0UnitTestCase;
+import org.jboss.test.xml.MiscUnitTestCase;
+import org.jboss.test.xml.ModelGroupBindingUnitTestCase;
+import org.jboss.test.xml.MultispacedUnitTestCase;
+import org.jboss.test.xml.NamespaceRegistryUnitTestCase;
+import org.jboss.test.xml.NestedWildcardUnitTestCase;
+import org.jboss.test.xml.PoUnitTestCase;
+import org.jboss.test.xml.PojoServerUnitTestCase;
+import org.jboss.test.xml.QNameAttributesUnitTestCase;
+import org.jboss.test.xml.RepeatableTermsUnitTestCase;
+import org.jboss.test.xml.RepeatedElementsUnitTestCase;
+import org.jboss.test.xml.RequiredAttributesUnitTestCase;
+import org.jboss.test.xml.SchemaBindingInitializerUnitTestCase;
+import org.jboss.test.xml.SchemaImportUnitTestCase;
+import org.jboss.test.xml.SchemaIncludeUnitTestCase;
+import org.jboss.test.xml.SchemalessTestCase;
+import org.jboss.test.xml.SharedElementUnitTestCase;
+import org.jboss.test.xml.SimpleContentUnitTestCase;
+import org.jboss.test.xml.SimpleTestCase;
+import org.jboss.test.xml.SimpleTypeBindingUnitTestCase;
+import org.jboss.test.xml.SoapEncUnitTestCase;
+import org.jboss.test.xml.SundayUnitTestCase;
+import org.jboss.test.xml.TopLevelValueAdapterUnitTestCase;
+import org.jboss.test.xml.WildcardUnresolvedElementsUnitTestCase;
+import org.jboss.test.xml.WildcardWrapperUnitTestCase;
+import org.jboss.test.xml.XIncludeUnitTestCase;
+import org.jboss.test.xml.XMLNameToJavaIdentifierUnitTestCase;
+import org.jboss.test.xml.XOPUnitTestCase;
+import org.jboss.test.xml.XercesBugTestCase;
+import org.jboss.test.xml.XsiNilUnitTestCase;
+import org.jboss.test.xml.XsiTypeUnitTestCase;
+import org.jboss.test.xml.choiceresolution.test.Foo2BarSequenceOrBarUnitTestCase;
+import org.jboss.test.xml.choiceresolution.test.FooBarSequenceOrBarUnitTestCase;
+import org.jboss.test.xml.elementorder.test.ElementOrderUnitTestCase;
+import org.jboss.test.xml.jbxb.defaults.DefaultsUnitTestCase;
+import org.jboss.test.xml.jbxb.minOccurs.Schema1UnitTestCase;
+import org.jboss.test.xml.unorderedsequence.UnorderedSequenceTestSuite;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+/**
+ * A SequencesRequirePropOrderTestSuite.
+ *
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public class XbTestSuite extends TestSuite
+{
+ public static Test suite()
+ {
+ TestSuite suite = new TestSuite("Binding validator Tests");
+
+ suite.addTest(AnnotatedPojoServerUnitTestCase.suite());
+ suite.addTest(AnnotationsUnitTestCase.suite());
+ suite.addTest(AnyComplexTypeUnitTestCase.suite());
+ suite.addTest(AnyTypeDomBindingUnitTestCase.suite());
+ suite.addTest(AnyUnitTestCase.suite());
+ suite.addTest(ArrayWrapperUnitTestCase.suite());
+ suite.addTest(AttributeRefUnitTestCase.suite());
+ suite.addTest(AttributesUnitTestCase.suite());
+ suite.addTest(BasicArraysUnitTestCase.suite());
+ suite.addTest(BeforeMarshalAfterUnmarshalHandlerTestCase.suite());
+ suite.addTest(BooleanPatternUnitTestCase.suite());
+ suite.addTest(ChoiceMinOccurs0UnitTestCase.suite());
+ suite.addTest(CollectionOverridePropertyUnitTestCase.suite());
+ suite.addTest(CollectionsUnitTestCase.suite());
+ suite.addTest(Dom2SaxUnitTestCase.suite());
+ suite.addTest(DuplicateInterceptorUnitTestCase.suite());
+ suite.addTest(EnumUnitTestCase.suite());
+ suite.addTest(ExceptionUnitTestCase.suite());
+ suite.addTest(GlobalGroupUnitTestCase.suite());
+ suite.addTest(IgnorableWhitespaceUnitTestCase.suite());
+ suite.addTest(IntrospectionUnitTestCase.suite());
+ suite.addTest(JbxbCharactersUnitTestCase.suite());
+ suite.addTest(JbxbPojoServerUnitTestCase.suite());
+ suite.addTest(JbxbSchemaBindingAttributeUnitTestCase.suite());
+ suite.addTest(JNDIBindingUnitTestCase.suite());
+ suite.addTest(ListValueUnitTestCase.suite());
+ suite.addTest(LoginConfigUnitTestCase.suite());
+ suite.addTest(MappingTestCase.suite());
+ suite.addTest(MapsUnitTestCase.suite());
+ suite.addTest(MinOccurs0UnitTestCase.suite());
+ suite.addTest(MiscUnitTestCase.suite());
+ suite.addTest(ModelGroupBindingUnitTestCase.suite());
+ suite.addTest(MultispacedUnitTestCase.suite());
+ suite.addTest(NamespaceRegistryUnitTestCase.suite());
+ suite.addTest(NestedWildcardUnitTestCase.suite());
+ suite.addTest(PojoServerUnitTestCase.suite());
+ suite.addTest(PoUnitTestCase.suite());
+ suite.addTest(QNameAttributesUnitTestCase.suite());
+ suite.addTest(RepeatableTermsUnitTestCase.suite());
+ suite.addTest(RepeatedElementsUnitTestCase.suite());
+ suite.addTest(RequiredAttributesUnitTestCase.suite());
+ suite.addTest(SchemaBindingInitializerUnitTestCase.suite());
+ suite.addTest(SchemaImportUnitTestCase.suite());
+ suite.addTest(SchemaIncludeUnitTestCase.suite());
+ suite.addTest(SchemalessTestCase.suite());
+ suite.addTest(SharedElementUnitTestCase.suite());
+ suite.addTest(SimpleContentUnitTestCase.suite());
+ suite.addTest(SimpleTestCase.suite());
+ suite.addTest(SimpleTypeBindingUnitTestCase.suite());
+ suite.addTest(SoapEncUnitTestCase.suite());
+ suite.addTest(SundayUnitTestCase.suite());
+ suite.addTest(TopLevelValueAdapterUnitTestCase.suite());
+ suite.addTest(WildcardUnresolvedElementsUnitTestCase.suite());
+ suite.addTest(WildcardWrapperUnitTestCase.suite());
+ suite.addTest(XercesBugTestCase.suite());
+ suite.addTest(XIncludeUnitTestCase.suite());
+ suite.addTest(XMLNameToJavaIdentifierUnitTestCase.suite());
+ suite.addTest(XOPUnitTestCase.suite());
+ suite.addTest(XsiNilUnitTestCase.suite());
+ suite.addTest(XsiTypeUnitTestCase.suite());
+
+ suite.addTest(Foo2BarSequenceOrBarUnitTestCase.suite());
+ suite.addTest(FooBarSequenceOrBarUnitTestCase.suite());
+ suite.addTest(ElementOrderUnitTestCase.suite());
+ suite.addTest(DefaultsUnitTestCase.suite());
+ suite.addTest(Schema1UnitTestCase.suite());
+ suite.addTest(UnorderedSequenceTestSuite.suite());
+
+ suite.addTest(BuilderTestSuite.suite());
+ suite.addTest(ValidatorTestSuite.suite());
+
+ suite.addTest(JavaBeanTestSuite.suite());
+
+ return suite;
+ }
+}
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/AbstractSystemPropertyInitializationTest.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/AbstractSystemPropertyInitializationTest.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/AbstractSystemPropertyInitializationTest.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,19 +26,16 @@
import org.jboss.xb.builder.JBossXBBuilder;
-import junit.framework.TestCase;
-
-public abstract class AbstractSystemPropertyInitializationTest extends TestCase
+/**
+* @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+* @version $Revision: 1.1 $
+*/
+public abstract class AbstractSystemPropertyInitializationTest extends AbstractBuilderTest
{
private String defaultSystemValue;
private ClassLoader cl;
- public AbstractSystemPropertyInitializationTest()
- {
- super();
- }
-
public AbstractSystemPropertyInitializationTest(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/BuilderTestSuite.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/BuilderTestSuite.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/BuilderTestSuite.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,7 +25,12 @@
import junit.framework.TestSuite;
import junit.textui.TestRunner;
+import org.jboss.test.xb.builder.multiplerootclasses.test.MultipleRootClassesUnitTestCase;
import org.jboss.test.xb.builder.object.ObjectTestSuite;
+import org.jboss.test.xb.builder.repeatableterms.test.RepeatableTermsUnitTestCase;
+import org.jboss.test.xb.builder.schemarebuild.test.SchemaRebuildUnitTestCase;
+import org.jboss.test.xb.builder.sequencesrequireproporder.SequencesRequirePropOrderTestSuite;
+import org.jboss.test.xb.builder.useunorderedsequence.test.InitializationUnitTestCase;
/**
* BuilderTestSuite.
@@ -45,6 +50,11 @@
TestSuite suite = new TestSuite("Builder Tests");
suite.addTest(ObjectTestSuite.suite());
+ suite.addTest(MultipleRootClassesUnitTestCase.suite());
+ suite.addTest(RepeatableTermsUnitTestCase.suite());
+ suite.addTest(SchemaRebuildUnitTestCase.suite());
+ suite.addTest(SequencesRequirePropOrderTestSuite.suite());
+ suite.addTest(InitializationUnitTestCase.suite());
return suite;
}
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/multiplerootclasses/test/MultipleRootClassesUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/multiplerootclasses/test/MultipleRootClassesUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/multiplerootclasses/test/MultipleRootClassesUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,6 +25,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.multiplerootclasses.support.AnotherRootAnotherNs;
import org.jboss.test.xb.builder.multiplerootclasses.support.AnotherRootDefaultNs;
@@ -44,6 +46,11 @@
*/
public class MultipleRootClassesUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(MultipleRootClassesUnitTestCase.class);
+ }
+
public MultipleRootClassesUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/ObjectTestSuite.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/ObjectTestSuite.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/ObjectTestSuite.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,10 +25,18 @@
import junit.framework.TestSuite;
import junit.textui.TestRunner;
+import org.jboss.test.xb.builder.object.anyattribute.ObjectAnyAttributeTestSuite;
import org.jboss.test.xb.builder.object.attribute.ObjectAttributeTestSuite;
+import org.jboss.test.xb.builder.object.beanaccessmode.BeanAccessModeTestSuite;
import org.jboss.test.xb.builder.object.element.ObjectElementTestSuite;
import org.jboss.test.xb.builder.object.javabean.ObjectJavaBeanTestSuite;
+import org.jboss.test.xb.builder.object.jbossxmlcollection.test.JBossXmlCollectionUnitTestCase;
+import org.jboss.test.xb.builder.object.jbossxmlmapentry.test.JBossXmlMapEntryUnitTestCase;
+import org.jboss.test.xb.builder.object.jbossxmlpreservewhitespace.test.JBossXmlPreserveWhitespaceUnitTestCase;
+import org.jboss.test.xb.builder.object.jbossxmltransient.test.JBossXmlTransientTypeAndPropertiesUnitTestCase;
+import org.jboss.test.xb.builder.object.jbossxmlvalue.test.MixedTypeIgnoreEmptyStringUnitTestCase;
import org.jboss.test.xb.builder.object.mc.ObjectMCTestSuite;
+import org.jboss.test.xb.builder.object.propertyrefs.test.PropertyReplacementUnitTestCase;
import org.jboss.test.xb.builder.object.schema.ObjectSchemaTestSuite;
import org.jboss.test.xb.builder.object.type.ObjectTypeTestSuite;
@@ -49,12 +57,20 @@
{
TestSuite suite = new TestSuite("Object Tests");
- suite.addTest(ObjectSchemaTestSuite.suite());
suite.addTest(ObjectElementTestSuite.suite());
- suite.addTest(ObjectTypeTestSuite.suite());
suite.addTest(ObjectAttributeTestSuite.suite());
+ suite.addTest(ObjectAnyAttributeTestSuite.suite());
suite.addTest(ObjectJavaBeanTestSuite.suite());
+ suite.addTest(BeanAccessModeTestSuite.suite());
+ suite.addTest(JBossXmlCollectionUnitTestCase.suite());
+ suite.addTest(JBossXmlMapEntryUnitTestCase.suite());
+ suite.addTest(JBossXmlPreserveWhitespaceUnitTestCase.suite());
+ suite.addTest(JBossXmlTransientTypeAndPropertiesUnitTestCase.suite());
+ suite.addTest(MixedTypeIgnoreEmptyStringUnitTestCase.suite());
suite.addTest(ObjectMCTestSuite.suite());
+ suite.addTest(PropertyReplacementUnitTestCase.suite());
+ suite.addTest(ObjectSchemaTestSuite.suite());
+ suite.addTest(ObjectTypeTestSuite.suite());
return suite;
}
Added: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/anyattribute/ObjectAnyAttributeTestSuite.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/anyattribute/ObjectAnyAttributeTestSuite.java (rev 0)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/anyattribute/ObjectAnyAttributeTestSuite.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -0,0 +1,52 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2006, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.test.xb.builder.object.anyattribute;
+
+import org.jboss.test.xb.builder.object.anyattribute.test.AnyAttributeUnitTestCase;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+import junit.textui.TestRunner;
+
+
+/**
+ * ObjectAttributeTestSuite.
+ *
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public class ObjectAnyAttributeTestSuite extends TestSuite
+{
+ public static void main(String[] args)
+ {
+ TestRunner.run(suite());
+ }
+
+ public static Test suite()
+ {
+ TestSuite suite = new TestSuite("Object AnyAttribute Tests");
+
+ suite.addTest(AnyAttributeUnitTestCase.suite());
+
+ return suite;
+ }
+}
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/anyattribute/test/AnyAttributeUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/anyattribute/test/AnyAttributeUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/anyattribute/test/AnyAttributeUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,6 +25,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.anyattribute.support.AnyAttributes;
@@ -37,6 +39,11 @@
*/
public class AnyAttributeUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(AnyAttributeUnitTestCase.class);
+ }
+
public AnyAttributeUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/ObjectAttributeTestSuite.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/ObjectAttributeTestSuite.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/ObjectAttributeTestSuite.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,7 +21,11 @@
*/
package org.jboss.test.xb.builder.object.attribute;
+import org.jboss.test.xb.builder.object.attribute.javatypeadapter.test.JavaTypeAdapterUnitTestCase;
+import org.jboss.test.xb.builder.object.attribute.test.IntegerListUnitTestCase;
import org.jboss.test.xb.builder.object.attribute.test.IntegerUnitTestCase;
+import org.jboss.test.xb.builder.object.attribute.test.QualifierPointListUnitTestCase;
+import org.jboss.test.xb.builder.object.attribute.test.SchemaDefaultAttributeValueUnitTestCase;
import org.jboss.test.xb.builder.object.attribute.test.StringUnitTestCase;
import junit.framework.Test;
@@ -48,10 +52,11 @@
suite.addTest(StringUnitTestCase.suite());
suite.addTest(IntegerUnitTestCase.suite());
+ suite.addTest(IntegerListUnitTestCase.suite());
+ suite.addTest(QualifierPointListUnitTestCase.suite());
+ suite.addTest(SchemaDefaultAttributeValueUnitTestCase.suite());
+ suite.addTest(JavaTypeAdapterUnitTestCase.suite());
- // TODO test other simple types
- // TODO other tests
-
return suite;
}
}
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/javatypeadapter/test/JavaTypeAdapterUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/javatypeadapter/test/JavaTypeAdapterUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/javatypeadapter/test/JavaTypeAdapterUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -22,6 +22,8 @@
package org.jboss.test.xb.builder.object.attribute.javatypeadapter.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.attribute.javatypeadapter.support.Root;
import org.jboss.test.xb.builder.object.attribute.javatypeadapter.support.StringWrapper;
@@ -35,6 +37,11 @@
*/
public class JavaTypeAdapterUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(JavaTypeAdapterUnitTestCase.class);
+ }
+
public JavaTypeAdapterUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/QualifierPointListUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/QualifierPointListUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/QualifierPointListUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -22,7 +22,6 @@
package org.jboss.test.xb.builder.object.attribute.test;
import java.util.Arrays;
-import java.util.Iterator;
import java.util.List;
import javax.xml.XMLConstants;
@@ -30,10 +29,8 @@
import junit.framework.Test;
-import org.jboss.test.xb.builder.object.attribute.support.IntegerListAttribute;
import org.jboss.test.xb.builder.object.attribute.support.QualifierPoint;
import org.jboss.test.xb.builder.object.attribute.support.QualifierPointListAttribute;
-import org.jboss.xb.binding.SimpleTypeBindings;
import org.jboss.xb.binding.sunday.unmarshalling.AttributeBinding;
import org.jboss.xb.binding.sunday.unmarshalling.ElementBinding;
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/SchemaDefaultAttributeValueUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/SchemaDefaultAttributeValueUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/attribute/test/SchemaDefaultAttributeValueUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -24,6 +24,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.attribute.support.DefaultAttribute;
import org.jboss.util.xml.JBossEntityResolver;
@@ -45,6 +47,11 @@
*/
public class SchemaDefaultAttributeValueUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(SchemaDefaultAttributeValueUnitTestCase.class);
+ }
+
public SchemaDefaultAttributeValueUnitTestCase(String name)
{
super(name);
Added: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/BeanAccessModeTestSuite.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/BeanAccessModeTestSuite.java (rev 0)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/BeanAccessModeTestSuite.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -0,0 +1,68 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2006, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.test.xb.builder.object.beanaccessmode;
+
+import org.jboss.test.xb.builder.object.beanaccessmode.test.AllAccessModeGroupOverrideUnitTestCase;
+import org.jboss.test.xb.builder.object.beanaccessmode.test.AllAccessModeTypeOverrideUnitTestCase;
+import org.jboss.test.xb.builder.object.beanaccessmode.test.PropertyAccessModeGroupOverrideUnitTestCase;
+import org.jboss.test.xb.builder.object.beanaccessmode.test.PropertyAccessModeTypeOverrideUnitTestCase;
+import org.jboss.test.xb.builder.object.beanaccessmode.test.PublicMemberAccessModeGroupOverrideUnitTestCase;
+import org.jboss.test.xb.builder.object.beanaccessmode.test.PublicMemberAccessModeTypeOverrideUnitTestCase;
+import org.jboss.test.xb.builder.object.beanaccessmode.test.SchemaLevelAllAccessModeUnitTestCase;
+import org.jboss.test.xb.builder.object.beanaccessmode.test.SchemaLevelPropertyAccessModeUnitTestCase;
+import org.jboss.test.xb.builder.object.beanaccessmode.test.SchemaLevelPublicMemberAccessModeUnitTestCase;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+import junit.textui.TestRunner;
+
+
+/**
+ * ObjectAttributeTestSuite.
+ *
+ * @author <a href="adrian at jboss.com">Adrian Brock</a>
+ * @version $Revision: 1.1 $
+ */
+public class BeanAccessModeTestSuite extends TestSuite
+{
+ public static void main(String[] args)
+ {
+ TestRunner.run(suite());
+ }
+
+ public static Test suite()
+ {
+ TestSuite suite = new TestSuite("Object Bean Access Mode Tests");
+
+ suite.addTest(AllAccessModeGroupOverrideUnitTestCase.suite());
+ suite.addTest(AllAccessModeTypeOverrideUnitTestCase.suite());
+ suite.addTest(PropertyAccessModeGroupOverrideUnitTestCase.suite());
+ suite.addTest(PropertyAccessModeTypeOverrideUnitTestCase.suite());
+ suite.addTest(PublicMemberAccessModeGroupOverrideUnitTestCase.suite());
+ suite.addTest(PublicMemberAccessModeTypeOverrideUnitTestCase.suite());
+ suite.addTest(SchemaLevelAllAccessModeUnitTestCase.suite());
+ suite.addTest(SchemaLevelPropertyAccessModeUnitTestCase.suite());
+ suite.addTest(SchemaLevelPublicMemberAccessModeUnitTestCase.suite());
+
+ return suite;
+ }
+}
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/AllAccessModeGroupOverrideUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/AllAccessModeGroupOverrideUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/AllAccessModeGroupOverrideUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,6 +26,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.beanaccessmode.support.AllAccessModeGroupOverride;
import org.jboss.test.xb.builder.object.beanaccessmode.support.AllAccessModeGroupOverride.PropertyAccessModeGroup;
@@ -45,6 +47,11 @@
*/
public class AllAccessModeGroupOverrideUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(AllAccessModeGroupOverrideUnitTestCase.class);
+ }
+
public AllAccessModeGroupOverrideUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/AllAccessModeTypeOverrideUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/AllAccessModeTypeOverrideUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/AllAccessModeTypeOverrideUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,6 +25,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.beanaccessmode.support.AllAccessModeTypeOverride;
import org.jboss.test.xb.builder.object.beanaccessmode.support.AllAccessModeTypeOverride.PropertyAccessModeType;
@@ -43,6 +45,11 @@
*/
public class AllAccessModeTypeOverrideUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(AllAccessModeTypeOverrideUnitTestCase.class);
+ }
+
public AllAccessModeTypeOverrideUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PropertyAccessModeGroupOverrideUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PropertyAccessModeGroupOverrideUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PropertyAccessModeGroupOverrideUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,6 +25,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.beanaccessmode.support.PropertyAccessModeGroupOverride;
import org.jboss.test.xb.builder.object.beanaccessmode.support.PropertyAccessModeGroupOverride.PropertyAccessModeGroup;
@@ -44,6 +46,11 @@
*/
public class PropertyAccessModeGroupOverrideUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(PropertyAccessModeGroupOverrideUnitTestCase.class);
+ }
+
public PropertyAccessModeGroupOverrideUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PropertyAccessModeTypeOverrideUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PropertyAccessModeTypeOverrideUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PropertyAccessModeTypeOverrideUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,6 +25,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.beanaccessmode.support.PropertyAccessModeTypeOverride;
import org.jboss.test.xb.builder.object.beanaccessmode.support.PropertyAccessModeTypeOverride.PropertyAccessModeType;
@@ -43,6 +45,11 @@
*/
public class PropertyAccessModeTypeOverrideUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(PropertyAccessModeTypeOverrideUnitTestCase.class);
+ }
+
public PropertyAccessModeTypeOverrideUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PublicMemberAccessModeGroupOverrideUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PublicMemberAccessModeGroupOverrideUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PublicMemberAccessModeGroupOverrideUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,6 +26,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.beanaccessmode.support.PublicMemberAccessModeGroupOverride;
import org.jboss.test.xb.builder.object.beanaccessmode.support.PublicMemberAccessModeGroupOverride.PropertyAccessModeGroup;
@@ -45,6 +47,11 @@
*/
public class PublicMemberAccessModeGroupOverrideUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(PublicMemberAccessModeGroupOverrideUnitTestCase.class);
+ }
+
public PublicMemberAccessModeGroupOverrideUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PublicMemberAccessModeTypeOverrideUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PublicMemberAccessModeTypeOverrideUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/PublicMemberAccessModeTypeOverrideUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,6 +25,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.beanaccessmode.support.PublicMemberAccessModeTypeOverride;
import org.jboss.test.xb.builder.object.beanaccessmode.support.PublicMemberAccessModeTypeOverride.PropertyAccessModeType;
@@ -43,6 +45,11 @@
*/
public class PublicMemberAccessModeTypeOverrideUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(PublicMemberAccessModeTypeOverrideUnitTestCase.class);
+ }
+
public PublicMemberAccessModeTypeOverrideUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/SchemaLevelAllAccessModeUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/SchemaLevelAllAccessModeUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/SchemaLevelAllAccessModeUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.beanaccessmode.support.SomeType;
import org.jboss.test.xb.builder.object.beanaccessmode.support.SchemaLevelAllAccessMode;
@@ -41,6 +43,11 @@
*/
public class SchemaLevelAllAccessModeUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(SchemaLevelAllAccessModeUnitTestCase.class);
+ }
+
public SchemaLevelAllAccessModeUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/SchemaLevelPropertyAccessModeUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/SchemaLevelPropertyAccessModeUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/SchemaLevelPropertyAccessModeUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.beanaccessmode.support.SomeType;
import org.jboss.test.xb.builder.object.beanaccessmode.support.SchemaLevelPropertyAccessMode;
@@ -41,6 +43,11 @@
*/
public class SchemaLevelPropertyAccessModeUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(SchemaLevelPropertyAccessModeUnitTestCase.class);
+ }
+
public SchemaLevelPropertyAccessModeUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/SchemaLevelPublicMemberAccessModeUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/SchemaLevelPublicMemberAccessModeUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/beanaccessmode/test/SchemaLevelPublicMemberAccessModeUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.beanaccessmode.support.SomeType;
import org.jboss.test.xb.builder.object.beanaccessmode.support.SchemaLevelPublicMemberAccessMode;
@@ -41,6 +43,11 @@
*/
public class SchemaLevelPublicMemberAccessModeUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(SchemaLevelPublicMemberAccessModeUnitTestCase.class);
+ }
+
public SchemaLevelPublicMemberAccessModeUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/ObjectElementTestSuite.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/ObjectElementTestSuite.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/ObjectElementTestSuite.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,7 +25,11 @@
import junit.framework.TestSuite;
import junit.textui.TestRunner;
+import org.jboss.test.xb.builder.object.element.javatypeadapter.test.JavaTypeAdapterUnitTestCase;
+import org.jboss.test.xb.builder.object.element.jbossxmlnsprefix.test.JBossXmlNsPrefixUnitTestCase;
+import org.jboss.test.xb.builder.object.element.wrapper.test.WrapperUnitTestCase;
import org.jboss.test.xb.builder.object.element.xmlelement.ObjectXmlElementTestSuite;
+import org.jboss.test.xb.builder.object.element.xmlelements.test.XmlElementsUnitTestCase;
import org.jboss.test.xb.builder.object.element.xmlrootelement.ObjectXmlRootElementTestSuite;
/**
@@ -45,8 +49,12 @@
{
TestSuite suite = new TestSuite("Object Element Tests");
+ suite.addTest(JavaTypeAdapterUnitTestCase.suite());
+ suite.addTest(JBossXmlNsPrefixUnitTestCase.suite());
+ suite.addTest(WrapperUnitTestCase.suite());
+ suite.addTest(ObjectXmlElementTestSuite.suite());
+ suite.addTest(XmlElementsUnitTestCase.suite());
suite.addTest(ObjectXmlRootElementTestSuite.suite());
- suite.addTest(ObjectXmlElementTestSuite.suite());
return suite;
}
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/javatypeadapter/test/JavaTypeAdapterUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/javatypeadapter/test/JavaTypeAdapterUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/javatypeadapter/test/JavaTypeAdapterUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import java.util.Map;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.element.javatypeadapter.support.MyHashMapTypeRoot;
import org.jboss.test.xb.builder.object.element.javatypeadapter.support.Root;
@@ -36,6 +38,11 @@
*/
public class JavaTypeAdapterUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(JavaTypeAdapterUnitTestCase.class);
+ }
+
public JavaTypeAdapterUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/jbossxmlnsprefix/test/JBossXmlNsPrefixUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/jbossxmlnsprefix/test/JBossXmlNsPrefixUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/jbossxmlnsprefix/test/JBossXmlNsPrefixUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,6 +26,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.element.jbossxmlnsprefix.support.ComponentQNameFalseComponentContentFalseGroup;
import org.jboss.test.xb.builder.object.element.jbossxmlnsprefix.support.ComponentQNameFalseComponentContentTrue;
@@ -55,6 +57,11 @@
*/
public class JBossXmlNsPrefixUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(JBossXmlNsPrefixUnitTestCase.class);
+ }
+
public JBossXmlNsPrefixUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/wrapper/test/WrapperUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/wrapper/test/WrapperUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/wrapper/test/WrapperUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -1,3 +1,24 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
package org.jboss.test.xb.builder.object.element.wrapper.test;
import java.util.List;
@@ -2,2 +23,4 @@
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
@@ -10,8 +33,18 @@
import org.jboss.test.xb.builder.object.element.wrapper.support.Foo4;
import org.jboss.test.xb.builder.object.element.wrapper.support.MyNumber;
+/**
+ *
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
public class WrapperUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(WrapperUnitTestCase.class);
+ }
+
public WrapperUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/xmlelements/test/XmlElementsUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/xmlelements/test/XmlElementsUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/element/xmlelements/test/XmlElementsUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -1,11 +1,44 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
package org.jboss.test.xb.builder.object.element.xmlelements.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.element.xmlelements.support.Foo4;
+/**
+ *
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
public class XmlElementsUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(XmlElementsUnitTestCase.class);
+ }
+
public XmlElementsUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlcollection/test/JBossXmlCollectionUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlcollection/test/JBossXmlCollectionUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlcollection/test/JBossXmlCollectionUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -24,6 +24,8 @@
import java.util.LinkedList;
import java.util.List;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.jbossxmlcollection.support.Root;
@@ -36,6 +38,11 @@
*/
public class JBossXmlCollectionUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(JBossXmlCollectionUnitTestCase.class);
+ }
+
public JBossXmlCollectionUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlmapentry/test/JBossXmlMapEntryUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlmapentry/test/JBossXmlMapEntryUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlmapentry/test/JBossXmlMapEntryUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import java.util.Map;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.jbossxmlmapentry.support.EntryTypeKeyAttributeValueEntry;
import org.jboss.test.xb.builder.object.jbossxmlmapentry.support.Root;
@@ -36,6 +38,10 @@
*/
public class JBossXmlMapEntryUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(JBossXmlMapEntryUnitTestCase.class);
+ }
public JBossXmlMapEntryUnitTestCase(String name)
{
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlpreservewhitespace/test/JBossXmlPreserveWhitespaceUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlpreservewhitespace/test/JBossXmlPreserveWhitespaceUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlpreservewhitespace/test/JBossXmlPreserveWhitespaceUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.object.jbossxmlpreservewhitespace.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.jbossxmlpreservewhitespace.support.CustomizedSchemaRoot;
import org.jboss.test.xb.builder.object.jbossxmlpreservewhitespace.support.DefaultsRoot;
@@ -33,6 +35,10 @@
*/
public class JBossXmlPreserveWhitespaceUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(JBossXmlPreserveWhitespaceUnitTestCase.class);
+ }
public JBossXmlPreserveWhitespaceUnitTestCase(String name)
{
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmltransient/test/JBossXmlTransientTypeAndPropertiesUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmltransient/test/JBossXmlTransientTypeAndPropertiesUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmltransient/test/JBossXmlTransientTypeAndPropertiesUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.jbossxmltransient.support.ExtendedBase;
import org.jboss.test.xb.builder.object.jbossxmltransient.support.ExtendedJBossObject;
@@ -40,6 +42,11 @@
*/
public class JBossXmlTransientTypeAndPropertiesUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(JBossXmlTransientTypeAndPropertiesUnitTestCase.class);
+ }
+
public JBossXmlTransientTypeAndPropertiesUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlvalue/test/MixedTypeIgnoreEmptyStringUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlvalue/test/MixedTypeIgnoreEmptyStringUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/jbossxmlvalue/test/MixedTypeIgnoreEmptyStringUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import java.util.List;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.jbossxmlvalue.support.MixedType;
import org.jboss.test.xb.builder.object.jbossxmlvalue.support.MixedTypeIgnoreEmptyStringFalse;
@@ -36,6 +38,11 @@
*/
public class MixedTypeIgnoreEmptyStringUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(MixedTypeIgnoreEmptyStringUnitTestCase.class);
+ }
+
public MixedTypeIgnoreEmptyStringUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/propertyrefs/test/PropertyReplacementUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/propertyrefs/test/PropertyReplacementUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/propertyrefs/test/PropertyReplacementUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.object.propertyrefs.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.propertyrefs.support.Root;
@@ -32,6 +34,11 @@
*/
public class PropertyReplacementUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(PropertyReplacementUnitTestCase.class);
+ }
+
public PropertyReplacementUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/ObjectTypeTestSuite.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/ObjectTypeTestSuite.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/ObjectTypeTestSuite.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,6 +26,8 @@
import junit.textui.TestRunner;
import org.jboss.test.xb.builder.object.type.accessor.ObjectTypeAccessorTestSuite;
import org.jboss.test.xb.builder.object.type.collection.ObjectTypeCollectionTestSuite;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.JBossXmlModelGroupTestSuite;
+import org.jboss.test.xb.builder.object.type.jbossxmltype.test.JBossXmlTypeUnitTestCase;
import org.jboss.test.xb.builder.object.type.simple.ObjectTypeSimpleTestSuite;
import org.jboss.test.xb.builder.object.type.value.ObjectTypeValueTestSuite;
import org.jboss.test.xb.builder.object.type.xmlanyelement.ObjectTypeXmlAnyElementTestSuite;
@@ -51,14 +53,16 @@
{
TestSuite suite = new TestSuite("Object Type Tests");
- suite.addTest(ObjectTypeXmlTypeTestSuite.suite());
- suite.addTest(ObjectTypeXmlEnumTestSuite.suite());
- suite.addTest(ObjectTypeSimpleTestSuite.suite());
suite.addTest(ObjectTypeCollectionTestSuite.suite());
suite.addTest(ObjectTypeValueTestSuite.suite());
+ suite.addTest(ObjectTypeAccessorTestSuite.suite());
+ suite.addTest(JBossXmlModelGroupTestSuite.suite());
+ suite.addTest(JBossXmlTypeUnitTestCase.suite());
+ suite.addTest(ObjectTypeSimpleTestSuite.suite());
suite.addTest(ObjectTypeXmlAnyElementTestSuite.suite());
+ suite.addTest(ObjectTypeXmlEnumTestSuite.suite());
suite.addTest(ObjectTypeXmlTransientTestSuite.suite());
- suite.addTest(ObjectTypeAccessorTestSuite.suite());
+ suite.addTest(ObjectTypeXmlTypeTestSuite.suite());
return suite;
}
Added: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/JBossXmlModelGroupTestSuite.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/JBossXmlModelGroupTestSuite.java (rev 0)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/JBossXmlModelGroupTestSuite.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -0,0 +1,91 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2006, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+import junit.textui.TestRunner;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.ParticleChoiceBindingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.ParticleChoiceUnmarshallingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.PropertyAllBindingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.PropertyAllUnmarshallingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.PropertyChoiceBindingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.PropertyChoiceUnmarshallingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.PropertySequenceBindingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.PropertySequenceUnmarshallingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.RepeatableParticleChoiceBindingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.RepeatableParticleChoiceUnmarshallingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.RepeatablePropertyAllBindingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.RepeatablePropertyAllUnmarshallingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.RepeatablePropertyChoiceBindingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.RepeatablePropertyChoiceUnmarshallingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.RepeatablePropertySequenceBindingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.RepeatablePropertySequenceUnmarshallingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.RootWithTwoParticleGroupsBindingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.RootWithTwoParticleGroupsUnmarshallingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.RootWithTwoPropertyGroupsBindingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.RootWithTwoPropertyGroupsUnmarshallingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.XmlTypeChoiceCollectionBindingTestCase;
+import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test.XmlTypeChoiceCollectionUnmarshallingTestCase;
+
+/**
+ *
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public class JBossXmlModelGroupTestSuite extends TestSuite
+{
+ public static void main(String[] args)
+ {
+ TestRunner.run(suite());
+ }
+
+ public static Test suite()
+ {
+ TestSuite suite = new TestSuite("JBossXmlModelGroup Tests");
+
+ suite.addTest(ParticleChoiceBindingTestCase.suite());
+ suite.addTest(ParticleChoiceUnmarshallingTestCase.suite());
+ suite.addTest(PropertyAllBindingTestCase.suite());
+ suite.addTest(PropertyAllUnmarshallingTestCase.suite());
+ suite.addTest(PropertyChoiceBindingTestCase.suite());
+ suite.addTest(PropertyChoiceUnmarshallingTestCase.suite());
+ suite.addTest(PropertySequenceBindingTestCase.suite());
+ suite.addTest(PropertySequenceUnmarshallingTestCase.suite());
+ suite.addTest(RepeatableParticleChoiceBindingTestCase.suite());
+ suite.addTest(RepeatableParticleChoiceUnmarshallingTestCase.suite());
+ suite.addTest(RepeatablePropertyAllBindingTestCase.suite());
+ suite.addTest(RepeatablePropertyAllUnmarshallingTestCase.suite());
+ suite.addTest(RepeatablePropertyChoiceBindingTestCase.suite());
+ suite.addTest(RepeatablePropertyChoiceUnmarshallingTestCase.suite());
+ suite.addTest(RepeatablePropertySequenceBindingTestCase.suite());
+ suite.addTest(RepeatablePropertySequenceUnmarshallingTestCase.suite());
+ suite.addTest(RootWithTwoParticleGroupsBindingTestCase.suite());
+ suite.addTest(RootWithTwoParticleGroupsUnmarshallingTestCase.suite());
+ suite.addTest(RootWithTwoPropertyGroupsBindingTestCase.suite());
+ suite.addTest(RootWithTwoPropertyGroupsUnmarshallingTestCase.suite());
+ suite.addTest(XmlTypeChoiceCollectionBindingTestCase.suite());
+ suite.addTest(XmlTypeChoiceCollectionUnmarshallingTestCase.suite());
+
+ return suite;
+ }
+}
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/ParticleChoiceBindingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/ParticleChoiceBindingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/ParticleChoiceBindingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithParticlesChoice;
import org.jboss.xb.binding.sunday.unmarshalling.ElementBinding;
import org.jboss.xb.binding.sunday.unmarshalling.ModelGroupBinding;
@@ -40,7 +42,11 @@
*/
public class ParticleChoiceBindingTestCase extends AbstractJBossXmlModelGroupTest
{
-
+ public static Test suite()
+ {
+ return suite(ParticleChoiceBindingTestCase.class);
+ }
+
/**
* Create a new ParticleChoiceBindingTestCase.
*
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/ParticleChoiceUnmarshallingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/ParticleChoiceUnmarshallingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/ParticleChoiceUnmarshallingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.AbstractChoice;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.ChoiceB;
@@ -34,6 +36,10 @@
*/
public class ParticleChoiceUnmarshallingTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(ParticleChoiceUnmarshallingTestCase.class);
+ }
/**
* Create a new ParticleChoiceUnmarshallingTestCase.
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyAllBindingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyAllBindingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyAllBindingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithPropertiesAll;
/**
@@ -31,6 +33,10 @@
*/
public class PropertyAllBindingTestCase extends AbstractJBossXmlModelGroupTest
{
+ public static Test suite()
+ {
+ return suite(PropertyAllBindingTestCase.class);
+ }
/**
* Create a new PropertyAllBindingTestCase.
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyAllUnmarshallingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyAllUnmarshallingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyAllUnmarshallingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.PropertiesAll;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithPropertiesAll;
@@ -33,6 +35,10 @@
*/
public class PropertyAllUnmarshallingTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(PropertyAllUnmarshallingTestCase.class);
+ }
/**
* Create a new PropertyAllUnmarshallingTestCase.
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyChoiceBindingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyChoiceBindingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyChoiceBindingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithPropertiesChoice;
/**
@@ -31,6 +33,10 @@
*/
public class PropertyChoiceBindingTestCase extends AbstractJBossXmlModelGroupTest
{
+ public static Test suite()
+ {
+ return suite(PropertyChoiceBindingTestCase.class);
+ }
/**
* Create a new PropertyChoiceBindingTestCase.
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyChoiceUnmarshallingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyChoiceUnmarshallingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertyChoiceUnmarshallingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.PropertiesChoice;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithPropertiesChoice;
@@ -33,6 +35,10 @@
*/
public class PropertyChoiceUnmarshallingTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(PropertyChoiceUnmarshallingTestCase.class);
+ }
public PropertyChoiceUnmarshallingTestCase(String name)
{
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertySequenceBindingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertySequenceBindingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertySequenceBindingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithPropertiesSequence;
/**
@@ -31,6 +33,11 @@
*/
public class PropertySequenceBindingTestCase extends AbstractJBossXmlModelGroupTest
{
+ public static Test suite()
+ {
+ return suite(PropertySequenceBindingTestCase.class);
+ }
+
public PropertySequenceBindingTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertySequenceUnmarshallingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertySequenceUnmarshallingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/PropertySequenceUnmarshallingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.PropertiesSequence;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithPropertiesSequence;
@@ -33,6 +35,11 @@
*/
public class PropertySequenceUnmarshallingTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(PropertySequenceUnmarshallingTestCase.class);
+ }
+
public PropertySequenceUnmarshallingTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatableParticleChoiceBindingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatableParticleChoiceBindingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatableParticleChoiceBindingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,6 +26,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithParticlesChoiceCollection;
import org.jboss.xb.binding.sunday.unmarshalling.ChoiceBinding;
import org.jboss.xb.binding.sunday.unmarshalling.ElementBinding;
@@ -45,6 +47,10 @@
*/
public class RepeatableParticleChoiceBindingTestCase extends AbstractJBossXmlModelGroupTest
{
+ public static Test suite()
+ {
+ return suite(RepeatableParticleChoiceBindingTestCase.class);
+ }
/**
* Create a new RepeatableParticleChoiceBindingTestCase.
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatableParticleChoiceUnmarshallingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatableParticleChoiceUnmarshallingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatableParticleChoiceUnmarshallingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import java.util.List;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.AbstractChoice;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.ChoiceA;
@@ -37,6 +39,10 @@
*/
public class RepeatableParticleChoiceUnmarshallingTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(RepeatableParticleChoiceUnmarshallingTestCase.class);
+ }
/**
* Create a new RepeatableParticleChoiceUnmarshalling.
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyAllBindingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyAllBindingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyAllBindingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithPropertiesAllCollection;
/**
@@ -31,6 +33,10 @@
*/
public class RepeatablePropertyAllBindingTestCase extends AbstractJBossXmlModelGroupTest
{
+ public static Test suite()
+ {
+ return suite(RepeatablePropertyAllBindingTestCase.class);
+ }
public RepeatablePropertyAllBindingTestCase(String name)
{
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyAllUnmarshallingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyAllUnmarshallingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyAllUnmarshallingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import java.util.List;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.PropertiesAll;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithPropertiesAllCollection;
@@ -35,6 +37,10 @@
*/
public class RepeatablePropertyAllUnmarshallingTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(RepeatablePropertyAllUnmarshallingTestCase.class);
+ }
/**
* Create a new RepeatablePropertyAllUnmarshallingTestCase.
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyChoiceBindingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyChoiceBindingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyChoiceBindingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithPropertiesChoiceCollection;
/**
@@ -31,6 +33,10 @@
*/
public class RepeatablePropertyChoiceBindingTestCase extends AbstractJBossXmlModelGroupTest
{
+ public static Test suite()
+ {
+ return suite(RepeatablePropertyChoiceBindingTestCase.class);
+ }
/**
* Create a new RepeatablePropertyChoiceBindingTestCase.
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyChoiceUnmarshallingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyChoiceUnmarshallingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertyChoiceUnmarshallingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import java.util.List;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.PropertiesChoice;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithPropertiesChoiceCollection;
@@ -35,6 +37,10 @@
*/
public class RepeatablePropertyChoiceUnmarshallingTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(RepeatablePropertyChoiceUnmarshallingTestCase.class);
+ }
/**
* Create a new RepeatablePropertyChoiceUnmarshallingTestCase.
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertySequenceBindingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertySequenceBindingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertySequenceBindingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithPropertiesSequenceCollection;
/**
@@ -31,6 +33,10 @@
*/
public class RepeatablePropertySequenceBindingTestCase extends AbstractJBossXmlModelGroupTest
{
+ public static Test suite()
+ {
+ return suite(RepeatablePropertySequenceBindingTestCase.class);
+ }
/**
* Create a new RepeatablePropertySequenceBindingTestCase.
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertySequenceUnmarshallingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertySequenceUnmarshallingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RepeatablePropertySequenceUnmarshallingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import java.util.List;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.PropertiesSequence;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithPropertiesSequenceCollection;
@@ -35,6 +37,11 @@
*/
public class RepeatablePropertySequenceUnmarshallingTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(RepeatablePropertySequenceUnmarshallingTestCase.class);
+ }
+
public RepeatablePropertySequenceUnmarshallingTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoParticleGroupsBindingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoParticleGroupsBindingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoParticleGroupsBindingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,6 +26,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithTwoParticleGroups;
import org.jboss.xb.binding.sunday.unmarshalling.ElementBinding;
import org.jboss.xb.binding.sunday.unmarshalling.ModelGroupBinding;
@@ -44,6 +46,10 @@
*/
public class RootWithTwoParticleGroupsBindingTestCase extends AbstractJBossXmlModelGroupTest
{
+ public static Test suite()
+ {
+ return suite(RootWithTwoParticleGroupsBindingTestCase.class);
+ }
/**
* Create a new RootWithTwoParticleGroupsBindingTestCase.
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoParticleGroupsUnmarshallingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoParticleGroupsUnmarshallingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoParticleGroupsUnmarshallingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.AbstractChoice;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.ChoiceA;
@@ -35,6 +37,10 @@
*/
public class RootWithTwoParticleGroupsUnmarshallingTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(RootWithTwoParticleGroupsUnmarshallingTestCase.class);
+ }
/**
* Create a new RootWithTwoParticleGroupsUnmarshallingTestCase.
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoPropertyGroupsBindingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoPropertyGroupsBindingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoPropertyGroupsBindingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,6 +26,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithTwoPropertyGroups;
import org.jboss.xb.binding.sunday.unmarshalling.ElementBinding;
import org.jboss.xb.binding.sunday.unmarshalling.ModelGroupBinding;
@@ -44,6 +46,11 @@
*/
public class RootWithTwoPropertyGroupsBindingTestCase extends AbstractJBossXmlModelGroupTest
{
+ public static Test suite()
+ {
+ return suite(RootWithTwoPropertyGroupsBindingTestCase.class);
+ }
+
public RootWithTwoPropertyGroupsBindingTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoPropertyGroupsUnmarshallingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoPropertyGroupsUnmarshallingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/RootWithTwoPropertyGroupsUnmarshallingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -22,6 +22,8 @@
package org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.PropertiesSequence;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithTwoPropertyGroups;
@@ -36,6 +38,11 @@
*/
public class RootWithTwoPropertyGroupsUnmarshallingTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(RootWithTwoPropertyGroupsUnmarshallingTestCase.class);
+ }
+
public RootWithTwoPropertyGroupsUnmarshallingTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/XmlTypeChoiceCollectionBindingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/XmlTypeChoiceCollectionBindingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/XmlTypeChoiceCollectionBindingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,6 +26,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.RootWithChoiceCollectionXmlType;
import org.jboss.xb.binding.sunday.unmarshalling.ChoiceBinding;
import org.jboss.xb.binding.sunday.unmarshalling.ElementBinding;
@@ -46,6 +48,10 @@
*/
public class XmlTypeChoiceCollectionBindingTestCase extends AbstractJBossXmlModelGroupTest
{
+ public static Test suite()
+ {
+ return suite(XmlTypeChoiceCollectionBindingTestCase.class);
+ }
/**
* Create a new XmlTypeChoiceCollectionBindingTestCase.
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/XmlTypeChoiceCollectionUnmarshallingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/XmlTypeChoiceCollectionUnmarshallingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmlmodelgroup/test/XmlTypeChoiceCollectionUnmarshallingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.AbstractChoice;
import org.jboss.test.xb.builder.object.type.jbossxmlmodelgroup.support.ChoiceA;
@@ -36,6 +38,10 @@
*/
public class XmlTypeChoiceCollectionUnmarshallingTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(XmlTypeChoiceCollectionUnmarshallingTestCase.class);
+ }
/**
* Create a new XmlTypeChoiceCollectionUnmarshallingTestCase.
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmltype/test/JBossXmlTypeUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmltype/test/JBossXmlTypeUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/jbossxmltype/test/JBossXmlTypeUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,6 +26,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.type.jbossxmltype.support.RootWithDefaults;
import org.jboss.test.xb.builder.object.type.jbossxmltype.support.RootWithModelGroupAll;
@@ -52,6 +54,11 @@
*/
public class JBossXmlTypeUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(JBossXmlTypeUnitTestCase.class);
+ }
+
public JBossXmlTypeUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/xmlanyelement/ObjectTypeXmlAnyElementTestSuite.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/xmlanyelement/ObjectTypeXmlAnyElementTestSuite.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/xmlanyelement/ObjectTypeXmlAnyElementTestSuite.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -27,6 +27,7 @@
import org.jboss.test.xb.builder.object.type.xmlanyelement.test.ArrayElementWildcardUnitTestCase;
import org.jboss.test.xb.builder.object.type.xmlanyelement.test.ArrayObjectWildcardUnitTestCase;
+import org.jboss.test.xb.builder.object.type.xmlanyelement.test.ElementBeforePrimitiveUnitTestCase;
import org.jboss.test.xb.builder.object.type.xmlanyelement.test.ElementPropertiesAndWildcardUnitTestCase;
import org.jboss.test.xb.builder.object.type.xmlanyelement.test.ElementWildcardUnitTestCase;
import org.jboss.test.xb.builder.object.type.xmlanyelement.test.ElementWildcardWithCollectionPropertyUnitTestCase;
@@ -57,6 +58,7 @@
suite.addTest(ArrayObjectWildcardUnitTestCase.suite());
suite.addTest(ListObjectWildcardUnitTestCase.suite());
suite.addTest(ElementWildcardUnitTestCase.suite());
+ suite.addTest(ElementBeforePrimitiveUnitTestCase.suite());
suite.addTest(ArrayElementWildcardUnitTestCase.suite());
suite.addTest(ListElementWildcardUnitTestCase.suite());
suite.addTest(ElementPropertiesAndWildcardUnitTestCase.suite());
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/xmlenum/ObjectTypeXmlEnumTestSuite.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/xmlenum/ObjectTypeXmlEnumTestSuite.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/xmlenum/ObjectTypeXmlEnumTestSuite.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,6 +25,7 @@
import junit.framework.TestSuite;
import junit.textui.TestRunner;
+import org.jboss.test.xb.builder.object.type.xmlenum.test.CollectionOfEnumUnitTestCase;
import org.jboss.test.xb.builder.object.type.xmlenum.test.DefaultsUnitTestCase;
import org.jboss.test.xb.builder.object.type.xmlenum.test.EnumConstantUnconvertableUnitTestCase;
import org.jboss.test.xb.builder.object.type.xmlenum.test.EnumGlobalTypeUnitTestCase;
@@ -61,6 +62,7 @@
suite.addTest(IgnoreCaseUnitTestCase.suite());
suite.addTest(FailIgnoreCaseTestCase.suite());
suite.addTest(MatchCaseUnitTestCase.suite());
+ suite.addTest(CollectionOfEnumUnitTestCase.suite());
return suite;
}
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/xmlenum/test/CollectionOfEnumUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/xmlenum/test/CollectionOfEnumUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/object/type/xmlenum/test/CollectionOfEnumUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import java.util.List;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.object.type.xmlenum.support.CollectionOfEnum;
import org.jboss.test.xb.builder.object.type.xmlenum.support.EnumGlobalType;
@@ -36,6 +38,11 @@
*/
public class CollectionOfEnumUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(CollectionOfEnumUnitTestCase.class);
+ }
+
public CollectionOfEnumUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/repeatableterms/test/RepeatableTermsUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/repeatableterms/test/RepeatableTermsUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/repeatableterms/test/RepeatableTermsUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,6 +26,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.builder.repeatableterms.support.Choice;
import org.jboss.test.xb.builder.repeatableterms.support.Sequence;
@@ -46,6 +48,11 @@
*/
public class RepeatableTermsUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(RepeatableTermsUnitTestCase.class);
+ }
+
public RepeatableTermsUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/schemarebuild/test/SchemaRebuildUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/schemarebuild/test/SchemaRebuildUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/schemarebuild/test/SchemaRebuildUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,11 +21,12 @@
*/
package org.jboss.test.xb.builder.schemarebuild.test;
-import java.util.Set;
import javax.xml.bind.annotation.XmlNs;
import javax.xml.bind.annotation.XmlRootElement;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.xb.annotations.JBossXmlSchema;
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
@@ -39,6 +40,11 @@
*/
public class SchemaRebuildUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(SchemaRebuildUnitTestCase.class);
+ }
+
public SchemaRebuildUnitTestCase(String name)
{
super(name);
Added: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/SequencesRequirePropOrderTestSuite.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/SequencesRequirePropOrderTestSuite.java (rev 0)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/SequencesRequirePropOrderTestSuite.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -0,0 +1,59 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.xb.builder.sequencesrequireproporder;
+
+import org.jboss.test.xb.builder.sequencesrequireproporder.test.InitializationUnitTestCase;
+import org.jboss.test.xb.builder.sequencesrequireproporder.test.RootWithSequencePropertyUnitTestCase;
+import org.jboss.test.xb.builder.sequencesrequireproporder.test.RootWithUndefinedPropOrderUnitTestCase;
+import org.jboss.test.xb.builder.sequencesrequireproporder.test.RootWithUnorderedSequencePropertyUnitTestCase;
+import org.jboss.test.xb.builder.sequencesrequireproporder.test.RootWithUnorderedSequenceUnitTestCase;
+import org.jboss.test.xb.builder.sequencesrequireproporder.test.RootWithXmlAccessorOrderUnitTestCase;
+import org.jboss.test.xb.builder.sequencesrequireproporder.test.UnorderedSequenceForRootWithSequencePropertyUnitTestCase;
+import org.jboss.test.xb.builder.sequencesrequireproporder.test.UnorderedSequenceForRootWithUndefinedPropOrderUnitTestCase;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+/**
+ * A SequencesRequirePropOrderTestSuite.
+ *
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public class SequencesRequirePropOrderTestSuite extends TestSuite
+{
+ public static Test suite()
+ {
+ TestSuite suite = new TestSuite("Sequences Require propOrder Tests");
+
+ suite.addTest(InitializationUnitTestCase.suite());
+ suite.addTest(RootWithSequencePropertyUnitTestCase.suite());
+ suite.addTest(RootWithUndefinedPropOrderUnitTestCase.suite());
+ suite.addTest(RootWithUnorderedSequencePropertyUnitTestCase.suite());
+ suite.addTest(RootWithUnorderedSequenceUnitTestCase.suite());
+ suite.addTest(RootWithXmlAccessorOrderUnitTestCase.suite());
+ suite.addTest(UnorderedSequenceForRootWithSequencePropertyUnitTestCase.suite());
+ suite.addTest(UnorderedSequenceForRootWithUndefinedPropOrderUnitTestCase.suite());
+
+ return suite;
+ }
+}
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/AbstractSequencesRequirePropOrderTest.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/AbstractSequencesRequirePropOrderTest.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/AbstractSequencesRequirePropOrderTest.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,17 +21,22 @@
*/
package org.jboss.test.xb.builder.sequencesrequireproporder.test;
+import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.xb.binding.JBossXBRuntimeException;
import org.jboss.xb.builder.JBossXBBuilder;
-import junit.framework.TestCase;
/**
* @author <a href="alex at jboss.com">Alexey Loubyansky</a>
* @version $Revision: 1.1 $
*/
-public abstract class AbstractSequencesRequirePropOrderTest extends TestCase
+public abstract class AbstractSequencesRequirePropOrderTest extends AbstractBuilderTest
{
+ public AbstractSequencesRequirePropOrderTest(String name)
+ {
+ super(name);
+ }
+
protected abstract boolean isPropOrderProvided();
protected abstract Class<?> getRootType();
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/InitializationUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/InitializationUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/InitializationUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -22,6 +22,8 @@
package org.jboss.test.xb.builder.sequencesrequireproporder.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractSystemPropertyInitializationTest;
import org.jboss.xb.builder.JBossXBBuilder;
@@ -34,6 +36,16 @@
*/
public class InitializationUnitTestCase extends AbstractSystemPropertyInitializationTest
{
+ public static Test suite()
+ {
+ return suite(InitializationUnitTestCase.class);
+ }
+
+ public InitializationUnitTestCase(String name)
+ {
+ super(name);
+ }
+
@Override
protected String getPropertyGetter()
{
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithSequencePropertyUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithSequencePropertyUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithSequencePropertyUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.sequencesrequireproporder.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.sequencesrequireproporder.support.RootWithSequenceProperty;
@@ -33,6 +35,16 @@
*/
public class RootWithSequencePropertyUnitTestCase extends AbstractSequencesRequirePropOrderTest
{
+ public static Test suite()
+ {
+ return suite(RootWithSequencePropertyUnitTestCase.class);
+ }
+
+ public RootWithSequencePropertyUnitTestCase(String name)
+ {
+ super(name);
+ }
+
@Override
protected Class<?> getRootType()
{
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithUndefinedPropOrderUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithUndefinedPropOrderUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithUndefinedPropOrderUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.sequencesrequireproporder.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.sequencesrequireproporder.support.RootWithUndefinedPropOrder;
@@ -33,6 +35,16 @@
*/
public class RootWithUndefinedPropOrderUnitTestCase extends AbstractSequencesRequirePropOrderTest
{
+ public static Test suite()
+ {
+ return suite(RootWithUndefinedPropOrderUnitTestCase.class);
+ }
+
+ public RootWithUndefinedPropOrderUnitTestCase(String name)
+ {
+ super(name);
+ }
+
@Override
protected Class<?> getRootType()
{
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithUnorderedSequencePropertyUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithUnorderedSequencePropertyUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithUnorderedSequencePropertyUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.sequencesrequireproporder.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.sequencesrequireproporder.support.RootWithUnorderedSequenceProperty;
@@ -33,6 +35,16 @@
*/
public class RootWithUnorderedSequencePropertyUnitTestCase extends AbstractSequencesRequirePropOrderTest
{
+ public static Test suite()
+ {
+ return suite(RootWithUnorderedSequencePropertyUnitTestCase.class);
+ }
+
+ public RootWithUnorderedSequencePropertyUnitTestCase(String name)
+ {
+ super(name);
+ }
+
@Override
protected Class<?> getRootType()
{
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithUnorderedSequenceUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithUnorderedSequenceUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithUnorderedSequenceUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.sequencesrequireproporder.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.sequencesrequireproporder.support.RootWithUnorderedSequence;
@@ -32,6 +34,16 @@
*/
public class RootWithUnorderedSequenceUnitTestCase extends AbstractSequencesRequirePropOrderTest
{
+ public static Test suite()
+ {
+ return suite(RootWithUnorderedSequenceUnitTestCase.class);
+ }
+
+ public RootWithUnorderedSequenceUnitTestCase(String name)
+ {
+ super(name);
+ }
+
@Override
protected Class<?> getRootType()
{
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithXmlAccessorOrderUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithXmlAccessorOrderUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/RootWithXmlAccessorOrderUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.sequencesrequireproporder.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.sequencesrequireproporder.support.RootWithXmlAccessorOrder;
@@ -33,6 +35,16 @@
*/
public class RootWithXmlAccessorOrderUnitTestCase extends AbstractSequencesRequirePropOrderTest
{
+ public static Test suite()
+ {
+ return suite(RootWithXmlAccessorOrderUnitTestCase.class);
+ }
+
+ public RootWithXmlAccessorOrderUnitTestCase(String name)
+ {
+ super(name);
+ }
+
@Override
protected Class<?> getRootType()
{
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/UnorderedSequenceForRootWithSequencePropertyUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/UnorderedSequenceForRootWithSequencePropertyUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/UnorderedSequenceForRootWithSequencePropertyUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.sequencesrequireproporder.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.sequencesrequireproporder.support.RootWithSequenceProperty;
@@ -33,6 +35,16 @@
*/
public class UnorderedSequenceForRootWithSequencePropertyUnitTestCase extends AbstractSequencesRequirePropOrderTest
{
+ public static Test suite()
+ {
+ return suite(UnorderedSequenceForRootWithSequencePropertyUnitTestCase.class);
+ }
+
+ public UnorderedSequenceForRootWithSequencePropertyUnitTestCase(String name)
+ {
+ super(name);
+ }
+
@Override
protected Class<?> getRootType()
{
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/UnorderedSequenceForRootWithUndefinedPropOrderUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/UnorderedSequenceForRootWithUndefinedPropOrderUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/sequencesrequireproporder/test/UnorderedSequenceForRootWithUndefinedPropOrderUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.builder.sequencesrequireproporder.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.sequencesrequireproporder.support.RootWithUndefinedPropOrder;
@@ -33,6 +35,16 @@
*/
public class UnorderedSequenceForRootWithUndefinedPropOrderUnitTestCase extends AbstractSequencesRequirePropOrderTest
{
+ public static Test suite()
+ {
+ return suite(UnorderedSequenceForRootWithUndefinedPropOrderUnitTestCase.class);
+ }
+
+ public UnorderedSequenceForRootWithUndefinedPropOrderUnitTestCase(String name)
+ {
+ super(name);
+ }
+
@Override
protected Class<?> getRootType()
{
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/useunorderedsequence/test/InitializationUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/useunorderedsequence/test/InitializationUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/builder/useunorderedsequence/test/InitializationUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -22,6 +22,8 @@
package org.jboss.test.xb.builder.useunorderedsequence.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractSystemPropertyInitializationTest;
import org.jboss.xb.builder.JBossXBBuilder;
@@ -34,6 +36,16 @@
*/
public class InitializationUnitTestCase extends AbstractSystemPropertyInitializationTest
{
+ public static Test suite()
+ {
+ return suite(InitializationUnitTestCase.class);
+ }
+
+ public InitializationUnitTestCase(String name)
+ {
+ super(name);
+ }
+
@Override
protected String getPropertyGetter()
{
Added: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/ValidatorTestSuite.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/ValidatorTestSuite.java (rev 0)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/ValidatorTestSuite.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -0,0 +1,56 @@
+/*
+ * JBoss, Home of Professional Open Source
+ * Copyright 2010, JBoss Inc., and individual contributors as indicated
+ * by the @authors tag. See the copyright.txt in the distribution for a
+ * full listing of individual contributors.
+ *
+ * This is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as
+ * published by the Free Software Foundation; either version 2.1 of
+ * the License, or (at your option) any later version.
+ *
+ * This software is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this software; if not, write to the Free
+ * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+ */
+package org.jboss.test.xb.validator;
+
+
+import org.jboss.test.xb.validator.test.BasicBindingValidatorUnitTestCase;
+import org.jboss.test.xb.validator.test.ComplexTypeEquivalentToSimpleUnitTestCase;
+import org.jboss.test.xb.validator.test.ImportedSchemaUnitTestCase;
+import org.jboss.test.xb.validator.test.JavaBeanBindingValidationUnitTestCase;
+import org.jboss.test.xb.validator.test.UnboundedChoiceAsUnorderedSequenceUnitTestCase;
+import org.jboss.test.xb.validator.test.ValidatingResolverUnitTestCase;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+
+/**
+ * A SequencesRequirePropOrderTestSuite.
+ *
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public class ValidatorTestSuite extends TestSuite
+{
+ public static Test suite()
+ {
+ TestSuite suite = new TestSuite("Binding validator Tests");
+
+ suite.addTest(BasicBindingValidatorUnitTestCase.suite());
+ suite.addTest(ComplexTypeEquivalentToSimpleUnitTestCase.suite());
+ suite.addTest(ImportedSchemaUnitTestCase.suite());
+ suite.addTest(JavaBeanBindingValidationUnitTestCase.suite());
+ suite.addTest(UnboundedChoiceAsUnorderedSequenceUnitTestCase.suite());
+ suite.addTest(ValidatingResolverUnitTestCase.suite());
+
+ return suite;
+ }
+}
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/BasicBindingValidatorUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/BasicBindingValidatorUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/BasicBindingValidatorUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,6 +25,8 @@
import java.util.Map;
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.xb.binding.Constants;
import org.jboss.xb.binding.sunday.unmarshalling.AllBinding;
@@ -51,6 +53,11 @@
*/
public class BasicBindingValidatorUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(BasicBindingValidatorUnitTestCase.class);
+ }
+
public BasicBindingValidatorUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/ComplexTypeEquivalentToSimpleUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/ComplexTypeEquivalentToSimpleUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/ComplexTypeEquivalentToSimpleUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.validator.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.validator.support.ValidatorTestRoot;
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
@@ -36,6 +38,11 @@
*/
public class ComplexTypeEquivalentToSimpleUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(ComplexTypeEquivalentToSimpleUnitTestCase.class);
+ }
+
public ComplexTypeEquivalentToSimpleUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/ImportedSchemaUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/ImportedSchemaUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/ImportedSchemaUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.validator.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.validator.support.ImportedSchema;
import org.jboss.test.xb.validator.support.ImportingSchema;
@@ -39,6 +41,11 @@
*/
public class ImportedSchemaUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(ImportedSchemaUnitTestCase.class);
+ }
+
public ImportedSchemaUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/JavaBeanBindingValidationUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/JavaBeanBindingValidationUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/JavaBeanBindingValidationUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,6 +25,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.javabean.plugins.jaxb.JavaBean10;
import org.jboss.javabean.plugins.jaxb.JavaBean20;
import org.jboss.test.xb.builder.AbstractBuilderTest;
@@ -41,6 +43,11 @@
*/
public class JavaBeanBindingValidationUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(JavaBeanBindingValidationUnitTestCase.class);
+ }
+
public JavaBeanBindingValidationUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/UnboundedChoiceAsUnorderedSequenceUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/UnboundedChoiceAsUnorderedSequenceUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/UnboundedChoiceAsUnorderedSequenceUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.validator.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.validator.support.UnorderedSequenceType;
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
@@ -36,6 +38,11 @@
*/
public class UnboundedChoiceAsUnorderedSequenceUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(UnboundedChoiceAsUnorderedSequenceUnitTestCase.class);
+ }
+
public UnboundedChoiceAsUnorderedSequenceUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/ValidatingResolverUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/ValidatingResolverUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xb/validator/test/ValidatingResolverUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xb.validator.test;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xb.validator.support.EE2Root;
import org.jboss.test.xb.validator.support.ValidatorTestRoot;
@@ -37,6 +39,11 @@
*/
public class ValidatingResolverUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(ValidatingResolverUnitTestCase.class);
+ }
+
public ValidatingResolverUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnnotatedPojoServerUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnnotatedPojoServerUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnnotatedPojoServerUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xml;
+import junit.framework.Test;
+
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
/**
@@ -30,6 +32,11 @@
public class AnnotatedPojoServerUnitTestCase
extends PojoServerTestBase
{
+ public static Test suite()
+ {
+ return suite(AnnotatedPojoServerUnitTestCase.class);
+ }
+
public AnnotatedPojoServerUnitTestCase(String localName)
{
super(localName);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnnotationsUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnnotationsUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnnotationsUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xml;
+import junit.framework.Test;
+
import org.jboss.test.xml.book.Book;
import org.jboss.test.BaseTestCase;
import org.jboss.xb.binding.Unmarshaller;
@@ -36,6 +38,11 @@
public class AnnotationsUnitTestCase
extends BaseTestCase
{
+ public static Test suite()
+ {
+ return suite(AnnotationsUnitTestCase.class);
+ }
+
public AnnotationsUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnyTypeDomBindingUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnyTypeDomBindingUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnyTypeDomBindingUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,6 +26,8 @@
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
+import junit.framework.Test;
+
import org.jboss.xb.binding.sunday.marshalling.MarshallerImpl;
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
import org.w3c.dom.Element;
@@ -38,6 +40,11 @@
public class AnyTypeDomBindingUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(AnyTypeDomBindingUnitTestCase.class);
+ }
+
public AnyTypeDomBindingUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnyUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnyUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AnyUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -24,6 +24,9 @@
import java.io.FileReader;
import java.net.URL;
import javax.xml.namespace.QName;
+
+import junit.framework.Test;
+
import org.jboss.test.xml.collections.Collections;
import org.jboss.test.xml.any.Container;
import org.jboss.test.BaseTestCase;
@@ -43,6 +46,11 @@
public class AnyUnitTestCase
extends BaseTestCase
{
+ public static Test suite()
+ {
+ return suite(AnyUnitTestCase.class);
+ }
+
public AnyUnitTestCase(String localName)
{
super(localName);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ArrayWrapperUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ArrayWrapperUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ArrayWrapperUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -24,6 +24,9 @@
import java.io.StringReader;
import java.io.StringWriter;
import java.util.Arrays;
+
+import junit.framework.Test;
+
import org.jboss.xb.binding.Constants;
import org.jboss.xb.binding.Unmarshaller;
import org.jboss.xb.binding.UnmarshallerFactory;
@@ -40,6 +43,11 @@
public class ArrayWrapperUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(ArrayWrapperUnitTestCase.class);
+ }
+
private static final String XSD =
"<xsd:schema" +
" targetNamespace='http://www.jboss.org/xml/test/arraywrapper'" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AttributeRefUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AttributeRefUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AttributeRefUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import java.io.StringReader;
+import junit.framework.Test;
+
import org.jboss.xb.binding.Unmarshaller;
import org.jboss.xb.binding.UnmarshallerFactory;
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
@@ -35,6 +37,11 @@
*/
public class AttributeRefUnitTestCase extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(AttributeRefUnitTestCase.class);
+ }
+
private static final String XSD =
"<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'" +
" targetNamespace='http://www.jboss.org/test/xml/attrRef'" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AttributesUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AttributesUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/AttributesUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,6 +25,9 @@
import java.io.StringWriter;
import java.util.Collection;
import javax.xml.namespace.QName;
+
+import junit.framework.Test;
+
import org.jboss.xb.binding.Constants;
import org.jboss.xb.binding.JBossXBRuntimeException;
import org.jboss.xb.binding.Unmarshaller;
@@ -50,6 +53,11 @@
public class AttributesUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(AttributesUnitTestCase.class);
+ }
+
private static final String NS_1 = "http://www.jboss.org/test/xml/attrs";
private static final String NS_2 = "http://www.jboss.org/test/xml/attrs2";
private static final String UNQUALIFIED_NAME = "unqualified";
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/BasicArraysUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/BasicArraysUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/BasicArraysUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -24,6 +24,9 @@
import java.io.StringReader;
import java.io.StringWriter;
import javax.xml.namespace.QName;
+
+import junit.framework.Test;
+
import org.jboss.xb.binding.AbstractMarshaller;
import org.jboss.xb.binding.Constants;
import org.jboss.xb.binding.MappingObjectModelProvider;
@@ -43,6 +46,11 @@
public class BasicArraysUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(BasicArraysUnitTestCase.class);
+ }
+
private static final String NS = "http://www.jboss.org/test/xml/longarr";
private static final long[] PRIMITIVES = new long[]{-1, 0, 1};
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/BeforeMarshalAfterUnmarshalHandlerTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/BeforeMarshalAfterUnmarshalHandlerTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/BeforeMarshalAfterUnmarshalHandlerTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -27,6 +27,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xml.BeforeMarshalAfterUnmarshalHandlerTestCase.GlobalElement.StringType;
import org.jboss.xb.binding.Constants;
import org.jboss.xb.binding.Unmarshaller;
@@ -51,6 +53,11 @@
public class BeforeMarshalAfterUnmarshalHandlerTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(BeforeMarshalAfterUnmarshalHandlerTestCase.class);
+ }
+
private static final String XSD =
"<xsd:schema targetNamespace='http://jboss.org/ns/test'" +
" xmlns:xsd='http://www.w3.org/2001/XMLSchema'" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/BooleanPatternUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/BooleanPatternUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/BooleanPatternUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,9 @@
import java.io.StringReader;
import java.io.StringWriter;
+
+import junit.framework.Test;
+
import org.jboss.xb.binding.Constants;
import org.jboss.xb.binding.UnmarshallerFactory;
import org.jboss.xb.binding.Unmarshaller;
@@ -40,6 +43,11 @@
public class BooleanPatternUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(BooleanPatternUnitTestCase.class);
+ }
+
private static final String XSD = "<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'" +
" targetNamespace='http://www.jboss.org/test/xml/patterns'" +
" xmlns='http://www.jboss.org/test/xml/patterns'" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ChoiceMinOccurs0UnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ChoiceMinOccurs0UnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ChoiceMinOccurs0UnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import java.io.StringReader;
+import junit.framework.Test;
+
import org.jboss.xb.binding.Unmarshaller;
import org.jboss.xb.binding.UnmarshallerFactory;
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
@@ -34,6 +36,11 @@
*/
public class ChoiceMinOccurs0UnitTestCase extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(ChoiceMinOccurs0UnitTestCase.class);
+ }
+
private static final String XSD =
"<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'" +
" targetNamespace='http://www.jboss.org/test/xml'" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/CollectionsUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/CollectionsUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/CollectionsUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -29,6 +29,9 @@
import java.util.Arrays;
import java.util.List;
import javax.xml.namespace.QName;
+
+import junit.framework.Test;
+
import org.jboss.test.xml.collections.Collections;
import org.jboss.xb.binding.Constants;
import org.jboss.xb.binding.JBossXBException;
@@ -48,6 +51,11 @@
public class CollectionsUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(CollectionsUnitTestCase.class);
+ }
+
private static final String LIST_TYPE_XSD = "<xsd:schema xmlns:xsd='" +
Constants.NS_XML_SCHEMA +
"'" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/Dom2SaxUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/Dom2SaxUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/Dom2SaxUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -29,6 +29,8 @@
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
+import junit.framework.Test;
+
import org.apache.xml.serialize.OutputFormat;
import org.apache.xml.serialize.XMLSerializer;
import org.jboss.xb.util.Dom2Sax;
@@ -44,6 +46,11 @@
public class Dom2SaxUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(Dom2SaxUnitTestCase.class);
+ }
+
private static final String XML =
"<e1 xmlns='http://ns1'" +
" xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/EnumUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/EnumUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/EnumUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,6 +25,9 @@
import java.io.StringWriter;
import java.util.List;
import java.util.Arrays;
+
+import junit.framework.Test;
+
import org.jboss.xb.binding.sunday.unmarshalling.XsdBinder;
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
import org.jboss.xb.binding.sunday.marshalling.MarshallerImpl;
@@ -41,6 +44,11 @@
public class EnumUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(EnumUnitTestCase.class);
+ }
+
private final String XSD = "<xsd:schema xmlns='http://jboss.org/ns/enum' targetNamespace='http://jboss.org/ns/enum'" +
" xmlns:xsd='http://www.w3.org/2001/XMLSchema'" +
" xmlns:jbxb='http://www.jboss.org/xml/ns/jbxb'" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ExceptionUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ExceptionUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ExceptionUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -22,6 +22,9 @@
package org.jboss.test.xml;
import java.io.StringReader;
+
+import junit.framework.Test;
+
import org.jboss.xb.binding.Constants;
import org.jboss.xb.binding.UnmarshallerFactory;
import org.jboss.xb.binding.Unmarshaller;
@@ -35,6 +38,11 @@
public class ExceptionUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(ExceptionUnitTestCase.class);
+ }
+
private static final String XSD =
"<schema targetNamespace='http://jboss.org/xml/test/exc'" +
" elementFormDefault='qualified'" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/IntrospectionUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/IntrospectionUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/IntrospectionUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -28,15 +28,21 @@
import org.jboss.xb.binding.introspection.ClassInfo;
import org.jboss.xb.binding.introspection.ClassInfos;
import org.jboss.xb.binding.introspection.FieldInfo;
-import junit.framework.TestCase;
+import junit.framework.Test;
+
/**
* @author <a href="mailto:alex at jboss.org">Alexey Loubyansky</a>
* @version <tt>$Revision: 56570 $</tt>
*/
public class IntrospectionUnitTestCase
- extends TestCase
+ extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(IntrospectionUnitTestCase.class);
+ }
+
public IntrospectionUnitTestCase(String localName)
{
super(localName);
Deleted: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JBossXBTestSuite.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JBossXBTestSuite.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JBossXBTestSuite.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -1,53 +0,0 @@
-/*
-* JBoss, Home of Professional Open Source
-* Copyright 2006, JBoss Inc., and individual contributors as indicated
-* by the @authors tag. See the copyright.txt in the distribution for a
-* full listing of individual contributors.
-*
-* This is free software; you can redistribute it and/or modify it
-* under the terms of the GNU Lesser General Public License as
-* published by the Free Software Foundation; either version 2.1 of
-* the License, or (at your option) any later version.
-*
-* This software is distributed in the hope that it will be useful,
-* but WITHOUT ANY WARRANTY; without even the implied warranty of
-* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
-* Lesser General Public License for more details.
-*
-* You should have received a copy of the GNU Lesser General Public
-* License along with this software; if not, write to the Free
-* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
-* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
-*/
-package org.jboss.test.xml;
-
-import junit.framework.Test;
-import junit.framework.TestSuite;
-import junit.textui.TestRunner;
-
-/**
- * JBossXB TestSuite.
- *
- * @author <a href="adrian at jboss.com">Adrian Brock</a>
- * @version $Revision: 1.1 $
- */
-public class JBossXBTestSuite extends TestSuite
-{
- public static void main(String[] args)
- {
- TestRunner.run(suite());
- }
-
- public static Test suite()
- {
- TestSuite suite = new TestSuite("JBossXB Tests");
-
- suite.addTest(GlobalGroupUnitTestCase.suite());
- suite.addTest(RepeatableTermsUnitTestCase.suite());
- suite.addTest(SharedElementUnitTestCase.suite());
- suite.addTest(XIncludeUnitTestCase.suite());
- suite.addTest(XOPUnitTestCase.suite());
-
- return suite;
- }
-}
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JNDIBindingUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JNDIBindingUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JNDIBindingUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,6 +25,8 @@
import java.net.URL;
import java.util.Properties;
+import junit.framework.Test;
+
import org.jboss.test.xml.naming.JNDIBinding;
import org.jboss.test.xml.naming.JNDIBindings;
import org.jboss.xb.binding.Unmarshaller;
@@ -39,6 +41,11 @@
*/
public class JNDIBindingUnitTestCase extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(JNDIBindingUnitTestCase.class);
+ }
+
public JNDIBindingUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JbxbCharactersUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JbxbCharactersUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JbxbCharactersUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,6 +26,9 @@
import java.io.StringReader;
import java.io.StringWriter;
import java.net.URL;
+
+import junit.framework.Test;
+
import org.jboss.test.BaseTestCase;
import org.jboss.test.xml.jbxb.characters.Binding;
import org.jboss.xb.binding.JBossXBException;
@@ -49,6 +52,11 @@
public class JbxbCharactersUnitTestCase
extends BaseTestCase
{
+ public static Test suite()
+ {
+ return suite(JbxbCharactersUnitTestCase.class);
+ }
+
private static final String XML_VALUE4 =
"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
"<ns_binding:binding xmlns:ns_binding=\"urn:jboss:jbxb-characters-schema1\" name=\"root\">" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JbxbPojoServerUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JbxbPojoServerUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JbxbPojoServerUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xml;
+import junit.framework.Test;
+
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
/**
@@ -30,6 +32,11 @@
public class JbxbPojoServerUnitTestCase
extends PojoServerTestBase
{
+ public static Test suite()
+ {
+ return suite(JbxbPojoServerUnitTestCase.class);
+ }
+
public JbxbPojoServerUnitTestCase(String localName)
{
super(localName);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JbxbSchemaBindingAttributeUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JbxbSchemaBindingAttributeUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/JbxbSchemaBindingAttributeUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xml;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xml.jbxb.schemabindingattribute.Ns2Root;
import org.jboss.test.xml.jbxb.schemabindingattribute.Root;
@@ -37,6 +39,11 @@
public class JbxbSchemaBindingAttributeUnitTestCase
extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(JbxbSchemaBindingAttributeUnitTestCase.class);
+ }
+
public JbxbSchemaBindingAttributeUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ListValueUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ListValueUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ListValueUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -28,6 +28,8 @@
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlValue;
+import junit.framework.Test;
+
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
import org.jboss.xb.builder.JBossXBBuilder;
@@ -39,6 +41,11 @@
*/
public class ListValueUnitTestCase extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(ListValueUnitTestCase.class);
+ }
+
public ListValueUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/LoginConfigUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/LoginConfigUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/LoginConfigUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,6 +25,8 @@
import java.io.InputStream;
import java.net.URL;
+import junit.framework.Test;
+
import org.jboss.test.xml.loginconfig.Users;
import org.jboss.xb.binding.Unmarshaller;
import org.jboss.xb.binding.UnmarshallerFactory;
@@ -39,6 +41,11 @@
*/
public class LoginConfigUnitTestCase extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(LoginConfigUnitTestCase.class);
+ }
+
public LoginConfigUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MappingTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MappingTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MappingTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -44,6 +44,7 @@
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
+import junit.framework.Test;
import junit.framework.TestCase;
import java.io.InputStream;
@@ -63,8 +64,13 @@
* @version <tt>$Revision: 57179 $</tt>
*/
public class MappingTestCase
- extends TestCase
+ extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(MappingTestCase.class);
+ }
+
private static final Logger log = Logger.getLogger(MappingTestCase.class);
public MappingTestCase(String name)
@@ -109,7 +115,7 @@
final Person person = Person.newInstance();
StringWriter xmlOutput = new StringWriter();
- InputStream is = getResource("xml/person.dtd");
+ InputStream is = getResourceStream("xml/person.dtd");
Reader dtdReader = new InputStreamReader(is);
// create an instance of DTD marshaller
@@ -276,7 +282,7 @@
return (Person)unmarshaller.unmarshal(xmlReader, factory, null);
}
- private static InputStream getResource(String name)
+ private InputStream getResourceStream(String name)
{
InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream(name);
if(is == null)
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MapsUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MapsUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MapsUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -41,15 +41,21 @@
import org.jboss.xb.binding.sunday.unmarshalling.TypeBinding;
import org.jboss.xb.binding.sunday.unmarshalling.XsdBinder;
import org.xml.sax.Attributes;
-import junit.framework.TestCase;
+import junit.framework.Test;
+
/**
* @author <a href="mailto:alex at jboss.org">Alexey Loubyansky</a>
* @version <tt>$Revision: 37406 $</tt>
*/
public class MapsUnitTestCase
- extends TestCase
+ extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(MapsUnitTestCase.class);
+ }
+
private static final String NS = "http://www.jboss.org/test/xml/maps";
private static final QName QNAME_MAP = new QName(NS, "map");
private static final QName QNAME_SUBMAP = new QName(NS, "submap");
@@ -76,10 +82,6 @@
EXPECTED = expected;
}
- public MapsUnitTestCase()
- {
- }
-
public MapsUnitTestCase(String localName)
{
super(localName);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MinOccurs0UnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MinOccurs0UnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MinOccurs0UnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,9 @@
import java.io.StringReader;
import java.io.StringWriter;
+
+import junit.framework.Test;
+
import org.jboss.xb.binding.Constants;
import org.jboss.xb.binding.Unmarshaller;
import org.jboss.xb.binding.UnmarshallerFactory;
@@ -40,6 +43,11 @@
public class MinOccurs0UnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(MinOccurs0UnitTestCase.class);
+ }
+
private static final String XSD =
"<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'" +
" targetNamespace='http://www.jboss.org/test/xml/minoccurs'" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MiscUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MiscUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MiscUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -28,6 +28,9 @@
import java.util.Arrays;
import java.util.Calendar;
import java.util.List;
+
+import junit.framework.Test;
+
import org.jboss.test.xml.sandbox.Choice1;
import org.jboss.test.xml.sandbox.Choice2;
import org.jboss.test.xml.sandbox.Choice3;
@@ -59,6 +62,11 @@
public class MiscUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(MiscUnitTestCase.class);
+ }
+
//private static final Logger log = Logger.getLogger(MiscUnitTestCase.class);
public MiscUnitTestCase(String localName)
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ModelGroupBindingUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ModelGroupBindingUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/ModelGroupBindingUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,6 +26,9 @@
import java.util.Arrays;
import java.util.Collection;
import java.util.List;
+
+import junit.framework.Test;
+
import org.jboss.xb.binding.AbstractMarshaller;
import org.jboss.xb.binding.MappingObjectModelProvider;
import org.jboss.xb.binding.Marshaller;
@@ -42,6 +45,11 @@
public class ModelGroupBindingUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(ModelGroupBindingUnitTestCase.class);
+ }
+
private static final String XSD =
"<xsd:schema targetNamespace='http://jboss.org/ns/mg'" +
" xmlns:xsd='http://www.w3.org/2001/XMLSchema'" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MultispacedUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MultispacedUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/MultispacedUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,7 +21,7 @@
*/
package org.jboss.test.xml;
-import junit.framework.TestCase;
+import junit.framework.Test;
import java.io.InputStream;
import java.io.Reader;
@@ -55,13 +55,14 @@
* @version <tt>$Revision: 45336 $</tt>
*/
public class MultispacedUnitTestCase
- extends TestCase
+ extends AbstractJBossXBTest
{
- private static final Logger log = Logger.getLogger(MultispacedUnitTestCase.class);
-
- public MultispacedUnitTestCase()
+ public static Test suite()
{
+ return suite(MultispacedUnitTestCase.class);
}
+
+ private static final Logger log = Logger.getLogger(MultispacedUnitTestCase.class);
public MultispacedUnitTestCase(String name)
{
@@ -72,7 +73,7 @@
{
log.debug("--- " + getName());
- InputStream xmlIs = getResource("xml/multispaced/xmbean.xml");
+ InputStream xmlIs = getResourceStream("xml/multispaced/xmbean.xml");
InputStreamReader xmlReader = new InputStreamReader(xmlIs);
XMBeanMetaData xmbean = unmarshalXMBean(xmlReader);
@@ -86,7 +87,7 @@
{
log.debug("--- " + getName());
- InputStream xmlIs = getResource("xml/multispaced/xmbean-localns.xml");
+ InputStream xmlIs = getResourceStream("xml/multispaced/xmbean-localns.xml");
InputStreamReader xmlReader = new InputStreamReader(xmlIs);
XMBeanMetaData xmbean = unmarshalXMBean(xmlReader);
@@ -245,7 +246,7 @@
return xmbean;
}
- private static InputStream getResource(String name)
+ private static InputStream getResourceStream(String name)
{
InputStream is = Thread.currentThread().getContextClassLoader().getResourceAsStream(name);
if(is == null)
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/NamespaceRegistryUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/NamespaceRegistryUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/NamespaceRegistryUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,7 +21,7 @@
*/
package org.jboss.test.xml;
-import junit.framework.TestCase;
+import junit.framework.Test;
import org.jboss.xb.binding.NamespaceRegistry;
@@ -31,8 +31,13 @@
* @version <tt>$Revision: 37406 $</tt>
*/
public class NamespaceRegistryUnitTestCase
- extends TestCase
+ extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(NamespaceRegistryUnitTestCase.class);
+ }
+
private String[] prefix = new String[]{"p1", "p2", "p3"};
private String[] uri = new String[]{"http://jboss.org/p1", "http://jboss.org/p2", "http://jboss.org/p3"};
private NamespaceRegistry ctx;
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/PoUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/PoUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/PoUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import java.net.URL;
+import junit.framework.Test;
+
import org.jboss.xb.binding.Unmarshaller;
import org.jboss.xb.binding.UnmarshallerFactory;
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
@@ -37,6 +39,11 @@
public class PoUnitTestCase
extends BaseTestCase
{
+ public static Test suite()
+ {
+ return suite(PoUnitTestCase.class);
+ }
+
public PoUnitTestCase(String localName)
{
super(localName);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/PojoServerUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/PojoServerUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/PojoServerUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -30,6 +30,8 @@
import javax.xml.namespace.NamespaceContext;
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xml.pojoserver.deployment.AbstractKernelDeployment;
import org.jboss.test.xml.pojoserver.metadata.AbstractArrayMetaData;
import org.jboss.test.xml.pojoserver.metadata.AbstractBeanMetaData;
@@ -69,6 +71,11 @@
public class PojoServerUnitTestCase
extends PojoServerTestBase
{
+ public static Test suite()
+ {
+ return suite(PojoServerUnitTestCase.class);
+ }
+
public PojoServerUnitTestCase(String localName)
{
super(localName);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/QNameAttributesUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/QNameAttributesUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/QNameAttributesUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,6 +26,9 @@
import java.io.IOException;
import javax.xml.namespace.QName;
import javax.xml.parsers.ParserConfigurationException;
+
+import junit.framework.Test;
+
import org.jboss.xb.binding.Constants;
import org.jboss.xb.binding.MappingObjectModelProvider;
import org.jboss.xb.binding.XercesXsMarshaller;
@@ -44,6 +47,11 @@
public class QNameAttributesUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(QNameAttributesUnitTestCase.class);
+ }
+
private static final String XSD =
"<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'" +
" targetNamespace='http://www.jboss.org/test/xml/qnameattr'" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/RepeatableTermsUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/RepeatableTermsUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/RepeatableTermsUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -36,7 +36,7 @@
*/
public class RepeatableTermsUnitTestCase
extends AbstractJBossXBTest
-{
+{
public RepeatableTermsUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/RequiredAttributesUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/RequiredAttributesUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/RequiredAttributesUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -26,6 +26,8 @@
import java.io.StringWriter;
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.xb.binding.JBossXBException;
import org.jboss.xb.binding.JBossXBRuntimeException;
import org.jboss.xb.binding.Unmarshaller;
@@ -45,6 +47,11 @@
public class RequiredAttributesUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(RequiredAttributesUnitTestCase.class);
+ }
+
private static final String XSD =
"<xsd:schema" +
" xmlns:jbxb='http://www.jboss.org/xml/ns/jbxb'" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SchemaImportUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SchemaImportUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SchemaImportUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,6 +25,9 @@
import java.util.Collections;
import java.io.StringReader;
import java.io.StringWriter;
+
+import junit.framework.Test;
+
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
import org.jboss.xb.binding.sunday.unmarshalling.XsdBinder;
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBindingResolver;
@@ -48,6 +51,11 @@
public class SchemaImportUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(SchemaImportUnitTestCase.class);
+ }
+
private static final String NS = "http://www.jboss.org/test/xml/schema-import";
private static final String XSD = "<xsd:schema" +
" targetNamespace='" + NS + "'" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SchemaIncludeUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SchemaIncludeUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SchemaIncludeUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import java.net.URL;
+import junit.framework.Test;
+
import org.jboss.test.BaseTestCase;
import org.jboss.xb.binding.Util;
import org.jboss.xb.binding.resolver.MultiClassSchemaResolver;
@@ -35,6 +37,11 @@
*/
public class SchemaIncludeUnitTestCase extends BaseTestCase
{
+ public static Test suite()
+ {
+ return suite(SchemaIncludeUnitTestCase.class);
+ }
+
public void testSimpleInclude() throws Exception
{
MultiClassSchemaResolver resolver = new MultiClassSchemaResolver();
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SchemalessTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SchemalessTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SchemalessTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,7 +21,10 @@
*/
package org.jboss.test.xml;
+import junit.framework.Test;
import junit.framework.TestCase;
+import junit.framework.TestSuite;
+
import org.jboss.test.xml.person.Person;
import org.jboss.xb.binding.SchemalessMarshaller;
import org.jboss.xb.binding.SchemalessObjectModelFactory;
@@ -38,6 +41,11 @@
public class SchemalessTestCase
extends TestCase
{
+ public static Test suite()
+ {
+ return new TestSuite(SchemalessTestCase.class);
+ }
+
public SchemalessTestCase()
{
}
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SimpleTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SimpleTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SimpleTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -34,6 +34,8 @@
import javax.xml.parsers.SAXParser;
import javax.xml.parsers.SAXParserFactory;
+import junit.framework.Test;
+
import org.jboss.logging.Logger;
import org.jboss.test.xml.book.Book;
import org.jboss.test.xml.book.BookCharacter;
@@ -70,6 +72,11 @@
{
private static final Logger log = Logger.getLogger(SimpleTestCase.class);
+ public static Test suite()
+ {
+ return suite(SimpleTestCase.class);
+ }
+
public SimpleTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SimpleTypeBindingUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SimpleTypeBindingUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SimpleTypeBindingUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,7 +21,7 @@
*/
package org.jboss.test.xml;
-import junit.framework.TestCase;
+import junit.framework.Test;
import org.jboss.xb.binding.SimpleTypeBindings;
@@ -43,10 +43,11 @@
* @version <tt>$Revision: 40286 $</tt>
*/
public class SimpleTypeBindingUnitTestCase
- extends TestCase
+ extends AbstractJBossXBTest
{
- public SimpleTypeBindingUnitTestCase()
+ public static Test suite()
{
+ return suite(SimpleTypeBindingUnitTestCase.class);
}
public SimpleTypeBindingUnitTestCase(String localName)
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SoapEncUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SoapEncUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SoapEncUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -29,12 +29,14 @@
import java.math.BigInteger;
import java.net.URL;
import java.util.Calendar;
-import java.util.Date;
import java.util.GregorianCalendar;
import java.util.Arrays;
import java.util.TimeZone;
import java.lang.reflect.Array;
import javax.xml.namespace.QName;
+
+import junit.framework.Test;
+
import org.jboss.xb.binding.MappingObjectModelProvider;
import org.jboss.xb.binding.XercesXsMarshaller;
import org.jboss.xb.binding.Unmarshaller;
@@ -55,6 +57,11 @@
public class SoapEncUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(SoapEncUnitTestCase.class);
+ }
+
private static final SchemaBindingResolver RESOLVER = new SchemaBindingResolver()
{
public String getBaseURI()
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SundayUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SundayUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/SundayUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,7 +21,7 @@
*/
package org.jboss.test.xml;
-import junit.framework.TestCase;
+import junit.framework.Test;
import org.jboss.xb.binding.Immutable;
import org.jboss.xb.binding.Unmarshaller;
@@ -53,12 +53,13 @@
* @version <tt>$Revision: 56873 $</tt>
*/
public class SundayUnitTestCase
- extends TestCase
+ extends AbstractJBossXBTest
{
- public SundayUnitTestCase()
+ public static Test suite()
{
+ return suite(SundayUnitTestCase.class);
}
-
+
public SundayUnitTestCase(String localName)
{
super(localName);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/WildcardUnresolvedElementsUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/WildcardUnresolvedElementsUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/WildcardUnresolvedElementsUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -34,6 +34,9 @@
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import javax.xml.parsers.ParserConfigurationException;
+
+import junit.framework.Test;
+
import org.jboss.xb.binding.AttributesImpl;
import org.jboss.xb.binding.Constants;
import org.jboss.xb.binding.JBossXBRuntimeException;
@@ -78,6 +81,11 @@
public class WildcardUnresolvedElementsUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(WildcardUnresolvedElementsUnitTestCase.class);
+ }
+
private static final String XSD =
"<schema targetNamespace='http://org.jboss.ws/jbws434/types'" +
" xmlns:tns='http://org.jboss.ws/jbws434/types'" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XMLNameToJavaIdentifierUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XMLNameToJavaIdentifierUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XMLNameToJavaIdentifierUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,8 +21,11 @@
*/
package org.jboss.test.xml;
+import junit.framework.Test;
import junit.framework.TestCase;
+import junit.framework.TestSuite;
+import org.jboss.test.BaseTestCase;
import org.jboss.xb.binding.Util;
/**
@@ -32,8 +35,13 @@
* @version <tt>$Revision: 37940 $</tt>
*/
public class XMLNameToJavaIdentifierUnitTestCase
- extends TestCase
+ extends BaseTestCase
{
+ public static Test suite()
+ {
+ return new TestSuite(XMLNameToJavaIdentifierUnitTestCase.class);
+ }
+
private static final String[] xmlNames = new String[]
{
"mixedCaseName", "Answer42", "name-with-dashes", "other_punct-chars", "one2three", "__-invalids-at-the-end---",
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XercesBugTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XercesBugTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XercesBugTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import java.net.URL;
+import junit.framework.Test;
+
import org.apache.xerces.xs.XSComplexTypeDefinition;
import org.apache.xerces.xs.XSConstants;
import org.apache.xerces.xs.XSImplementation;
@@ -49,6 +51,11 @@
*/
public class XercesBugTestCase extends BaseTestCase
{
+ public static Test suite()
+ {
+ return suite(XercesBugTestCase.class);
+ }
+
public XercesBugTestCase(String localName)
{
super(localName);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XsiNilUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XsiNilUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XsiNilUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -25,6 +25,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.xb.binding.Constants;
import org.jboss.xb.binding.UnmarshallerFactory;
import org.jboss.xb.binding.sunday.unmarshalling.ElementBinding;
@@ -39,6 +41,11 @@
*/
public class XsiNilUnitTestCase extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(XsiNilUnitTestCase.class);
+ }
+
private static String XSD =
"<xsd:schema xmlns:xsd='http://www.w3.org/2001/XMLSchema'" +
" xmlns='http://www.w3.org/2001/XMLSchema'" +
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XsiTypeUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XsiTypeUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/XsiTypeUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,9 @@
import java.io.StringReader;
import java.io.StringWriter;
+
+import junit.framework.Test;
+
import org.jboss.xb.binding.MappingObjectModelProvider;
import org.jboss.xb.binding.Unmarshaller;
import org.jboss.xb.binding.UnmarshallerFactory;
@@ -42,6 +45,11 @@
public class XsiTypeUnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(XsiTypeUnitTestCase.class);
+ }
+
private static final String PO_NS = "http://www.example.com/IPO";
private static final String ADDRESS_XSD =
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/choiceresolution/test/Foo2BarSequenceOrBarUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/choiceresolution/test/Foo2BarSequenceOrBarUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/choiceresolution/test/Foo2BarSequenceOrBarUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -27,6 +27,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xml.AbstractJBossXBTest;
import org.jboss.xb.binding.Unmarshaller;
import org.jboss.xb.binding.UnmarshallerFactory;
@@ -49,6 +51,11 @@
*/
public class Foo2BarSequenceOrBarUnitTestCase extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(Foo2BarSequenceOrBarUnitTestCase.class);
+ }
+
public Foo2BarSequenceOrBarUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/choiceresolution/test/FooBarSequenceOrBarUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/choiceresolution/test/FooBarSequenceOrBarUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/choiceresolution/test/FooBarSequenceOrBarUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xml.choiceresolution.test;
+import junit.framework.Test;
+
import org.jboss.test.xml.AbstractJBossXBTest;
import org.jboss.xb.binding.Unmarshaller;
import org.jboss.xb.binding.UnmarshallerFactory;
@@ -35,6 +37,11 @@
*/
public class FooBarSequenceOrBarUnitTestCase extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(FooBarSequenceOrBarUnitTestCase.class);
+ }
+
public FooBarSequenceOrBarUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/elementorder/test/ElementOrderUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/elementorder/test/ElementOrderUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/elementorder/test/ElementOrderUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -23,6 +23,8 @@
import java.util.List;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xml.elementorder.support.ABSequence;
import org.jboss.test.xml.elementorder.support.CDSequence;
@@ -39,6 +41,11 @@
*/
public class ElementOrderUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(ElementOrderUnitTestCase.class);
+ }
+
public ElementOrderUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/jbxb/defaults/DefaultsUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/jbxb/defaults/DefaultsUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/jbxb/defaults/DefaultsUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -29,7 +29,9 @@
import org.jboss.xb.binding.sunday.unmarshalling.SchemaBinding;
import org.jboss.xb.binding.sunday.unmarshalling.XsdBinder;
+import junit.framework.Test;
import junit.framework.TestCase;
+import junit.framework.TestSuite;
/**
* @author Scott.Stark at jboss.org
@@ -38,6 +40,11 @@
public class DefaultsUnitTestCase
extends TestCase
{
+ public static Test suite()
+ {
+ return new TestSuite(DefaultsUnitTestCase.class);
+ }
+
public void testSchema1() throws Exception
{
InputStream xsd = getResource("xml/jbxb/defaults/schema1.xsd");
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/jbxb/minOccurs/Schema1UnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/jbxb/minOccurs/Schema1UnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/jbxb/minOccurs/Schema1UnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -24,6 +24,8 @@
import java.net.URL;
+import junit.framework.Test;
+
import org.jboss.xb.binding.resolver.MultiClassSchemaResolver;
import org.jboss.xb.binding.Unmarshaller;
import org.jboss.xb.binding.UnmarshallerFactory;
@@ -36,6 +38,11 @@
public class Schema1UnitTestCase
extends AbstractJBossXBTest
{
+ public static Test suite()
+ {
+ return suite(Schema1UnitTestCase.class);
+ }
+
public Schema1UnitTestCase(String name)
{
super(name);
Added: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/UnorderedSequenceTestSuite.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/UnorderedSequenceTestSuite.java (rev 0)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/UnorderedSequenceTestSuite.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -0,0 +1,61 @@
+/*
+* JBoss, Home of Professional Open Source
+* Copyright 2006, JBoss Inc., and individual contributors as indicated
+* by the @authors tag. See the copyright.txt in the distribution for a
+* full listing of individual contributors.
+*
+* This is free software; you can redistribute it and/or modify it
+* under the terms of the GNU Lesser General Public License as
+* published by the Free Software Foundation; either version 2.1 of
+* the License, or (at your option) any later version.
+*
+* This software is distributed in the hope that it will be useful,
+* but WITHOUT ANY WARRANTY; without even the implied warranty of
+* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+* Lesser General Public License for more details.
+*
+* You should have received a copy of the GNU Lesser General Public
+* License along with this software; if not, write to the Free
+* Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+* 02110-1301 USA, or see the FSF site: http://www.fsf.org.
+*/
+package org.jboss.test.xml.unorderedsequence;
+
+import org.jboss.test.xml.unorderedsequence.test.BasicUnorderedSequenceUnitTestCase;
+import org.jboss.test.xml.unorderedsequence.test.MiscGroupsUnitTestCase;
+import org.jboss.test.xml.unorderedsequence.test.NestedSequenceUnitTestCase;
+import org.jboss.test.xml.unorderedsequence.test.UnorderedOrderedMixUnitTestCase;
+import org.jboss.test.xml.unorderedsequence.test.UnorderedSequenceAnnotationUnitTestCase;
+import org.jboss.test.xml.unorderedsequence.test.UnorderedSequenceWithCollectionsUnitTestCase;
+
+import junit.framework.Test;
+import junit.framework.TestSuite;
+import junit.textui.TestRunner;
+
+/**
+ * JBossXB TestSuite.
+ *
+ * @author <a href="alex at jboss.com">Alexey Loubyansky</a>
+ * @version $Revision: 1.1 $
+ */
+public class UnorderedSequenceTestSuite extends TestSuite
+{
+ public static void main(String[] args)
+ {
+ TestRunner.run(suite());
+ }
+
+ public static Test suite()
+ {
+ TestSuite suite = new TestSuite("JBossXB Tests");
+
+ suite.addTest(BasicUnorderedSequenceUnitTestCase.suite());
+ suite.addTest(MiscGroupsUnitTestCase.suite());
+ suite.addTest(NestedSequenceUnitTestCase.suite());
+ suite.addTest(UnorderedOrderedMixUnitTestCase.suite());
+ suite.addTest(UnorderedSequenceAnnotationUnitTestCase.suite());
+ suite.addTest(UnorderedSequenceWithCollectionsUnitTestCase.suite());
+
+ return suite;
+ }
+}
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/BasicUnorderedSequenceUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/BasicUnorderedSequenceUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/BasicUnorderedSequenceUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -22,6 +22,8 @@
package org.jboss.test.xml.unorderedsequence.test;
+import junit.framework.Test;
+
import org.jboss.test.xml.unorderedsequence.support.RootWithUnorderedSequence;
/**
@@ -32,6 +34,11 @@
*/
public class BasicUnorderedSequenceUnitTestCase extends AbstractUnorderedSequenceTest<RootWithUnorderedSequence>
{
+ public static Test suite()
+ {
+ return suite(BasicUnorderedSequenceUnitTestCase.class);
+ }
+
public BasicUnorderedSequenceUnitTestCase(String name)
{
super(name, RootWithUnorderedSequence.class);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/MiscGroupsUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/MiscGroupsUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/MiscGroupsUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -22,6 +22,8 @@
package org.jboss.test.xml.unorderedsequence.test;
+import junit.framework.Test;
+
import org.jboss.test.xml.unorderedsequence.support.RootWithMiscGroups;
import org.jboss.test.xml.unorderedsequence.support.RootWithMiscGroups.CDEChoice;
import org.jboss.test.xml.unorderedsequence.support.RootWithMiscGroups.DESequence;
@@ -35,6 +37,11 @@
*/
public class MiscGroupsUnitTestCase extends AbstractUnorderedSequenceTest<RootWithMiscGroups>
{
+ public static Test suite()
+ {
+ return suite(MiscGroupsUnitTestCase.class);
+ }
+
public MiscGroupsUnitTestCase(String name)
{
super(name, RootWithMiscGroups.class);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/NestedSequenceUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/NestedSequenceUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/NestedSequenceUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -21,6 +21,8 @@
*/
package org.jboss.test.xml.unorderedsequence.test;
+import junit.framework.Test;
+
import org.jboss.test.xml.unorderedsequence.support.OneTwoSequence;
import org.jboss.test.xml.unorderedsequence.support.RootWithOneTwoSequence;
@@ -32,6 +34,11 @@
*/
public class NestedSequenceUnitTestCase extends AbstractUnorderedSequenceTest<RootWithOneTwoSequence>
{
+ public static Test suite()
+ {
+ return suite(NestedSequenceUnitTestCase.class);
+ }
+
public NestedSequenceUnitTestCase(String name)
{
super(name, RootWithOneTwoSequence.class);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/UnorderedOrderedMixUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/UnorderedOrderedMixUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/UnorderedOrderedMixUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -28,6 +28,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xml.unorderedsequence.support.UnorderedOrderedMix;
import org.jboss.test.xml.unorderedsequence.support.UnorderedOrderedMix.SomeBean;
@@ -49,6 +51,11 @@
*/
public class UnorderedOrderedMixUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(UnorderedOrderedMixUnitTestCase.class);
+ }
+
public UnorderedOrderedMixUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/UnorderedSequenceAnnotationUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/UnorderedSequenceAnnotationUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/UnorderedSequenceAnnotationUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -27,6 +27,8 @@
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.xb.annotations.JBossXmlConstants;
import org.jboss.xb.annotations.JBossXmlModelGroup;
@@ -46,6 +48,11 @@
*/
public class UnorderedSequenceAnnotationUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(UnorderedSequenceAnnotationUnitTestCase.class);
+ }
+
public UnorderedSequenceAnnotationUnitTestCase(String name)
{
super(name);
Modified: jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/UnorderedSequenceWithCollectionsUnitTestCase.java
===================================================================
--- jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/UnorderedSequenceWithCollectionsUnitTestCase.java 2010-06-11 12:19:19 UTC (rev 4493)
+++ jbossxb/branches/split/core/trunk/src/test/java/org/jboss/test/xml/unorderedsequence/test/UnorderedSequenceWithCollectionsUnitTestCase.java 2010-06-11 15:10:32 UTC (rev 4494)
@@ -29,6 +29,8 @@
import javax.xml.namespace.QName;
+import junit.framework.Test;
+
import org.jboss.test.xb.builder.AbstractBuilderTest;
import org.jboss.test.xml.unorderedsequence.support.UnorderedSequenceWithCollections;
import org.jboss.xb.binding.sunday.unmarshalling.ElementBinding;
@@ -46,6 +48,11 @@
*/
public class UnorderedSequenceWithCollectionsUnitTestCase extends AbstractBuilderTest
{
+ public static Test suite()
+ {
+ return suite(UnorderedSequenceWithCollectionsUnitTestCase.class);
+ }
+
public UnorderedSequenceWithCollectionsUnitTestCase(String name)
{
super(name);
More information about the jboss-svn-commits
mailing list