001: /*
002: * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
003: *
004: * Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
005: *
006: * The contents of this file are subject to the terms of either the GNU
007: * General Public License Version 2 only ("GPL") or the Common Development
008: * and Distribution License("CDDL") (collectively, the "License"). You
009: * may not use this file except in compliance with the License. You can obtain
010: * a copy of the License at https://glassfish.dev.java.net/public/CDDL+GPL.html
011: * or glassfish/bootstrap/legal/LICENSE.txt. See the License for the specific
012: * language governing permissions and limitations under the License.
013: *
014: * When distributing the software, include this License Header Notice in each
015: * file and include the License file at glassfish/bootstrap/legal/LICENSE.txt.
016: * Sun designates this particular file as subject to the "Classpath" exception
017: * as provided by Sun in the GPL Version 2 section of the License file that
018: * accompanied this code. If applicable, add the following below the License
019: * Header, with the fields enclosed by brackets [] replaced by your own
020: * identifying information: "Portions Copyrighted [year]
021: * [name of copyright owner]"
022: *
023: * Contributor(s):
024: *
025: * If you wish your version of this file to be governed by only the CDDL or
026: * only the GPL Version 2, indicate your decision by adding "[Contributor]
027: * elects to include this software in this distribution under the [CDDL or GPL
028: * Version 2] license." If you don't indicate a single choice of license, a
029: * recipient has the option to distribute your version of this file under
030: * either the CDDL, the GPL Version 2 or to extend the choice of license to
031: * its licensees as provided above. However, if you add GPL Version 2 code
032: * and therefore, elected the GPL Version 2 license, then the option applies
033: * only if the new code is made subject to such option by the copyright
034: * holder.
035: */
036:
037: /*
038: * PolicySuite.java
039: * JUnit based test
040: *
041: * Created on August 24, 2006, 12:28 AM
042: */
043:
044: package com.sun.xml.ws.security.impl.policy;
045:
046: import junit.framework.*;
047:
048: /**
049: *
050: * @author mayank
051: */
052: public class PolicySuite extends TestCase {
053:
054: public PolicySuite(String testName) {
055: super (testName);
056: }
057:
058: protected void setUp() throws Exception {
059: }
060:
061: protected void tearDown() throws Exception {
062: }
063:
064: /**
065: * suite method automatically generated by JUnit module
066: */
067: public static Test suite() {
068: TestSuite suite = new TestSuite("PolicySuite");
069: suite
070: .addTest(com.sun.xml.ws.security.impl.policy.AsymmetricBindingTest
071: .suite());
072: suite
073: .addTest(com.sun.xml.ws.security.impl.policy.EncryptedPartsTest
074: .suite());
075: suite
076: .addTest(com.sun.xml.ws.security.impl.policy.EndorsingSupportingTokensTest
077: .suite());
078: suite
079: .addTest(com.sun.xml.ws.security.impl.policy.HttpsTokenTest
080: .suite());
081: suite
082: .addTest(com.sun.xml.ws.security.impl.policy.IssuedTokenTest
083: .suite());
084: suite
085: .addTest(com.sun.xml.ws.security.impl.policy.KerberosTokenTest
086: .suite());
087: suite.addTest(com.sun.xml.ws.security.impl.policy.RelTokenTest
088: .suite());
089: suite.addTest(com.sun.xml.ws.security.impl.policy.SamlTokenTest
090: .suite());
091: suite
092: .addTest(com.sun.xml.ws.security.impl.policy.SecureConversationTokenTest
093: .suite());
094: suite
095: .addTest(com.sun.xml.ws.security.impl.policy.SecurityContextTokenTest
096: .suite());
097: suite
098: .addTest(com.sun.xml.ws.security.impl.policy.SecurityPoliciesTest
099: .suite());
100: suite
101: .addTest(com.sun.xml.ws.security.impl.policy.SignedElementsTest
102: .suite());
103: suite
104: .addTest(com.sun.xml.ws.security.impl.policy.SignedEndorsingSupportingTokensTest
105: .suite());
106: suite
107: .addTest(com.sun.xml.ws.security.impl.policy.SignedPartsTest
108: .suite());
109: suite
110: .addTest(com.sun.xml.ws.security.impl.policy.SignedSupportingTokensTest
111: .suite());
112: suite
113: .addTest(com.sun.xml.ws.security.impl.policy.SpnegoContextTokenTest
114: .suite());
115: suite
116: .addTest(com.sun.xml.ws.security.impl.policy.SupportingTokensTest
117: .suite());
118: suite
119: .addTest(com.sun.xml.ws.security.impl.policy.SymmetricBindingTest
120: .suite());
121: suite
122: .addTest(com.sun.xml.ws.security.impl.policy.TransportBindingTest
123: .suite());
124: suite
125: .addTest(com.sun.xml.ws.security.impl.policy.UsernameTokenTest
126: .suite());
127: suite.addTest(com.sun.xml.ws.security.impl.policy.X509TokenTest
128: .suite());
129: return suite;
130: }
131:
132: }
|