[progress Communities] [progress Openedge Abl] Forum Post: Ablunit ... The Saga Continues

Status
Not open for further replies.
C

cwright

Guest
So I have setup a TTY OpenEdge project. I have add ABLUnit to the project facet. ./base/code/com/pro/utils/general.cls using Progress.Lang.*. routine-level on error undo, throw. class com.pro.utils.general: method public static character getMessage( kInName as character ): return "Hello " + kInName. end method. end class. ./base/tests/unit/pro/utils/general.cls using Progress.Lang.*. block-level on error undo, throw. class unit.pro.utils.general: @test. method public void test_getMessage_Cameron( ): define variable kMsg as character no-undo. kMsg = com.pro.utils.general:getMessage("Cameron"). OpenEdge.Core.Assert:Equals("Hello Cameron", kMsg). return. end method. end class. This all happens from within PDSOE. I have configured the run as ... to use the "OpenEdge Runtime Environment" which is TTY. When I run as Progress ABLUnit Application, I get the following results: Invoke OpenEdge.ABLUnit.Reflection.ClassAnnotationInfo at line 163 (OpenEdge/ABLUnit/Reflection/ClassAnnotationInfo.r) RunTestMethod OpenEdge.ABLUnit.Reflection.ClassAnnotationInfo at line 196 (OpenEdge/ABLUnit/Reflection/ClassAnnotationInfo.r) RunSelectedTestMethod OpenEdge.ABLUnit.Reflection.ClassAnnotationInfo at line 126 (OpenEdge/ABLUnit/Reflection/ClassAnnotationInfo.r) runTestClassMethod OpenEdge.ABLUnit.Runner.ABLRunner at line 1180 (OpenEdge/ABLUnit/Runner/ABLRunner.r) runtests OpenEdge.ABLUnit.Runner.ABLRunner at line 1075 (OpenEdge/ABLUnit/Runner/ABLRunner.r) runtests OpenEdge.ABLUnit.Runner.ABLRunner at line 1013 (OpenEdge/ABLUnit/Runner/ABLRunner.r) runtests OpenEdge.ABLUnit.Runner.ABLRunner at line 1100 (OpenEdge/ABLUnit/Runner/ABLRunner.r) runtests OpenEdge.ABLUnit.Runner.ABLRunner at line 1013 (OpenEdge/ABLUnit/Runner/ABLRunner.r) RunTests OpenEdge.ABLUnit.Runner.ABLRunner at line 150 (OpenEdge/ABLUnit/Runner/ABLRunner.r) ABLUnitCore.r at line 72 (ABLUnitCore.r) However, if I set the project to NOT be TTY, recompile and run, the tests execute as expected. My first thought is that I have to recompile all the ABLUnit/* code to use TTY but am unsure. Any help would be great.

Continue reading...
 
Status
Not open for further replies.
Top