mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 01:12:31 +00:00
Reset parameters in test setup, not teardown
This commit is contained in:
@@ -39,7 +39,7 @@
|
|||||||
class CollisionPreventionTest : public ::testing::Test
|
class CollisionPreventionTest : public ::testing::Test
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void TearDown() override
|
void SetUp() override
|
||||||
{
|
{
|
||||||
param_reset_all();
|
param_reset_all();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -41,7 +41,7 @@
|
|||||||
class ParameterTest : public ::testing::Test
|
class ParameterTest : public ::testing::Test
|
||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
void TearDown() override
|
void SetUp() override
|
||||||
{
|
{
|
||||||
param_reset_all();
|
param_reset_all();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user