#include "sql/test/scoped_error_expecter.h"
#include "base/functional/bind.h"
#include "base/types/pass_key.h"
#include "sql/database.h"
#include "sql/sqlite_result_code_values.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace sql {
namespace test {
ScopedErrorExpecter::ScopedErrorExpecter()
: … { … }
ScopedErrorExpecter::~ScopedErrorExpecter() { … }
void ScopedErrorExpecter::ExpectError(int err) { … }
void ScopedErrorExpecter::ExpectError(SqliteResultCode err) { … }
bool ScopedErrorExpecter::SawExpectedErrors() { … }
bool ScopedErrorExpecter::ErrorSeen(int err) { … }
}
}