summaryrefslogtreecommitdiff
path: root/tests/stubs_.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/stubs_.cpp')
-rw-r--r--tests/stubs_.cpp19
1 files changed, 2 insertions, 17 deletions
diff --git a/tests/stubs_.cpp b/tests/stubs_.cpp
index 9eb8cfa..c63c668 100644
--- a/tests/stubs_.cpp
+++ b/tests/stubs_.cpp
@@ -35,14 +35,13 @@ Certs::Certs()
Certs::~Certs()
{}
-void Certs::get_certificates (app_t &app, ocsp_urls_t &ocsp_urls)
+void Certs::get_certificates(app_t &app)
{
(void)app;
- (void)ocsp_urls;
}
// Only the public functions need to be stubbed for testing all possibilities
-Certs::ocsp_response_t Certs::check_ocsp (const app_t &app)
+Certs::ocsp_response_t Certs::check_ocsp(const app_t &app)
{
if (app.signatures.empty())
return ocsp_response_t::OCSP_APP_OK;
@@ -74,20 +73,6 @@ DB::SqlQuery::SqlQuery(const std::string &path)
DB::SqlQuery::~SqlQuery()
{}
-bool DB::SqlQuery::get_url(const std::string &issuer, std::string &url)
-{
- (void)issuer;
- (void)url;
- return false;
-}
-
-void DB::SqlQuery::set_url(const std::string &issuer, const std::string &url, const int64_t &date)
-{
- (void)issuer;
- (void)url;
- (void)date;
-}
-
bool DB::SqlQuery::add_app_to_check_list(const app_t &app)
{
(void)app;