1 /** 2 * Copyright 2005-2012 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.common; 17 18 import org.junit.Test; 19 20 /** 21 * blanket approving a new document, results in a final document 22 * 23 * @author Kuali Rice Team (rice.collab@kuali.org) 24 * @deprecated 25 */ 26 public abstract class AdminMenuBlanketAppITBase extends MenuITBase{ 27 28 /** 29 * blanket approve document, returning docId as a String 30 * @return docId 31 */ 32 public abstract String blanketApprove() throws Exception; 33 34 @Override 35 protected String getMenuLinkLocator() { 36 return AdminMenuITBase.ADMIN_LOCATOR; 37 } 38 39 @Override 40 protected String getCreateNewLinkLocator() { 41 return AdminMenuITBase.CREATE_NEW_LOCATOR; 42 } 43 44 @Test 45 public void testBlanketApprove() throws Exception { 46 gotoCreateNew(); 47 String docId = blanketApprove(); 48 blanketApproveTest(); 49 assertDocFinal(docId); 50 } 51 }