Blender V5.0
string_utils_tests.cc File Reference
#include "IO_string_utils.hh"
#include "testing/testing.h"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::io

Macros

#define EXPECT_STRREF_EQ(str1, str2)

Functions

 blender::io::TEST (io_common_string_utils, read_next_line)
 blender::io::TEST (io_common_string_utils, fixup_line_continuations)
static StringRef blender::io::drop_whitespace (StringRef s)
static StringRef blender::io::parse_int (StringRef s, int fallback, int &dst, bool skip_space=true)
static StringRef blender::io::parse_float (StringRef s, float fallback, float &dst, bool skip_space=true, bool require_trailing_space=false)
 blender::io::TEST (io_common_string_utils, drop_whitespace)
 blender::io::TEST (io_common_string_utils, parse_int_valid)
 blender::io::TEST (io_common_string_utils, parse_int_invalid)
 blender::io::TEST (io_common_string_utils, parse_float_valid)
 blender::io::TEST (io_common_string_utils, parse_float_invalid)

Macro Definition Documentation

◆ EXPECT_STRREF_EQ

#define EXPECT_STRREF_EQ ( str1,
str2 )
Value:
EXPECT_STREQ(str1, std::string(str2).c_str())

Definition at line 11 of file string_utils_tests.cc.

Referenced by blender::io::TEST(), blender::io::TEST(), blender::io::TEST(), blender::io::TEST(), blender::io::TEST(), and blender::io::TEST().