01: /*
02: * BEGIN_HEADER - DO NOT EDIT
03: *
04: * The contents of this file are subject to the terms
05: * of the Common Development and Distribution License
06: * (the "License"). You may not use this file except
07: * in compliance with the License.
08: *
09: * You can obtain a copy of the license at
10: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
11: * See the License for the specific language governing
12: * permissions and limitations under the License.
13: *
14: * When distributing Covered Code, include this CDDL
15: * HEADER in each file and include the License file at
16: * https://open-esb.dev.java.net/public/CDDLv1.0.html.
17: * If applicable add the following below this CDDL HEADER,
18: * with the fields enclosed by brackets "[]" replaced with
19: * your own identifying information: Portions Copyright
20: * [year] [name of copyright owner]
21: */
22:
23: /*
24: * @(#)TestTransformationProcessorFactory.java
25: * Copyright 2004-2007 Sun Microsystems, Inc. All Rights Reserved.
26: *
27: * END_HEADER - DO NOT EDIT
28: */
29: package com.sun.jbi.engine.xslt;
30:
31: import junit.framework.*;
32: import java.util.logging.Logger;
33:
34: /**
35: * DOCUMENT ME!
36: *
37: * @author root
38: */
39: public class TestTransformationProcessorFactory extends TestCase {
40:
41: /**
42: * DOCUMENT ME!
43: */
44: private TransformationProcessorFactory mTransformationProcessorFactory;
45:
46: /**
47: * DOCUMENT ME!
48: *
49: * @return DOCUMENT ME!
50: */
51: public static Test suite() {
52: TestSuite suite = new TestSuite(
53: TestTransformationProcessorFactory.class);
54: return suite;
55: }
56:
57: /**
58: * Sets up tests.
59: */
60: public void setUp() {
61: }
62:
63: /**
64: * Test of getImpl method, of class com.sun.jbi.engine.xslt.util.TransformationProcessorFactory.
65: */
66: public void testGetImpl() {
67: /*
68: System.out.println("testGetImpl");
69: TransformationProcessor processor = TransformationProcessorFactory.getImpl();
70: assertNotNull("Retrieved processor is Null", processor);
71: */
72: }
73:
74: /**
75: * Test for comparing the Impl, of class com.sun.jbi.engine.xslt.util.TransformationProcessorFactory.
76: */
77: public void testCompareImpl() {
78: /*
79: System.out.println("testCompare");
80: TransformationProcessor processor = TransformationProcessorFactory.getImpl();
81: TransformationProcessor processor2 = TransformationProcessorFactory.getImpl();
82: assertNotNull("Retrieved processor is not Null", processor);
83: assertEquals("Retrieved processor are not same", processor , processor2);
84: */
85: }
86:
87: }
|