| 68 | } |
| 69 | |
| 70 | void |
| 71 | BaseTest::registerTestPlugins() |
| 72 | { |
| 73 | _allTestPluginIDs.clear(); |
| 74 | |
| 75 | _generatorPluginID = QString::fromUtf8(PLUGINID_OFX_SENOISE); |
| 76 | _allTestPluginIDs.push_back(_generatorPluginID); |
| 77 | |
| 78 | _readOIIOPluginID = QString::fromUtf8(PLUGINID_OFX_READOIIO); |
| 79 | _allTestPluginIDs.push_back(_readOIIOPluginID); |
| 80 | |
| 81 | _writeOIIOPluginID = QString::fromUtf8(PLUGINID_OFX_WRITEOIIO); |
| 82 | _allTestPluginIDs.push_back(_writeOIIOPluginID); |
| 83 | |
| 84 | for (unsigned int i = 0; i < _allTestPluginIDs.size(); ++i) { |
| 85 | ///make sure the generic test plugin is present |
| 86 | LibraryBinary* bin = NULL; |
| 87 | try { |
| 88 | Plugin* p = appPTR->getPluginBinary(_allTestPluginIDs[i], -1, -1, false); |
| 89 | if (p) { |
| 90 | bin = p->getLibraryBinary(); |
| 91 | } |
| 92 | } catch (const std::exception & e) { |
| 93 | std::cout << e.what() << std::endl; |
| 94 | } |
| 95 | |
| 96 | ASSERT_TRUE(bin != NULL); |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | void |
| 101 | BaseTest::SetUp() |
nothing calls this directly
no test coverage detected