Commit 0580c084 authored by Laurent Montel's avatar Laurent Montel 😁

Add more autotest

parent bea14bc3
......@@ -18,6 +18,7 @@
*/
#include "adblockinterceptorinterfacetest.h"
#include "../adblockinterceptorinterface.h"
#include <QTest>
AdblockInterceptorInterfaceTest::AdblockInterceptorInterfaceTest(QObject *parent)
......@@ -31,4 +32,10 @@ AdblockInterceptorInterfaceTest::~AdblockInterceptorInterfaceTest()
}
void AdblockInterceptorInterfaceTest::shouldHaveDefaultValue()
{
AdblockInterceptorInterface w;
QVERIFY(!w.webEngineView());
}
QTEST_MAIN(AdblockInterceptorInterfaceTest)
......@@ -28,7 +28,8 @@ class AdblockInterceptorInterfaceTest : public QObject
public:
explicit AdblockInterceptorInterfaceTest(QObject *parent = Q_NULLPTR);
~AdblockInterceptorInterfaceTest();
private Q_SLOTS:
void shouldHaveDefaultValue();
};
#endif // ADBLOCKINTERCEPTORINTERFACETEST_H
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment