Functions
utest.cpp File Reference
#include <stdexcept>
#include <gtest/gtest.h>
#include "map_server/image_loader.h"
#include "test_constants.h"
Include dependency graph for utest.cpp:

Go to the source code of this file.

Functions

std::vector< unsigned int > countValues (const nav_msgs::GetMap::Response &map_resp)
 
int main (int argc, char **argv)
 
 TEST (MapServer, loadInvalidFile)
 
 TEST (MapServer, loadValidBMP)
 
 TEST (MapServer, loadValidPNG)
 
 TEST (MapServer, testMapMode)
 

Function Documentation

◆ countValues()

std::vector<unsigned int> countValues ( const nav_msgs::GetMap::Response &  map_resp)

Definition at line 104 of file utest.cpp.

◆ main()

int main ( int  argc,
char **  argv 
)

Definition at line 145 of file utest.cpp.

◆ TEST() [1/4]

TEST ( MapServer  ,
loadInvalidFile   
)

Definition at line 84 of file utest.cpp.

◆ TEST() [2/4]

TEST ( MapServer  ,
loadValidBMP   
)

Definition at line 63 of file utest.cpp.

◆ TEST() [3/4]

TEST ( MapServer  ,
loadValidPNG   
)

Definition at line 42 of file utest.cpp.

◆ TEST() [4/4]

TEST ( MapServer  ,
testMapMode   
)

Definition at line 115 of file utest.cpp.



map_server
Author(s): Brian Gerkey, Tony Pratkanis, contradict@gmail.com
autogenerated on Mon Mar 6 2023 03:50:11