blob: 2e5a1ff523b71bb71f3d5b73fad1164093efa50d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
#include "pluginloader.h"
#include <gtest/gtest.h>
PluginLoader *loader = nullptr;
TEST(PluginLoader, SignatureMatcher) {
EXPECT_TRUE(loader->verify());
}
int main(int argc, char **argv)
{
const PluginLoader::SignatureState state(false, true, false);
loader = new PluginLoader(qgetenv("SIGNEDFILE"), state);
testing::InitGoogleTest(&argc, argv);
return RUN_ALL_TESTS();
}
|