Igor Canadi abac3d6476 TableMock + framework for mock classes
Summary:
This diff replaces BlockBasedTable in flush_job_test with TableMock, making it depend on less things and making it closer to an unit test than integration test.

It also introduces a framework to compile mock classes -- Any file named *mock.cc will not be compiled into the build. It will only get compiled into the tests. What way we can mock out most other classes, Version, VersionSet, DBImpl, etc.

Test Plan: flush_job_test

Reviewers: ljin, rven, yhchiang, sdong

Reviewed By: sdong

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D27681
2014-10-28 17:52:32 -07:00
..
2014-09-04 16:18:36 -07:00
2014-09-04 16:18:36 -07:00
2014-09-24 13:12:16 -07:00
2014-10-28 11:54:33 -07:00
2014-10-27 12:10:13 -07:00
2014-10-27 15:41:05 -07:00
2014-10-28 11:54:33 -07:00
2014-09-12 16:23:58 -07:00
2014-09-25 11:14:01 -07:00
2014-10-28 11:54:33 -07:00
2014-08-28 17:06:29 -07:00
2014-09-04 23:06:23 +08:00
2014-09-05 14:14:37 +08:00
2014-10-28 11:54:33 -07:00
2014-10-28 11:54:33 -07:00
2014-10-28 11:54:33 -07:00
2014-10-28 11:54:33 -07:00
2014-02-28 13:19:47 -08:00
2014-01-27 14:49:10 -08:00
2014-03-14 22:44:35 +00:00
2014-10-28 11:54:33 -07:00
2014-10-28 11:54:33 -07:00
2014-10-27 12:10:13 -07:00
2014-10-27 12:10:13 -07:00
2014-10-27 12:10:13 -07:00
2014-10-27 14:50:21 -07:00
2014-10-27 15:03:45 -07:00
2014-09-04 23:06:23 +08:00
2014-04-15 13:39:26 -07:00
2014-10-27 12:10:13 -07:00
2014-09-13 14:14:10 -07:00
2014-09-12 16:23:58 -07:00
2014-09-12 16:23:58 -07:00