2
* Copyright 2001-2004 The Apache Software Foundation.
4
* Licensed under the Apache License, Version 2.0 (the "License");
5
* you may not use this file except in compliance with the License.
6
* You may obtain a copy of the License at
8
* http://www.apache.org/licenses/LICENSE-2.0
10
* Unless required by applicable law or agreed to in writing, software
11
* distributed under the License is distributed on an "AS IS" BASIS,
12
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13
* See the License for the specific language governing permissions and
14
* limitations under the License.
16
package test.wsdl.selectivefilegen;
19
import java.util.HashSet;
22
import test.wsdl.filegen.FileGenTestCase;
25
* This test establishes a base capability for the selective generation tests
26
* whereby nothing is excluded in this test case. All files should be
29
@author Jim Stafford jim.stafford@raba.com
31
public class AllNamespacesTestCase extends FileGenTestCase {
34
* List of files which should be generated.
36
protected Set shouldExist() {
37
HashSet set = new HashSet();
38
String bean1Dir = "bean1";
39
String bean2Dir = "bean2";
40
String servicesDir = "services";
42
set.add(bean1Dir + File.separator + "Bean1.java");
43
set.add(bean2Dir + File.separator + "Bean2.java");
44
set.add(servicesDir + File.separator + "Reporter.java");
45
set.add(servicesDir + File.separator + "ReporterSoapBindingImpl.java");
46
set.add(servicesDir + File.separator + "ReporterSoapBindingStub.java");
47
set.add(servicesDir + File.separator + "ReporterSoapBindingSkeleton.java");
48
set.add(servicesDir + File.separator + "deploy.wsdd");
49
set.add(servicesDir + File.separator + "undeploy.wsdd");
53
protected String rootDir() {
54
return "build" + File.separator + "work" + File.separator +
55
"test" + File.separator + "wsdl" + File.separator +
56
"selectivefilegen" + File.separator +
60
public AllNamespacesTestCase(String name) {