TestCenter Reference
Macros.py File Reference

Go to the source code of this file.

Namespaces

 TestSupport.Macros
 Adds GoogleTest like methods.
 

Functions

def TestSupport.Macros.ASSERT_TRUE
 Throw exception if given expression does not evaluate to true. More...
 
def TestSupport.Macros.EXPECT_TRUE
 Expect given expression to evaluate to true. More...
 
def TestSupport.Macros.ASSERT_FALSE
 Throw exception if given expression does not evaluate to false. More...
 
def TestSupport.Macros.EXPECT_FALSE
 Expect given expression to evaluate to false. More...
 
def TestSupport.Macros.ASSERT_EQ
 Throw exception if given values are not equal. More...
 
def TestSupport.Macros.EXPECT_EQ
 Expect given values to be equal. More...
 
def TestSupport.Macros.ASSERT_NE
 Throw exception if given values are equal. More...
 
def TestSupport.Macros.EXPECT_NE
 Expect given values to be not equal. More...
 
def TestSupport.Macros.ASSERT_GT
 Throw exception if first given value is less than or equal to the second. More...
 
def TestSupport.Macros.EXPECT_GT
 Expect first given value to be greater than the second. More...
 
def TestSupport.Macros.ASSERT_GE
 Throw exception if first given value is less than the second. More...
 
def TestSupport.Macros.EXPECT_GE
 Expect first given value to be greater than or equal to the second. More...
 
def TestSupport.Macros.ASSERT_LT
 Throw exception if first given value is not less than the second. More...
 
def TestSupport.Macros.EXPECT_LT
 Expect first given value to be less than the second. More...
 
def TestSupport.Macros.ASSERT_LE
 Throw exception if first given value is not less than or equal to the second. More...
 
def TestSupport.Macros.EXPECT_LE
 Expect first given value to be less than or equal to the second. More...
 
def TestSupport.Macros.ASSERT_FLOAT_EQ
 Throw exception if given values are not equal. More...
 
def TestSupport.Macros.EXPECT_FLOAT_EQ
 Expect given values to be equal. More...
 
def TestSupport.Macros.ASSERT_FLOAT_NE
 Throw exception if given values are equal. More...
 
def TestSupport.Macros.EXPECT_FLOAT_NE
 Expect given values to be not equal. More...
 
def TestSupport.Macros.ASSERT_FLOAT_GT
 Throw exception if first given value is not greater than the second. More...
 
def TestSupport.Macros.EXPECT_FLOAT_GT
 Expect first given value to be greater than the second. More...
 
def TestSupport.Macros.ASSERT_FLOAT_GE
 Throw exception if first given value is not greater than or equal to the second. More...
 
def TestSupport.Macros.EXPECT_FLOAT_GE
 Expect first given value to be greater than or equal to the second. More...
 
def TestSupport.Macros.ASSERT_FLOAT_LT
 Throw exception if first given value is not less than the second. More...
 
def TestSupport.Macros.EXPECT_FLOAT_LT
 Expect first given value to be less than the second. More...
 
def TestSupport.Macros.ASSERT_FLOAT_LE
 Throw exception if first given value is not less than or equal to the second. More...
 
def TestSupport.Macros.EXPECT_FLOAT_LE
 Expect first given value to be less than or equal to the second. More...
 
def TestSupport.Macros.EXPECT_EMPTY
 Expect given container to be empty. More...
 
def TestSupport.Macros.ASSERT_EMPTY
 Throw exception if given container is not empty. More...
 
def TestSupport.Macros.EXPECT_NOT_EMPTY
 Expect given container to be not empty. More...
 
def TestSupport.Macros.ASSERT_NOT_EMPTY
 Throw exception if given container is empty. More...
 
def TestSupport.Macros.EXPECT_SIZE
 Expect given container to have the given size. More...
 
def TestSupport.Macros.ASSERT_SIZE
 Throw exception if given container does not have the given size. More...
 
def TestSupport.Macros.EXPECT_PATH_EXISTS
 Expect the given path to exist. More...
 
def TestSupport.Macros.EXPECT_PATH_MISSING
 Expect the given path to be missing, i.e. More...
 
def TestSupport.Macros.ASSERT_PATH_EXISTS
 Throw exception if given path does not exists. More...
 
def TestSupport.Macros.ASSERT_PATH_MISSING
 Throw exception if given path is not missing, i.e. More...
 
def TestSupport.Macros.INFO (msg)
 Create an info message. More...
 
def TestSupport.Macros.WARNING (msg)
 Create a warning message. More...
 
def TestSupport.Macros.ERROR (msg)
 Create an error message. More...
 
def TestSupport.Macros.DEBUG_STOP ()
 Stops a test immediately for debugging purposes. More...