Skip to content

Instantly share code, notes, and snippets.

@biot023
Created December 18, 2011 15:08
Show Gist options
  • Save biot023/1493658 to your computer and use it in GitHub Desktop.
Save biot023/1493658 to your computer and use it in GitHub Desktop.
operator_test.cpp test output
~/work/cpp/rtga$ rake test FILTER="SingleConnectionOperatorTest.*"
g++-mp-4.6 -Wall -g -std=c++0x -c -I./include -I/Users/douglivesey/src/gmock/include -I/Users/douglivesey/src/gmock/gtest/include -o test/test_runner.o test/test_runner.cpp
g++-mp-4.6 -Wall -g -std=c++0x -c -I./include -I/Users/douglivesey/src/gmock/include -I/Users/douglivesey/src/gmock/gtest/include -o test/unit/rtga/array_test.o test/unit/rtga/array_test.cpp
g++-mp-4.6 -Wall -g -std=c++0x -c -I./include -I/Users/douglivesey/src/gmock/include -I/Users/douglivesey/src/gmock/gtest/include -o test/unit/rtga/connection_net_test.o test/unit/rtga/connection_net_test.cpp
g++-mp-4.6 -Wall -g -std=c++0x -c -I./include -I/Users/douglivesey/src/gmock/include -I/Users/douglivesey/src/gmock/gtest/include -o test/unit/rtga/connection_test.o test/unit/rtga/connection_test.cpp
g++-mp-4.6 -Wall -g -std=c++0x -c -I./include -I/Users/douglivesey/src/gmock/include -I/Users/douglivesey/src/gmock/gtest/include -o test/unit/rtga/exec_test.o test/unit/rtga/exec_test.cpp
g++-mp-4.6 -Wall -g -std=c++0x -c -I./include -I/Users/douglivesey/src/gmock/include -I/Users/douglivesey/src/gmock/gtest/include -o test/unit/rtga/operator_test.o test/unit/rtga/operator_test.cpp
test/unit/rtga/operator_test.cpp: In member function 'virtual void SingleConnectionOperatorTest_ShouldStoreTheIndexParam_Test<gtest_TypeParam_>::TestBody()':
test/unit/rtga/operator_test.cpp:42:3: error: '_connection_index' was not declared in this scope
test/unit/rtga/operator_test.cpp:42:3: error: template argument 1 is invalid
test/unit/rtga/operator_test.cpp:42:3: error: '_operator' was not declared in this scope
test/unit/rtga/operator_test.cpp: In member function 'virtual void SingleConnectionOperatorTest_ShouldInitialiseWithANullConnection_Test<gtest_TypeParam_>::TestBody()':
test/unit/rtga/operator_test.cpp:46:3: error: '_casted_operator' was not declared in this scope
In file included from test/unit/rtga/operator_test.cpp:2:0:
./include/rtga/operator.h: In member function 'const result_t rtga::NullOperator<T>::eval(std::weak_ptr<rtga::IConnectionNet<T> >, const uint&) [with T = int, rtga::NullOperator<T>::result_t = rtga::IOperator<int>::result_t, uint = unsigned int]':
test/unit/rtga/operator_test.cpp:47:1: instantiated from here
./include/rtga/operator.h:29:57: warning: no return statement in function returning non-void [-Wreturn-type]
rake aborted!
Command failed with status (1): [g++-mp-4.6 -Wall -g -std=c++0x -c -I./incl...]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment