| /* |
| * Copyright (c) 1998, 2020 Oracle and/or its affiliates. All rights reserved. |
| * |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License v. 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0, |
| * or the Eclipse Distribution License v. 1.0 which is available at |
| * http://www.eclipse.org/org/documents/edl-v10.php. |
| * |
| * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause |
| */ |
| |
| // Contributors: |
| // Oracle - initial API and implementation from Oracle TopLink |
| package org.eclipse.persistence.testing.oxm.mappings.compositecollection; |
| |
| import junit.framework.Test; |
| import junit.framework.TestCase; |
| import junit.framework.TestSuite; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.errortests.CompositeCollectionErrorTestCases; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.identifiedbyname.IdentifiedByNameTestCases; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.identifiedbynamespace.IdentifiedByNamespaceTestCases; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.identifiedbyposition.IdentifiedByPositionTestCases; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.keepaselement.CompositeCollectionKeepUnknownAsElementTestCases; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.map.CompositeCollectionMapNullChildTestCases; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.map.CompositeCollectionMapTestCases; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.mappingxpathcollision.MappingXpathCollisionTestCases; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.nested.CompositeCollectionNestedTestCases; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.nillable.CompositeCollectionAbsentNodeTestCases; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.nillable.CompositeCollectionEmptyNodeTestCases; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.nillable.CompositeCollectionNillableTextTestCases; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.nillable.CompositeCollectionNillableNodeNullPolicyTestCases; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.norefclass.DefaultNSTestCases; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.reuse.CompositeCollectionReuseTestCases; |
| import org.eclipse.persistence.testing.oxm.mappings.compositecollection.setmethod.SetMethodTestCases; |
| |
| public class CompositeCollectionMappingTestSuite extends TestCase { |
| public static Test suite() { |
| TestSuite suite = new TestSuite("Composite Collection Mapping Test Suite"); |
| suite.addTest(IdentifiedByNameTestCases.suite()); |
| suite.addTest(IdentifiedByNamespaceTestCases.suite()); |
| suite.addTest(IdentifiedByPositionTestCases.suite()); |
| suite.addTestSuite(CompositeCollectionNestedTestCases.class); |
| suite.addTestSuite(CompositeCollectionMapTestCases.class); |
| suite.addTestSuite(CompositeCollectionMapNullChildTestCases.class); |
| suite.addTestSuite(CompositeCollectionErrorTestCases.class); |
| suite.addTestSuite(SetMethodTestCases.class); |
| suite.addTestSuite(MappingXpathCollisionTestCases.class); |
| suite.addTestSuite(CompositeCollectionKeepUnknownAsElementTestCases.class); |
| suite.addTestSuite(CompositeCollectionReuseTestCases.class); |
| suite.addTestSuite(DefaultNSTestCases.class); |
| suite.addTestSuite(CompositeCollectionEmptyNodeTestCases.class); |
| suite.addTestSuite(CompositeCollectionAbsentNodeTestCases.class); |
| suite.addTestSuite(CompositeCollectionNillableNodeNullPolicyTestCases.class); |
| suite.addTestSuite(CompositeCollectionNillableTextTestCases.class); |
| return suite; |
| } |
| |
| public static void main(String[] args) { |
| String[] arguments = { "-c", "org.eclipse.persistence.testing.oxm.mappings.compositecollection.CompositeCollectionMappingTestSuite" }; |
| //System.setProperty("useDeploymentXML", "true"); |
| //System.setProperty("useDocPres", "true"); |
| //System.setProperty("useLogging", "true"); |
| //System.setProperty("useSAXParsing", "true"); |
| junit.textui.TestRunner.main(arguments); |
| } |
| } |