algorithms: update to use base/gmock.h
This commit is contained in:
@@ -62,6 +62,7 @@ cc_library(
|
||||
deps = [
|
||||
"//ortools/base",
|
||||
"//ortools/base:dump_vars",
|
||||
"//ortools/base:gmock",
|
||||
"@com_google_absl//absl/numeric:int128",
|
||||
],
|
||||
)
|
||||
@@ -107,6 +108,7 @@ cc_test(
|
||||
deps = [
|
||||
":radix_sort",
|
||||
"//ortools/base:dump_vars",
|
||||
"//ortools/base:gmock",
|
||||
"//ortools/base:mathutil",
|
||||
"@com_google_absl//absl/algorithm:container",
|
||||
"@com_google_absl//absl/log",
|
||||
@@ -332,9 +334,9 @@ cc_test(
|
||||
":sparse_permutation",
|
||||
"//ortools/base",
|
||||
"//ortools/base:dump_vars",
|
||||
"//ortools/base:gmock",
|
||||
"//ortools/base:map_util",
|
||||
"//ortools/base:path",
|
||||
"//ortools/base:status_matchers",
|
||||
"//ortools/graph:io",
|
||||
"@com_google_absl//absl/random",
|
||||
"@com_google_absl//absl/status",
|
||||
|
||||
@@ -27,8 +27,8 @@
|
||||
#include "absl/strings/str_format.h"
|
||||
#include "absl/time/time.h"
|
||||
#include "benchmark/benchmark.h"
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "ortools/base/gmock.h"
|
||||
#include "ortools/base/hash.h"
|
||||
|
||||
namespace operations_research {
|
||||
|
||||
@@ -17,8 +17,8 @@
|
||||
#include <vector>
|
||||
|
||||
#include "benchmark/benchmark.h"
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "ortools/base/gmock.h"
|
||||
#include "ortools/base/linked_hash_set.h"
|
||||
#include "ortools/util/random_engine.h"
|
||||
#include "util/tuple/dump_vars.h"
|
||||
|
||||
@@ -23,8 +23,8 @@
|
||||
#include "absl/random/bit_gen_ref.h"
|
||||
#include "absl/random/random.h"
|
||||
#include "absl/strings/str_join.h"
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "ortools/base/gmock.h"
|
||||
#include "ortools/base/stl_util.h"
|
||||
|
||||
namespace operations_research {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "ortools/base/gmock.h"
|
||||
|
||||
namespace operations_research {
|
||||
namespace {
|
||||
|
||||
@@ -38,13 +38,12 @@
|
||||
#include "absl/time/clock.h"
|
||||
#include "absl/time/time.h"
|
||||
#include "absl/types/span.h"
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "ortools/algorithms/dynamic_partition.h"
|
||||
#include "ortools/algorithms/dynamic_permutation.h"
|
||||
#include "ortools/algorithms/sparse_permutation.h"
|
||||
#include "ortools/base/status_matchers.h"
|
||||
#include "ortools/base/dump_vars.h"
|
||||
#include "ortools/base/gmock.h"
|
||||
#include "ortools/base/helpers.h"
|
||||
#include "ortools/base/map_util.h"
|
||||
#include "ortools/base/path.h"
|
||||
|
||||
@@ -29,9 +29,9 @@
|
||||
#include "absl/random/random.h"
|
||||
#include "absl/types/span.h"
|
||||
#include "benchmark/benchmark.h"
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "ortools/base/dump_vars.h"
|
||||
#include "ortools/base/gmock.h"
|
||||
#include "ortools/base/logging.h"
|
||||
#include "ortools/base/mathutil.h"
|
||||
|
||||
|
||||
@@ -19,12 +19,12 @@
|
||||
#include "absl/log/check.h"
|
||||
#include "absl/strings/str_cat.h"
|
||||
#include "benchmark/benchmark.h"
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "ortools/algorithms/set_cover.pb.h"
|
||||
#include "ortools/algorithms/set_cover_invariant.h"
|
||||
#include "ortools/algorithms/set_cover_mip.h"
|
||||
#include "ortools/algorithms/set_cover_model.h"
|
||||
#include "ortools/base/gmock.h"
|
||||
#include "ortools/base/logging.h"
|
||||
|
||||
namespace operations_research {
|
||||
|
||||
@@ -19,8 +19,8 @@
|
||||
|
||||
#include "absl/container/flat_hash_set.h"
|
||||
#include "absl/random/distributions.h"
|
||||
#include "gmock/gmock.h"
|
||||
#include "gtest/gtest.h"
|
||||
#include "ortools/base/gmock.h"
|
||||
|
||||
namespace operations_research {
|
||||
namespace {
|
||||
|
||||
Reference in New Issue
Block a user