1
0
mirror of https://github.com/altlinux/admc.git synced 2025-02-03 05:47:02 +03:00

16 Commits

Author SHA1 Message Date
Dmitry Degtyarev
f138911bd2 fix compilation of tests 2021-12-22 16:26:03 +04:00
Dmitry Degtyarev
57eb58ee52 add receivers to all lambda slots
not necessary in all cases, but better to do it everywhere
\ than do it sometimes and forget it where it's needed
reduce size of some captures
2021-11-17 12:22:24 +04:00
Dmitry Degtyarev
2b19a1a7dd rename edits and multi_edits folders 2021-11-09 16:35:31 +04:00
Dmitry Degtyarev
efbef92f20 run clang-format 2021-11-02 15:54:13 +04:00
Dmitry Degtyarev
a73a954071 rename country and upn helper files
don't contain widgets anymore
2021-10-15 13:55:41 +04:00
Dmitry Degtyarev
00c67b1809 remove AttributeEdit::add_to_layout() 2021-10-05 17:08:45 +04:00
Dmitry Degtyarev
0971a84f20 remove obsolete edit ctor's
the ones that construct widgets instead of accepting widget args
fix tests
fix incosistent order in edit ctors
2021-10-05 17:01:33 +04:00
Dmitry Degtyarev
c5ed46d8ce add alternative ctors to edits
needed for further designer rework
fix logon computers test
2021-10-05 11:54:17 +04:00
Dmitry Degtyarev
d486af4c8e improve tests
use QCOMPARE() instead of QVERIFY() where possible for better messages
remove != nullptr from QVERIFY() calls to reduce visual clutter
2021-10-01 14:23:56 +04:00
Dmitry Degtyarev
0fca55f71c make a general apply_unmodified() test
add this test to all edit tests
2021-07-14 12:35:00 +04:00
Dmitry Degtyarev
3a4461eb0e extract some common test f-ns
f-ns for adding widgets and edits to layout
show parent widget by default before every test
2021-07-09 15:44:23 +04:00
Dmitry Degtyarev
c4ceea6236 run clang-format 2021-06-10 16:34:06 +04:00
Dmitry Degtyarev
625d388a5b update copyright author lines 2021-06-07 11:51:19 +04:00
Dmitry Degtyarev
7d9a091ddc remove tab(); usage from test inits
use findChild() instead
*probably* fixes tests failing on KDE
2021-05-25 14:03:48 +04:00
Dmitry Degtyarev
bee2a3c8af speed up tests build
build admc as lib and link all tests to that lib
2021-04-22 12:55:23 +04:00
Dmitry Degtyarev
7a5a229ac9 add country edit tests 2021-04-12 18:39:28 +04:00