Drake
call_python_server_test.cc File Reference
#include <chrono>
#include <cmath>
#include <string>
#include <thread>
#include <gflags/gflags.h>
#include <gtest/gtest.h>
#include "drake/common/proto/call_python.h"
Include dependency graph for call_python_server_test.cc:

Namespaces

 drake
 
 drake::common
 

Functions

 DEFINE_string (file,"/tmp/python_rpc","File written to by this binary, read by client.")
 
 DEFINE_string (done_file,"/tmp/python_rpc_done","Signifies last Python command has been executed.")
 
 DEFINE_bool (with_error, false,"Inject an error towards the end.")
 
 DEFINE_bool (sleep_at_end, false,"Sleep at end to check behavior of C++ if the Python client ""fails.")
 
 GTEST_TEST (TestCallPython, Start)
 
 GTEST_TEST (TestCallPython, DispStr)
 
 GTEST_TEST (TestCallPython, CheckKwargs)
 
 GTEST_TEST (TestCallPython, SetVar)
 
 GTEST_TEST (TestCallPython, DispEigenMatrix)
 
 GTEST_TEST (TestCallPython, RemoteVarTest)
 
 GTEST_TEST (TestCallPython, Plot2d)
 
 GTEST_TEST (TestCallPython, Plot3d)
 
 GTEST_TEST (TestCallPython, Finish)
 

Function Documentation

DEFINE_bool ( with_error  ,
false  ,
"Inject an error towards the end."   
)
DEFINE_bool ( sleep_at_end  ,
false  ,
"Sleep at end to check behavior of C++ if the Python client ""fails."   
)
DEFINE_string ( file  ,
"/tmp/python_rpc"  ,
"File written to by this  binary,
read by client."   
)
DEFINE_string ( done_file  ,
"/tmp/python_rpc_done"  ,
"Signifies last Python command has been executed."   
)