Unit test corruption_test do not compile.

Summary: Unit test corruption_test do not compile.

Test Plan: run unit tests

Reviewers: heyongqiang

Reviewed By: heyongqiang

Differential Revision: https://reviews.facebook.net/D4797
This commit is contained in:
Dhruba Borthakur 2012-08-21 15:43:52 -07:00
parent f4e7febf22
commit 407f020929
1 changed files with 11 additions and 0 deletions

View File

@ -324,6 +324,17 @@ class EnvWrapper : public Env {
void SleepForMicroseconds(int micros) {
target_->SleepForMicroseconds(micros);
}
Status GetHostName(char* name, uint len) {
return target_->GetHostName(name, len);
}
Status GetCurrentTime(int64_t* unix_time) {
return target_->GetCurrentTime(unix_time);
}
Status GetAbsolutePath(const std::string& db_path,
std::string* output_path) {
return target_->GetAbsolutePath(db_path, output_path);
}
private:
Env* target_;
};