Changeset View
Changeset View
Standalone View
Standalone View
tests/gtests/blenlib/BLI_listbase_test.cc
| /* Apache License, Version 2.0 */ | /* Apache License, Version 2.0 */ | ||||
| #include "testing/testing.h" | #include "testing/testing.h" | ||||
| #include "MEM_guardedalloc.h" | #include "MEM_guardedalloc.h" | ||||
| extern "C" { | extern "C" { | ||||
| #include "BLI_array_utils.h" | #include "BLI_array_utils.h" | ||||
| #include "BLI_listbase.h" | #include "BLI_listbase.h" | ||||
| #include "BLI_string.h" | #include "BLI_string.h" | ||||
| #include "BLI_path_util.h" | #include "BLI_path_utils.h" | ||||
| #include "BLI_ressource_strings.h" | #include "BLI_ressource_strings.h" | ||||
| } | } | ||||
| /* local validation function */ | /* local validation function */ | ||||
| static bool listbase_is_valid(const ListBase *listbase) | static bool listbase_is_valid(const ListBase *listbase) | ||||
| { | { | ||||
| #define TESTFAIL(test) \ | #define TESTFAIL(test) \ | ||||
| if (!(test)) { \ | if (!(test)) { \ | ||||
| ▲ Show 20 Lines • Show All 238 Lines • Show Last 20 Lines | |||||