Skip to content

Commit 35f4425

Browse files
tagrawal03meta-codesync[bot]
authored andcommitted
Rename KatranTestFixtures.h to KatranBaseTestFixtures.h
Summary: Renamed KatranTestFixtures.h to KatranBaseTestFixtures.h to better reflect that this file contains the base test fixtures for Katran testing. Reviewed By: frankfeir Differential Revision: D86065202 fbshipit-source-id: d518520278d4ac3e0e94ef78b6648215786c9952
1 parent 74c223e commit 35f4425

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

DEVELOPING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ BPF forwarding plane and cpp library to control it.
99

1010
We are using clang-format for C++ code formatting. Please make sure that code is properly
1111
formatted before sending PR. You can format it with `clang-format -i <path/to/file>`
12-
(if your linux distribution does not have clang-format installed, you can use one from the
12+
(if your linux distribution does not have clang-format installed, you can use one from the
1313
deps folder: `./deps/clang/clang+llvm-5.0.0-linux-x86_64-ubuntu16.04/bin/clang-format`)
1414

1515
### Build and compile.
@@ -71,7 +71,7 @@ $
7171
We have developed a special framework for the BPF program testing. It is based on
7272
`bpf_prog_test_run`. This framework allow us to specify predefined test fixtures (input and expected output)
7373
to make sure that for a specified input, the BPF program produces expected output. Test fixtures in our case contain
74-
base64 encoded packets. You can check `katran/lib/testing/fixtures/KatranTestFixtures.h` for examples. To run these tests
74+
base64 encoded packets. You can check `katran/lib/testing/fixtures/KatranBaseTestFixtures.h` for examples. To run these tests
7575
you just need to run `./os_run_tester.sh` script (this script requires root privileges).
7676

7777
```

katran/lib/testing/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ add_library(bpftester STATIC
4141
framework/BpfTester.cpp
4242
tools/PacketBuilder.h
4343
tools/PacketBuilder.cpp
44-
fixtures/KatranTestFixtures.h
44+
fixtures/KatranBaseTestFixtures.h
4545
fixtures/KatranHCTestFixtures.h
4646
fixtures/KatranGueTestFixtures.h
4747
fixtures/KatranTPRTestFixtures.h
File renamed without changes.

katran/lib/testing/utils/KatranTestUtil.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
*/
1616

1717
#include "katran/lib/testing/utils/KatranTestUtil.h"
18+
#include "katran/lib/testing/fixtures/KatranBaseTestFixtures.h"
1819
#include "katran/lib/testing/fixtures/KatranGueTestFixtures.h"
1920
#include "katran/lib/testing/fixtures/KatranIcmpTooBigTestFixtures.h"
2021
#include "katran/lib/testing/fixtures/KatranTPRTestFixtures.h"
21-
#include "katran/lib/testing/fixtures/KatranTestFixtures.h"
2222
#include "katran/lib/testing/fixtures/KatranUdpStableRtTestFixtures.h"
2323
#include "katran/lib/testing/fixtures/KatranXPopDecapTestFixtures.h"
2424

0 commit comments

Comments
 (0)