mirror of
https://github.com/openappsec/openappsec.git
synced 2025-09-29 19:24:26 +03:00
First release of open-appsec source code
This commit is contained in:
16
components/include/mock/mock_nginx_attachment.h
Executable file
16
components/include/mock/mock_nginx_attachment.h
Executable file
@@ -0,0 +1,16 @@
|
||||
#ifndef __MOCK_NGINX_ATTACHMENT_H__
|
||||
#define __MOCK_NGINX_ATTACHMENT_H__
|
||||
|
||||
#include "nginx_attachment.h"
|
||||
|
||||
class MockNginxAttachment:
|
||||
public Singleton::Provide<I_StaticResourcesHandler>::From<MockProvider<I_StaticResourcesHandler>>
|
||||
{
|
||||
public:
|
||||
MOCK_METHOD2(
|
||||
registerStaticResource,
|
||||
bool(const std::string &static_resource_name, const std::string &static_resource_path)
|
||||
);
|
||||
};
|
||||
|
||||
#endif // __MOCK_NGINX_ATTACHMENT_H__
|
Reference in New Issue
Block a user