/** {@inheritDoc} */ @Override public void setName(String name) { if (copy != null) { copy.setName(name); } super.setName(name); }
public static Test suite() { TestSuite suite = new TestSuite(); suite.setName("DDLTestSuite"); // Test database specific tests, create scripts then connect and use. suite.addTest(new DDLTestSuite("testPersistenceGenerateSchemaUseConnection")); suite.addTest(new DDLTestSuite("testPersistenceGenerateSchemaNoConnection_Derby")); suite.addTest(new DDLTestSuite("testPersistenceGenerateSchemaNoConnection_MySQL")); suite.addTest(new DDLTestSuite("testPersistenceGenerateSchemaNoConnection_Oracle")); suite.addTest(new DDLTestSuite("testPersistenceGenerateSchemaDropOnlyScript")); suite.addTest(new DDLTestSuite("testPersistenceGenerateSchemaUsingProvidedWriters")); // suite.addTest(new DDLTestSuite("testRootTargetScriptFileName")); suite.addTest(new DDLTestSuite("testIllegalArgumentExceptionWithNoScriptTargetProvided")); // These test schema manipulations during DDL generation. Their output // files are manually inspected. Tests ensure there are no errors // during the generation. suite.addTest(new DDLTestSuite("testDatabaseSchemaGenerationCreateOnly")); suite.addTest(new DDLTestSuite("testDatabaseSchemaGenerationDropOnly")); suite.addTest(new DDLTestSuite("testDatabaseSchemaGenerationDropAndCreate")); // suite.addTest(new DDLTestSuite("testDatabaseSchemaGenerationURLTargets")); return suite; }
public static Test suite() { TestSuite suite = new TestSuite(); suite.setName("TablePerClassInheritanceJUnitTestSuite"); suite.addTest(new TablePerClassInheritanceJUnitTest("testSetup")); suite.addTest(new TablePerClassInheritanceJUnitTest("testCreateAssassinWithGun")); suite.addTest(new TablePerClassInheritanceJUnitTest("testValidateAssassinWithGun")); suite.addTest(new TablePerClassInheritanceJUnitTest("testValidateGunToAssassin")); suite.addTest(new TablePerClassInheritanceJUnitTest("testAddDirectElimination")); suite.addTest(new TablePerClassInheritanceJUnitTest("testValidateDirectElimination")); suite.addTest(new TablePerClassInheritanceJUnitTest("testAddIndirectElimination")); suite.addTest(new TablePerClassInheritanceJUnitTest("testValidateIndirectElimination")); suite.addTest( new TablePerClassInheritanceJUnitTest("testValidateAssassinWithBombAndEliminations")); suite.addTest(new TablePerClassInheritanceJUnitTest("testNamedQueryFindAllWeapons")); suite.addTest( new TablePerClassInheritanceJUnitTest( "testNamedQueryFindAllWeaponsWhereDescriptionContainsSniper")); suite.addTest(new TablePerClassInheritanceJUnitTest("testCreateNewSocialClubsWithMembers")); suite.addTest(new TablePerClassInheritanceJUnitTest("testValidateSocialClub1Members")); suite.addTest(new TablePerClassInheritanceJUnitTest("testValidateSocialClub2Members")); suite.addTest(new TablePerClassInheritanceJUnitTest("testValidateSocialClub3Members")); suite.addTest(new TablePerClassInheritanceJUnitTest("testAssassinOptimisticLocking")); suite.addTest(new TablePerClassInheritanceJUnitTest("testSpecialAssassinOptimisticLocking")); suite.addTest( new TablePerClassInheritanceJUnitTest( "testAssassinOptimisticLockingUsingEntityManagerAPI")); suite.addTest(new TablePerClassInheritanceJUnitTest("testGunOptimisticLocking")); suite.addTest(new TablePerClassInheritanceJUnitTest("testUpdateAllQuery")); return suite; }
/** * Test suite for this test class. * * <p> * * @return the test suite */ public static Test suite() { OpenCmsTestProperties.initialize(org.opencms.test.AllTests.TEST_PROPERTIES_PATH); TestSuite suite = new TestSuite(); suite.setName(TestCmsXmlContent75Features.class.getName()); suite.addTest(new TestCmsXmlContent75Features("testDirectXmlAccesss")); TestSetup wrapper = new TestSetup(suite) { @Override protected void setUp() { setupOpenCms("simpletest", "/"); } @Override protected void tearDown() { removeOpenCms(); } }; return wrapper; }
/** * Test suite for this test class. * * <p> * * @return the test suite */ public static Test suite() { OpenCmsTestProperties.initialize(org.opencms.test.AllTests.TEST_PROPERTIES_PATH); TestSuite suite = new TestSuite(); suite.setName(TestCmsSearchSpecialFeatures.class.getName()); suite.addTest(new TestCmsSearchSpecialFeatures("testSearchIndexSetup")); suite.addTest(new TestCmsSearchSpecialFeatures("testIncrementalIndexUpdate")); suite.addTest(new TestCmsSearchSpecialFeatures("testLazyContentFields")); TestSetup wrapper = new TestSetup(suite) { @Override protected void setUp() { setupOpenCms("simpletest", "/"); } @Override protected void tearDown() { removeOpenCms(); } }; return wrapper; }
public static Test suite() { final TestSuite suite = new TestSuite(); suite.setName("FindInsertPositionTests"); suite.addTest(new FindInsertionPositionTests("test_1A")); suite.addTest(new FindInsertionPositionTests("test_1B")); suite.addTest(new FindInsertionPositionTests("test_1C")); suite.addTest(new FindInsertionPositionTests("test_1D")); suite.addTest(new FindInsertionPositionTests("test_1E")); suite.addTest(new FindInsertionPositionTests("test_2A")); suite.addTest(new FindInsertionPositionTests("test_2B")); suite.addTest(new FindInsertionPositionTests("test_2C")); suite.addTest(new FindInsertionPositionTests("test_3A")); suite.addTest(new FindInsertionPositionTests("test_3B")); suite.addTest(new FindInsertionPositionTests("test_3C")); suite.addTest(new FindInsertionPositionTests("test_3D")); suite.addTest(new FindInsertionPositionTests("test_4A")); suite.addTest(new FindInsertionPositionTests("test_4B")); suite.addTest(new FindInsertionPositionTests("test_4C")); suite.addTest(new FindInsertionPositionTests("test_5A")); suite.addTest(new FindInsertionPositionTests("test_5B")); suite.addTest(new FindInsertionPositionTests("test_5C")); return suite; }
public static Test suite() { TestSuite suite = new AntUITests(); suite.setName("Ant UI Unit Tests"); suite.addTest(new TestSuite(BuildTests.class)); suite.addTest(new TestSuite(SeparateVMTests.class)); suite.addTest(new TestSuite(AntEditorTests.class)); suite.addTest(new TestSuite(CodeCompletionTest.class)); suite.addTest(new TestSuite(TaskDescriptionProviderTest.class)); suite.addTest(new TestSuite(AntEditorContentOutlineTests.class)); suite.addTest(new TestSuite(MigrationTests.class)); suite.addTest(new TestSuite(BuilderCoreUtilsTests.class)); suite.addTest(new TestSuite(ModelProjectTests.class)); suite.addTest(new TestSuite(FormattingPreferencesTest.class)); suite.addTest(new TestSuite(XmlDocumentFormatterTest.class)); suite.addTest(new TestSuite(XmlTagFormatterTest.class)); suite.addTest(new TestSuite(XmlFormatterTest.class)); suite.addTest(new TestSuite(AntUtilTests.class)); suite.addTest(new TestSuite(BreakpointTests.class)); suite.addTest(new TestSuite(RunToLineTests.class)); suite.addTest(new TestSuite(SteppingTests.class)); suite.addTest(new TestSuite(PropertyTests.class)); suite.addTest(new TestSuite(OccurrencesFinderTests.class)); suite.addTest(new TestSuite(StackTests.class)); return suite; }
public static TestSuite suite() throws Exception { TestInventory inventory = ServiceLocator.get().get(TestInventory.class, "auraImplExpressionTestInventory"); TestSuite suite = inventory.getTestSuite(Type.UNIT); suite.setName("aura-impl-expression unit tests"); return suite; }
/** @return Returns the test to run */ public static Test suite() { TestSuite suite = new TestSuite(XMLGenTest.class); suite.setName("XMLGen Tests"); return suite; }
public static Test suite() { final TestSuite suite = new TestSuite(); suite.setName("TestXmlBinding0010"); suite.addTest(new TestXmlBinding0010("test")); return suite; }
/** * The suite method runs all the tests. * * @return Suite of JUnit tests. */ public static Test suite() { TestSuite suite = new TestSuite(); suite.addTestSuite(TestContinuousMappingReader.class); suite.addTestSuite(TestContinuousMappingWriter.class); suite.addTestSuite(TestContinuousColorRangeCalculator.class); suite.setName("VizMapper::Continuous Mapper Tests"); return suite; }
public static Test suite() { final TestSuite suite = new TestSuite(); suite.setName("SIP extension"); suite.addTestSuite(AddressTestCase.class); suite.addTestSuite(AvailabilityTestCase.class); suite.addTestSuite(EventTypeTestCase.class); suite.addTestSuite(SipRecipientInfoTestCase.class); return suite; }
public static Test suite() { TestSuite suite = new TestSuite(); suite.setName("EntityManagerTestSuite"); suite.addTest(new EntityManagerTestSuite("testSetup")); suite.addTest(new EntityManagerTestSuite("testGetLockModeForObject")); suite.addTest(new EntityManagerTestSuite("testNonInsertableAndUpdatable121Mappings")); return suite; }
public static Test suite() { final TestSuite suite = new TestSuite(); suite.setName("TestExpr0016"); suite.addTest(new TestExpr0016("testUpperCaseFunction")); suite.addTest(new TestExpr0016("testLowerCaseFunction")); return suite; }
public static Test suite() { TestSuite suite = new TestSuite(); suite.setName("TimeStampTZJUnitTestSuite"); suite.addTest(new TimeStampTZJUnitTestSuite("testSetup")); suite.addTest(new TimeStampTZJUnitTestSuite("testNoZone")); suite.addTest(new TimeStampTZJUnitTestSuite("testTimeStampTZ")); suite.addTest(new TimeStampTZJUnitTestSuite("testTimeStampLTZ")); suite.addTest(new TimeStampTZJUnitTestSuite("testTimeStampTZDST")); return suite; }
public static Test suite() { TestSuite suite = new TestSuite(); suite.setName("Struct Converter Test Suite"); suite.addTest(new StructConverterTestSuite("testSetup")); suite.addTest(new StructConverterTestSuite("testPlatform")); suite.addTest(new StructConverterTestSuite("testXMLPlatform")); suite.addTest(new StructConverterTestSuite("testSimpleSpatialWrite")); suite.addTest(new StructConverterTestSuite("testSimpleXMLSpatialWrite")); suite.addTest(new StructConverterTestSuite("testSimpleReadQuery")); return suite; }
public static Test suite() { final TestSuite suite = new TestSuite(); suite.setName("TestExpr0011"); suite.addTest(new TestExpr0011("testWithArray")); suite.addTest(new TestExpr0011("testWithList")); suite.addTest(new TestExpr0011("testWithSet")); suite.addTest(new TestExpr0011("testWithModelElementList")); return suite; }
public static Test suite() { TestSuite suite = new TestSuite(); suite.setName("AdvancedFetchGroupJunitTest"); suite.addTest(new AdvancedFetchGroupJunitTest("testSetup")); suite.addTest(new AdvancedFetchGroupJunitTest("testVerifyFetchGroups")); suite.addTest(new AdvancedFetchGroupJunitTest("testCreateHockeyGear")); suite.addTest(new AdvancedFetchGroupJunitTest("testFetchGroupOnPads")); suite.addTest(new AdvancedFetchGroupJunitTest("testFetchGroupOnChestProtector")); suite.addTest(new AdvancedFetchGroupJunitTest("testFetchGroupOnPadsFromInheritanceParent")); return suite; }
public static Test suite() { TestSuite suite = new TestSuite(); suite.setName("NoSQLMappedTestSuite"); suite.addTest(new NoSQLMappedTestSuite("testSetup")); suite.addTest(new NoSQLMappedTestSuite("testInsert")); suite.addTest(new NoSQLMappedTestSuite("testFind")); suite.addTest(new NoSQLMappedTestSuite("testUpdate")); suite.addTest(new NoSQLMappedTestSuite("testMerge")); suite.addTest(new NoSQLMappedTestSuite("testRefresh")); suite.addTest(new NoSQLMappedTestSuite("testDelete")); suite.addTest(new NoSQLMappedTestSuite("testJPQL")); suite.addTest(new NoSQLMappedTestSuite("testNativeQuery")); return suite; }
public static Test suite() { TestSuite suite = new TestSuite(); suite.setName("LifecycleCallbackJunitTest"); suite.addTest(new LifecycleCallbackJunitTest("testSetup")); suite.addTest( new LifecycleCallbackJunitTest("testPrePersistBusOverrideAndAbstractInheritAndDefault")); suite.addTest(new LifecycleCallbackJunitTest("testPostPersistBusInheritAndDefault")); suite.addTest(new LifecycleCallbackJunitTest("testPostLoadBusInheritAndDefault")); suite.addTest( new LifecycleCallbackJunitTest("testPrePersistSportsCarInheritAndExcludeDefault")); suite.addTest( new LifecycleCallbackJunitTest("testPostPersistSportsCarInheritAndExcludeDefault")); suite.addTest(new LifecycleCallbackJunitTest("testPrePersistSportsCarOverride")); return suite; }
public static Test suite() { TestSuite suite = new TestSuite(); suite.setName("Query_OrderedHint"); suite.addTest(new Query_OrderedHint("testReadAll")); return new TestSetup(suite) { protected void setUp() { try { SimpleSpatialTestCase.repopulate(getSession(), true); } catch (Exception e) { throw new TestProblemException("Could not setup JGeometry test model", e); } } protected void tearDown() {} }; }
/** This suite contains all tests contained in this class. */ public static Test suite() { TestSuite suite = new TestSuite(); suite.setName("JUnitJPQLExamplesTestSuite"); suite.addTest(new JUnitJPQLExamplesTestSuite("testSetup")); suite.addTest(new JUnitJPQLExamplesTestSuite("findAllOrders")); suite.addTest(new JUnitJPQLExamplesTestSuite("findEmployeesInOntario")); suite.addTest(new JUnitJPQLExamplesTestSuite("findAllProvinceWithEmployees")); suite.addTest(new JUnitJPQLExamplesTestSuite("findAllEmployeesWithPhoneNumbers")); suite.addTest(new JUnitJPQLExamplesTestSuite("findAllEmployeesWithOutPhoneNumbers")); suite.addTest(new JUnitJPQLExamplesTestSuite("findAllEmployeesWithCellPhones")); suite.addTest(new JUnitJPQLExamplesTestSuite("findOrdersWithDifferentBilledCustomer")); suite.addTest(new JUnitJPQLExamplesTestSuite("findEmployeeWithWorkPhone2258812")); suite.addTest(new JUnitJPQLExamplesTestSuite("parameterTest")); suite.addTest(new JUnitJPQLExamplesTestSuite("getOrderLargerThan")); suite.addTest(new JUnitJPQLExamplesTestSuite("getSalesPersonForOrders")); suite.addTest(new JUnitJPQLExamplesTestSuite("getOrderForCustomer")); suite.addTest(new JUnitJPQLExamplesTestSuite("testOuterJoin")); suite.addTest(new JUnitJPQLExamplesTestSuite("testExistsExpression")); suite.addTest(new JUnitJPQLExamplesTestSuite("testAllExpressions")); suite.addTest(new JUnitJPQLExamplesTestSuite("testCountInSubQuery")); suite.addTest(new JUnitJPQLExamplesTestSuite("testGroupByHavingExpression")); suite.addTest(new JUnitJPQLExamplesTestSuite("testGroupByHavingCount")); suite.addTest(new JUnitJPQLExamplesTestSuite("testConstructorQuery")); suite.addTest(new JUnitJPQLExamplesTestSuite("testSumExpression")); suite.addTest(new JUnitJPQLExamplesTestSuite("testAvgExpression")); suite.addTest(new JUnitJPQLExamplesTestSuite("testOrderByExpression")); suite.addTest(new JUnitJPQLExamplesTestSuite("testCountInSubQuery")); suite.addTest(new JUnitJPQLExamplesTestSuite("testOrderByExpressionWithSelect")); suite.addTest(new JUnitJPQLExamplesTestSuite("testDeleteExpression")); suite.addTest(new JUnitJPQLExamplesTestSuite("testComplexDeleteExpression")); suite.addTest(new JUnitJPQLExamplesTestSuite("testCountExpression")); // bug 5166658 suite.addTest(new JUnitJPQLExamplesTestSuite("testUpdateExpression")); // bug 5159164, 5159198 // Bug5097278 suite.addTest(new JUnitJPQLExamplesTestSuite("updateAllTest")); // Bug5040609 suite.addTest(new JUnitJPQLExamplesTestSuite("namedQueryCloneTest")); // Bug4924639 suite.addTest(new JUnitJPQLExamplesTestSuite("aggregateParameterTest")); // Bug 5090182 suite.addTest(new JUnitJPQLExamplesTestSuite("testEJBQLQueryString")); suite.addTest(new JUnitJPQLExamplesTestSuite("updateEmbeddedFieldTest")); return suite; }
public static Test suite() { TestSuite suite = new TestSuite(); suite.setName("CriteriaQueryMetamodelTestSuite"); suite.addTest(new CriteriaQueryMetamodelTestSuite("testSetup")); suite.addTest(new CriteriaQueryMetamodelTestSuite("testMetamodelOnClause")); suite.addTest(new CriteriaQueryMetamodelTestSuite("testMetamodelOnClauseOverCollection")); suite.addTest(new CriteriaQueryMetamodelTestSuite("testMetamodelOnClauseWithLeftJoin")); suite.addTest(new CriteriaQueryMetamodelTestSuite("simpleMetamodelCriteriaUpdateTest")); suite.addTest(new CriteriaQueryMetamodelTestSuite("testMetamodelCriteriaUpdate")); suite.addTest( new CriteriaQueryMetamodelTestSuite("testMetamodelComplexConditionCaseInCriteriaUpdate")); suite.addTest(new CriteriaQueryMetamodelTestSuite("testMetamodelCriteriaUpdateEmbeddedField")); suite.addTest(new CriteriaQueryMetamodelTestSuite("simpleMetamodelCriteriaDeleteTest")); suite.addTest(new CriteriaQueryMetamodelTestSuite("testMetamodelCriteriaDelete")); return suite; }
public static Test suite() { TestSuite suite = new TestSuite(); suite.setName("InheritedModelJunitTest"); suite.addTest(new InheritedModelJunitTest("testCreateBlue")); suite.addTest(new InheritedModelJunitTest("testReadBlue")); return new TestSetup(suite) { protected void setUp() { DatabaseSession session = JUnitTestCase.getServerSession(); new InheritedTableManager().replaceTables(session); } protected void tearDown() { clearCache(); } }; }
public static Test suite() { TestSuite suite = new TestSuite(); suite.setName("JoinedAttributeAdvancedJunitTest (fieldaccess)"); suite.addTest(new JoinedAttributeAdvancedJunitTest("testSetup")); suite.addTest(new JoinedAttributeAdvancedJunitTest("testProjectJoinTeamMembers")); suite.addTest( new JoinedAttributeAdvancedJunitTest( "testProjectJoinTeamLeaderJoinAddressWhereTeamLeaderNotNull")); suite.addTest(new JoinedAttributeAdvancedJunitTest("testProjectJoinTeamMembersJoinAddress")); suite.addTest( new JoinedAttributeAdvancedJunitTest("testProjectOuterJoinTeamMembersJoinAddress")); suite.addTest( new JoinedAttributeAdvancedJunitTest("testProjectOuterJoinTeamMembersOuterJoinAddress")); suite.addTest( new JoinedAttributeAdvancedJunitTest("testProjectJoinTeamMembersOuterJoinAddress")); suite.addTest( new JoinedAttributeAdvancedJunitTest( "testProblemReporterProjectJoinTeamMembersJoinAddress")); suite.addTest(new JoinedAttributeAdvancedJunitTest("testEmployeeJoinProjects")); suite.addTest( new JoinedAttributeAdvancedJunitTest( "testEmployeeJoinProjectsJoinTeamLeaderJoinAddressWhereManagerIsNull")); suite.addTest( new JoinedAttributeAdvancedJunitTest( "testProjectOuterJoinTeamLeaderAddressTeamMembersAddressPhonesWhereProjectName")); suite.addTest( new JoinedAttributeAdvancedJunitTest( "testEmployeeOuterJoinAddressPhoneProjectsTeamLeaderAddressTeamMembersPhones")); suite.addTest( new JoinedAttributeAdvancedJunitTest( "testEmployeeJoinManagerAddressOuterJoinManagerAddress")); suite.addTest(new JoinedAttributeAdvancedJunitTest("testTwoUnrelatedResultWithOneToManyJoins")); suite.addTest( new JoinedAttributeAdvancedJunitTest("testMultipleUnrelatedResultWithOneToManyJoins")); suite.addTest(new JoinedAttributeAdvancedJunitTest("testTwoUnrelatedResultWithOneToOneJoins")); suite.addTest( new JoinedAttributeAdvancedJunitTest( "testTwoUnrelatedResultWithOneToOneJoinsWithExtraItem")); return suite; }
public static Test suite() throws Exception { TestSuite suite = new TestSuite(); suite.setName("All Update Manager Tests"); suite.addTest(new TestSuite(TestErrorRecoveryLog.class)); suite.addTest(AllMirrorTests.suite()); suite.addTest(AllSiteValidationTests.suite()); suite.addTest(AllPlatformConfigurationTests.suite()); suite.addTest(AllRegularInstallTests.suite()); suite.addTest(AllAPITests.suite()); suite.addTest(AllParserTests.suite()); suite.addTest(AllCoreUITests.suite()); // suite.addTest(AllConfigurationsTests.suite()); suite.addTest(AllTypesTests.suite()); // suite.addTest(AllRegularRemoveTests.suite()); suite.addTest(AllNestedTests.suite()); suite.addTest(AllReconciliationTests.suite()); suite.addTest(AllModelTests.suite()); suite.addTest(AllBrandingTests.suite()); // suite.addTest(AllStandaloneTests.suite()); // suite.addTest(AllPerformanceTests.suite()); return suite; }
private void nameSuite(TestSuite suite) { suite.setName(this.getClass().getName()); }
public static Test suite() { final TestSuite suite = new TestSuite(RenamePrivateMethodTest.class); suite.setName("Imported RenamePrivateMethodTests"); return suite; }
public static Test suite() { TestSuite suite = new TestSuite(RandomAdaptorTest.class); suite.setName("RandomAdaptor Tests"); return suite; }
public static Test suite() { TestSuite suite = new TestSuite(BooleanObjectArrayMorpherTest.class); suite.setName("BooleanObjectArrayMorpher Tests"); return suite; }