1
0
mirror of https://github.com/altlinux/admc.git synced 2025-03-14 22:50:14 +03:00

370 Commits

Author SHA1 Message Date
Dmitry Degtyarev
c00f478571 add datetime edit test 2021-07-09 16:29:29 +04:00
Dmitry Degtyarev
fcebcbb836 add group type edit tests 2021-07-09 15:50:56 +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
b2d7137c82 add group scope edit tests 2021-07-09 15:22:11 +04:00
Dmitry Degtyarev
b1a7b03326 add password edit tests
remove password test from object menu tests
2021-07-09 14:32:30 +04:00
Dmitry Degtyarev
e6c77b4ab6 add expiry edit tests 2021-07-09 13:52:22 +04:00
Dmitry Degtyarev
7a5b45a067 move c++ cmake options to top cmakelists.txt
if they are in src cmakelists.txt, they don't apply to tests
fix unused var
2021-07-09 11:29:46 +04:00
Dmitry Degtyarev
3b539451c4 fix captures in non-local lambda's 2021-07-08 17:04:59 +04:00
Dmitry Degtyarev
ebbc8fe396 remove unused vars 2021-07-08 15:53:24 +04:00
Dmitry Degtyarev
017e564bba add logon computers edit
closes #217
2021-07-07 16:58:59 +04:00
Dmitry Degtyarev
b92029475c reset attribute filters before tests 2021-07-07 13:27:16 +04:00
Dmitry Degtyarev
78cdb76844 create attribute filter dialog class
add private header
rework interaction between dialog and proxy
update tests
2021-07-07 13:26:09 +04:00
Dmitry Degtyarev
21e56c21c3 use time constants
remove debug code
2021-07-02 16:53:32 +04:00
Dmitry Degtyarev
227ddff66c add tests for handling timezone
fix sign of timezone offset
2021-07-02 16:44:14 +04:00
Dmitry Degtyarev
55c2eb7eb0 add local/utc radio buttons 2021-07-02 15:15:56 +04:00
Dmitry Degtyarev
531ebb9da8 handle undefined value 2021-07-02 11:57:55 +04:00
Dmitry Degtyarev
a313ddffef add logon hours edit
initial setup
2021-07-01 16:08:19 +04:00
Dmitry Degtyarev
756efcbdc1 delete msg box after closing 2021-06-30 15:15:56 +04:00
Dmitry Degtyarev
95cdad3be4 remove old msg box closing f-ns 2021-06-30 15:13:32 +04:00
Dmitry Degtyarev
e69c43ce5b clang-format 2021-06-30 14:24:51 +04:00
Dmitry Degtyarev
5d3dbbb6d7 fix membership tab tests 2021-06-30 13:58:28 +04:00
Dmitry Degtyarev
7cc76573c6 remove redundant tests 2021-06-30 13:39:44 +04:00
Dmitry Degtyarev
7e9a4ae125 improve how test arena is selected as search base
remove ctor arg
reuse f-n from select base widget test
2021-06-30 13:29:43 +04:00
Dmitry Degtyarev
cbaf93264a add duplicate tests
use open()'ed message box instead of the static f-ns which exec() it
\ exec() blocks executation and makes testing a PITA
set match dialog's parent correctly
2021-06-30 13:09:27 +04:00
Dmitry Degtyarev
d6482181f6 fix indent 2021-06-29 18:00:21 +04:00
Dmitry Degtyarev
6b43e971c3 add tests for select object dialog 2021-06-29 17:32:54 +04:00
Dmitry Degtyarev
b47df292e4 rename find select object dialog 2021-06-29 14:16:12 +04:00
Dmitry Degtyarev
98c4263b9d remove tab() impl 2021-06-28 14:11:24 +04:00
Dmitry Degtyarev
35b9d0bd2a remove extra rename tests
not needed
complete removal of tab()
add tests to spec
2021-06-28 14:09:34 +04:00
Dmitry Degtyarev
0b8665400e remove most usages of tab()
use findChild() instead
last ones will be remove in a bit
use select_in_select_dialog() in one place
2021-06-28 13:13:51 +04:00
Dmitry Degtyarev
f30a2b7797 add member of tab tests 2021-06-25 17:03:44 +04:00
Dmitry Degtyarev
4ed733e371 remove find_button_by_name() 2021-06-25 15:35:29 +04:00
Dmitry Degtyarev
b6061b965c add members tab tests 2021-06-25 15:32:23 +04:00
Dmitry Degtyarev
9e1ddf7f03 add attributes tab apply() test 2021-06-23 11:59:20 +04:00
Dmitry Degtyarev
87604177b8 Merge branch 'master' into test-attributes-tab
# Conflicts:
#	src/admc/tabs/attributes_tab.cpp
2021-06-23 11:59:10 +04:00
Dmitry Degtyarev
dfaf42f85e add attribute tests
for loading and filtering
fix filter dialog not getting deleted
fix read only checkbox not disabling subfilters on dialog open
2021-06-11 16:09:08 +04:00
Dmitry Degtyarev
c4ceea6236 run clang-format 2021-06-10 16:34:06 +04:00
Dmitry Degtyarev
2189d5cb64 fix formatting
some stuff that can't be automatically formatted
add comma's after last list members
move opening brace for lists to it's own line
2021-06-10 16:24:59 +04:00
Dmitry Degtyarev
8daeb2fc2e remove breaks before lambda captures
so that clang-format doesn't indent the body
2021-06-10 15:41:02 +04:00
Dmitry Degtyarev
5c0dc5bbf0 implement "Can't change password" option
add adconfig arg to get_account_option() (bad, but need this)
enable this new option in account tab and create user dialog
add sid_string_to_bytes()
2021-06-09 12:45:07 +04:00
Dmitry Degtyarev
ba7ca595fe set sd control
so that security descriptor is included when searching for all
\ attributes and don't have to manually ask for it
2021-06-08 18:21:22 +04:00
Dmitry Degtyarev
6803229d41 fix apply test order 2021-06-08 15:36:41 +04:00
Dmitry Degtyarev
92d00cd968 remove unnecessary braces 2021-06-08 15:18:27 +04:00
Dmitry Degtyarev
5efc492b7e test SecurityTab::apply() 2021-06-08 15:00:33 +04:00
Dmitry Degtyarev
9359926917 complete security tab load test 2021-06-08 13:18:18 +04:00
Dmitry Degtyarev
d287541be1 improve state_is() 2021-06-08 12:45:58 +04:00
Dmitry Degtyarev
1f2bc7dc7f start working on security tab load() tests 2021-06-08 12:42:39 +04:00
Dmitry Degtyarev
e29d3d27b9 update security tab tests 2021-06-07 18:35:23 +04:00
Dmitry Degtyarev
d10cec5225 Merge branch 'master' into security-tab
# Conflicts:
#	src/adldap/samba/ndr_security.c
2021-06-07 11:53:27 +04:00
Dmitry Degtyarev
625d388a5b update copyright author lines 2021-06-07 11:51:19 +04:00