001    /**
002     * Copyright 2005-2011 The Kuali Foundation
003     *
004     * Licensed under the Educational Community License, Version 2.0 (the "License");
005     * you may not use this file except in compliance with the License.
006     * You may obtain a copy of the License at
007     *
008     * http://www.opensource.org/licenses/ecl2.php
009     *
010     * Unless required by applicable law or agreed to in writing, software
011     * distributed under the License is distributed on an "AS IS" BASIS,
012     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
013     * See the License for the specific language governing permissions and
014     * limitations under the License.
015     */
016    package org.kuali.rice.kew.xml;
017    
018    import org.junit.Test;
019    import org.kuali.rice.kew.test.KEWTestCase;
020    
021    
022    public class XmlImportTest extends KEWTestCase {
023    
024            /*public void testCanParseWhiteSpace() throws Exception {
025                    //XmlImportTest_white_space_test.xml contains white space that will make things choke if not 
026                    //properly handled
027                    this.loadXmlFile("XmlImportTest_white_space_test.xml");
028                    
029            }
030    
031            public void testCantParseReturnChar() throws Exception {
032                    this.loadXmlFile("XmlImportTest_white_space_return_char_test.xml");
033            }*/
034            
035            @Test public void testRuleTemplate() throws Exception{
036                    this.loadXmlFile("RuleTemplate_test_white_space.xml");          
037                    this.loadXmlFile("RuleTemplate_test_newline.xml");
038            }
039            
040            @Test public void testDocumentType() throws Exception{
041                    this.loadXmlFile("DocumentType_white_space_test.xml");
042                    this.loadXmlFile("DocumentType_newline_test.xml");
043            }
044            
045            @Test public void testRule() throws Exception{
046                    this.loadXmlFile("Rule_white_space_test.xml");
047                    this.loadXmlFile("Rule_newline_test.xml");
048                    
049            }
050            
051    }