001    /*
002     * Copyright 2006-2012 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    
017    package org.kuali.rice.vc.krms;
018    
019    import org.apache.log4j.Logger;
020    import org.junit.Test;
021    import org.kuali.rice.vc.test.WsdlCompareTestCase;
022    
023    import java.io.File;
024    
025    public class KrmsWsdlCompatibilityTest extends WsdlCompareTestCase {
026        private static final Logger LOG = Logger.getLogger(KrmsWsdlCompatibilityTest.class);
027        private static final String MODULE_NAME = "krms";
028    
029        public KrmsWsdlCompatibilityTest() {
030            super(MODULE_NAME);
031        }
032    
033        @Test
034        public void compareApiWsdls() {
035            File[] files = new File("../../" + getModuleName() + "/api/target/wsdl").listFiles();
036            compareWsdlFiles(files);
037    
038        }
039    
040        @Test
041        public void compareFrameworkWsdls() {
042            File[] files = new File("../../" + getModuleName() + "/framework/target/wsdl").listFiles();
043            compareWsdlFiles(files);
044    
045        }
046    
047    
048    }