View Javadoc

1   /**
2    * Copyright 2005-2013 The Kuali Foundation
3    *
4    * Licensed under the Educational Community License, Version 2.0 (the "License");
5    * you may not use this file except in compliance with the License.
6    * You may obtain a copy of the License at
7    *
8    * http://www.opensource.org/licenses/ecl2.php
9    *
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 edu.samplu.mainmenu.test;
17  
18  import org.junit.Assert;
19  import org.junit.Test;
20  
21  /**
22   * tests creating and cancelling new and edit Routing Rule maintenance screens 
23   * 
24   * @author Kuali Rice Team (rice.collab@kuali.org)
25   */
26  public class WorkFlowRouteRulesNavIT extends MainTmplMthdSTNavBase {
27  
28      @Override
29      public void fail(String message) {
30          Assert.fail(message);
31      }
32  
33      @Override
34      protected String getLinkLocator() {
35          return "Routing Rules";
36      }
37  
38      @Test
39      /**
40       * tests that a new Routing Rule maintenance document can be cancelled
41       */
42      public void testWorkFlowRouteRulesCreateNew() throws Exception {
43         gotoMenuLinkLocator();
44         super.testWorkFlowRouteRulesCreateNew();
45      }
46  
47      @Test
48      /**
49       * tests that a Routing Rule maintenance document is created for an edit operation originating from a lookup screen
50       */
51      public void testWorkFlowRouteRulesEditRouteRules() throws Exception {
52          gotoMenuLinkLocator();
53          super.testWorkFlowRouteRulesEditRouteRules();
54      }
55  }