Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
KDE PIM Add-ons
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
PIM
KDE PIM Add-ons
Commits
0580c084
Commit
0580c084
authored
Jul 03, 2016
by
Laurent Montel
😁
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add more autotest
parent
bea14bc3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
plugins/webengineurlinterceptor/adblock/autotests/adblockinterceptorinterfacetest.cpp
...tor/adblock/autotests/adblockinterceptorinterfacetest.cpp
+7
-0
plugins/webengineurlinterceptor/adblock/autotests/adblockinterceptorinterfacetest.h
...eptor/adblock/autotests/adblockinterceptorinterfacetest.h
+2
-1
No files found.
plugins/webengineurlinterceptor/adblock/autotests/adblockinterceptorinterfacetest.cpp
View file @
0580c084
...
...
@@ -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
)
plugins/webengineurlinterceptor/adblock/autotests/adblockinterceptorinterfacetest.h
View file @
0580c084
...
...
@@ -28,7 +28,8 @@ class AdblockInterceptorInterfaceTest : public QObject
public:
explicit
AdblockInterceptorInterfaceTest
(
QObject
*
parent
=
Q_NULLPTR
);
~
AdblockInterceptorInterfaceTest
();
private
Q_SLOTS
:
void
shouldHaveDefaultValue
();
};
#endif // ADBLOCKINTERCEPTORINTERFACETEST_H
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment