rocksdb: Remove #include "util/string_util.h" from util/testharness.h

Summary:
1. Manually deleted #include "util/string_util.h" from util/testharness.h
2.
```
% USE_CLANG=1 make all -j55 -k 2> build.log
% perl -naF: -E 'say $F[0] if /: error:/' build.log | sort -u | xargs sed -i '/#include "util\/testharness.h"/i #include "util\/string_util.h"'
```

Test Plan:
Make sure make all completes with no errors.
```
% make all -j55
```

Reviewers: meyering, igor, sdong

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D35493
main
Igor Sugak 10 years ago
parent 220d0dff7c
commit 9405b5ef8f
  1. 1
      db/column_family_test.cc
  2. 1
      db/compaction_job_test.cc
  3. 1
      db/compaction_picker_test.cc
  4. 1
      db/comparator_db_test.cc
  5. 1
      db/db_iter_test.cc
  6. 1
      db/deletefile_test.cc
  7. 1
      db/flush_job_test.cc
  8. 1
      db/listener_test.cc
  9. 1
      db/plain_table_db_test.cc
  10. 1
      db/prefix_test.cc
  11. 1
      db/version_builder_test.cc
  12. 1
      db/wal_manager_test.cc
  13. 1
      db/write_batch_test.cc
  14. 1
      table/cuckoo_table_reader_test.cc
  15. 1
      table/table_test.cc
  16. 1
      util/autovector_test.cc
  17. 1
      util/cache_test.cc
  18. 1
      util/env_test.cc
  19. 1
      util/testharness.h

@ -15,6 +15,7 @@
#include "rocksdb/db.h" #include "rocksdb/db.h"
#include "rocksdb/env.h" #include "rocksdb/env.h"
#include "rocksdb/iterator.h" #include "rocksdb/iterator.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "util/testutil.h" #include "util/testutil.h"
#include "util/coding.h" #include "util/coding.h"

@ -13,6 +13,7 @@
#include "rocksdb/cache.h" #include "rocksdb/cache.h"
#include "rocksdb/options.h" #include "rocksdb/options.h"
#include "rocksdb/db.h" #include "rocksdb/db.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "util/testutil.h" #include "util/testutil.h"
#include "table/mock_table.h" #include "table/mock_table.h"

@ -7,6 +7,7 @@
#include <limits> #include <limits>
#include <string> #include <string>
#include "util/logging.h" #include "util/logging.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "util/testutil.h" #include "util/testutil.h"

@ -10,6 +10,7 @@
#include "rocksdb/db.h" #include "rocksdb/db.h"
#include "rocksdb/env.h" #include "rocksdb/env.h"
#include "util/hash.h" #include "util/hash.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "util/testutil.h" #include "util/testutil.h"
#include "utilities/merge_operators.h" #include "utilities/merge_operators.h"

@ -14,6 +14,7 @@
#include "rocksdb/slice.h" #include "rocksdb/slice.h"
#include "rocksdb/statistics.h" #include "rocksdb/statistics.h"
#include "db/db_iter.h" #include "db/db_iter.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "utilities/merge_operators.h" #include "utilities/merge_operators.h"

@ -12,6 +12,7 @@
#include "db/filename.h" #include "db/filename.h"
#include "db/version_set.h" #include "db/version_set.h"
#include "db/write_batch_internal.h" #include "db/write_batch_internal.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "util/testutil.h" #include "util/testutil.h"
#include "rocksdb/env.h" #include "rocksdb/env.h"

@ -11,6 +11,7 @@
#include "db/version_set.h" #include "db/version_set.h"
#include "db/writebuffer.h" #include "db/writebuffer.h"
#include "rocksdb/cache.h" #include "rocksdb/cache.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "util/testutil.h" #include "util/testutil.h"
#include "table/mock_table.h" #include "table/mock_table.h"

@ -27,6 +27,7 @@
#include "util/mutexlock.h" #include "util/mutexlock.h"
#include "util/rate_limiter.h" #include "util/rate_limiter.h"
#include "util/statistics.h" #include "util/statistics.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "util/sync_point.h" #include "util/sync_point.h"
#include "util/testutil.h" #include "util/testutil.h"

@ -29,6 +29,7 @@
#include "util/hash.h" #include "util/hash.h"
#include "util/logging.h" #include "util/logging.h"
#include "util/mutexlock.h" #include "util/mutexlock.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "util/testutil.h" #include "util/testutil.h"
#include "utilities/merge_operators.h" #include "utilities/merge_operators.h"

@ -23,6 +23,7 @@ int main() {
#include "rocksdb/memtablerep.h" #include "rocksdb/memtablerep.h"
#include "util/histogram.h" #include "util/histogram.h"
#include "util/stop_watch.h" #include "util/stop_watch.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
using GFLAGS::ParseCommandLineFlags; using GFLAGS::ParseCommandLineFlags;

@ -7,6 +7,7 @@
#include "db/version_edit.h" #include "db/version_edit.h"
#include "db/version_set.h" #include "db/version_set.h"
#include "util/logging.h" #include "util/logging.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "util/testutil.h" #include "util/testutil.h"

@ -14,6 +14,7 @@
#include "db/column_family.h" #include "db/column_family.h"
#include "db/version_set.h" #include "db/version_set.h"
#include "db/writebuffer.h" #include "db/writebuffer.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "util/testutil.h" #include "util/testutil.h"
#include "table/mock_table.h" #include "table/mock_table.h"

@ -18,6 +18,7 @@
#include "rocksdb/memtablerep.h" #include "rocksdb/memtablerep.h"
#include "rocksdb/utilities/write_batch_with_index.h" #include "rocksdb/utilities/write_batch_with_index.h"
#include "util/logging.h" #include "util/logging.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "util/scoped_arena_iterator.h" #include "util/scoped_arena_iterator.h"

@ -28,6 +28,7 @@ int main() {
#include "table/get_context.h" #include "table/get_context.h"
#include "util/arena.h" #include "util/arena.h"
#include "util/random.h" #include "util/random.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "util/testutil.h" #include "util/testutil.h"

@ -43,6 +43,7 @@
#include "util/compression.h" #include "util/compression.h"
#include "util/random.h" #include "util/random.h"
#include "util/statistics.h" #include "util/statistics.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "util/testutil.h" #include "util/testutil.h"
#include "util/scoped_arena_iterator.h" #include "util/scoped_arena_iterator.h"

@ -9,6 +9,7 @@
#include "rocksdb/env.h" #include "rocksdb/env.h"
#include "util/autovector.h" #include "util/autovector.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
#include "util/testutil.h" #include "util/testutil.h"

@ -13,6 +13,7 @@
#include <string> #include <string>
#include <iostream> #include <iostream>
#include "util/coding.h" #include "util/coding.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
namespace rocksdb { namespace rocksdb {

@ -28,6 +28,7 @@
#include "util/coding.h" #include "util/coding.h"
#include "util/log_buffer.h" #include "util/log_buffer.h"
#include "util/mutexlock.h" #include "util/mutexlock.h"
#include "util/string_util.h"
#include "util/testharness.h" #include "util/testharness.h"
namespace rocksdb { namespace rocksdb {

@ -13,7 +13,6 @@
#include <string> #include <string>
#include "rocksdb/env.h" #include "rocksdb/env.h"
#include "util/string_util.h"
namespace rocksdb { namespace rocksdb {
namespace test { namespace test {

Loading…
Cancel
Save