ソースを参照

修复PythonInterpreterTest一个bug
boost::make_shared<PersonTest> 而不是 boost::make_shared<PersonTestPtr>

tanghai 14 年 前
コミット
96d75d8fae
1 ファイル変更1 行追加1 行削除
  1. 1 1
      Cpp/Platform/Python/PythonInterpreterTest.cc

+ 1 - 1
Cpp/Platform/Python/PythonInterpreterTest.cc

@@ -72,7 +72,7 @@ TEST_F(PythonInterpreterTest, EnterPythonScript)
 	interpreter.ImportPath("../../../Cpp/Platform/Python/");
 	interpreter.ImportModule("PythonInterpreterTest");
 
-	auto person = boost::make_shared<PersonTestPtr>();
+	auto person = boost::make_shared<PersonTest>();
 	interpreter.RegisterObjectPtr("person", person);
 
 	ASSERT_EQ(0, person->Guid());