com.anaptecs.jeaf.junit.deprecation.test.DeprecatedServiceTest Maven / Gradle / Ivy
/*
* anaptecs GmbH, Ricarda-Huch-Str. 71, 72760 Reutlingen, Germany
*
* Copyright 2004 - 2019. All rights reserved.
*/
package com.anaptecs.jeaf.junit.deprecation.test;
import junit.framework.TestSuite;
/**
* This class implements the test suite for service DeprecatedService.
*/
public class DeprecatedServiceTest extends DeprecatedServiceTestBase {
/**
* Method creates a test suite contain all tests of this class.
*
* @return {@link TestSuite} Test suite with all tests of this class.
*/
public static TestSuite suite( ) {
// Create new test suite.
TestSuite lSuite = new TestSuite("DeprecatedServiceTest");
// Add all test of this class.
// Return created test suite.
return lSuite;
}
/**
* Initialize test case. Therefore the name of the test that should be executed must be provided.
*
* @param pName Name of the test method that should be executed by this test. The Parameter must not be null.
*/
public DeprecatedServiceTest( String pName ) {
super(pName);
}
/**
* Initialize test case. Therefore the name of the test that should be executed must be provided. The userId and the
* password of a specific user can be given to this Constructor so this specific user can be logged in.
*
* @param pName Name of the test method that should be executed by this test. The Parameter must not be null.
* @param pUserId UserId of the User who should be logged in for this Test.
* @param pPassword Password of the User who should be logged in for this Test.
*/
public DeprecatedServiceTest( String pName, String pUserId, String pPassword ) {
super(pName, pUserId, pPassword);
}
/**
* Method performs test case specific initialization routines. If a test case implementation requires some special
* operations at startup this method can be overridden.
*
* @throws Exception if an error occurs during initialization.
*/
@Override
protected void init( ) throws Exception {
super.init();
// TODO Add additional initializations if required.
}
}