aboutsummaryrefslogtreecommitdiff
path: root/src/zenstore/cache/structuredcachestore.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2024-03-14 16:33:17 +0100
committerGitHub Enterprise <[email protected]>2024-03-14 16:33:17 +0100
commit45bfc721dd049193abf3b2be2aa7b097466ddbe9 (patch)
treeabb6cf119aa148972aabad730ed384c115177cf1 /src/zenstore/cache/structuredcachestore.cpp
parentchange code owners for Enterprise github user names (#7) (diff)
downloadzen-45bfc721dd049193abf3b2be2aa7b097466ddbe9.tar.xz
zen-45bfc721dd049193abf3b2be2aa7b097466ddbe9.zip
clean up test linking (#4)
- Improvement: Add zenhttp-test and zenutil-test - Improvement: Moved cachepolicy test to cachepolicy.cpp - Improvement: Renamed cachestore tests from z$ to cachestore - Improvement: Moved test linking so test for a lib is linked by <lib>-test - Improvement: Removed HttpRequestParseRelativeUri in httpstructuredcache.cpp and use the one in cacherequests.h instead
Diffstat (limited to 'src/zenstore/cache/structuredcachestore.cpp')
-rw-r--r--src/zenstore/cache/structuredcachestore.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/zenstore/cache/structuredcachestore.cpp b/src/zenstore/cache/structuredcachestore.cpp
index 7ef290cf5..daa628f77 100644
--- a/src/zenstore/cache/structuredcachestore.cpp
+++ b/src/zenstore/cache/structuredcachestore.cpp
@@ -873,7 +873,7 @@ namespace testutils {
} // namespace testutils
-TEST_CASE("z$.store")
+TEST_CASE("cachestore.store")
{
ScopedTemporaryDirectory TempDir;
@@ -914,7 +914,7 @@ TEST_CASE("z$.store")
}
}
-TEST_CASE("z$.size")
+TEST_CASE("cachestore.size")
{
auto JobQueue = MakeJobQueue(1, "testqueue");
@@ -1029,7 +1029,7 @@ TEST_CASE("z$.size")
}
}
-TEST_CASE("z$.gc")
+TEST_CASE("cachestore.gc")
{
using namespace testutils;
@@ -1208,7 +1208,7 @@ TEST_CASE("z$.gc")
}
}
-TEST_CASE_TEMPLATE("z$.threadedinsert", GCV2, FalseType, TrueType) // * doctest::skip(true))
+TEST_CASE_TEMPLATE("cachestore.threadedinsert", GCV2, FalseType, TrueType) // * doctest::skip(true))
{
// for (uint32_t i = 0; i < 100; ++i)
{
@@ -1482,7 +1482,7 @@ TEST_CASE_TEMPLATE("z$.threadedinsert", GCV2, FalseType, TrueType) // * doctest:
}
}
-TEST_CASE("z$.namespaces")
+TEST_CASE("cachestore.namespaces")
{
using namespace testutils;
@@ -1550,7 +1550,7 @@ TEST_CASE("z$.namespaces")
}
}
-TEST_CASE("z$.drop.bucket")
+TEST_CASE("cachestore.drop.bucket")
{
using namespace testutils;
@@ -1625,7 +1625,7 @@ TEST_CASE("z$.drop.bucket")
}
}
-TEST_CASE("z$.drop.namespace")
+TEST_CASE("cachestore.drop.namespace")
{
using namespace testutils;
@@ -1715,7 +1715,7 @@ TEST_CASE("z$.drop.namespace")
}
}
-TEST_CASE("z$.blocked.disklayer.put")
+TEST_CASE("cachestore.blocked.disklayer.put")
{
ScopedTemporaryDirectory TempDir;
@@ -1768,7 +1768,7 @@ TEST_CASE("z$.blocked.disklayer.put")
CHECK(memcmp(NewView.GetData(), Buffer2.GetData(), NewView.GetSize()) == 0);
}
-TEST_CASE("z$.scrub")
+TEST_CASE("cachestore.scrub")
{
ScopedTemporaryDirectory TempDir;
@@ -1862,7 +1862,7 @@ TEST_CASE("z$.scrub")
CHECK(ScrubCtx.BadCids().GetSize() == 0);
}
-TEST_CASE("z$.newgc.basics")
+TEST_CASE("cachestore.newgc.basics")
{
using namespace testutils;