Cambridge SMT System
address.gtest.cpp File Reference

Unit testing: integerpatternaddress. More...

#include <googletesting.h>
#include "main.custom_assert.hpp"
#include "main.logger.hpp"
#include "registrypo.hpp"
#include "addresshandler.hpp"
Include dependency graph for address.gtest.cpp:

Go to the source code of this file.

Functions

 TEST (patternaddress, test1)
 Tests wildcard expansion with an integer. More...
 
 TEST (patternaddress, test2)
 Tests wildcard expansion with an integer when there is no wildcard to expand. More...
 
 TEST (patternaddress, test3)
 Tests wildcard expansion with an integer when then string is empty. More...
 
int main (int argc, char **argv)
 main function. If compiled individualy, will kickoff any tests in this file. More...
 

Detailed Description

Unit testing: integerpatternaddress.

Date
8-8-2012
Author
Gonzalo Iglesias

Definition in file address.gtest.cpp.

Function Documentation

int main ( int  argc,
char **  argv 
)

main function. If compiled individualy, will kickoff any tests in this file.

Definition at line 78 of file address.gtest.cpp.

TEST ( patternaddress  ,
test1   
)

Tests wildcard expansion with an integer.

Definition at line 34 of file address.gtest.cpp.

Here is the call graph for this function:

TEST ( patternaddress  ,
test2   
)

Tests wildcard expansion with an integer when there is no wildcard to expand.

Definition at line 47 of file address.gtest.cpp.

Here is the call graph for this function:

TEST ( patternaddress  ,
test3   
)

Tests wildcard expansion with an integer when then string is empty.

Definition at line 61 of file address.gtest.cpp.

Here is the call graph for this function: