summaryrefslogtreecommitdiff
path: root/tests/pke-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/pke-test.cpp')
-rw-r--r--tests/pke-test.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/pke-test.cpp b/tests/pke-test.cpp
index 97694b2..4c6f560 100644
--- a/tests/pke-test.cpp
+++ b/tests/pke-test.cpp
@@ -1,12 +1,13 @@
#include "./pke-test-types.h"
-#include "./pke-test-stubs.h"
-#include "./pke-test-audio.h"
#include "./pke-test-asset-manager.h"
+#include "./pke-test-audio.h"
#include "./pke-test-dummy.h"
+#include "./pke-test-load-unload.h"
#include "./pke-test-serialization.h"
#include "./pke-test-static-ui.h"
+#include "./pke-test-stubs.h"
#include "pk.h"
#include "unistd.h"
@@ -42,6 +43,7 @@ int main(int argc, char *argv[])
pke_test_static_ui_get_group,
pke_test_serialization_get_group,
pke_test_asset_manager_get_group,
+ pke_test_load_unload_get_group,
// pke_test_audio_get_group,
NULL,
};
@@ -55,9 +57,6 @@ int main(int argc, char *argv[])
fprintf(stdout, "[pke-test]:[%s] Begin.\n", group->title);
if (group->group_setup != NULL) (group->group_setup)();
for (k = 0; k < group->n_tests; ++k) {
- struct pk_membucket *bkt = pk_mem_bucket_create("pke-test-bucket", PK_MEM_DEFAULT_BUCKET_SIZE, PK_MEMBUCKET_FLAG_NONE);
- pk_mem_bucket_set_client_mem_bucket(bkt);
- fprintf(stdout, "[pke-test]:[%s]:[%s] Begin.\n", group->title, group->tests[k].title);
pke_test_stub_init_vulkan();
if (group->test_setup != NULL) (group->test_setup)();
lj.expected_exit = 0;
@@ -76,7 +75,6 @@ int main(int argc, char *argv[])
}
if (group->test_teardown != NULL) (group->test_teardown)();
pke_test_stub_teardown_vulkan();
- pk_mem_bucket_destroy(bkt);
}
if (group->group_teardown != NULL) (group->group_teardown)();
fprintf(stdout, "[pke-test]:[%s] End. ( %s%03d%s / %03d ) Tests Completed.\n", group->title, pass_count == group->n_tests ? CLR_GREEN : CLR_RED, pass_count, CLR_WHITE, group->n_tests);