Package libxyz :: Package ui :: Module tests :: Class TestColors
[hide private]
[frames] | no frames]

Class TestColors

source code

object --+
         |
        TestColors

Instance Methods [hide private]
 
testForegroundColor1(self)
Raise error on wrong color
source code
 
testForegroundColor2(self)
Check correct color
source code
 
testBackgroundColor1(self)
Raise error on wrong color
source code
 
testBackgroundColor2(self)
Check correct color
source code
 
testAttributeColor1(self)
Raise error on wrong attribute
source code
 
testAttributeColor2(self)
Check correct attribute
source code
 
testHighForegroundColorIncorrect(self) source code
 
testHighBackgroundColorIncorrect(self) source code
 
_testHighColorCorrect(self, cl) source code
 
testForegroundHighColorCorrect(self) source code
 
testBackgroundHighColorCorrect(self) source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __init__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

testForegroundColor1(self)

source code 

Raise error on wrong color

Decorators:
  • @raises(XYZValueError)

testBackgroundColor1(self)

source code 

Raise error on wrong color

Decorators:
  • @raises(XYZValueError)

testAttributeColor1(self)

source code 

Raise error on wrong attribute

Decorators:
  • @raises(XYZValueError)

testHighForegroundColorIncorrect(self)

source code 
Decorators:
  • @raises(XYZValueError)

testHighBackgroundColorIncorrect(self)

source code 
Decorators:
  • @raises(XYZValueError)