001 /** 002 * Copyright 2005-2013 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 edu.sampleu.admin; 017 018 import org.junit.Test; 019 import org.kuali.rice.testtools.selenium.AutomatedFunctionalTestUtils; 020 021 /** 022 * JUnit implementation of XMLIngesterAftBase that navigates through the UI to the page under test. In the future 023 * the idea is to generate this class using the test methods from XmlIngesterAftBase and following the simple pattern of 024 * <pre>super.testMethodNav(this);</pre> 025 * 026 * <pre>mvn -f rice-middleware/sampleapp/pom.xml -Pstests failsafe:integration-test -Dremote.public.url=env7.rice.kuali.org -Dit.test=XMLIngesterSTJUnitNavGen -DXMLIngester.groupId=2008 -DXMLIngester.userIncludeDTSinPrefix=false -DXMLIngester.userCntBegin=0 -DXMLIngester.userCnt=600 -DXMLIngester.userPrefix=loadtester -Dremote.driver.dontTearDown=y</pre> 027 * 028 * @author Kuali Rice Team (rice.collab@kuali.org) 029 */ 030 public class XmlIngesterKradBkMrkAft extends XmlIngesterAftBase { 031 032 public XmlIngesterKradBkMrkAft(){ 033 super(); 034 this.setUiFramework(AutomatedFunctionalTestUtils.REMOTE_UIF_KRAD); 035 } 036 037 @Override 038 public String getBookmarkUrl() { 039 return BOOKMARK_URL; 040 } 041 042 @Test 043 public void testXmlIngesterSuccessfulFileUploadBookmark() throws Exception { 044 testIngestionBookmark(this); 045 } 046 }