Blender V5.0
BLF_tests.cc File Reference
#include "BLF_api.hh"
#include "BLI_path_utils.hh"
#include "testing/testing.h"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::tests

Functions

static std::string blender::tests::font_path (std::string font_name)
static int blender::tests::open_font (std::string font_name)
static void blender::tests::close_font (int id)
 blender::tests::TEST (blf_load, load)
 blender::tests::TEST (blf_load, font_is_loaded_path)
 blender::tests::TEST (blf_load, font_is_loaded_id)
 blender::tests::TEST (blf_load, display_name_from_file)
 blender::tests::TEST (blf_load, display_name_from_id)
 blender::tests::TEST (blf_load, has_glyph)
 blender::tests::TEST (blf_metrics, get_vfont_metrics)
 blender::tests::TEST (blf_metrics, default_weight)
 blender::tests::TEST (blf_metrics, has_variable_weight)
 blender::tests::TEST (blf_metrics, variable_weight)
 blender::tests::TEST (blf_dimensions, width_max)
 blender::tests::TEST (blf_dimensions, height_max)
 blender::tests::TEST (blf_dimensions, descender)
 blender::tests::TEST (blf_dimensions, ascender)
 blender::tests::TEST (blf_dimensions, fixed_width)
 blender::tests::TEST (blf_dimensions, width_em)
 blender::tests::TEST (blf_dimensions, height_em)
 blender::tests::TEST (blf_dimensions, advance)
 blender::tests::TEST (blf_wrapping_minimal, wrap_overflow_ascii)
 blender::tests::TEST (blf_wrapping_minimal, wrap_space)
 blender::tests::TEST (blf_wrapping_minimal, wrap_linefeed)
 blender::tests::TEST (blf_wrapping_minimal, wrap_hardlimit)
 blender::tests::TEST (blf_wrapping_path, wrap_path_overflow_ascii)
 blender::tests::TEST (blf_wrapping_path, wrap_path_space)
 blender::tests::TEST (blf_wrapping_path, wrap_path_separators_underscore)
 blender::tests::TEST (blf_wrapping_path, wrap_path_separators_slash)
 blender::tests::TEST (blf_wrapping_path, wrap_path_hardlimit)
 blender::tests::TEST (blf_wrapping_typographical, wrap_typographical_thinspace)
 blender::tests::TEST (blf_wrapping_typographical, wrap_typographical_backslash)
 blender::tests::TEST (blf_wrapping_typographical, wrap_typographical_underscore)
 blender::tests::TEST (blf_wrapping_typographical, wrap_typographical_forward_slash)
 blender::tests::TEST (blf_wrapping_typographical, wrap_typographical_dash)
 blender::tests::TEST (blf_wrapping_typographical, wrap_typographical_CJK)
 blender::tests::TEST (blf_wrapping_typographical, wrap_typographical_Tibetan)
 blender::tests::TEST (blf_wrapping_typographical, wrap_typographical_hardlimit)