Ignore:
Timestamp:
Jan 19, 2011 7:49:28 PM (13 years ago)
Author:
braffert
Message:

Regression tester: cleaning up and adding comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tester/testview.tcl

    r2054 r2055  
    44#  Entire right hand side of the regression tester.  Displays the
    55#  golden test results, and compares them to the new results if the test
    6 #  has been ran.  The -test configuration option is used to provide a
    7 #  Test object to display.
     6#  has been ran.  Also show tree representation of all inputs and
     7#  outputs.  The -test configuration option is used to provide a Test
     8#  object to display.
    89# ======================================================================
    910#  AUTHOR:  Ben Rafferty, Purdue University
     
    122123
    123124# ----------------------------------------------------------------------
     125# CONFIGURATION OPTION: -test
     126#
    124127# When the -test configuration option is modified, update the display
    125128# accordingly.  The data passed in should be a Test object, or an empty
     
    202205# ----------------------------------------------------------------------
    203206# USAGE: updateResults
     207
     208# Used internally to update the results tab according to the test
     209# currently specified by the -test configuration option.  Show the
     210# golden results contained in the test xml, and if the the test has been
     211# ran, show the new results as well.
    204212# ----------------------------------------------------------------------
    205213itcl::body Rappture::Tester::TestView::updateResults {} {
     
    218226}
    219227
     228# ----------------------------------------------------------------------
     229# USAGE: updateInputs
     230#
     231# Used internally to update the inputs tab according to the test
     232# currently specified by the -test configuration option.  Shows a tree
     233# representation of all inputs given in the test xml and their given
     234# values.
     235# ----------------------------------------------------------------------
    220236itcl::body Rappture::Tester::TestView::updateInputs {} {
    221237    $itk_component(inputs) delete 0
     
    230246}
    231247
     248# ----------------------------------------------------------------------
     249# USAGE: updateOutputs
     250#
     251# Used internally to update the outputs tab according to the test
     252# currently specified by the -test configuration option.  Shows a tree
     253# representation of all outputs in the runfile generated by the last run
     254# of the test, along with their status (ok, diff, added, or missing).
     255# Disable the outputs tab if test has not been ran, or resulted in an
     256# error.
     257# ----------------------------------------------------------------------
    232258itcl::body Rappture::Tester::TestView::updateOutputs {} {
    233259    $itk_component(outputs) delete 0
Note: See TracChangeset for help on using the changeset viewer.