[PR #2550] [MERGED] Refactoring: tests #2842

Closed
opened 2026-10-15 04:05:38 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/2550
Author: @MrMirDan
Created: 5/1/2026
Status: ✅ Merged
Merged: 5/28/2026
Merged by: @vkamn

Base: dev ← Head: refactoring/tests


📝 Commits (10+)

  • 0c9b3d5 fix: AUTOMOC and AUTOUIC added
  • fb402eb update: native exports test
  • 4253272 update: export test
  • 40a3f61 update: vless serialization/deserialization test added
  • 7a84f42 update: language model and controller test
  • bccf9f5 update: sites UiController and Model test
  • 2ee792d update: sites test
  • ddb522a update: app ui model and controller test
  • 23f993e update: allowed dns ui model and controller test
  • 87c5f2a update: env vars and removed some lines

📊 Changes

23 files changed (+33 additions, -2247 deletions)

View changed files

📝 .github/workflows/deploy.yml (+1 -0)
📝 client/CMakeLists.txt (+0 -4)
📝 client/core/controllers/coreController.cpp (+2 -2)
📝 client/core/controllers/coreController.h (+30 -22)
📝 client/core/models/api/apiV2ServerConfig.cpp (+0 -4)
📝 client/core/models/api/legacyApiServerConfig.cpp (+0 -2)
📝 client/core/models/selfhosted/nativeServerConfig.cpp (+0 -4)
📝 client/core/models/selfhosted/selfHostedAdminServerConfig.cpp (+0 -4)
📝 client/core/models/selfhosted/selfHostedUserServerConfig.cpp (+0 -4)
➖ client/tests/CMakeLists.txt (+0 -145)
➖ client/tests/testAdminSelfHostedExport.cpp (+0 -147)
➖ client/tests/testComplexOperations.cpp (+0 -111)
➖ client/tests/testDefaultServerChange.cpp (+0 -128)
➖ client/tests/testMultipleImports.cpp (+0 -195)
➖ client/tests/testSelfHostedServerSetup.cpp (+0 -385)
➖ client/tests/testServerEdgeCases.cpp (+0 -114)
➖ client/tests/testServerEdit.cpp (+0 -106)
➖ client/tests/testServerRepositoryHelpers.h (+0 -93)
➖ client/tests/testServersModelSync.cpp (+0 -112)
➖ client/tests/testSettingsSignals.cpp (+0 -282)

...and 3 more files

📄 Description

No description provided


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/2550 **Author:** [@MrMirDan](https://github.com/MrMirDan) **Created:** 5/1/2026 **Status:** ✅ Merged **Merged:** 5/28/2026 **Merged by:** [@vkamn](https://github.com/vkamn) **Base:** `dev` ← **Head:** `refactoring/tests` --- ### 📝 Commits (10+) - [`0c9b3d5`](https://github.com/amnezia-vpn/amnezia-client/commit/0c9b3d5fbebb30ae37ab450ccb91d454d69e406d) fix: AUTOMOC and AUTOUIC added - [`fb402eb`](https://github.com/amnezia-vpn/amnezia-client/commit/fb402eb9c82822f1c8665df0cf71f8176360449f) update: native exports test - [`4253272`](https://github.com/amnezia-vpn/amnezia-client/commit/42532721541ef4cb95db6f330255fe4d934a2987) update: export test - [`40a3f61`](https://github.com/amnezia-vpn/amnezia-client/commit/40a3f615323901c891bb9d3a8be43a6ba4c52d44) update: vless serialization/deserialization test added - [`7a84f42`](https://github.com/amnezia-vpn/amnezia-client/commit/7a84f42d5c979514129104c2090107e565d63bd6) update: language model and controller test - [`bccf9f5`](https://github.com/amnezia-vpn/amnezia-client/commit/bccf9f5fbfc3d25fffa1c478f25903e56f9db966) update: sites UiController and Model test - [`2ee792d`](https://github.com/amnezia-vpn/amnezia-client/commit/2ee792d08803b0133599e34b0057dc903761bb60) update: sites test - [`ddb522a`](https://github.com/amnezia-vpn/amnezia-client/commit/ddb522a8d3b37b3f5ed71b6639757c62929ff34a) update: app ui model and controller test - [`23f993e`](https://github.com/amnezia-vpn/amnezia-client/commit/23f993e2e52e44882052a20ed0a29692c7d12fa3) update: allowed dns ui model and controller test - [`87c5f2a`](https://github.com/amnezia-vpn/amnezia-client/commit/87c5f2a284d07347ff22bf10be9196568322bcd7) update: env vars and removed some lines ### 📊 Changes **23 files changed** (+33 additions, -2247 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/deploy.yml` (+1 -0) 📝 `client/CMakeLists.txt` (+0 -4) 📝 `client/core/controllers/coreController.cpp` (+2 -2) 📝 `client/core/controllers/coreController.h` (+30 -22) 📝 `client/core/models/api/apiV2ServerConfig.cpp` (+0 -4) 📝 `client/core/models/api/legacyApiServerConfig.cpp` (+0 -2) 📝 `client/core/models/selfhosted/nativeServerConfig.cpp` (+0 -4) 📝 `client/core/models/selfhosted/selfHostedAdminServerConfig.cpp` (+0 -4) 📝 `client/core/models/selfhosted/selfHostedUserServerConfig.cpp` (+0 -4) ➖ `client/tests/CMakeLists.txt` (+0 -145) ➖ `client/tests/testAdminSelfHostedExport.cpp` (+0 -147) ➖ `client/tests/testComplexOperations.cpp` (+0 -111) ➖ `client/tests/testDefaultServerChange.cpp` (+0 -128) ➖ `client/tests/testMultipleImports.cpp` (+0 -195) ➖ `client/tests/testSelfHostedServerSetup.cpp` (+0 -385) ➖ `client/tests/testServerEdgeCases.cpp` (+0 -114) ➖ `client/tests/testServerEdit.cpp` (+0 -106) ➖ `client/tests/testServerRepositoryHelpers.h` (+0 -93) ➖ `client/tests/testServersModelSync.cpp` (+0 -112) ➖ `client/tests/testSettingsSignals.cpp` (+0 -282) _...and 3 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 04:05:38 +07:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#2842
No description provided.