diff options
author | Ido Barnea <ibarnea@cisco.com> | 2017-01-10 19:04:51 +0200 |
---|---|---|
committer | Ido Barnea <ibarnea@cisco.com> | 2017-01-10 19:04:51 +0200 |
commit | cf0b463e9f2aa5313550a28be03efa1843723959 (patch) | |
tree | 83e875c07aac3ce3ff8df67602b617aaa5fe39dd /src/bp_gtest.h | |
parent | b3c544bd3d3e150660774d4588419e75058bdf97 (diff) |
Make bpsim unit tests independant of each other (will always pass, without regard to running order)
Signed-off-by: Ido Barnea <ibarnea@cisco.com>
Diffstat (limited to 'src/bp_gtest.h')
-rw-r--r-- | src/bp_gtest.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/bp_gtest.h b/src/bp_gtest.h index 0bc66eac..955b781e 100644 --- a/src/bp_gtest.h +++ b/src/bp_gtest.h @@ -19,6 +19,16 @@ limitations under the License. #define EXPECT_EQ_UINT32(a,b) EXPECT_EQ((uint32_t)(a),(uint32_t)(b)) +class trexTest : public testing::Test { + protected: + virtual void SetUp() { + CGlobalInfo::m_options.reset(); + } + virtual void TearDown() { + } +public: +}; + class CTestBasic { public: |