Bläddra i källkod

Internal change.

PiperOrigin-RevId: 282373286
main
leveldb Team 5 år sedan
committed by Victor Costan
förälder
incheckning
583a42b596
32 ändrade filer med 32 tillägg och 33 borttagningar
  1. +1
    -1
      db/autocompact_test.cc
  2. +1
    -1
      db/corruption_test.cc
  3. +1
    -1
      db/db_test.cc
  4. +1
    -1
      db/dbformat_test.cc
  5. +1
    -1
      db/fault_injection_test.cc
  6. +1
    -1
      db/filename_test.cc
  7. +1
    -1
      db/log_test.cc
  8. +1
    -1
      db/recovery_test.cc
  9. +1
    -1
      db/skiplist_test.cc
  10. +1
    -1
      db/version_edit_test.cc
  11. +1
    -1
      db/version_set_test.cc
  12. +1
    -1
      db/write_batch_test.cc
  13. +1
    -1
      helpers/memenv/memenv_test.cc
  14. +1
    -1
      issues/issue178_test.cc
  15. +1
    -1
      issues/issue200_test.cc
  16. +1
    -1
      issues/issue320_test.cc
  17. +1
    -1
      table/filter_block_test.cc
  18. +1
    -1
      table/table_test.cc
  19. +0
    -1
      third_party/googletest
  20. +1
    -1
      util/arena_test.cc
  21. +1
    -1
      util/bloom_test.cc
  22. +1
    -1
      util/cache_test.cc
  23. +1
    -1
      util/coding_test.cc
  24. +1
    -1
      util/crc32c_test.cc
  25. +1
    -1
      util/env_posix_test.cc
  26. +1
    -1
      util/env_test.cc
  27. +1
    -1
      util/env_windows_test.cc
  28. +1
    -1
      util/hash_test.cc
  29. +1
    -1
      util/logging_test.cc
  30. +1
    -1
      util/no_destructor_test.cc
  31. +1
    -1
      util/status_test.cc
  32. +2
    -2
      util/testutil.h

+ 1
- 1
db/autocompact_test.cc Visa fil

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "db/db_impl.h"
#include "leveldb/cache.h"
#include "leveldb/db.h"

+ 1
- 1
db/corruption_test.cc Visa fil

@ -4,7 +4,7 @@
#include <sys/types.h>
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "db/db_impl.h"
#include "db/filename.h"
#include "db/log_format.h"

+ 1
- 1
db/db_test.cc Visa fil

@ -7,7 +7,7 @@
#include <atomic>
#include <string>
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "db/db_impl.h"
#include "db/filename.h"
#include "db/version_set.h"

+ 1
- 1
db/dbformat_test.cc Visa fil

@ -4,7 +4,7 @@
#include "db/dbformat.h"
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "util/logging.h"
namespace leveldb {

+ 1
- 1
db/fault_injection_test.cc Visa fil

@ -9,7 +9,7 @@
#include <map>
#include <set>
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "db/db_impl.h"
#include "db/filename.h"
#include "db/log_format.h"

+ 1
- 1
db/filename_test.cc Visa fil

@ -4,7 +4,7 @@
#include "db/filename.h"
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "db/dbformat.h"
#include "port/port.h"
#include "util/logging.h"

+ 1
- 1
db/log_test.cc Visa fil

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "db/log_reader.h"
#include "db/log_writer.h"
#include "leveldb/env.h"

+ 1
- 1
db/recovery_test.cc Visa fil

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "db/db_impl.h"
#include "db/filename.h"
#include "db/version_set.h"

+ 1
- 1
db/skiplist_test.cc Visa fil

@ -7,7 +7,7 @@
#include <atomic>
#include <set>
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "leveldb/env.h"
#include "port/port.h"
#include "port/thread_annotations.h"

+ 1
- 1
db/version_edit_test.cc Visa fil

@ -4,7 +4,7 @@
#include "db/version_edit.h"
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
namespace leveldb {

+ 1
- 1
db/version_set_test.cc Visa fil

@ -4,7 +4,7 @@
#include "db/version_set.h"
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "util/logging.h"
#include "util/testutil.h"

+ 1
- 1
db/write_batch_test.cc Visa fil

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "db/memtable.h"
#include "db/write_batch_internal.h"
#include "leveldb/db.h"

+ 1
- 1
helpers/memenv/memenv_test.cc Visa fil

@ -7,7 +7,7 @@
#include <string>
#include <vector>
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "db/db_impl.h"
#include "leveldb/db.h"
#include "leveldb/env.h"

+ 1
- 1
issues/issue178_test.cc Visa fil

@ -7,7 +7,7 @@
#include <iostream>
#include <sstream>
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "leveldb/db.h"
#include "leveldb/write_batch.h"
#include "util/testutil.h"

+ 1
- 1
issues/issue200_test.cc Visa fil

@ -6,7 +6,7 @@
// to forward, the current key can be yielded unexpectedly if a new
// mutation has been added just before the current key.
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "leveldb/db.h"
#include "util/testutil.h"

+ 1
- 1
issues/issue320_test.cc Visa fil

@ -9,7 +9,7 @@
#include <string>
#include <vector>
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "leveldb/db.h"
#include "leveldb/write_batch.h"
#include "util/testutil.h"

+ 1
- 1
table/filter_block_test.cc Visa fil

@ -4,7 +4,7 @@
#include "table/filter_block.h"
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "leveldb/filter_policy.h"
#include "util/coding.h"
#include "util/hash.h"

+ 1
- 1
table/table_test.cc Visa fil

@ -7,7 +7,7 @@
#include <map>
#include <string>
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "db/dbformat.h"
#include "db/memtable.h"
#include "db/write_batch_internal.h"

+ 0
- 1
third_party/googletest

@ -1 +0,0 @@
Subproject commit c27acebba3b3c7d94209e0467b0a801db4af73ed

+ 1
- 1
util/arena_test.cc Visa fil

@ -4,7 +4,7 @@
#include "util/arena.h"
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "util/random.h"
namespace leveldb {

+ 1
- 1
util/bloom_test.cc Visa fil

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "leveldb/filter_policy.h"
#include "util/coding.h"
#include "util/logging.h"

+ 1
- 1
util/cache_test.cc Visa fil

@ -6,7 +6,7 @@
#include <vector>
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "util/coding.h"
namespace leveldb {

+ 1
- 1
util/coding_test.cc Visa fil

@ -6,7 +6,7 @@
#include <vector>
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
namespace leveldb {

+ 1
- 1
util/crc32c_test.cc Visa fil

@ -4,7 +4,7 @@
#include "util/crc32c.h"
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
namespace leveldb {
namespace crc32c {

+ 1
- 1
util/env_posix_test.cc Visa fil

@ -13,7 +13,7 @@
#include <unordered_set>
#include <vector>
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "leveldb/env.h"
#include "port/port.h"
#include "util/env_posix_test_helper.h"

+ 1
- 1
util/env_test.cc Visa fil

@ -6,7 +6,7 @@
#include <algorithm>
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "port/port.h"
#include "port/thread_annotations.h"
#include "util/mutexlock.h"

+ 1
- 1
util/env_windows_test.cc Visa fil

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "leveldb/env.h"
#include "port/port.h"
#include "util/env_windows_test_helper.h"

+ 1
- 1
util/hash_test.cc Visa fil

@ -4,7 +4,7 @@
#include "util/hash.h"
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
namespace leveldb {

+ 1
- 1
util/logging_test.cc Visa fil

@ -7,7 +7,7 @@
#include <limits>
#include <string>
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "leveldb/slice.h"
namespace leveldb {

+ 1
- 1
util/no_destructor_test.cc Visa fil

@ -8,7 +8,7 @@
#include <cstdlib>
#include <utility>
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
namespace leveldb {

+ 1
- 1
util/status_test.cc Visa fil

@ -6,7 +6,7 @@
#include <utility>
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gtest/gtest.h"
#include "leveldb/slice.h"
namespace leveldb {

+ 2
- 2
util/testutil.h Visa fil

@ -5,8 +5,8 @@
#ifndef STORAGE_LEVELDB_UTIL_TESTUTIL_H_
#define STORAGE_LEVELDB_UTIL_TESTUTIL_H_
#include "third_party/googletest/googlemock/include/gmock/gmock.h"
#include "third_party/googletest/googletest/include/gtest/gtest.h"
#include "gmock/gmock.h"
#include "gtest/gtest.h"
#include "helpers/memenv/memenv.h"
#include "leveldb/env.h"
#include "leveldb/slice.h"

Laddar…
Avbryt
Spara