fuchsia_wrap_cc_test
包裝原生的 cc_test。
產生的目標可用於 fuchsia_component 中的一個依附元件。
參數
名稱 |
說明 |
預設 |
name |
這個目標名稱。 |
- |
cc_test |
現有 cc_test 的目標名稱。 |
- |
exact_cc_test_deps |
現有 cc_test 的依附元件。此一律必須 與 cc_test 的 dep 相同,以避免執行階段當機。 建議您將 cc_test 的依附元件納入考量, 然後參照 cc_test 和 fuchsia_wrap_cc_test 中的這些依附元件。 |
None |
sdk_root_label |
視需要覆寫 Fuchsia SDK 存放區的根標籤。 |
"@fuchsia_sdk" |
clang_root_label |
您可以選擇覆寫 Fuchsia Clang 存放區的根標籤。 |
"@fuchsia_clang" |
googletest_root_label |
您可以選擇覆寫 googletest 存放區的根標籤。 |
"@com_google_googletest" |
death_unittest |
這項測試是否為使用 ASSERT_DEATH 的 Gtest 單元測試。 |
False |
標籤 |
要為所有產生的目標設定的代碼。 |
[] |
kwargs |
轉送至 Fuchsia cc_test 包裝函式的引數。 |
- |
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2024-06-25 (世界標準時間)。
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"缺少我需要的資訊"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"過於複雜/步驟過多"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"過時"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻譯問題"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"示例/程式碼問題"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"容易理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"確實解決了我的問題"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]
{"lastModified": "\u4e0a\u6b21\u66f4\u65b0\u6642\u9593\uff1a2024-06-25 (\u4e16\u754c\u6a19\u6e96\u6642\u9593)\u3002"}