mirror of
https://github.com/mat007/turtle.git
synced 2026-06-22 12:13:43 +00:00
Clean-up
git-svn-id: https://svn.code.sf.net/p/turtle/code/trunk@17 860be788-9bd5-4423-9f1e-828f051e677b
This commit is contained in:
parent
8015fb8a9f
commit
135846946f
2 changed files with 2 additions and 2 deletions
|
|
@ -64,7 +64,7 @@ namespace detail
|
||||||
{
|
{
|
||||||
++detail::errors.count_;
|
++detail::errors.count_;
|
||||||
static std::string m;
|
static std::string m;
|
||||||
m = "mock error : unexpected call : " + context;
|
m = "mock error : sequence failed : " + context;
|
||||||
throw mock::exception( m );
|
throw mock::exception( m );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,7 @@ namespace mock
|
||||||
// return false if verification fails
|
// return false if verification fails
|
||||||
virtual bool verify() = 0;
|
virtual bool verify() = 0;
|
||||||
|
|
||||||
// return to the initial state where calling verify won't throw
|
// return to the initial state
|
||||||
virtual void reset() = 0;
|
virtual void reset() = 0;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue