summaryrefslogtreecommitdiff
path: root/test/buildtool/execution_api/local/local_api.test.cpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2022-03-24 18:12:25 +0100
committerOliver Reiche <oliver.reiche@huawei.com>2022-03-25 17:28:13 +0100
commit8aea452283f58c252f992c83dafa614d645466b2 (patch)
tree6dd0836c9260e49393db11f1fc398372b6894c80 /test/buildtool/execution_api/local/local_api.test.cpp
parent7d70ea28d8ab335928343fb10ad136c9efe4a69e (diff)
downloadjustbuild-8aea452283f58c252f992c83dafa614d645466b2.tar.gz
ExecutionApi: Add test for retrieving mixed blobs and trees
Diffstat (limited to 'test/buildtool/execution_api/local/local_api.test.cpp')
-rw-r--r--test/buildtool/execution_api/local/local_api.test.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/test/buildtool/execution_api/local/local_api.test.cpp b/test/buildtool/execution_api/local/local_api.test.cpp
index 22563084..452356f8 100644
--- a/test/buildtool/execution_api/local/local_api.test.cpp
+++ b/test/buildtool/execution_api/local/local_api.test.cpp
@@ -40,7 +40,14 @@ TEST_CASE_METHOD(HermeticLocalTestFixture,
"LocalAPI: Retrieve two identical trees to path",
"[execution_api]") {
TestRetrieveTwoIdenticalTreesToPath(
- kApiFactory, {}, "local", /*is_hermetic=*/true);
+ kApiFactory, {}, "two_trees", /*is_hermetic=*/true);
+}
+
+TEST_CASE_METHOD(HermeticLocalTestFixture,
+ "LocalAPI: Retrieve mixed blobs and trees",
+ "[execution_api]") {
+ TestRetrieveMixedBlobsAndTrees(
+ kApiFactory, {}, "blobs_and_trees", /*is_hermetic=*/true);
}
TEST_CASE_METHOD(HermeticLocalTestFixture,