[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(
|
||||
userspasswordtest
|
||||
SOURCES
|
||||
PasswordTests.cpp
|
||||
TestPasswordJob.cpp
|
||||
SetPasswordJob.cpp
|
||||
LIBRARIES
|
||||
${CRYPT_LIBRARIES}
|
||||
@ -53,15 +53,15 @@ calamares_add_test(
|
||||
calamares_add_test(
|
||||
userscreatetest
|
||||
SOURCES
|
||||
CreateUserTests.cpp
|
||||
TestCreateUserJob.cpp
|
||||
CreateUserJob.cpp
|
||||
Config.cpp
|
||||
)
|
||||
|
||||
calamares_add_test(
|
||||
userstest
|
||||
usershostnametest
|
||||
SOURCES
|
||||
Tests.cpp
|
||||
TestSetHostNameJob.cpp
|
||||
SetHostNameJob.cpp
|
||||
LIBRARIES
|
||||
Qt5::DBus
|
||||
|
@ -134,4 +134,4 @@ QTEST_GUILESS_MAIN( CreateUserTests )
|
||||
|
||||
#include "utils/moc-warnings.h"
|
||||
|
||||
#include "CreateUserTests.moc"
|
||||
#include "TestCreateUserJob.moc"
|
@ -18,7 +18,7 @@
|
||||
|
||||
#include "SetPasswordJob.h"
|
||||
|
||||
#include "PasswordTests.h"
|
||||
#include "TestPasswordJob.h"
|
||||
|
||||
#include <QtTest/QtTest>
|
||||
|
@ -142,4 +142,4 @@ QTEST_GUILESS_MAIN( UsersTests )
|
||||
|
||||
#include "utils/moc-warnings.h"
|
||||
|
||||
#include "Tests.moc"
|
||||
#include "TestSetHostNameJob.moc"
|
Loading…
Reference in New Issue
Block a user