1 /*
2 * Copyright 2005-2007 The Kuali Foundation
3 *
4 *
5 * Licensed under the Educational Community License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.opensource.org/licenses/ecl2.php
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 */
17 package org.kuali.rice.kew.xml;
18
19 import org.junit.Test;
20 import org.kuali.rice.kew.test.KEWTestCase;
21
22
23 public class XmlImportTest extends KEWTestCase {
24
25 /*public void testCanParseWhiteSpace() throws Exception {
26 //XmlImportTest_white_space_test.xml contains white space that will make things choke if not
27 //properly handled
28 this.loadXmlFile("XmlImportTest_white_space_test.xml");
29
30 }
31
32 public void testCantParseReturnChar() throws Exception {
33 this.loadXmlFile("XmlImportTest_white_space_return_char_test.xml");
34 }*/
35
36 @Test public void testRuleTemplate() throws Exception{
37 this.loadXmlFile("RuleTemplate_test_white_space.xml");
38 this.loadXmlFile("RuleTemplate_test_newline.xml");
39 }
40
41 @Test public void testDocumentType() throws Exception{
42 this.loadXmlFile("DocumentType_white_space_test.xml");
43 this.loadXmlFile("DocumentType_newline_test.xml");
44 }
45
46 @Test public void testRule() throws Exception{
47 this.loadXmlFile("Rule_white_space_test.xml");
48 this.loadXmlFile("Rule_newline_test.xml");
49
50 }
51
52 }