gowri@1878
|
1 |
/*
|
gowri@1878
|
2 |
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
|
jglick@2929
|
3 |
*
|
jglick@2929
|
4 |
* Copyright 1997-2010 Oracle and/or its affiliates. All rights reserved.
|
jglick@2929
|
5 |
*
|
jglick@2929
|
6 |
* Oracle and Java are registered trademarks of Oracle and/or its affiliates.
|
jglick@2929
|
7 |
* Other names may be trademarks of their respective owners.
|
jglick@2929
|
8 |
*
|
gowri@1878
|
9 |
* The contents of this file are subject to the terms of either the GNU
|
gowri@1878
|
10 |
* General Public License Version 2 only ("GPL") or the Common
|
gowri@1878
|
11 |
* Development and Distribution License("CDDL") (collectively, the
|
gowri@1878
|
12 |
* "License"). You may not use this file except in compliance with the
|
gowri@1878
|
13 |
* License. You can obtain a copy of the License at
|
gowri@1878
|
14 |
* http://www.netbeans.org/cddl-gplv2.html
|
gowri@1878
|
15 |
* or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
|
gowri@1878
|
16 |
* specific language governing permissions and limitations under the
|
gowri@1878
|
17 |
* License. When distributing the software, include this License Header
|
gowri@1878
|
18 |
* Notice in each file and include the License file at
|
jglick@2929
|
19 |
* nbbuild/licenses/CDDL-GPL-2-CP. Oracle designates this
|
gowri@1878
|
20 |
* particular file as subject to the "Classpath" exception as provided
|
jglick@2929
|
21 |
* by Oracle in the GPL Version 2 section of the License file that
|
gowri@1878
|
22 |
* accompanied this code. If applicable, add the following below the
|
gowri@1878
|
23 |
* License Header, with the fields enclosed by brackets [] replaced by
|
gowri@1878
|
24 |
* your own identifying information:
|
gowri@1878
|
25 |
* "Portions Copyrighted [year] [name of copyright owner]"
|
gowri@1878
|
26 |
*
|
gowri@1878
|
27 |
* If you wish your version of this file to be governed by only the CDDL
|
gowri@1878
|
28 |
* or only the GPL Version 2, indicate your decision by adding
|
gowri@1878
|
29 |
* "[Contributor] elects to include this software in this distribution
|
gowri@1878
|
30 |
* under the [CDDL or GPL Version 2] license." If you do not indicate a
|
gowri@1878
|
31 |
* single choice of license, a recipient has the option to distribute
|
gowri@1878
|
32 |
* your version of this file under either the CDDL, the GPL Version 2 or
|
gowri@1878
|
33 |
* to extend the choice of license to its licensees as provided above.
|
gowri@1878
|
34 |
* However, if you add GPL Version 2 code and therefore, elected the GPL
|
gowri@1878
|
35 |
* Version 2 license, then the option applies only if the new code is
|
gowri@1878
|
36 |
* made subject to such option by the copyright holder.
|
gowri@1878
|
37 |
*
|
gowri@1878
|
38 |
* Contributor(s):
|
gowri@1878
|
39 |
*
|
gowri@1878
|
40 |
* Portions Copyrighted 2007 Sun Microsystems, Inc.
|
gowri@1878
|
41 |
*/
|
gowri@1878
|
42 |
|
jglick@3219
|
43 |
package org.netbeans.modules.visualweb.web.ui.dt.component.customizers;
|
jglick@3219
|
44 |
|
gowri@1878
|
45 |
import org.netbeans.junit.NbTestCase;
|
gowri@1878
|
46 |
import org.netbeans.junit.NbTestSuite;
|
gowri@1878
|
47 |
|
gowri@1878
|
48 |
/**
|
gowri@1878
|
49 |
*
|
gowri@1878
|
50 |
* @author gowri
|
gowri@1878
|
51 |
*/
|
gowri@1878
|
52 |
public class OptionsListCustomizerTest extends NbTestCase {
|
gowri@1878
|
53 |
|
gowri@1878
|
54 |
public OptionsListCustomizerTest(String testName) {
|
gowri@1878
|
55 |
super(testName);
|
gowri@1878
|
56 |
}
|
gowri@1878
|
57 |
|
gowri@1878
|
58 |
/** Creates suite from particular test cases. You can define order of testcases here. */
|
gowri@1878
|
59 |
public static NbTestSuite suite() {
|
gowri@1878
|
60 |
NbTestSuite suite = new NbTestSuite();
|
gowri@1878
|
61 |
suite.addTest(new OptionsListCustomizerTest("test1"));
|
gowri@1878
|
62 |
suite.addTest(new OptionsListCustomizerTest("test2"));
|
gowri@1878
|
63 |
return suite;
|
gowri@1878
|
64 |
}
|
gowri@1878
|
65 |
|
gowri@1878
|
66 |
/* Method allowing test execution directly from the IDE. */
|
gowri@1878
|
67 |
public static void main(java.lang.String[] args) {
|
gowri@1878
|
68 |
// run whole suite
|
gowri@1878
|
69 |
junit.textui.TestRunner.run(suite());
|
gowri@1878
|
70 |
}
|
gowri@1878
|
71 |
|
gowri@1878
|
72 |
/** Called before every test case. */
|
gowri@1878
|
73 |
public void setUp() {
|
gowri@1878
|
74 |
System.out.println("######## "+getName()+" #######");
|
gowri@1878
|
75 |
}
|
gowri@1878
|
76 |
|
gowri@1878
|
77 |
/** Called after every test case. */
|
gowri@1878
|
78 |
public void tearDown() {
|
gowri@1878
|
79 |
}
|
gowri@1878
|
80 |
|
gowri@1878
|
81 |
// Add test methods here, they have to start with 'test'.
|
gowri@1878
|
82 |
|
gowri@1878
|
83 |
/** Test case 1. */
|
gowri@1878
|
84 |
public void test1() {
|
gowri@1878
|
85 |
}
|
gowri@1878
|
86 |
|
gowri@1878
|
87 |
/** Test case 2. */
|
gowri@1878
|
88 |
public void test2() {
|
gowri@1878
|
89 |
}
|
gowri@1878
|
90 |
|
gowri@1878
|
91 |
}
|