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

359 Commits

Author SHA1 Message Date
Semyon Knyazev
fd65784f34 Fix gplink test wrong order expectations 2024-02-15 20:09:22 +04:00
Semyon Knyazev
1c1e83b59d Fixed errors after DC selection.
AdInterface object's actual DC and LDAP connection member
values didn't change after PDC Emulator connection move, it's fixed.
Message about failed connection to DC stored in the settings is
also removed (because it spam after kinit in other domain).
2023-09-01 17:24:11 +04:00
Semyon Knyazev
31ef3da073 Test admc_test_gplink is fixed 2023-09-01 17:24:11 +04:00
Semyon Knyazev
d396fc078b Policy OU results widget test is temporarily removed. 2023-09-01 17:24:11 +04:00
Semyon Knyazev
fb082f998d Inherited policies tab for OU is added
Organizational unit's inherited policies are added to
corresponing tab in OU result widget. Also inherited policies
list is added to OU properties group tab.
2023-07-05 22:59:48 +04:00
Ivan A. Melnikov
e359cdfa1f chore: Apply the reset fixes generated by clang-format 2023-02-15 00:57:55 +04:00
Ivan A. Melnikov
9178e0af4b chore: Initializer list formatting
Add trailing comma for consistency.
2023-02-15 00:57:05 +04:00
Ivan A. Melnikov
65e7fc9905 chore: Sort includes
Our clang-format configuration requries that.
2023-02-14 16:06:23 +04:00
Ivan A. Melnikov
d2b39ca38f chore: Remove trailing whitespace from sources
Our clang-format config prohibits them.
2023-02-14 16:05:52 +04:00
Evgeny Sinelnikov
2caf439615 Merge remote-tracking branch 'origin/master' into sisyphus 2022-10-25 08:20:15 +04:00
Dmitry Degtyarev
b23929a989 fix test for find policy dialog
closes #366
2022-07-08 11:40:32 +04:00
Dmitry Degtyarev
387f90edb4
Merge pull request #364 from altlinux/find-policy
Find policy dialog
2022-07-06 13:51:32 +04:00
Dmitry Degtyarev
cfe017cd94 Merge branch 'release/0-10-0-test' into sisyphus 2022-06-30 15:19:51 +04:00
Dmitry Degtyarev
1c0194de97 add Gplink::get_gpo_order()
and tests
needed for other tests, not for normal usage
2022-06-27 09:53:31 +04:00
Dmitry Degtyarev
b07173bf8b improve tests for policy ou results
check gplink state in addition to checking app state
2022-06-27 09:52:19 +04:00
Dmitry Degtyarev
fe0a8148fd add more tests for policy ou results
tests for remove_link(), move_up(), move_down()
move column enum to private header so it can be shared with tests
check for policy_root validity in results widget because test
\ runs without policy tree in console
2022-06-27 09:52:12 +04:00
Dmitry Degtyarev
ee81eb7f3d add test for filter value 2022-06-24 12:19:19 +04:00
Dmitry Degtyarev
3de4631cee add test for add_filter() 2022-06-24 12:06:13 +04:00
Dmitry Degtyarev
66f915aa63 add test for policy results delete_link() 2022-06-22 16:49:46 +04:00
Dmitry Degtyarev
d28653f121 improve tests for policy ou results
check gplink state in addition to checking app state
2022-06-17 13:32:28 +04:00
Dmitry Degtyarev
273727035c add Gplink::get_gpo_order()
and tests
needed for other tests, not for normal usage
2022-06-17 13:22:23 +04:00
Dmitry Degtyarev
b238fde0f8 add more tests for policy ou results
tests for remove_link(), move_up(), move_down()
move column enum to private header so it can be shared with tests
check for policy_root validity in results widget because test
\ runs without policy tree in console
2022-06-16 16:38:41 +04:00
Dmitry Degtyarev
3d6f33e392 remove unused init_test_case() 2022-06-15 14:45:43 +04:00
Dmitry Degtyarev
e08f50d8ec Merge branch 'release/0-10-0-test' into sisyphus 2022-06-15 11:31:42 +04:00
Dmitry Degtyarev
ab4a384444 fix test for string other edit 2022-06-10 16:32:59 +04:00
Dmitry Degtyarev
64ac17bc46 remove calls to QList::toSet()
it's deprecated
2022-06-09 16:24:45 +04:00
Dmitry Degtyarev
690e66f47c fix test for policy ou results 2022-06-09 14:03:33 +04:00
Dmitry Degtyarev
982d9964ba fix tests that use string dialog
qlineedit changed to qplaintextedit
2022-06-09 14:00:39 +04:00
Dmitry Degtyarev
1312a71fa8 add test for string dialog length limit 2022-06-02 16:01:18 +04:00
Dmitry Degtyarev
8a5080f41d improve tests for string dialog
to be similar to tests for number attribute dialog
initTestCase_data() is hard to work with
2022-06-02 15:42:32 +04:00
Dmitry Degtyarev
48a4c2a1af make string attribute dialog bigger
use QPlainTextEdit instead of QLineEdit
move special case for max length of upn suffixes into utils.cpp
\ because old way won't work with QPlainTextEdit
2022-06-02 14:09:06 +04:00
Dmitry Degtyarev
7fce6acfb4 make a separate attribute dialog for numbers
basically a copy of string attribute dialog
need to separate because will be changing widget for string attribute
\ dialog to a QPlainTextEdit which is not appropriate for numbers
add test for number validation
2022-06-02 13:38:03 +04:00
kevl
3fb382a61f remove unused test_gplink_equality() 2022-05-30 11:39:49 +04:00
kevl
49a38fc4a9 change domain string in gplink test
so that it's obvious that test values do not depend on current
\ domain setup
2022-05-27 16:21:05 +04:00
kevl
6e39c33496 revert addition of adconfig to gplink test 2022-05-27 16:20:00 +04:00
kevl
9191bcbfec test Gplink::get_gpo_list()
modify gplink test to have access to adconfig
2022-05-27 15:49:46 +04:00
kevl
4943a644fa add test for policy ou results 2022-05-25 10:59:23 +04:00
Dmitry Degtyarev
7e122b2839 add dn_edit
used to be a special case of string_edit, but it's better
\ as a separate entity
add test for dn_edit
2022-04-25 15:18:19 +04:00
Dmitry Degtyarev
00f7c13d51 update license year to 2022 2022-04-06 15:59:32 +04:00
Dmitry Degtyarev
a7487655ce add tests for trimming of names
name in create dialog, rename dialog
also sam name edit
2022-04-01 17:12:10 +04:00
Dmitry Degtyarev
318d030354 add tests for all autofills 2022-04-01 17:12:07 +04:00
Dmitry Degtyarev
a16e5f2c82 add tests for empty passwords
in edit in general
and create user dialog in particular
2022-04-01 17:12:04 +04:00
Dmitry Degtyarev
2ffe76b513 add tests for select base widget 2022-04-01 17:11:59 +04:00
Dmitry Degtyarev
c04b66a67f Merge branch 'master' into release/0-9-0-test 2022-03-25 11:20:58 +04:00
Dmitry Degtyarev
6f3432294e fix password edit test 2022-03-24 13:00:48 +04:00
Dmitry Degtyarev
e04f44fb7a fix password edit test 2022-03-24 13:00:44 +04:00
Dmitry Degtyarev
a773092ae0 fix upn edit test
was using wrong suffix, which caused TEST_SUFFIX not to
\ load into combo, which meant that there was only 1 suffix
\ in the list
need 2 for testing
2022-03-24 11:13:48 +04:00
Dmitry Degtyarev
0fd79ad08c add "show password" checkbox
toggles visibility of password edits
in create user dialog and password dialog
save this setting
2022-03-22 15:28:59 +04:00
Dmitry Degtyarev
87dd079450 add "show password" checkbox
toggles visibility of password edits
in create user dialog and password dialog
save this setting
2022-03-22 15:28:52 +04:00
Dmitry Degtyarev
ffa0549d5b add tests for new creation dialogs 2022-03-16 13:51:24 +04:00