diff options
author | Hanoh Haim <hhaim@cisco.com> | 2016-12-22 11:35:11 +0200 |
---|---|---|
committer | Hanoh Haim <hhaim@cisco.com> | 2016-12-22 17:32:14 +0200 |
commit | 89309695626ba47a7e9f4c908a4d46c8b059df0f (patch) | |
tree | e316c2ec05d42558dde0c0a7d43c864bb91c1ad7 /src/bp_gtest.cpp | |
parent | 7b8e05fc8996827a99d5da74b30138a15c89a96e (diff) |
stateful scheduler cleanup
Signed-off-by: Hanoh Haim <hhaim@cisco.com>
Diffstat (limited to 'src/bp_gtest.cpp')
-rwxr-xr-x | src/bp_gtest.cpp | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/src/bp_gtest.cpp b/src/bp_gtest.cpp index 87f3f7ca..4c04dde9 100755 --- a/src/bp_gtest.cpp +++ b/src/bp_gtest.cpp @@ -263,7 +263,7 @@ TEST_F(basic, limit_single_pkt) { EXPECT_EQ_UINT32(1, res?1:0)<< "pass"; } -/*TEST_F(basic, limit_multi_pkt) { +TEST_F(basic, limit_multi_pkt) { CTestBasic t1; CParserOption * po =&CGlobalInfo::m_options; @@ -273,7 +273,7 @@ TEST_F(basic, limit_single_pkt) { po->out_file ="exp/limit_multi_pkt"; bool res=t1.init(); EXPECT_EQ_UINT32(1, res?1:0)<< "pass"; -} */ +} TEST_F(basic, imix) { @@ -287,6 +287,18 @@ TEST_F(basic, imix) { EXPECT_EQ_UINT32(1, res?1:0)<< "pass"; } +TEST_F(basic, imix_fast) { + + CTestBasic t1; + CParserOption * po =&CGlobalInfo::m_options; + po->preview.setVMode(3); + po->preview.setFileWrite(true); + po->cfg_file ="cap2/imix_64_fast.yaml"; + po->out_file ="exp/imix_64_fast"; + bool res=t1.init(); + EXPECT_EQ_UINT32(1, res?1:0)<< "pass"; +} + TEST_F(basic, dns) { |