001 /**
002 * Copyright 2005-2014 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.export;
017
018 import org.junit.Test;
019 import org.kuali.rice.kew.test.KEWTestCase;
020 import org.kuali.rice.test.BaselineTestCase;
021
022 @BaselineTestCase.BaselineMode(BaselineTestCase.Mode.NONE)
023 public abstract class XmlExporterTestCase extends KEWTestCase {
024
025 @Test public void testExportActionConfig() throws Exception {
026 loadXmlFile("org/kuali/rice/kew/actions/ActionsConfig.xml");
027 assertExport();
028 }
029
030 @Test public void testExportEngineConfig() throws Exception {
031 loadXmlFile("org/kuali/rice/kew/engine/EngineConfig.xml");
032 assertExport();
033 }
034
035 protected abstract void assertExport() throws Exception;
036
037 }