Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

oracle.apps.fnd.appltest.diagfwk.engine.provider.security
Class UTestCSFCredentialProvider

java.lang.Object
  extended by oracle.apps.fnd.appllcm.sdk.common.TestBaseLCM
      extended by oracle.apps.fnd.appltest.diagfwk.TestBaseDiagfwk
          extended by oracle.apps.fnd.appltest.diagfwk.engine.provider.security.UTestCSFCredentialProvider

public class UTestCSFCredentialProvider
extends TestBaseDiagfwk


Field Summary
 
Fields inherited from class oracle.apps.fnd.appltest.diagfwk.TestBaseDiagfwk
SYSPROP_ORACLE_ADR_BASE, SYSPROP_ORACLE_ADR_HOME, SYSPROP_ORACLE_ADR_INSTANCE_ID, SYSPROP_ORACLE_ADR_PRODUCT_ID, SYSPROP_TEST_DIR
 
Fields inherited from class oracle.apps.fnd.appllcm.sdk.common.TestBaseLCM
mWorkingDir
 
Constructor Summary
UTestCSFCredentialProvider()
           
 
Method Summary
static void cleanupEnvironment()
           
static void main(java.lang.String[] args)
          For testing standalone (outside of the build)
static void resetWallet()
           
 void setUpCSF()
           
static void setupEnvironment()
           
static void setupWallet()
           
static junit.framework.Test suite()
          For running on pre junit 4.0
 void tearDown()
           
 void testDoesCredentialsExists()
          Test checks if true is returned when query for credential existing in credential store is made.
 void testDoesCredentialsExistsWithMissingCredentials()
          Test checks if false is returned when query for credential not existing in credential store is made.
 void testGetUserName()
          Test checks if user name can be successfully retrieved from credential store for particular key.
 void testGetUserNameWithMissingCredentials()
          Verify that username returned is null if credential key doesn't exists in credential store.
 void testGetUserPswd()
          Test checks if password can be successfully retrieved from credential store for particular key.
 void testGetUserPswdWithMissingCredentials()
          Verify that password returned is null if credential key doesn't exists in credential store.
 
Methods inherited from class oracle.apps.fnd.appltest.diagfwk.TestBaseDiagfwk
addSummaryMsg, assertCount, assertCountActiveInputParams, assertCountActiveOutputParams, assertCountActivePrereqs, assertCountActiveTagValues, assertEqualsBobj, assertEqualsBobj, assertEqualsBobj, assertEqualsBobj, assertEqualsBobj, assertEqualsBobj, assertEqualsBobj, assertEqualsBobj, assertEqualsBobj, assertEqualsBobj, assertEqualsBobj, assertEqualsListSize, assertFileContains_s, assertFileContainsUnderWorkDir, assertInputSetExists, assertListContents, assertNestedExecsForRun, assertNotTagValueAssocInTest, assertRunExists, assertRunNotExists, assertRunNotExistsById, assertSingeTestGotCreated, assertTagExists, assertTagIdNotExists, assertTagValueAssocExists, assertTagValueExists, assertTagValueIdNotExists, assertTestDefExists, assertTestDefExists, assertTestDefNotExists, assertTestExecExists, assertTestExecs, assertTestMetadataDoesNotReferenceTagValueId, assertTestParamExists, assertTestParamExists, assertTestsGotCreated, checkTagExists, cleanPSRConnectionPool, clearAdrSystemProperties, createIncident, createIncident, createInputSet, createPSRConnectionPool, delete, deleteDir, deleteFileUnderWorkDir_s, deleteFNDMessage, deleteInputSet, deleteModuleId, deleteModuleIdByModKeys, deleteProfileValue, deleteProfileValueAtSiteLevel, deleteRun, deleteTag, deleteTagValue, deleteTaxModules, deleteTestDef, deleteTestExec, doLoginAsSpecificUser, fetchTestRun, getConnection, getDefaultADRBase, getFileContents, getSysGuid, getTestPassword, getTestPasswordAsArg, getTestUserName, getTestUserNameAsArg, getWorkDir, grantAllTagPrivs, grantAllTagPrivsByName, grantAllTestPrivs, grantAllTestPrivsByName, grantTestUpdateAllowed, insertFNDMessage, insertModuleDelHeirarchy, insertModuleId, insertModuleId, insertModuleId, insertModuleId, insertModuleId, insertModuleId, insertTag, insertTag, insertTagValue, insertTagValue, insertTagValue, insertTagValueHeirarchy, insertTagValuePrereq, insertTagValuePrereq, insertTagValueWithParent, loadTaxModuleHeirarchy, loadTaxModules, loadTests, loadTests, loginAsAdmin, loginAsAdvancedUser, loginAsAnonymous, loginAsDefault, loginAsRegularUser, loginAsViewer, lookupModuleIdForKey, makeDescriptiveHeader, makeErrorInfo, makeFixInfo, makeHeader, makeMessage, makeMessageLinkExternal, makeMessageLinkInternal, makeMsgList, makeNameValue, makeSection, makeStepReportExtn, makeSummaryInfo, makeTable, makeTestReportExtn, removeCycleSrcIdPrereqId, returnConnection, runTest, runTests, runTests, saveProfileValue, saveProfileValueAtSiteLevel, setAdrSystemProperties, setTestPassword, setTestUserName, setUpBaseDiag, setUpBaseDiagClass, tearDownBaseDiag, tearDownBaseDiagClass, toList, verifyExtractedReportsExist, verifyExtractedReportsExist, verifyExtractedReportsExist, verifyExtractedReportsExist, verifyFileExists, verifyTestRun, writeFile, writeFile
 
Methods inherited from class oracle.apps.fnd.appllcm.sdk.common.TestBaseLCM
assertFileContains, deleteFilesUnderDir, deleteFilesUnderDir, deleteFileUnderDir, deleteFileUnderWorkDir, getWorkingDir, setUpBase, setWorkingDir, tearDownBase, writeFileUnderDir, writeFileUnderWorkDir
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UTestCSFCredentialProvider

public UTestCSFCredentialProvider()
Method Detail

cleanupEnvironment

public static void cleanupEnvironment()

setupEnvironment

public static void setupEnvironment()

setUpCSF

public void setUpCSF()

tearDown

public void tearDown()

setupWallet

public static void setupWallet()
                        throws java.io.IOException,
                               java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

resetWallet

public static void resetWallet()
                        throws java.io.IOException,
                               java.lang.InterruptedException
Throws:
java.io.IOException
java.lang.InterruptedException

testGetUserName

public void testGetUserName()
Test checks if user name can be successfully retrieved from credential store for particular key.


testGetUserNameWithMissingCredentials

public void testGetUserNameWithMissingCredentials()
Verify that username returned is null if credential key doesn't exists in credential store.


testGetUserPswd

public void testGetUserPswd()
Test checks if password can be successfully retrieved from credential store for particular key.


testGetUserPswdWithMissingCredentials

public void testGetUserPswdWithMissingCredentials()
Verify that password returned is null if credential key doesn't exists in credential store.


testDoesCredentialsExists

public void testDoesCredentialsExists()
Test checks if true is returned when query for credential existing in credential store is made.


testDoesCredentialsExistsWithMissingCredentials

public void testDoesCredentialsExistsWithMissingCredentials()
Test checks if false is returned when query for credential not existing in credential store is made.


suite

public static junit.framework.Test suite()
For running on pre junit 4.0


main

public static void main(java.lang.String[] args)
For testing standalone (outside of the build)


Oracle Fusion Middleware extensions for Logging and Diagnostics
11g Release 1 (11.1.2)

E22565-02

Copyright © 2011 Oracle. All Rights Reserved.