View Javadoc

1   /**
2    * Copyright 2005-2011 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  
17  package edu.samplu.admin.test;
18  
19  import org.junit.Assert;
20  import org.junit.Test;
21  
22  import edu.samplu.common.ITUtil;
23  import edu.samplu.common.WebDriverLegacyITBase;
24  
25  
26  /**
27   * test that repeated ajax refreshes work
28   * @author Kuali Rice Team (rice.collab@kuali.org)
29   */
30  public class AgendaEditRuleRefreshWDIT extends WebDriverLegacyITBase {
31  
32      public static final String TEST_URL =ITUtil.PORTAL+"?channelTitle=Agenda%20Lookup&channelUrl="
33              + ITUtil.getBaseUrlString() + ITUtil.KRAD_LOOKUP_METHOD
34              + "org.kuali.rice.krms.impl.repository.AgendaBo"
35              + ITUtil.SHOW_MAINTENANCE_LINKS
36              + "&returnLocation=" + ITUtil.PORTAL_URL + ITUtil.HIDE_RETURN_LINK;
37  
38      @Override
39      public void fail(String message) {
40          Assert.fail(message);
41      }
42  
43      @Override
44      public String getTestUrl(){
45          return TEST_URL;
46      }
47      /**
48       * This overridden method ...
49       * 
50       * @see edu.samplu.common.WebDriverLegacyITBase#getTestUrl()
51       */
52      
53      @Test
54      /**
55       * test that repeated ajax refreshes work
56       */
57      public void testAgendaEditRuleRefreshIT() throws Exception {
58         super.testAgendaEditRuleRefreshIT();
59      }
60      
61  }
62