~ubuntu-branches/ubuntu/quantal/netbeans/quantal

« back to all changes in this revision

Viewing changes to junit/src/org/netbeans/modules/junit/resources/layer.xml

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
ImportĀ upstreamĀ versionĀ 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0"?>
 
2
<!DOCTYPE filesystem PUBLIC "-//NetBeans//DTD Filesystem 1.0//EN" "http://www.netbeans.org/dtds/filesystem-1_0.dtd">
 
3
<!--
 
4
DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
5
 
 
6
Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.
 
7
 
 
8
 
 
9
The contents of this file are subject to the terms of either the GNU
 
10
General Public License Version 2 only ("GPL") or the Common
 
11
Development and Distribution License("CDDL") (collectively, the
 
12
"License"). You may not use this file except in compliance with the
 
13
License. You can obtain a copy of the License at
 
14
http://www.netbeans.org/cddl-gplv2.html
 
15
or nbbuild/licenses/CDDL-GPL-2-CP. See the License for the
 
16
specific language governing permissions and limitations under the
 
17
License.  When distributing the software, include this License Header
 
18
Notice in each file and include the License file at
 
19
nbbuild/licenses/CDDL-GPL-2-CP.  Sun designates this
 
20
particular file as subject to the "Classpath" exception as provided
 
21
by Sun in the GPL Version 2 section of the License file that
 
22
accompanied this code. If applicable, add the following below the
 
23
License Header, with the fields enclosed by brackets [] replaced by
 
24
your own identifying information:
 
25
"Portions Copyrighted [year] [name of copyright owner]"
 
26
 
 
27
Contributor(s):
 
28
 
 
29
 The Original Software is NetBeans. The Initial Developer of the Original
 
30
Software is Sun Microsystems, Inc. Portions Copyright 1997-2007 Sun
 
31
 Microsystems, Inc. All Rights Reserved.
 
32
 
 
33
If you wish your version of this file to be governed by only the CDDL
 
34
or only the GPL Version 2, indicate your decision by adding
 
35
"[Contributor] elects to include this software in this distribution
 
36
under the [CDDL or GPL Version 2] license." If you do not indicate a
 
37
single choice of license, a recipient has the option to distribute
 
38
your version of this file under either the CDDL, the GPL Version 2 or
 
39
to extend the choice of license to its licensees as provided above.
 
40
However, if you add GPL Version 2 code and therefore, elected the GPL
 
41
Version 2 license, then the option applies only if the new code is
 
42
made subject to such option by the copyright holder.
 
43
-->
 
44
<filesystem>
 
45
    <folder name="org-netbeans-api-project-libraries">
 
46
        <folder name="Libraries">
 
47
            <file name="junit-3.8.2.xml" url="junit_3_8_2_lib.xml"/>
 
48
            <file name="junit-4.1.xml" url="junit_4_1_lib.xml"/>
 
49
        </folder>
 
50
    </folder>
 
51
 
 
52
    <!-- templates -->
 
53
    <folder name="Templates">           
 
54
                  
 
55
        <folder name="JUnit">
 
56
            <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.junit.Bundle"/>
 
57
            <attr name="position" intvalue="1200"/>
 
58
            <attr name="templateWizardURL" urlvalue="nbresloc:/org/netbeans/modules/junit/resources/templates/JUnitFolder.html"/>
 
59
            
 
60
            <!-- JUnit wizards -->
 
61
            
 
62
            <file name="EmptyJUnitTest.java">
 
63
                <attr name="position" intvalue="100"/>
 
64
                <attr name="template" boolvalue="true"/>
 
65
                <attr name="simple" boolvalue="false"/>
 
66
                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
 
67
                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.junit.Bundle"/> 
 
68
                <attr name="templateWizardURL" urlvalue="nbresloc:/org/netbeans/modules/junit/resources/templates/EmptyJUnitTest.html"/>
 
69
                <attr name="templateWizardIterator" methodvalue="org.netbeans.modules.junit.wizards.EmptyTestCaseWizardIterator.singleton"/>
 
70
                <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/junit/resources/JUnitLogo.png"/>
 
71
                <attr name="templateCategory" stringvalue="junit"/>
 
72
            </file>
 
73
            
 
74
            <file name="SimpleJUnitTest.java">
 
75
                <attr name="position" intvalue="300"/>
 
76
                <attr name="template" boolvalue="true"/>
 
77
                <attr name="simple" boolvalue="false"/>
 
78
                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
 
79
                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.junit.Bundle"/> 
 
80
                <attr name="templateWizardURL" urlvalue="nbresloc:/org/netbeans/modules/junit/resources/templates/SimpleJUnitTest.html"/>
 
81
                <attr name="templateWizardIterator" methodvalue="org.netbeans.modules.junit.wizards.SimpleTestCaseWizardIterator.singleton"/>
 
82
                <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/junit/resources/JUnitLogo.png"/>
 
83
                <attr name="templateCategory" stringvalue="junit"/>
 
84
            </file>
 
85
            
 
86
            <file name="TestSuite.java">
 
87
                <attr name="position" intvalue="400"/>
 
88
                <attr name="template" boolvalue="true"/>
 
89
                <attr name="simple" boolvalue="false"/>
 
90
                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
 
91
                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.junit.Bundle"/> 
 
92
                <attr name="templateWizardURL" urlvalue="nbresloc:/org/netbeans/modules/junit/resources/templates/TestSuite.html"/>
 
93
                <attr name="templateWizardIterator" methodvalue="org.netbeans.modules.junit.wizards.TestSuiteWizardIterator.singleton"/>
 
94
                <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/junit/resources/JUnitLogo.png"/>
 
95
                <attr name="templateCategory" stringvalue="junit"/>
 
96
            </file>
 
97
            
 
98
            <!-- JUnit 3.x templates -->
 
99
            
 
100
            <file name="JUnit3TestClass.java" url="templates/JUnit3TestClass.java.template">
 
101
                <attr name="position" intvalue="200"/>
 
102
                <attr name="template" boolvalue="true"/>
 
103
                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
 
104
                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.junit.Bundle"/> 
 
105
                <attr name="templateWizardURL" urlvalue="nbresloc:/org/netbeans/modules/junit/resources/templates/EmptyJUnitTest.html"/>
 
106
                <attr name="templateWizardIterator" methodvalue="org.netbeans.modules.junit.wizards.EmptyTestCaseWizardIterator.singleton"/>
 
107
                <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/junit/resources/JUnitLogo.png"/>
 
108
                <attr name="templateCategory" stringvalue="invisible"/>
 
109
            </file>
 
110
            <file name="JUnit3Suite.java" url="templates/JUnit3Suite.java.template">
 
111
                <attr name="position" intvalue="600"/>
 
112
                <attr name="template" boolvalue="true"/>
 
113
                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
 
114
                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.junit.Bundle"/> 
 
115
                <attr name="templateWizardURL" urlvalue="nbresloc:/org/netbeans/modules/junit/resources/templates/TestSuite.html"/>
 
116
                <attr name="templateWizardIterator" methodvalue="org.netbeans.modules.junit.wizards.TestSuiteWizardIterator.singleton"/>
 
117
                <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/junit/resources/JUnitLogo.png"/>
 
118
                <attr name="templateCategory" stringvalue="invisible"/>
 
119
            </file>
 
120
            
 
121
            <!-- JUnit 4.x templates -->
 
122
            
 
123
            <file name="JUnit4TestClass.java" url="templates/JUnit4TestClass.java.template">
 
124
                <attr name="position" intvalue="700"/>
 
125
                <attr name="template" boolvalue="true"/>
 
126
                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
 
127
                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.junit.Bundle"/> 
 
128
                <attr name="templateWizardURL" urlvalue="nbresloc:/org/netbeans/modules/junit/resources/templates/EmptyJUnitTest.html"/>
 
129
                <attr name="templateWizardIterator" methodvalue="org.netbeans.modules.junit.wizards.EmptyTestCaseWizardIterator.singleton"/>
 
130
                <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/junit/resources/JUnitLogo.png"/>
 
131
                <attr name="templateCategory" stringvalue="invisible"/>
 
132
            </file>
 
133
            <file name="JUnit4Suite.java" url="templates/JUnit4Suite.java.template">
 
134
                <attr name="position" intvalue="900"/>
 
135
                <attr name="template" boolvalue="true"/>
 
136
                <attr name="javax.script.ScriptEngine" stringvalue="freemarker"/>
 
137
                <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.junit.Bundle"/> 
 
138
                <attr name="templateWizardURL" urlvalue="nbresloc:/org/netbeans/modules/junit/resources/templates/TestSuite.html"/>
 
139
                <attr name="templateWizardIterator" methodvalue="org.netbeans.modules.junit.wizards.TestSuiteWizardIterator.singleton"/>
 
140
                <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/junit/resources/JUnitLogo.png"/>
 
141
                <attr name="templateCategory" stringvalue="invisible"/>
 
142
            </file>
 
143
            
 
144
        </folder>
 
145
    </folder>
 
146
 
 
147
    <!-- actions -->
 
148
    <folder name="Actions">
 
149
        <folder name="JUnitTests">
 
150
            <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.junit.Bundle"/>
 
151
            <file name="org-netbeans-modules-junit-CreateTestAction.instance"/>
 
152
        </folder>
 
153
       
 
154
        <folder name="Window">
 
155
            <file name="org-netbeans-modules-junit-output-ResultWindowOpenAction.instance">
 
156
                <attr name="SystemFileSystem.icon" urlvalue="nbresloc:/org/netbeans/modules/junit/output/res/testResults.png"/> 
 
157
            </file>
 
158
        </folder> <!-- Window -->
 
159
 
 
160
    </folder>
 
161
    
 
162
    <folder name="Menu">
 
163
        <folder name="Window">
 
164
            <folder name="Output">
 
165
                <file name="ResultWindowOpenAction.shadow">
 
166
                    <attr name="originalFile" stringvalue="Actions/Window/org-netbeans-modules-junit-output-ResultWindowOpenAction.instance"/>
 
167
                    <attr name="position" intvalue="400"/>
 
168
                </file> <!-- ResultWindowOpenAction -->
 
169
                </folder>
 
170
        </folder> <!-- Window -->
 
171
    </folder>
 
172
    
 
173
 
 
174
    <!-- shortcuts -->
 
175
    <folder name="Shortcuts">
 
176
        <file name="DS-U.instance">
 
177
            <attr name="instanceClass" stringvalue="org.netbeans.modules.junit.CreateTestAction"/>
 
178
        </file>
 
179
        <!--
 
180
        <file name="DS-6.shadow">
 
181
            <attr name="originalFile" stringvalue="Actions/Window/org-netbeans-modules-junit-output-ResultWindowOpenAction.instance"/>
 
182
        </file>
 
183
        -->
 
184
    </folder>
 
185
    
 
186
    <folder name="UI">
 
187
        <folder name="Services">
 
188
                <!-- Display the system option under the "Testing" category in Options. -->
 
189
                <folder name="Testing">
 
190
                    <attr name="SystemFileSystem.localizingBundle" stringvalue="org.netbeans.modules.junit.Bundle"/>
 
191
                    <!-- Point to the real settings file (always on the system file system). -->
 
192
                    <file name="org-netbeans-modules-junit-JUnitSettingsNode.instance">
 
193
                        <attr name="instanceCreate" methodvalue="org.netbeans.modules.junit.JUnitSettings.createViewNode"/>
 
194
                    </file>
 
195
                </folder>
 
196
        </folder>
 
197
    </folder>
 
198
 
 
199
    <folder name="Windows2">
 
200
        <folder name="Modes">
 
201
            <folder name="output">        <!-- "output" is defined in core/ui -->
 
202
                <file name="junit-test-results.wstcref" url="../output/junit-test-results.wstcref">
 
203
                    <attr name="position" intvalue="200"/>
 
204
                </file>
 
205
            </folder>
 
206
        </folder>
 
207
        <folder name="Components">
 
208
            <file name="junit-test-results.settings" url="../output/junit-test-results.settings"/>
 
209
        </folder>
 
210
    </folder>
 
211
 
 
212
</filesystem>