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.samplu.admin.test;
017
018 import edu.samplu.common.ITUtil;
019 import org.junit.Test;
020
021 /**
022 * JUnit implementation of ComponentSTJUnitBase 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 ComponentAbstractSmokeTestBase and following the simple pattern of
024 * <pre>super.testNavTestMethod(this);</pre>
025 *
026 * @see ComponentSTJUnitBase
027 * @see ComponentSTJUnitBkMrkGen
028 * @author Kuali Rice Team (rice.collab@kuali.org)
029 */
030 public class ComponentSTJUnitNavGen extends ComponentSTJUnitBase {
031
032 @Override
033 public String getTestUrl() {
034 return ITUtil.PORTAL;
035 }
036
037 @Override
038 public void gotoTest() throws Exception {
039 navigtaion();
040 }
041
042 /**
043 * {@link ComponentAbstractSmokeTestBase#testComponentCreateNewCancelNav(edu.samplu.common.Failable)}
044 * @throws Exception
045 */
046 @Test
047 public void testComponentCreateNewCancelNav() throws Exception {
048 testComponentCreateNewCancelNav(this);
049 }
050
051 /**
052 * {@link ComponentAbstractSmokeTestBase#testComponentParameterNav(edu.samplu.common.Failable)}
053 * @throws Exception
054 */
055 @Test
056 public void testComponentParameterNav() throws Exception {
057 testComponentParameterNav(this);
058 }
059 }