Blender V5.3
BLI_listbase_test.cc File Reference
#include "testing/testing.h"
#include "MEM_guardedalloc.h"
#include "BLI_array_utils_c.hh"
#include "BLI_listbase.hh"
#include "BLI_path_utils.hh"
#include "BLI_resource_strings.h"
#include "BLI_string.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.

Macros

#define TESTFAIL(test)

Functions

static bool blender::listbase_is_valid (const ListBase *listbase)
static int blender::char_switch (char *string, char ch_src, char ch_dst)
 blender::TEST (listbase, FindLinkOrIndex)
 blender::TEST (listbase, FindLinkFromStringOrPointer)
 blender::TEST (listbase, FromLink)
 blender::TEST (listbase, SplitAfter)
 blender::TEST (listbase, EnumerateIterator)
 blender::TEST (listbase, ReversedIterator)
 blender::TEST (listbase, MutableIterator)
 blender::TEST (listbase, MutableReversedIterator)
static int blender::testsort_array_str_cmp (const void *a, const void *b)
static int blender::testsort_listbase_str_cmp (const void *a, const void *b)
static int blender::testsort_array_str_cmp_reverse (const void *a, const void *b)
static int blender::testsort_listbase_str_cmp_reverse (const void *a, const void *b)
static bool blender::testsort_listbase_array_str_cmp (ListBaseT< LinkData > *lb, char **arr, int arr_num)
static bool blender::testsort_listbase_sort_is_stable (ListBaseT< LinkData > *lb, bool forward)
 blender::TEST (listbase, Sort)

Macro Definition Documentation

◆ TESTFAIL

#define TESTFAIL ( test)
Value:
if (!(test)) { \
goto fail; \
} \
((void)0)

Referenced by blender::listbase_is_valid().