01: /*
02: * Copyright 2005-2006 The Apache Software Foundation.
03: *
04: * Licensed under the Apache License, Version 2.0 (the "License");
05: * you may not use this file except in compliance with the License.
06: * You may obtain a copy of the License at
07: *
08: * http://www.apache.org/licenses/LICENSE-2.0
09: *
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.
15: */
16: package com.bostechcorp.cbesb.tools.ant;
17:
18: import junit.framework.TestCase;
19:
20: /**
21: *
22: * Mdl2JJTaskTest class
23: */
24: public class Mdl2JJTaskTest extends TestCase {
25:
26: private Mdl2JJTask task;
27:
28: /*
29: * @see TestCase#setUp()
30: */
31: protected void setUp() throws Exception {
32:
33: super .setUp();
34: task = new Mdl2JJTask();
35:
36: }
37:
38: /*
39: * @see TestCase#tearDown()
40: */
41: protected void tearDown() throws Exception {
42:
43: super .tearDown();
44: }
45:
46: public void test1() throws Exception {
47:
48: // task.setTaggedMdl("src/formats/order/record/taggedMDL3.xml");
49: task.setTaggedMdl("src/formats/taggedMDL2.xml");
50: task.setDestDir("src/build/generated/fsm");
51: task.setProjName("ESB");
52: task.execute();
53: // assertTrue(testFile.exists());
54: // FileUtil.deleteFile(rootDir);
55: }
56: }
|