1 23 package com.sun.enterprise.management; 24 25 26 import java.util.List ; 27 import java.util.ArrayList ; 28 29 import com.sun.appserv.management.util.misc.TypeCast; 30 31 import com.sun.enterprise.management.TestTemplateTest; 32 import com.sun.enterprise.management.DomainRootTest; 33 import com.sun.enterprise.management.GenericsTest; 34 35 import com.sun.enterprise.management.base.*; 36 import com.sun.enterprise.management.config.*; 37 import com.sun.enterprise.management.monitor.*; 38 import com.sun.enterprise.management.client.*; 39 import com.sun.enterprise.management.support.*; 40 import com.sun.enterprise.management.helper.*; 41 import com.sun.enterprise.management.deploy.*; 42 import com.sun.enterprise.management.j2ee.*; 43 import com.sun.enterprise.management.ext.logging.*; 44 import com.sun.enterprise.management.ext.wsmgmt.*; 45 import com.sun.enterprise.management.ext.offline.*; 46 import com.sun.enterprise.management.util.misc.*; 47 48 49 50 56 public class Tests 57 { 58 private Tests() {} 59 60 private static final Class <junit.framework.TestCase>[] TestClasses = 61 TypeCast.asArray( new Class [] 62 { 63 TestTemplateTest.class, 65 66 GenericsTest.class, 69 AMXDebugTest.class, 70 SetUtilTest.class, 71 ThrowableMapperTest.class, 72 OfflineDottedNamesRegistryTest.class, 73 OfflineDottedNamePrefixesTest.class, 74 LogQueryEntryImplTest.class, 75 LogQueryResultImplTest.class, 76 ParamNameMapperTest.class, 77 CircularListTest.class, 78 SerializableTest.class, 79 StatisticTest.class, 80 CoverageInfoTest.class, 81 82 RunMeFirstTest.class, 85 86 ComSunAppservMonitorTest.class, 87 ProxyTest.class, 88 ProxyFactoryTest.class, 89 AMXTest.class, 90 GetSetAttributeTest.class, 91 ContainerTest.class, 92 GenericTest.class, 93 PropertiesAccessTest.class, 94 SystemPropertiesAccessTest.class, 95 96 LogMBeanTest.class, 97 LoggingTest.class, 98 LoggingHelperTest.class, 99 StatefulLoggingHelperTest.class, 100 101 DomainRootTest.class, 102 UploadDownloadMgrTest.class, 103 BulkAccessTest.class, 104 QueryMgrTest.class, 105 NotificationEmitterServiceTest.class, 106 NotificationServiceMgrTest.class, 107 NotificationServiceTest.class, 108 MiscTest.class, 109 110 MonitorTest.class, 111 JMXMonitorMgrTest.class, 112 113 J2EETest.class, 114 ServletTest.class, 115 116 DeploymentProgressTest.class, 117 DeploymentSourceTest.class, 118 DeploymentStatusTest.class, 119 DeploymentMgrTest.class, 120 121 DanglingRefsTest.class, 122 ConfigRunMeFirstTest.class, 123 DescriptionTest.class, 124 EnabledTest.class, 125 LibrariesTest.class, 126 RefHelperTest.class, 127 ListenerTest.class, 128 ComSunAppservConfigTest.class, 129 DomainConfigTest.class, 130 ConfigConfigTest.class, 131 MessageSecurityConfigTest.class, 132 StandaloneServerConfigTest.class, 133 ClusteredServerConfigTest.class, 134 NodeAgentConfigTest.class, 135 CustomMBeanConfigTest.class, 136 LifecycleModuleConfigTest.class, 137 ReferencesTest.class, 138 HTTPServiceConfigTest.class, 139 HTTPListenerConfigTest.class, 140 ClusterConfigTest.class, 141 SSLConfigTest.class, 142 JMXConnectorConfigTest.class, 143 IIOPListenerConfigTest.class, 144 HTTPListenerConfigTest.class, 145 AuditModuleConfigTest.class, 146 AuthRealmConfigTest.class, 147 JavaConfigTest.class, 148 ProfilerConfigTest.class, 149 VirtualServerConfigTest.class, 150 JACCProviderConfigTest.class, 151 AdminObjectResourceConfigTest.class, 152 JDBCResourceConfigTest.class, 153 MailResourceConfigTest.class, 154 ConnectorConnectionPoolConfigTest.class, 155 JDBCConnectionPoolConfigTest.class, 156 PersistenceManagerFactoryResourceConfigTest.class, 157 JNDIResourceConfigTest.class, 158 ThreadPoolConfigTest.class, 159 LBTest.class, 160 ManagementRulesConfigTest.class, 161 SecurityMapConfigTest.class, 162 ConnectorConnectionPoolConfigTest.class, 163 ResourceAdapterConfigTest.class, 164 CustomResourceConfigTest.class, 165 ConnectorServiceConfigTest.class, 166 ManagementRulesConfigTest.class, 167 DiagnosticServiceConfigTest.class, 168 169 PerformanceTest.class, 170 CallFlowMonitorTest.class, 171 RunMeLastTest.class, 172 } ); 173 174 public static List <Class <junit.framework.TestCase>> 175 getTestClasses() 176 { 177 final List <Class <junit.framework.TestCase>> classes = 178 new ArrayList <Class <junit.framework.TestCase>>(); 179 180 for( int i = 0; i < TestClasses.length; ++i ) 181 { 182 final Class <junit.framework.TestCase> testClass = TestClasses[i]; 183 184 classes.add( testClass ); 185 } 186 187 return( classes ); 188 } 189 190 }; 191 192 | Popular Tags |