Commit a2b17332 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Rename it

parent 30a18e8f
......@@ -94,7 +94,7 @@ if (QTWEBENGINE_SUPPORT_OPTION)
viewer/webengine/mailwebengineview.cpp
viewer/webengine/mailwebenginepage.cpp
viewer/webengine/webengineaccesskey/mailwebengineaccesskey.cpp
viewer/webengine/webengineaccesskey/mailwebengineaccesskeyanchor.cpp
viewer/webengine/webengineaccesskey/webengineaccesskeyanchor.cpp
viewer/webengine/webengineaccesskey/webengineaccesskeyutils.cpp
viewer/webengine/loadexternalreferencesurlinterceptor/loadexternalreferencesurlinterceptor.cpp
viewer/webengine/cidreferencesurlinterceptor/cidreferencesurlinterceptor.cpp
......
ecm_add_test(mailwebengineaccesskeyanchortest.cpp ../mailwebengineaccesskeyanchor.cpp ../webengineaccesskeyutils.cpp
TEST_NAME mailwebengineaccesskeyanchortest
ecm_add_test(webengineaccesskeyanchortest.cpp ../webengineaccesskeyanchor.cpp ../webengineaccesskeyutils.cpp
TEST_NAME webengineaccesskeyanchortest
NAME_PREFIX "messageviewer-webengine-"
LINK_LIBRARIES Qt5::Test KF5::MessageViewer
)
ecm_add_test(mailwebengineaccesskeyanchorfromhtmltest.cpp ../mailwebengineaccesskeyanchor.cpp ../webengineaccesskeyutils.cpp
TEST_NAME mailwebengineaccesskeyanchorfromhtmltest
ecm_add_test(mailwebengineaccesskeyanchorfromhtmltest.cpp ../webengineaccesskeyanchor.cpp ../webengineaccesskeyutils.cpp
TEST_NAME webengineaccesskeyanchorfromhtmltest
NAME_PREFIX "messageviewer-webengine-"
LINK_LIBRARIES Qt5::Test KF5::MessageViewer Qt5::WebEngine Qt5::WebEngineWidgets
)
......@@ -21,7 +21,7 @@
#include <QObject>
#include <QWidget>
#include "../mailwebengineaccesskeyanchor.h"
#include "../webengineaccesskeyanchor.h"
class QWebEngineView;
class TestWebEngineAccessKey : public QWidget
{
......
......@@ -15,22 +15,22 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "mailwebengineaccesskeyanchortest.h"
#include "../mailwebengineaccesskeyanchor.h"
#include "webengineaccesskeyanchortest.h"
#include "../webengineaccesskeyanchor.h"
#include <QTest>
MailWebEngineAccessKeyAnchorTest::MailWebEngineAccessKeyAnchorTest(QObject *parent)
WebEngineAccessKeyAnchorTest::WebEngineAccessKeyAnchorTest(QObject *parent)
: QObject(parent)
{
}
MailWebEngineAccessKeyAnchorTest::~MailWebEngineAccessKeyAnchorTest()
WebEngineAccessKeyAnchorTest::~WebEngineAccessKeyAnchorTest()
{
}
void MailWebEngineAccessKeyAnchorTest::shouldReturnEmptyAccessKeyAnchor()
void WebEngineAccessKeyAnchorTest::shouldReturnEmptyAccessKeyAnchor()
{
QVariant var;
MessageViewer::WebEngineAccessKeyAnchor accessKeyAnchor(var);
......@@ -42,4 +42,4 @@ void MailWebEngineAccessKeyAnchorTest::shouldReturnEmptyAccessKeyAnchor()
QVERIFY(accessKeyAnchor.innerText().isEmpty());
}
QTEST_MAIN(MailWebEngineAccessKeyAnchorTest)
QTEST_MAIN(WebEngineAccessKeyAnchorTest)
......@@ -20,12 +20,12 @@
#include <QObject>
class MailWebEngineAccessKeyAnchorTest : public QObject
class WebEngineAccessKeyAnchorTest : public QObject
{
Q_OBJECT
public:
explicit MailWebEngineAccessKeyAnchorTest(QObject *parent = Q_NULLPTR);
~MailWebEngineAccessKeyAnchorTest();
explicit WebEngineAccessKeyAnchorTest(QObject *parent = Q_NULLPTR);
~WebEngineAccessKeyAnchorTest();
private Q_SLOTS:
void shouldReturnEmptyAccessKeyAnchor();
};
......
......@@ -16,7 +16,7 @@
*/
#include "mailwebengineaccesskey.h"
#include "mailwebengineaccesskeyanchor.h"
#include "webengineaccesskeyanchor.h"
#include "webengineaccesskeyutils.h"
#include <KActionCollection>
......
......@@ -15,7 +15,7 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
#include "mailwebengineaccesskeyanchor.h"
#include "webengineaccesskeyanchor.h"
#include <QDebug>
using namespace MessageViewer;
......
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