001: /**
002: * JOnAS: Java(TM) Open Application Server
003: * Copyright (C) 1999-2005 Bull S.A.
004: * Contact: jonas-team@objectweb.org
005: *
006: * This library is free software; you can redistribute it and/or
007: * modify it under the terms of the GNU Lesser General Public
008: * License as published by the Free Software Foundation; either
009: * version 2.1 of the License, or 1any later version.
010: *
011: * This library is distributed in the hope that it will be useful,
012: * but WITHOUT ANY WARRANTY; without even the implied warranty of
013: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
014: * Lesser General Public License for more details.
015: *
016: * You should have received a copy of the GNU Lesser General Public
017: * License along with this library; if not, write to the Free Software
018: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
019: * USA
020: *
021: * --------------------------------------------------------------------------
022: * $Id: C_JonasAdmin.java 7340 2005-09-07 12:37:42Z kemlerp $
023: * --------------------------------------------------------------------------
024: */package org.objectweb.jonas.jonasadmin.test.suite;
025:
026: import junit.framework.Test;
027: import junit.framework.TestSuite;
028:
029: import org.objectweb.jonas.jonasadmin.test.catalina.C_JonasAdminCatalina;
030: import org.objectweb.jonas.jonasadmin.test.deploy.C_JonasAdminDeploy;
031: import org.objectweb.jonas.jonasadmin.test.domain.C_JonasAdminDomain;
032: import org.objectweb.jonas.jonasadmin.test.jonasserver.C_JonasAdminJonasserver;
033: import org.objectweb.jonas.jonasadmin.test.joram.C_JonasAdminJoram;
034: import org.objectweb.jonas.jonasadmin.test.logging.C_JonasAdminLogging;
035: import org.objectweb.jonas.jonasadmin.test.monitoring.C_JonasAdminMonitoring;
036: import org.objectweb.jonas.jonasadmin.test.navigation.C_JonasAdminNavigation;
037: import org.objectweb.jonas.jonasadmin.test.resource.C_JonasAdminResource;
038: import org.objectweb.jonas.jonasadmin.test.service.container.C_JonasAdminContainer;
039: import org.objectweb.jonas.jonasadmin.test.service.database.C_JonasAdminServiceDatabase;
040: import org.objectweb.jonas.jonasadmin.test.service.discovery.C_JonasAdminServiceDiscovery;
041: import org.objectweb.jonas.jonasadmin.test.service.jtm.C_JonasAdminServiceTransaction;
042: import org.objectweb.jonas.jonasadmin.test.service.mail.C_JonasAdminServiceMail;
043: import org.objectweb.jonas.jonasadmin.test.service.resource.C_JonasAdminServiceResource;
044: import org.objectweb.jonas.jonasadmin.test.service.security.C_JonasAdminServiceSecurity;
045: import org.objectweb.jonas.jonasadmin.test.util.JonasAdminTestCase;
046:
047: /**
048: * Define a class to test jonasAdmin
049: * Test : - catalina
050: * - deploy
051: * - domain
052: * - jonasserver
053: * - joram
054: * - logging
055: * - monitoring
056: * - 'navigation'
057: * - service/container
058: * - service/resource
059: * - service/transaction
060: * - service/security
061: * - service/mail
062: * - service/discovery
063: * - service/database
064: * - resource
065: * @author Paul Kemler
066: */
067:
068: public class C_JonasAdmin extends JonasAdminTestCase {
069:
070: /**
071: * Constructor with a specified name
072: * @param name the name
073: */
074: public C_JonasAdmin(String name) {
075: super (name);
076: }
077:
078: /**
079: * Get a new TestSuite for this class
080: * It includes all jonasAdmin tests
081: * @return a new TestSuite for this class
082: */
083: public static Test suite() {
084: TestSuite suite = new TestSuite();
085: suite.addTest(C_JonasAdminCatalina.suite());
086: suite.addTest(C_JonasAdminDeploy.suite());
087: suite.addTest(C_JonasAdminDomain.suite());
088: suite.addTest(C_JonasAdminJonasserver.suite());
089: suite.addTest(C_JonasAdminJoram.suite());
090: suite.addTest(C_JonasAdminLogging.suite());
091: suite.addTest(C_JonasAdminMonitoring.suite());
092: suite.addTest(C_JonasAdminNavigation.suite());
093: suite.addTest(C_JonasAdminContainer.suite());
094: suite.addTest(C_JonasAdminServiceResource.suite());
095: suite.addTest(C_JonasAdminServiceTransaction.suite());
096: suite.addTest(C_JonasAdminServiceSecurity.suite());
097: suite.addTest(C_JonasAdminServiceMail.suite());
098: suite.addTest(C_JonasAdminServiceDiscovery.suite());
099: suite.addTest(C_JonasAdminServiceDatabase.suite());
100: suite.addTest(C_JonasAdminResource.suite());
101: return suite;
102: }
103:
104: /**
105: * Main method
106: * @param args the arguments
107: */
108: public static void main(String[] args) {
109: junit.textui.TestRunner.run(suite());
110: }
111: }
|