Lines Matching refs:MockFunction
60 class MockFunction : public ExtensionFunction {
62 explicit MockFunction(const std::string& name) { set_name(name); }
73 virtual ~MockFunction() {}
76 class TimedLimitMockFunction : public MockFunction {
79 : MockFunction(name) {}
90 class ChainedLimitsMockFunction : public MockFunction {
93 : MockFunction(name) {}
108 class FrozenMockFunction : public MockFunction {
110 explicit FrozenMockFunction(const std::string& name) : MockFunction(name) {}
219 scoped_refptr<MockFunction> f(new MockFunction("foo"));
225 scoped_refptr<MockFunction> f(new FrozenMockFunction("foo"));
232 scoped_refptr<MockFunction> f(new TimedLimitMockFunction("foo"));
303 scoped_refptr<MockFunction> f(new ChainedLimitsMockFunction("foo"));
356 scoped_refptr<MockFunction> f(new TimedLimitMockFunction("foo"));
357 scoped_refptr<MockFunction> g(new TimedLimitMockFunction("bar"));
389 scoped_refptr<MockFunction> f(new TimedLimitMockFunction("foo"));
390 scoped_refptr<MockFunction> g(new TimedLimitMockFunction("bar"));