| Index: test/BaseJsTest.h |
| =================================================================== |
| --- a/test/BaseJsTest.h |
| +++ b/test/BaseJsTest.h |
| @@ -41,6 +41,17 @@ |
| { |
| throw std::runtime_error("Not implemented"); |
| } |
| + |
| + std::string Resolve(const std::string& path) const |
| + { |
| + throw std::runtime_error("Not implemented"); |
| + } |
| + |
| + void SetBasePath(const std::string& path) |
| + { |
| + throw std::runtime_error("Not implemented"); |
| + } |
| + |
| }; |
| class ThrowingWebRequest : public AdblockPlus::WebRequest |
| @@ -85,6 +96,19 @@ |
| AdblockPlus::Sleep(100000); |
| return StatResult(); |
| } |
| + |
| + std::string Resolve(const std::string& path) const |
| + { |
| + while (true) |
| + AdblockPlus::Sleep(100000); |
| + return std::string(); |
| + } |
| + |
| + void SetBasePath(const std::string& path) |
| + { |
| + while (true) |
| + AdblockPlus::Sleep(100000); |
|
Wladimir Palant
2013/04/30 09:29:50
SetBasePath() isn't a function called from JS, no
|
| + } |
| }; |
| class LazyWebRequest : public AdblockPlus::WebRequest |