01: /*
02: * All content copyright (c) 2003-2007 Terracotta, Inc., except as may otherwise be noted in a separate copyright
03: * notice. All rights reserved.
04: */
05: package com.tctest.server.appserver.unit;
06:
07: import com.tc.test.server.appserver.AppServerFactory;
08: import com.tc.util.runtime.Vm;
09:
10: import java.util.Date;
11:
12: import junit.framework.Test;
13:
14: public class JBossSarParentDelegatedTest extends JBossSarTest {
15:
16: public JBossSarParentDelegatedTest() {
17: if (AppServerFactory.getCurrentAppServerId() != AppServerFactory.JBOSS
18: || Vm.isJDK14()) {
19: disableAllUntil(new Date(Long.MAX_VALUE));
20: }
21: parentDelegation = true;
22: }
23:
24: public void testSar() throws Exception {
25: doTest();
26: }
27:
28: public static Test suite() {
29: return new JBossSarTestSetup(JBossSarParentDelegatedTest.class);
30: }
31: }
|