dialogKit.test
index
/code/projects/robofab/Lib/dialogKit/test.py

Testing suite for dialogKit.
 
This should be called with
 
    from dialogKit.test import testAll
    testAll()
 
This will present a series of windows
that each have a "Run Tests" button
at the top. That button must be pressed
for the tests to be performed.

 
Modules
       
vanilla

 
Classes
       
__builtin__.object
TestCase
ButtonTest
CheckBoxTest
EditTextTest
ListTest
PopUpButtonTest
TextBoxTest

 
class ButtonTest(TestCase)
    
Method resolution order:
ButtonTest
TestCase
__builtin__.object

Methods defined here:
__init__(self)
runTests(self, sender)

Methods inherited from TestCase:
assertEqual(self, value1, value2, assertionID=None)
finish(self)

Data and other attributes inherited from TestCase:
__dict__ = <dictproxy object at 0x4df6b0>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'TestCase' objects>
list of weak references to the object (if defined)

 
class CheckBoxTest(TestCase)
    
Method resolution order:
CheckBoxTest
TestCase
__builtin__.object

Methods defined here:
__init__(self)
runTests(self, sender)

Methods inherited from TestCase:
assertEqual(self, value1, value2, assertionID=None)
finish(self)

Data and other attributes inherited from TestCase:
__dict__ = <dictproxy object at 0x4df890>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'TestCase' objects>
list of weak references to the object (if defined)

 
class EditTextTest(TestCase)
    
Method resolution order:
EditTextTest
TestCase
__builtin__.object

Methods defined here:
__init__(self)
runTests(self, sender)

Methods inherited from TestCase:
assertEqual(self, value1, value2, assertionID=None)
finish(self)

Data and other attributes inherited from TestCase:
__dict__ = <dictproxy object at 0x4df890>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'TestCase' objects>
list of weak references to the object (if defined)

 
class ListTest(TestCase)
    
Method resolution order:
ListTest
TestCase
__builtin__.object

Methods defined here:
__init__(self)
runTests(self, sender)

Methods inherited from TestCase:
assertEqual(self, value1, value2, assertionID=None)
finish(self)

Data and other attributes inherited from TestCase:
__dict__ = <dictproxy object at 0x4df730>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'TestCase' objects>
list of weak references to the object (if defined)

 
class PopUpButtonTest(TestCase)
    
Method resolution order:
PopUpButtonTest
TestCase
__builtin__.object

Methods defined here:
__init__(self)
runTests(self, sender)

Methods inherited from TestCase:
assertEqual(self, value1, value2, assertionID=None)
finish(self)

Data and other attributes inherited from TestCase:
__dict__ = <dictproxy object at 0x4df6b0>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'TestCase' objects>
list of weak references to the object (if defined)

 
class TestCase(__builtin__.object)
     Methods defined here:
__init__(self, posSize, title='')
assertEqual(self, value1, value2, assertionID=None)
finish(self)

Data and other attributes defined here:
__dict__ = <dictproxy object at 0x4df730>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'TestCase' objects>
list of weak references to the object (if defined)

 
class TextBoxTest(TestCase)
    
Method resolution order:
TextBoxTest
TestCase
__builtin__.object

Methods defined here:
__init__(self)
runTests(self, sender)

Methods inherited from TestCase:
assertEqual(self, value1, value2, assertionID=None)
finish(self)

Data and other attributes inherited from TestCase:
__dict__ = <dictproxy object at 0x4df870>
dictionary for instance variables (if defined)
__weakref__ = <attribute '__weakref__' of 'TestCase' objects>
list of weak references to the object (if defined)

 
Functions
       
testAll()

 
Data
        haveFL = False
haveVanilla = True