You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
1. Removed redundant test cases for smbd auto start since functionality
is now handled differently
2. Eliminated tests for obsolete service management methods
(startService, enableServiceAsync)
3. Simplified service checking logic tests to use enableServiceNow
directly
4. Cleaned up test cases that were testing implementation details rather
than behavior
5. Removed EnableSmbServices tests as this functionality has been
deprecated
6. Various whitespace and formatting fixes in test files
The changes reflect architectural improvements where:
1. Service management has been consolidated into simpler, more reliable
methods
2. Obsolete D-Bus interactions have been removed
3. Implementation details were over-tested compared to behavior
4. The codebase has moved away from direct SMB service manipulation
refactor: 移除过时的SMB服务测试
1. 移除了smbd自动启动的冗余测试用例,该功能现在以不同方式处理
2. 删除了过时服务管理方法(startService, enableServiceAsync)的测试
3. 简化了服务检查逻辑测试,直接使用enableServiceNow方法
4. 清理了测试实现细节而非行为的测试用例
5. 移除了EnableSmbServices测试,该功能已被弃用
6. 测试文件中各种空格和格式修正
这些变更反映了架构改进:
1. 服务管理已整合为更简单可靠的方法
2. 过时的D-Bus交互已被移除
3. 之前过度测试了实现细节而非行为
4. 代码库已转向不再直接操作SMB服务
0 commit comments