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
008: * Development and Distribution License("CDDL") (collectively, the
009: * "License"). You may not use this file except in compliance with the
010: * License. You can obtain a copy of the License at
011: * http://www.netbeans.org/cddl-gplv2.html
012: * or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
013: * specific language governing permissions and limitations under the
014: * License. When distributing the software, include this License Header
015: * Notice in each file and include the License file at
016: * nbbuild/licenses/CDDL-GPL-2-CP. Sun designates this
017: * particular file as subject to the "Classpath" exception as provided
018: * by Sun in the GPL Version 2 section of the License file that
019: * accompanied this code. If applicable, add the following below the
020: * License Header, with the fields enclosed by brackets [] replaced by
021: * your own identifying information:
022: * "Portions Copyrighted [year] [name of copyright owner]"
023: *
024: * Contributor(s):
025: *
026: * The Original Software is NetBeans. The Initial Developer of the Original
027: * Software is Sun Microsystems, Inc. Portions Copyright 1997-2006 Sun
028: * Microsystems, Inc. All Rights Reserved.
029: *
030: * If you wish your version of this file to be governed by only the CDDL
031: * or only the GPL Version 2, indicate your decision by adding
032: * "[Contributor] elects to include this software in this distribution
033: * under the [CDDL or GPL Version 2] license." If you do not indicate a
034: * single choice of license, a recipient has the option to distribute
035: * your version of this file under either the CDDL, the GPL Version 2 or
036: * to extend the choice of license to its licensees as provided above.
037: * However, if you add GPL Version 2 code and therefore, elected the GPL
038: * Version 2 license, then the option applies only if the new code is
039: * made subject to such option by the copyright holder.
040: */
041:
042: package DataLoaderTests.DataObjectTest;
043:
044: import junit.framework.*;
045: import org.netbeans.junit.*;
046:
047: public class RootSuite extends NbTestCase {
048:
049: public RootSuite(java.lang.String testName) {
050: super (testName);
051: }
052:
053: public static void main(java.lang.String[] args) {
054: junit.textui.TestRunner.run(suite());
055: }
056:
057: private DataObjectTest T = null;
058:
059: protected void setUp() {
060: T = new DataObjectTest("Dummy");
061: //now setting workdir - this class will write nothing into the logs, only the utility class should,
062: //however into location for this class
063: T.work = Manager.getWorkDirPath()
064: + java.io.File.separator
065: + this .getClass().getName().replace('.',
066: java.io.File.separatorChar)
067: + java.io.File.separator + getName();
068: }
069:
070: public static Test suite() {
071: TestSuite suite = new NbTestSuite("RootSuite");
072:
073: /* suite.addTest(DataLoaderTests.DataObjectTest.others.AWTFormObject.AWTFormObject_others.suite());
074: suite.addTest(DataLoaderTests.DataObjectTest.others.ClassObject.ClassObject_others.suite());
075: suite.addTest(DataLoaderTests.DataObjectTest.others.HTMLObject.HTMLObject_others.suite());
076: suite.addTest(DataLoaderTests.DataObjectTest.others.ImageObject.ImageObject_others.suite());
077: suite.addTest(DataLoaderTests.DataObjectTest.others.JSPObject.JSPObject_others.suite());
078: suite.addTest(DataLoaderTests.DataObjectTest.others.JavaSourceObject.JavaSourceObject_others.suite());
079: suite.addTest(DataLoaderTests.DataObjectTest.others.Package.Package_others.suite());
080: suite.addTest(DataLoaderTests.DataObjectTest.others.SecurityJApplet.SecurityJApplet_others.suite());
081: suite.addTest(DataLoaderTests.DataObjectTest.others.SwingFormObject.SwingFormObject_others.suite());
082: suite.addTest(DataLoaderTests.DataObjectTest.others.TextualObject.TextualObject_others.suite());
083: suite.addTest(DataLoaderTests.DataObjectTest.others.URLObject.URLObject_others.suite());
084: */
085: /* suite.addTest(DataLoaderTests.DataObjectTest.modify.AWTFormObject.AWTFormObject_modify.suite());
086: suite.addTest(DataLoaderTests.DataObjectTest.modify.ClassObject.ClassObject_modify.suite());
087: suite.addTest(DataLoaderTests.DataObjectTest.modify.HTMLObject.HTMLObject_modify.suite());
088: suite.addTest(DataLoaderTests.DataObjectTest.modify.ImageObject.ImageObject_modify.suite());
089: suite.addTest(DataLoaderTests.DataObjectTest.modify.JSPObject.JSPObject_modify.suite());
090: suite.addTest(DataLoaderTests.DataObjectTest.modify.JavaSourceObject.JavaSourceObject_modify.suite());
091: suite.addTest(DataLoaderTests.DataObjectTest.modify.Package.Package_modify.suite());
092: suite.addTest(DataLoaderTests.DataObjectTest.modify.SecurityJApplet.SecurityJApplet_modify.suite());
093: suite.addTest(DataLoaderTests.DataObjectTest.modify.SwingFormObject.SwingFormObject_modify.suite());
094: suite.addTest(DataLoaderTests.DataObjectTest.modify.TextualObject.TextualObject_modify.suite());
095: suite.addTest(DataLoaderTests.DataObjectTest.modify.URLObject.URLObject_modify.suite());
096: */
097: /* suite.addTest(DataLoaderTests.DataObjectTest.manipulation.AWTFormObject.AWTFormObject_manipulation.suite());
098: suite.addTest(DataLoaderTests.DataObjectTest.manipulation.ClassObject.ClassObject_manipulation.suite());
099: suite.addTest(DataLoaderTests.DataObjectTest.manipulation.HTMLObject.HTMLObject_manipulation.suite());
100: suite.addTest(DataLoaderTests.DataObjectTest.manipulation.ImageObject.ImageObject_manipulation.suite());
101: suite.addTest(DataLoaderTests.DataObjectTest.manipulation.JSPObject.JSPObject_manipulation.suite());
102: suite.addTest(DataLoaderTests.DataObjectTest.manipulation.JavaSourceObject.JavaSourceObject_manipulation.suite());
103: //Package? - two dialogs pop up informing about package change
104: suite.addTest(DataLoaderTests.DataObjectTest.manipulation.Package.Package_manipulation.suite());
105: suite.addTest(DataLoaderTests.DataObjectTest.manipulation.SecurityJApplet.SecurityJApplet_manipulation.suite());
106: suite.addTest(DataLoaderTests.DataObjectTest.manipulation.SwingFormObject.SwingFormObject_manipulation.suite());
107: suite.addTest(DataLoaderTests.DataObjectTest.manipulation.TextualObject.TextualObject_manipulation.suite());
108: suite.addTest(DataLoaderTests.DataObjectTest.manipulation.URLObject.URLObject_manipulation.suite());
109: */
110: /* suite.addTest(DataLoaderTests.DataObjectTest.validity.AWTFormObject.AWTFormObject_validity.suite());
111: suite.addTest(DataLoaderTests.DataObjectTest.validity.ClassObject.ClassObject_validity.suite());
112: suite.addTest(DataLoaderTests.DataObjectTest.validity.HTMLObject.HTMLObject_validity.suite());
113: suite.addTest(DataLoaderTests.DataObjectTest.validity.ImageObject.ImageObject_validity.suite());
114: suite.addTest(DataLoaderTests.DataObjectTest.validity.JSPObject.JSPObject_validity.suite());
115: suite.addTest(DataLoaderTests.DataObjectTest.validity.JavaSourceObject.JavaSourceObject_validity.suite());
116: suite.addTest(DataLoaderTests.DataObjectTest.validity.Package.Package_validity.suite());
117: suite.addTest(DataLoaderTests.DataObjectTest.validity.SecurityJApplet.SecurityJApplet_validity.suite());
118: suite.addTest(DataLoaderTests.DataObjectTest.validity.SwingFormObject.SwingFormObject_validity.suite());
119: suite.addTest(DataLoaderTests.DataObjectTest.validity.TextualObject.TextualObject_validity.suite());
120: suite.addTest(DataLoaderTests.DataObjectTest.validity.URLObject.URLObject_validity.suite());
121: */
122: /* suite.addTest(DataLoaderTests.DataObjectTest.delegate.AWTFormObject.AWTFormObject_delegate.suite());
123: suite.addTest(DataLoaderTests.DataObjectTest.delegate.ClassObject.ClassObject_delegate.suite());
124: suite.addTest(DataLoaderTests.DataObjectTest.delegate.HTMLObject.HTMLObject_delegate.suite());
125: suite.addTest(DataLoaderTests.DataObjectTest.delegate.ImageObject.ImageObject_delegate.suite());
126: suite.addTest(DataLoaderTests.DataObjectTest.delegate.JSPObject.JSPObject_delegate.suite());
127: suite.addTest(DataLoaderTests.DataObjectTest.delegate.JavaSourceObject.JavaSourceObject_delegate.suite());
128: //Package? - two dialogs are thrown informing about change in package
129: suite.addTest(DataLoaderTests.DataObjectTest.delegate.Package.Package_delegate.suite());
130: suite.addTest(DataLoaderTests.DataObjectTest.delegate.SecurityJApplet.SecurityJApplet_delegate.suite());
131: suite.addTest(DataLoaderTests.DataObjectTest.delegate.SwingFormObject.SwingFormObject_delegate.suite());
132: suite.addTest(DataLoaderTests.DataObjectTest.delegate.TextualObject.TextualObject_delegate.suite());
133: suite.addTest(DataLoaderTests.DataObjectTest.delegate.URLObject.URLObject_delegate.suite());
134: */
135: return suite;
136: }
137:
138: }
|