Package mglutil :: Package gui :: Package BasicWidgets :: Package Tk :: Package Tests :: Module test_graphtool :: Class GrapToolTest
[hide private]
[frames] | no frames]

Class GrapToolTest

source code

       object --+    
                |    
unittest.TestCase --+
                    |
                   GrapToolTest

Nested Classes [hide private]

Inherited from unittest.TestCase: failureException


Instance Methods [hide private]
  test_default_graphtool(self)
create and withdarw
  test_graphtool_default_curve(self)
testing default curve
  test_graphtool_reset(self)
testing resetting graph
  test_graphtool_setControlPoints(self)
tests setControlPoints
  test_stepback_cb(self)
testing setback function
  test_graphtool_setSensitivity(self)
testing setSensitivity function
  test_graphtool_MouseButtonUp(self)
testing when mousebuttonup var set to 1
  test_graphtool_Continuous(self)
testing when continuous var set to 1
  test_graphtool_Update(self)
testing when update var set to 1
  test_graphtool_read_write(self)
testing read ,write functions
  test_graphtool_setControlpoints_illegal_input(self)
testing illegal input for setControlpoints
  test_graphtool_setControlpoints_illegal_input_1(self)
testing illegal input coordinates out of range raises assertion error

Inherited from unittest.TestCase: __call__, __init__, __repr__, __str__, assertAlmostEqual, assertAlmostEquals, assertEqual, assertEquals, assertFalse, assertNotAlmostEqual, assertNotAlmostEquals, assertNotEqual, assertNotEquals, assertRaises, assertTrue, assert_, countTestCases, debug, defaultTestResult, fail, failIf, failIfAlmostEqual, failIfEqual, failUnless, failUnlessAlmostEqual, failUnlessEqual, failUnlessRaises, id, run, setUp, shortDescription, tearDown

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__


Properties [hide private]

Inherited from object: __class__


Method Details [hide private]

test_default_graphtool(self)

source code 
create and withdarw

test_graphtool_default_curve(self)

source code 
testing default curve

test_graphtool_reset(self)

source code 
testing resetting graph

test_graphtool_setControlPoints(self)

source code 
tests setControlPoints

test_stepback_cb(self)

source code 
testing setback function

test_graphtool_setSensitivity(self)

source code 
testing setSensitivity function

test_graphtool_MouseButtonUp(self)

source code 
testing when mousebuttonup var set to 1

test_graphtool_Continuous(self)

source code 
testing when continuous var set to 1

test_graphtool_Update(self)

source code 
testing when update var set to 1

test_graphtool_read_write(self)

source code 
testing read ,write functions

test_graphtool_setControlpoints_illegal_input(self)

source code 
testing illegal input for setControlpoints

test_graphtool_setControlpoints_illegal_input_1(self)

source code 
testing illegal input coordinates out of range raises assertion error