Skip to content

Commit

Permalink
fix(test): dropped get_type() api from test_source/extract tests.
Browse files Browse the repository at this point in the history
Signed-off-by: Federico Di Pierro <nierro92@gmail.com>
  • Loading branch information
FedeDP committed Apr 26, 2022
1 parent a9eb579 commit e8c4791
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
7 changes: 0 additions & 7 deletions test/plugins/test_extract.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ limitations under the License.
#include <plugin_info.h>

static const char *pl_required_api_version = "1.0.0";
static uint32_t pl_type = TYPE_EXTRACTOR_PLUGIN;
static const char *pl_name_base = "test_extract";
static char pl_name[1024];
static const char *pl_desc = "Test Plugin For Regression Tests";
Expand All @@ -40,12 +39,6 @@ const char* plugin_get_required_api_version()
return pl_required_api_version;
}

extern "C"
uint32_t plugin_get_type()
{
return pl_type;
}

extern "C"
const char* plugin_get_name()
{
Expand Down
7 changes: 0 additions & 7 deletions test/plugins/test_source.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ limitations under the License.
#include <plugin_info.h>

static const char *pl_required_api_version = "1.0.0";
static uint32_t pl_type = TYPE_SOURCE_PLUGIN;
static uint32_t pl_id = 999;
static const char *pl_name = "test_source";
static const char *pl_desc = "Test Plugin For Regression Tests";
Expand All @@ -45,12 +44,6 @@ const char* plugin_get_required_api_version()
return pl_required_api_version;
}

extern "C"
uint32_t plugin_get_type()
{
return pl_type;
}

extern "C"
uint32_t plugin_get_id()
{
Expand Down

0 comments on commit e8c4791

Please sign in to comment.