我开始使用GoogleTest对我的代码运行单元测试。我在Ubuntu12.04上使用EclipseKepler。我在第一次测试中使用了以下类:AllTests.cpp#include"gtest/gtest.h"#include"SerialManagerTest.cpp"intmain(intargc,char**argv){::testing::InitGoogleTest(&argc,argv);returnRUN_ALL_TESTS();}SerialManagerTest.cpp#include"gtest/gtest.h"#include"SerialManager.h"