Skip to main content

Source code file content

Revision: 114

» Project Revision History

» Checkout URL

soatestingutilities / ConsolidatedTestEnv / test.discoverer.txt

Size: 9851 bytes, 1 line
Testsuite: unittests.discovery.TestDiscoverer
Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 4.037 sec
------------- Standard Output ---------------
suite() method:test.suite.definition.hwf.properties
-- (TestDiscoverer constructor invoked.)
Test Definition Properties:test.suite.definition.hwf.properties
Resource:/C:/_mywork/FusionApps/FATOOLS/ConsolidatedTestEnv/classes/unittests/discovery/TestDiscoverer.class [Mon Feb 06 10:17:02 PST 2012]
...Found the properties file [test.suite.definition.hwf.properties]
Running from C:\_mywork\FusionApps\FATOOLS\ConsolidatedTestEnv
Initialization
- Method testInit of unittests.patterns.empty.EmptyTest is a JUnit @Test
- unittests.patterns.empty.EmptyTest contains 1 JUnit Test(s).
...Just FYI : Custom TestCase
Test : Testing Human Workflow
** Class [unittests.patterns.hwf.HumanWorkFlowUnitTestImplementationSample] loaded successfully.
- Method testHumanTask of unittests.patterns.hwf.HumanWorkFlowUnitTestImplementationSample is a JUnit @Test
- unittests.patterns.hwf.HumanWorkFlowUnitTestImplementationSample contains 1 JUnit Test(s).
...Just FYI : Custom TestCase
Code to Compile:
package unittests.patterns.hwf;

public class HumanWorkFlowUnitTestImplementationSample_1_1328558801473 extends unittests.patterns.hwf.HumanWorkFlowUnitTestImplementationSample
{
  @Override
  protected void setUp() throws Exception
  {
    super.setUp();
    // System variables for this test
    System.setProperty("verbose", "true");
    System.setProperty("project.directory", ".");
    System.setProperty("properties.file.name", "hwf.ut.properties");
    System.setProperty("oracle.security.jps.config", "");
    if (true)
      System.out.println("System variables are set.");
  }
}
Compiling (in flight)......finished.
Class HumanWorkFlowUnitTestImplementationSample_1_1328558801473 added to the TestSuite
Test : Testing Human Workflow, second test
** Class [unittests.patterns.hwf.HumanWorkFlowUnitTestImplementationSample] loaded successfully.
- Method testHumanTask of unittests.patterns.hwf.HumanWorkFlowUnitTestImplementationSample is a JUnit @Test
- unittests.patterns.hwf.HumanWorkFlowUnitTestImplementationSample contains 1 JUnit Test(s).
...Just FYI : Custom TestCase
Code to Compile:
package unittests.patterns.hwf;

public class HumanWorkFlowUnitTestImplementationSample_2_1328558806035 extends unittests.patterns.hwf.HumanWorkFlowUnitTestImplementationSample
{
  @Override
  protected void setUp() throws Exception
  {
    super.setUp();
    // System variables for this test
    System.setProperty("verbose", "true");
    System.setProperty("project.directory", ".");
    System.setProperty("properties.file.name", "hwf.ut.2.properties");
    System.setProperty("oracle.security.jps.config", "");
    if (true)
      System.out.println("System variables are set.");
  }
}
Compiling (in flight)......finished.
Class HumanWorkFlowUnitTestImplementationSample_2_1328558806035 added to the TestSuite
This is a suite of 2/2 Test(s). (0 skipped)
System variables are set.
Loading test from C:\_mywork\FusionApps\FATOOLS\ConsolidatedTestEnv\.\hwf.ut.properties
Connecting on [t3://localhost:7001/soa-infra/] as [weblogic/welcome1]
Init Completed
== Getting task list, loop #1 ==
(Column [wfn.taskDefinitionName] Operator [ ends with ] Value [HumanTaskForTests])
(Column [wfn.state] Operator [ = ] Value [ASSIGNED])
(Column [wfn.assignees] Operator [ contains ] Value [weblogic])
** We have tasks **
Task: Number [200181]
DefinitionName [HumanTaskForTests]
DefinitionID [default/HumanTaskComposite!1.0*soa_c30b04bb-ae6a-4786-b197-a508bc667fbd/HumanTaskForTests]
Title [Akeu]
Owned by [weblogic]
Assigned to [weblogic]
Created by [weblogic]
State [ASSIGNED]
System Action:VIEW_TASK
-- Possible outcomes: --
APPROVE:Approve
WHO_CARES:WHO_CARES
REJECT:Reject
------------------------
Task Sequence is:
<taskSequence xmlns="http://xmlns.oracle.com/bpel/workflow/taskQueryService">
   <taskSequenceRecord isFutureTaskSequenceRecord="false" label="Single Approval Step" pattern="Participant" stage="Stage or whatever you call it" stageDisplayName="Stage or whatever you call it" name="weblogic" sequenceNumber="1" displayName="weblogic">
      <assignees>
         <id xmlns="http://xmlns.oracle.com/bpel/workflow/task">weblogic</id>
         <displayName xmlns="http://xmlns.oracle.com/bpel/workflow/task">weblogic</displayName>
         <type xmlns="http://xmlns.oracle.com/bpel/workflow/task">user</type>
      </assignees>
      <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
         <title>Akeu</title>
         <processInfo/>
         <systemAttributes>
            <assigneeUsers>
               <id>weblogic</id>
               <type>user</type>
            </assigneeUsers>
            <fromUser>
               <type>user</type>
            </fromUser>
            <inShortHistory>true</inShortHistory>
            <state>ASSIGNED</state>
            <taskId>e757681a-3a72-45f7-8c32-6c69dce4e851</taskId>
            <taskNumber>200181</taskNumber>
            <updatedBy>
               <id>weblogic</id>
               <displayName>weblogic</displayName>
               <type>user</type>
            </updatedBy>
            <updatedDate>2012-02-06T11:17:59-08:00</updatedDate>
            <version>1</version>
            <versionReason>TASK_VERSION_REASON_INITIATED</versionReason>
            <taskDefinitionId>default/HumanTaskComposite!1.0*soa_c30b04bb-ae6a-4786-b197-a508bc667fbd/HumanTaskForTests</taskDefinitionId>
            <taskDefinitionName>HumanTaskForTests</taskDefinitionName>
            <workflowPattern>Participant</workflowPattern>
            <participantName>Single Approval Step</participantName>
            <rootTaskId>e757681a-3a72-45f7-8c32-6c69dce4e851</rootTaskId>
            <stage>Stage or whatever you call it</stage>
            <actionDisplayName>Assigned</actionDisplayName>
         </systemAttributes>
         <systemMessageAttributes/>
         <callback/>
         <sca/>
         <taskDefinitionId>default/HumanTaskComposite!1.0*soa_c30b04bb-ae6a-4786-b197-a508bc667fbd/HumanTaskForTests</taskDefinitionId>
         <mdsLabel>soa_68f849d4-cfdc-453d-9db7-940222a55d85</mdsLabel>
         <customAttributes/>
      </task>
   </taskSequenceRecord>
</taskSequence>

Done
System variables are set.
Loading test from C:\_mywork\FusionApps\FATOOLS\ConsolidatedTestEnv\.\hwf.ut.2.properties
Connecting on [t3://localhost:7001/soa-infra/] as [weblogic/welcome1]
Init Completed
== Getting task list, loop #1 ==
(Column [wfn.taskDefinitionName] Operator [ ends with ] Value [HumanTaskForTests])
(Column [wfn.state] Operator [ = ] Value [ASSIGNED])
(Column [wfn.assignees] Operator [ contains ] Value [weblogic])
** We have tasks **
Task: Number [200181]
DefinitionName [HumanTaskForTests]
DefinitionID [default/HumanTaskComposite!1.0*soa_c30b04bb-ae6a-4786-b197-a508bc667fbd/HumanTaskForTests]
Title [Akeu]
Owned by [weblogic]
Assigned to [weblogic]
Created by [weblogic]
State [ASSIGNED]
System Action:VIEW_TASK
-- Possible outcomes: --
APPROVE:Approve
WHO_CARES:WHO_CARES
REJECT:Reject
------------------------
Task Sequence is:
<taskSequence xmlns="http://xmlns.oracle.com/bpel/workflow/taskQueryService">
   <taskSequenceRecord isFutureTaskSequenceRecord="false" label="Single Approval Step" pattern="Participant" stage="Stage or whatever you call it" stageDisplayName="Stage or whatever you call it" name="weblogic" sequenceNumber="1" displayName="weblogic">
      <assignees>
         <id xmlns="http://xmlns.oracle.com/bpel/workflow/task">weblogic</id>
         <displayName xmlns="http://xmlns.oracle.com/bpel/workflow/task">weblogic</displayName>
         <type xmlns="http://xmlns.oracle.com/bpel/workflow/task">user</type>
      </assignees>
      <task xmlns="http://xmlns.oracle.com/bpel/workflow/task">
         <title>Akeu</title>
         <processInfo/>
         <systemAttributes>
            <assigneeUsers>
               <id>weblogic</id>
               <type>user</type>
            </assigneeUsers>
            <fromUser>
               <type>user</type>
            </fromUser>
            <inShortHistory>true</inShortHistory>
            <state>ASSIGNED</state>
            <taskId>e757681a-3a72-45f7-8c32-6c69dce4e851</taskId>
            <taskNumber>200181</taskNumber>
            <updatedBy>
               <id>weblogic</id>
               <displayName>weblogic</displayName>
               <type>user</type>
            </updatedBy>
            <updatedDate>2012-02-06T11:17:59-08:00</updatedDate>
            <version>1</version>
            <versionReason>TASK_VERSION_REASON_INITIATED</versionReason>
            <taskDefinitionId>default/HumanTaskComposite!1.0*soa_c30b04bb-ae6a-4786-b197-a508bc667fbd/HumanTaskForTests</taskDefinitionId>
            <taskDefinitionName>HumanTaskForTests</taskDefinitionName>
            <workflowPattern>Participant</workflowPattern>
            <participantName>Single Approval Step</participantName>
            <rootTaskId>e757681a-3a72-45f7-8c32-6c69dce4e851</rootTaskId>
            <stage>Stage or whatever you call it</stage>
            <actionDisplayName>Assigned</actionDisplayName>
         </systemAttributes>
         <systemMessageAttributes/>
         <callback/>
         <sca/>
         <taskDefinitionId>default/HumanTaskComposite!1.0*soa_c30b04bb-ae6a-4786-b197-a508bc667fbd/HumanTaskForTests</taskDefinitionId>
         <mdsLabel>soa_68f849d4-cfdc-453d-9db7-940222a55d85</mdsLabel>
         <customAttributes/>
      </task>
   </taskSequenceRecord>
</taskSequence>

Done
------------- ---------------- ---------------

Testcase: testHumanTask took 3.082 sec
Testcase: testHumanTask took 0.94 sec
 
 
Close
loading
Please Confirm
Close