Skip to content

Commit

Permalink
Rename incremental_max_coverage_stack because the name is too long.
Browse files Browse the repository at this point in the history
  • Loading branch information
fruffy committed Nov 10, 2022
1 parent 0974b37 commit bceeb92
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 15 deletions.
4 changes: 2 additions & 2 deletions backends/p4tools/modules/testgen/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ set(
core/exploration_strategy/selected_branches.cpp
core/exploration_strategy/random_access_stack.cpp
core/exploration_strategy/linear_enumeration.cpp
core/exploration_strategy/random_access_max_coverage.cpp
core/exploration_strategy/incremental_max_coverage_stack.cpp
core/exploration_strategy/rnd_access_max_coverage.cpp
core/exploration_strategy/inc_max_coverage_stack.cpp
core/exploration_strategy/exploration_strategy.cpp
core/target.cpp

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "backends/p4tools/modules/testgen/core/exploration_strategy/incremental_max_coverage_stack.h"
#include "backends/p4tools/modules/testgen/core/exploration_strategy/inc_max_coverage_stack.h"

#include <algorithm>
#include <cstdlib>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_EXPLORATION_STRATEGY_INCREMENTAL_MAX_COVERAGE_STACK_H_
#define BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_EXPLORATION_STRATEGY_INCREMENTAL_MAX_COVERAGE_STACK_H_
#ifndef BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_EXPLORATION_STRATEGY_INC_MAX_COVERAGE_STACK_H_
#define BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_EXPLORATION_STRATEGY_INC_MAX_COVERAGE_STACK_H_

#include <cstdint>
#include <ctime>
Expand Down Expand Up @@ -87,5 +87,4 @@ class IncrementalMaxCoverageStack : public ExplorationStrategy {

} // namespace P4Tools

#endif /* BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_EXPLORATION_STRATEGY_INCREMENTAL_MAX_COVERAGE_STACK_H_ \
*/
#endif /* BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_EXPLORATION_STRATEGY_INC_MAX_COVERAGE_STACK_H_ */
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#include "backends/p4tools/modules/testgen/core/exploration_strategy/random_access_max_coverage.h"
#include "backends/p4tools/modules/testgen/core/exploration_strategy/rnd_access_max_coverage.h"

#include <algorithm>
#include <cstdlib>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_EXPLORATION_STRATEGY_RANDOM_ACCESS_MAX_COVERAGE_H_
#define BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_EXPLORATION_STRATEGY_RANDOM_ACCESS_MAX_COVERAGE_H_
#ifndef BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_EXPLORATION_STRATEGY_RND_ACCESS_MAX_COVERAGE_H_
#define BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_EXPLORATION_STRATEGY_RND_ACCESS_MAX_COVERAGE_H_

#include <cstdint>
#include <ctime>
Expand All @@ -22,7 +22,7 @@
#include "ir/ir.h"

#include "backends/p4tools/modules/testgen/core/exploration_strategy/exploration_strategy.h"
#include "backends/p4tools/modules/testgen/core/exploration_strategy/incremental_max_coverage_stack.h"
#include "backends/p4tools/modules/testgen/core/exploration_strategy/inc_max_coverage_stack.h"
#include "backends/p4tools/modules/testgen/core/program_info.h"
#include "backends/p4tools/modules/testgen/core/small_step/small_step.h"
#include "backends/p4tools/modules/testgen/lib/execution_state.h"
Expand Down Expand Up @@ -102,5 +102,4 @@ class RandomAccessMaxCoverage : public IncrementalMaxCoverageStack {

} // namespace P4Tools

#endif /* BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_EXPLORATION_STRATEGY_RANDOM_ACCESS_MAX_COVERAGE_H_ \
*/
#endif /* BACKENDS_P4TOOLS_MODULES_TESTGEN_CORE_EXPLORATION_STRATEGY_RND_ACCESS_MAX_COVERAGE_H_ */
4 changes: 2 additions & 2 deletions backends/p4tools/modules/testgen/testgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@
#include "lib/error.h"

#include "backends/p4tools/modules/testgen/core/exploration_strategy/exploration_strategy.h"
#include "backends/p4tools/modules/testgen/core/exploration_strategy/incremental_max_coverage_stack.h"
#include "backends/p4tools/modules/testgen/core/exploration_strategy/inc_max_coverage_stack.h"
#include "backends/p4tools/modules/testgen/core/exploration_strategy/incremental_stack.h"
#include "backends/p4tools/modules/testgen/core/exploration_strategy/linear_enumeration.h"
#include "backends/p4tools/modules/testgen/core/exploration_strategy/random_access_max_coverage.h"
#include "backends/p4tools/modules/testgen/core/exploration_strategy/random_access_stack.h"
#include "backends/p4tools/modules/testgen/core/exploration_strategy/rnd_access_max_coverage.h"
#include "backends/p4tools/modules/testgen/core/exploration_strategy/selected_branches.h"
#include "backends/p4tools/modules/testgen/core/target.h"
#include "backends/p4tools/modules/testgen/lib/logging.h"
Expand Down

0 comments on commit bceeb92

Please sign in to comment.