Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

oracle.apps.fnd.applseed.diagnostics
Class SDConfigurationChecks

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by oracle.apps.fnd.applseed.diagnostics.common.SDChecksBase
              extended by oracle.apps.fnd.applseed.diagnostics.SDConfigurationChecks
All Implemented Interfaces:
junit.framework.Test

public class SDConfigurationChecks
extends SDChecksBase

Class provides diagnositc tests that can be applied on application modules. These tests will check the Seed data configuration for issues that will data extraction or data upload. The tests run in a junit framework. The tests may be invoked by including this class in a junit test suite. This class requires mandatory inputs that identify the ApplicationModule that is being tested, the connection configuration to be used for the checks, and the name of the Seed Data driver view object to be tested. These inputs are to be provided using the static methods of the super class. Detailed information on the performed tests can be got by a call to enableOutput.


Field Summary
 
Fields inherited from class oracle.apps.fnd.applseed.diagnostics.common.SDChecksBase
fixture1
 
Constructor Summary
SDConfigurationChecks(java.lang.String sTestName)
          Name based constructor.
 
Method Summary
 void testAssociations()
          This method does the following: Checks if the VO is based on multiple EO's.
 void testBc4jHandler()
          This method tests for the Validity of BC4J Upload Handler, if the BC4J handling mode is selected in the seed configuration wizard.
 void testBindParameters()
          Method checks on bind parameters that have been marked as mandatory.
 void testCompleteLinkages()
          Method tests the view link defining the contained view object checks if the primary key of the parent is fully present in the child.
 void testConfigurationStatus()
          Method checks for configuration status.
 void testDriversList()
          Method verifies that the configuration has at least one Seed Data driver view.
 void testNodeAttributes()
           
 void testReferenceAMs()
          Method verifies that reference view objects are associated with a related Seed Data configuration.
 void testSurrogates()
          Method tests for valid surrogate declaration.
 
Methods inherited from class oracle.apps.fnd.applseed.diagnostics.common.SDChecksBase
enableoutput, getDriver, getExtractMap, getParamObject, getTestMethodName, getUploadFileName, getUploadMap, print, println, resetIndent, setAMFullyQualifiedName, setDriverViewName, setOutputStream, setParamObject, setSeedAMConfiguration, setUp, showList, tearDown, toggleVerbosityOnMethod
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SDConfigurationChecks

public SDConfigurationChecks(java.lang.String sTestName)
Name based constructor.

Parameters:
sTestName - name of the check.
Method Detail

testConfigurationStatus

public void testConfigurationStatus()
Method checks for configuration status.


testBindParameters

public void testBindParameters()
Method checks on bind parameters that have been marked as mandatory.


testBc4jHandler

public void testBc4jHandler()
This method tests for the Validity of BC4J Upload Handler, if the BC4J handling mode is selected in the seed configuration wizard.

See Also:
testBc4jHandler(ApplicationModule am, SDViewNode node)

testDriversList

public void testDriversList()
Method verifies that the configuration has at least one Seed Data driver view.


testNodeAttributes

public void testNodeAttributes()

testReferenceAMs

public void testReferenceAMs()
Method verifies that reference view objects are associated with a related Seed Data configuration.


testSurrogates

public void testSurrogates()
Method tests for valid surrogate declaration.


testAssociations

public void testAssociations()
This method does the following: Checks if the VO is based on multiple EO's. If yes then it tests whether a where clause is specified . If where clause is specified, then it checks whether the underlying entities of the association are present in where clause condition. Ensures that join type is not null.


testCompleteLinkages

public void testCompleteLinkages()
Method tests the view link defining the contained view object checks if the primary key of the parent is fully present in the child.


Oracle Fusion Middleware extensions for Seed Data Framework
11g Release 1 (11.1.2)

E22564-02

Copyright © 2011 Oracle. All Rights Reserved.