[users] Untangle tests
- name sources for tests consistently Test<something> - chase some required source changes with the renaming - name test targets consistently too
This commit is contained in:
parent
f75839340a
commit
cc1136fb0e
@ -44,7 +44,7 @@ calamares_add_plugin( users
|
|||||||
calamares_add_test(
|
calamares_add_test(
|
||||||
userspasswordtest
|
userspasswordtest
|
||||||
SOURCES
|
SOURCES
|
||||||
PasswordTests.cpp
|
TestPasswordJob.cpp
|
||||||
SetPasswordJob.cpp
|
SetPasswordJob.cpp
|
||||||
LIBRARIES
|
LIBRARIES
|
||||||
${CRYPT_LIBRARIES}
|
${CRYPT_LIBRARIES}
|
||||||
@ -53,15 +53,15 @@ calamares_add_test(
|
|||||||
calamares_add_test(
|
calamares_add_test(
|
||||||
userscreatetest
|
userscreatetest
|
||||||
SOURCES
|
SOURCES
|
||||||
CreateUserTests.cpp
|
TestCreateUserJob.cpp
|
||||||
CreateUserJob.cpp
|
CreateUserJob.cpp
|
||||||
Config.cpp
|
Config.cpp
|
||||||
)
|
)
|
||||||
|
|
||||||
calamares_add_test(
|
calamares_add_test(
|
||||||
userstest
|
usershostnametest
|
||||||
SOURCES
|
SOURCES
|
||||||
Tests.cpp
|
TestSetHostNameJob.cpp
|
||||||
SetHostNameJob.cpp
|
SetHostNameJob.cpp
|
||||||
LIBRARIES
|
LIBRARIES
|
||||||
Qt5::DBus
|
Qt5::DBus
|
||||||
|
@ -134,4 +134,4 @@ QTEST_GUILESS_MAIN( CreateUserTests )
|
|||||||
|
|
||||||
#include "utils/moc-warnings.h"
|
#include "utils/moc-warnings.h"
|
||||||
|
|
||||||
#include "CreateUserTests.moc"
|
#include "TestCreateUserJob.moc"
|
@ -18,7 +18,7 @@
|
|||||||
|
|
||||||
#include "SetPasswordJob.h"
|
#include "SetPasswordJob.h"
|
||||||
|
|
||||||
#include "PasswordTests.h"
|
#include "TestPasswordJob.h"
|
||||||
|
|
||||||
#include <QtTest/QtTest>
|
#include <QtTest/QtTest>
|
||||||
|
|
@ -142,4 +142,4 @@ QTEST_GUILESS_MAIN( UsersTests )
|
|||||||
|
|
||||||
#include "utils/moc-warnings.h"
|
#include "utils/moc-warnings.h"
|
||||||
|
|
||||||
#include "Tests.moc"
|
#include "TestSetHostNameJob.moc"
|
Loading…
Reference in New Issue
Block a user