[Laszlo-dev] For Review: Change 20071023-ptw-D Summary: Make lzunit work without debugging

Henry Minsky henry.minsky at gmail.com
Tue Oct 23 12:47:11 PDT 2007


approved

On 10/23/07, P T Withington <ptw at pobox.com> wrote:
> Change 20071023-ptw-D by ptw at dueling-banjos.local on 2007-10-23
> 15:11:20 EDT
>      in /Users/ptw/OpenLaszlo/ringding-2
>      for http://svn.openlaszlo.org/openlaszlo/trunk
>
> Summary: Make lzunit work without debugging
>
> New Features:  lzunit can now be used without the debugger enabled,
> although it is always best to run it with debugging on.
>
> Bugs Fixed:
> LPP-4822 'lzunit_animator_prop.lzx in dhtml doesn't succeed unless
> debug=true. Fails smokecheck'
>
> Technical Reviewer: hminsky (pending)
> QA Reviewer: ben (pending)
> Doc Reviewer: jsundman (pending)
>
> Documentation:
>      You can now run lzunit without the debugger.  It is still
>      recommended that you run it with the debugger, because runtime
>      errors that occur in your code will not be caught in tests if the
>      debugger is disabled.
>
>      There is a new Test interface:  displayMessage which can be used
>      to display a message in the test result pane, whether the debugger
>      is enabled or not.
>
> Details:
>      lzunit: Use the new LzFormatter mixin to do your formatting, so
>      that test results can still be seen even without the debugger.
>
>      Echo failures and errors to the debug console (only if debugging
>      is enabled).
>
>      Add a new interface for Test:  displayMessage.  Echo messages as
>      INFO messages to the debug console if debugging is enabled.
>
>      lzunit_animator_prop:  Use displayMessage rather than Debug.write
>
> Tests:
>      Test case from bug works properly with or without debugging on.
>
> Files:
> M      test/lfc/animators/lzunit_animator_prop.lzx
> M      lps/components/lzunit/lzunit.lzx
>
> Changeset: http://svn.openlaszlo.org/openlaszlo/patches/20071023-ptw-
> D.tar
>


-- 
Henry Minsky
Software Architect
hminsky at laszlosystems.com


More information about the Laszlo-dev mailing list