|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectTestCase
com.ibm.di.fc.rxaunittests.QA_TestRXACLFC
public class QA_TestRXACLFC
Basic tests for the SAP User Registry Connector.
Constructor Summary | |
---|---|
QA_TestRXACLFC(String arg0)
Class constructor. |
Method Summary | |
---|---|
static void |
main(String[] args)
Run the JUnit test methods contained with this class (QA_TestRXACLFC.class). |
void |
prepareConnection(String type)
|
protected void |
setUp()
Initialise the variables used in the JUnit tests methods within this class. |
protected void |
tearDown()
Clean up after running each of the test methods in preparation for the next test. |
void |
testAfterTerminate()
Test that an appropriate error is given if an attempt to use the CLFC occurs after a call to terminate(). |
void |
testAnyConnection()
Test that a connection can be established when the selected connectionType is 'any' and a simple command can be executed. |
void |
testAS400Connection()
Test that an Win Connection can be established and a simple command can be executed. |
void |
testAS400NonSSL()
Test that attributes can be provided either on the GUI or in the Entry object supplied to the perform method. |
void |
testBeforeInitialize()
Test that an appropriate error is given if an attempt to use the CLFC occurs before a call to initialize(). |
void |
testCmdAttribute()
Provide the command as an attribute within the entry object Expected output: A directory listing of the WIN_MACHINE |
void |
testCombinationGUIEntryAttr()
Test that attributes can be provided either on the GUI or in the Entry object supplied to the perform method. |
void |
testDuplicatedAttrInEntryObject()
Test that attributes provided in the Entry object override those provided on the GUI. |
void |
testNotAllPropsProvided()
Test that an appropriate error is given if not all the required properties are given. |
void |
testREXECConnection()
Test that an REXEC Connection can be established and a simple command can be executed. |
void |
testRSHConnection()
Test that an RSH Connection can be established and a simple command can be executed. |
void |
testSSHPasswd()
Test that an SSH Connection can be established using a userName, hostName and password and a simple command can be executed. |
void |
testStdinProvidedNoDestnDir()
Standard input can be provided and will be used when performing the specified command. |
void |
testStdinProvidedWithDestnDir()
Standard input can be provided and will be used when performing the specified command. |
void |
testWinConnection()
Test that an Win Connection can be established and a simple command can be executed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QA_TestRXACLFC(String arg0)
arg0
- The argument supplied.Method Detail |
---|
public static void main(String[] args)
args
- The array of supplied arguments.protected final void setUp()
ConfigurationException
- xprotected final void tearDown() throws Exception
Exception
- epublic void prepareConnection(String type)
public final void testSSHPasswd()
public final void testRSHConnection()
public final void testREXECConnection()
public final void testWinConnection()
public final void testAS400Connection()
public final void testAnyConnection()
public final void testBeforeInitialize()
public final void testCmdAttribute()
public final void testStdinProvidedWithDestnDir()
public final void testStdinProvidedNoDestnDir()
public final void testDuplicatedAttrInEntryObject()
public final void testCombinationGUIEntryAttr()
public final void testNotAllPropsProvided()
public final void testAfterTerminate()
public final void testAS400NonSSL()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |