|
Options |
Name |
Purpose |
|
|
OpenEdge.ABLUnit.Reflection.TypeInfo BuildTypeInfo (character)
|
/*------------------------------------------------------------------------------
Generates the procedure information in xref xml file
@param character The ABL program (.P or .CLS) file name
@return TypeInfo Unit test type info about the program
------------------------------------------------------------------------------*/
|
|
|
CHARACTER GetClassFile (Class)
|
/*----------------------------------------------------------------------------
Returns the relative path to the .cls file for the given class.
----------------------------------------------------------------------------*/
|
|
|
CHARACTER GetObjectIdAttribute (handle)
|
/*----------------------------------------------------------------------------
Returns the value of the 'Object-identifier' attribute in the given XML
element.
----------------------------------------------------------------------------*/
|
|
|
CHARACTER GetRefTypeAttribute (handle)
|
/*----------------------------------------------------------------------------
Returns the value of the 'Reference-type' attribute in the given XML element.
----------------------------------------------------------------------------*/
|
|
|
CHARACTER getRelativePathOfClasses (character)
|
/**
returns the relative path of the classes if the input is of qualified type.
**/
|
|
|
HandleTestSuiteClasses (TestEntity, character)
|
|
|
|
HandleTestSuiteProcedures (TestEntity, character)
|
|
|
|
LONGCHAR loadSerializedTree (TestEntity)
|
/*------------------------------------------------------------------------------
load serialized tree
------------------------------------------------------------------------------*/
|
|
|
OpenEdge.ABLUnit.Reflection.TypeInfo ParseSourceElement (handle)
|
/*----------------------------------------------------------------------------
Parses a <source> element in the xml-xref, looking for methods and
annotations. Methods preceded by annotations are added to the given
MethodInfo list.
----------------------------------------------------------------------------*/
|
|
|
OpenEdge.ABLUnit.Reflection.TypeInfo ParseXMLDocument (character)
|
/*------------------------------------------------------------------------------
Parses the XREF XML file for Test Methods and Procedures
------------------------------------------------------------------------------*/
|
|
|
OpenEdge.ABLUnit.Model.TestEntity populateTestModel (character, integer)
|
/*------------------------------------------------------------------------------
Runs the corresponding method based on the type of the testcase.
------------------------------------------------------------------------------*/
|
|
|
populateTestModel (character, integer, TestEntity)
|
/*------------------------------------------------------------------------------
populates the model based on the test input. looks at all the relavant test methods,internal procedures in the test input.
------------------------------------------------------------------------------*/
|
|
|
populateTestModelForInternalProcs (handle, character, ProcedureAnnotationInfo, TestInfo, logical, TestEntity)
|
|
|
|
populateTestModelForProcedureType (character, character, TestEntity)
|
/*------------------------------------------------------------------------------
Given a test procedure and test internal procedure, this method will store and
run the test procedures and calls a method which writes the results in the xml file
Notes:
------------------------------------------------------------------------------*/
|
|
|
populateTestModelForTestCase (character, character, TestEntity)
|
/*------------------------------------------------------------------------------
Compiles and call the corresponding method or internal procedure to run the testcase
------------------------------------------------------------------------------*/
|
|
|
populateTestModelForTestClass (character, character, TestEntity)
|
/*------------------------------------------------------------------------------
Given a testclass and test method, this method will store and
run the test methods and calls a method which writes the results in the xml file
------------------------------------------------------------------------------*/
|
|
|
populateTestModelForTestFolder (character, TestEntity)
|
/*------------------------------------------------------------------------------
populates the test model for the ABL Unit files inside the testfolder
------------------------------------------------------------------------------*/
|
|
|
populateTestModelForTestMethod (Object, character, ClassAnnotationInfo, TestInfo, logical, TestEntity)
|
|
|
|
populateTestModelForTestSuite (TestInfo, TestEntity)
|
/*
populates through all the testcases in the TestSuite annotation
*/
|
|
|
ProcessTestResult (TestEntity, TestTypeResult)
|
/* Processes a test entity's TestResult based on status
@param TestEntity The entity to process
@param TestTypeResult The summary to which this result aggregates */
|
|
|
RunTests ()
|
This method runs the tests that are passed as JsonObject.
|
|
|
OpenEdge.ABLUnit.Results.TestTypeResult runtests (TestEntity, character)
|
/* Runs a TestEntity and aggregates results
@param TestEntity The entity being run (class/method/suite/root)
@param character The ABLUnit output file (not results.xml)
@return TestTypeResult The aggregate result for this test entity */
|
|
|
updateFile (character, longchar, logical)
|
/*------------------------------------------------------------------------------
writes to the update file the given content. If override is true, the file is overwritten.
------------------------------------------------------------------------------*/
|
|
|
UpdateIgnoreDetails (TestTestResult, TestEntity, character, TestTypeResult)
|
|
|
|
updateStackTrace (Error, character, character)
|
/*------------------------------------------------------------------------------
updates stack trace with the given error in the given file
------------------------------------------------------------------------------*/
|
|
|
updateStackTrace (Stop, character, character)
|
/* Writes a stack trace for a stop condition
@param Progress.Lang.Stop THe stop condition
@param character The file into which to write
@param character The ID of the test entity */
|
|
|
updateStackTraceProperty ()
|
|