Cambridge SMT System
registrypo.gtest.cpp File Reference

Unit testing: registrypo class and related functions. More...

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

Go to the source code of this file.

Functions

 TEST (registrypo, alternativeconstructor)
 Test alternative constructor for testing. More...
 
 TEST (registrypo, dump)
 Test dump method. More...
 
 TEST (registrypo, alternativegetmethods)
 Test registrypo get methods. More...
 
 TEST (registrypo, get_string)
 Test getstring method, which also reads from file if preceded by file://. More...
 
int main (int argc, char **argv)
 main function. If compiled individualy, will kickoff any tests in this file. More...
 

Detailed Description

Unit testing: registrypo class and related functions.

Date
8-8-2012
Author
Gonzalo Iglesias

Definition in file registrypo.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 118 of file registrypo.gtest.cpp.

TEST ( registrypo  ,
alternativeconstructor   
)

Test alternative constructor for testing.

Definition at line 31 of file registrypo.gtest.cpp.

Here is the call graph for this function:

TEST ( registrypo  ,
dump   
)

Test dump method.

Definition at line 43 of file registrypo.gtest.cpp.

Here is the call graph for this function:

TEST ( registrypo  ,
alternativegetmethods   
)

Test registrypo get methods.

Definition at line 54 of file registrypo.gtest.cpp.

Here is the call graph for this function:

TEST ( registrypo  ,
get_string   
)

Test getstring method, which also reads from file if preceded by file://.

Definition at line 98 of file registrypo.gtest.cpp.

Here is the call graph for this function: