You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sources/test-core/assetsManager.cpp
+16-2Lines changed: 16 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -133,8 +133,6 @@ void testAssetManager()
133
133
{
134
134
CAGE_TESTCASE("asset manager");
135
135
136
-
//configSetUint32("cage/assets/logLevel", 2);
137
-
138
136
{
139
137
CAGE_TESTCASE("basics");
140
138
Holder<AssetsManager> man = instantiate();
@@ -368,6 +366,22 @@ void testAssetManager()
368
366
man->waitTillEmpty();
369
367
}
370
368
369
+
{
370
+
CAGE_TESTCASE("fabricated with long name");
371
+
Holder<AssetsManager> man = instantiate();
372
+
{
373
+
Holder<AssetCounter> f = systemMemory().createHolder<AssetCounter>();
374
+
man->loadValue<AssetSchemeIndexCounter, AssetCounter>(10, std::move(f), "really very very much very long long long name with a lot of text here to make sure it does not fit in the asset id string which is shorter than the string limit");
0 commit comments