We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad35d80 commit 6ad626dCopy full SHA for 6ad626d
.codebuddy/rules/Build.md
@@ -8,10 +8,11 @@ alwaysApply: true
8
修改代码后,使用以下命令验证编译。必须传递 `-DPAG_BUILD_TESTS=ON` 以启用所有模块触发编译。
9
10
```bash
11
-cmake -DPAG_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug -B cmake-build-debug
12
-cmake --build cmake-build-debug --target PAGFullTest -- -j 12
+cmake -G Ninja -DPAG_BUILD_TESTS=ON -DCMAKE_BUILD_TYPE=Debug -B cmake-build-debug
+cmake --build cmake-build-debug --target PAGFullTest
13
```
14
15
+
16
## 测试框架
17
- 测试用例位于 `test/src/`,基于 Google Test 框架
18
- 测试代码可通过编译参数访问所有 private 成员,无需 friend class
.codebuddy/rules/Workflow.md
@@ -1,6 +1,6 @@
1
---
2
description: 当用户发送Github PR链接、要求审查代码、或需要提交代码、发起PR时
3
-alwaysApply: false
+alwaysApply: true
4
5
6
## 代码审查要点
0 commit comments