refactor: improve test infrastructure and fix OpenGL GLAD initialization
- Rename D3D12Enum.h to D3D12Enums.h for naming consistency - Fix OpenGL unit test GLAD initialization by using gladLoadGL() instead of gladLoadGLLoader(wglGetProcAddress) for fallback support - Migrate remaining tests to use gtest_discover_tests for granular test discovery (math, core, containers, memory, threading, debug, components, scene, resources, input, opengl) - Remove obsolete TEST_RESOURCES_DIR and copy_directory commands from OpenGL unit test CMakeLists (minimal/Res doesn't exist) - Update TEST_SPEC.md with performance metrics and per-module build/test commands for faster development workflow - Update CMake path references to use lowercase paths
This commit is contained in:
@@ -20,7 +20,7 @@ Threading 模块提供了一套完整的多线程编程工具,包括线程封
|
||||
|------|------|------|
|
||||
| [Mutex](mutex/mutex.md) | `Mutex.h` | 互斥锁 |
|
||||
| [SpinLock](spinlock/spinlock.md) | `SpinLock.h` | 自旋锁 |
|
||||
| [ReadWriteLock](readwritelock/readwritelock.md) | `ReadWriteLock.h` | 读写锁 |
|
||||
| [ReadWriteLock](read-write-lock/read-write-lock.md) | `ReadWriteLock.h` | 读写锁 |
|
||||
|
||||
### 线程
|
||||
|
||||
@@ -33,10 +33,10 @@ Threading 模块提供了一套完整的多线程编程工具,包括线程封
|
||||
| 组件 | 文件 | 描述 |
|
||||
|------|------|------|
|
||||
| [ITask](task/task.md) | `Task.h` | 任务基类 |
|
||||
| [LambdaTask](lambdatask/lambdatask.md) | `LambdaTask.h` | Lambda 任务封装模板 |
|
||||
| [LambdaTask](lambda-task/lambda-task.md) | `LambdaTask.h` | Lambda 任务封装模板 |
|
||||
| [TaskGroup](task-group/task-group.md) | `TaskGroup.h` | 任务组 |
|
||||
| [TaskSystem](task-system/task-system.md) | `TaskSystem.h` | 并行任务调度系统 |
|
||||
| [TaskSystemConfig](tasksystemconfig/tasksystemconfig.md) | `TaskSystemConfig.h` | 任务系统配置 |
|
||||
| [TaskSystemConfig](task-system-config/task-system-config.md) | `TaskSystemConfig.h` | 任务系统配置 |
|
||||
|
||||
## 同步原语对比
|
||||
|
||||
|
||||
Reference in New Issue
Block a user