leveldb/table
Victor Costan 8f464e7f68 Remove main() from most tests.
This gives some flexibility to embedders.

Currently, embedders have to build a binary for each test file.

After this CL, embedders can still choose to have a binary for each test
file, by linking each test file with a googletest target that includes
main() (usually "gtest_main"). Embedders can also choose to build a
single binary for almost all test files, and link with a googletest
target that includes main(). The latter is more convenient for projects
that have very few test binaries, like Chromium.

PiperOrigin-RevId: 419470798
2022-01-03 21:05:04 +00:00
..
block_builder.cc Switch from C headers to C++ headers. 2020-04-29 20:51:13 +00:00
block_builder.h Switch from C headers to C++ headers. 2020-04-29 20:51:13 +00:00
block.cc Optimize leveldb block seeks to utilize the current iterator location. 2021-01-11 15:41:38 +00:00
block.h Switch from C headers to C++ headers. 2020-04-29 20:51:13 +00:00
filter_block_test.cc Remove main() from most tests. 2022-01-03 21:05:04 +00:00
filter_block.cc Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -07:00
filter_block.h Switch from C headers to C++ headers. 2020-04-29 20:51:13 +00:00
format.cc Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -07:00
format.h Switch from C headers to C++ headers. 2020-04-29 20:51:13 +00:00
iterator_wrapper.h Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -07:00
iterator.cc Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -07:00
merger.cc Switch to using C++ 11 override specifier. 2019-05-09 14:11:06 -07:00
merger.h Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -07:00
table_builder.cc Switch from C headers to C++ headers. 2020-04-29 20:51:13 +00:00
table_test.cc Remove main() from most tests. 2022-01-03 21:05:04 +00:00
table.cc remove unnessary status judge 2020-04-24 02:00:12 +00:00
two_level_iterator.cc Switch to using C++ 11 override specifier. 2019-05-09 14:11:06 -07:00
two_level_iterator.h Format all files IAW the Google C++ Style Guide. 2019-05-02 19:04:50 -07:00