OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:EXPECT_THROW_MSG
(Results
1 - 7
of
7
) sorted by null
/external/fmtlib/test/
format-test.cc
512
EXPECT_THROW_MSG
(w.write("{}", 1), std::runtime_error, "buffer overflow");
538
EXPECT_THROW_MSG
(format("{"), FormatError, "invalid format string");
539
EXPECT_THROW_MSG
(format("}"), FormatError, "unmatched '}' in format string");
540
EXPECT_THROW_MSG
(format("{0{}"), FormatError, "invalid format string");
558
EXPECT_THROW_MSG
(format("{"), FormatError, "invalid format string");
559
EXPECT_THROW_MSG
(format("{?}"), FormatError, "invalid format string");
560
EXPECT_THROW_MSG
(format("{0"), FormatError, "invalid format string");
561
EXPECT_THROW_MSG
(format("{0}"), FormatError, "argument index out of range");
565
EXPECT_THROW_MSG
(format(format_str), FormatError, "invalid format string");
567
EXPECT_THROW_MSG
(format(format_str), FormatError
[
all
...]
test-assert.h
45
EXPECT_THROW_MSG
(stmt, AssertionFailure, message)
gtest-extra-test.cc
84
// Tests that when
EXPECT_THROW_MSG
fails, it evaluates its message argument
88
EXPECT_THROW_MSG
(throw_exception(), std::exception, p_++), "01234");
110
// successful
EXPECT_THROW_MSG
111
EXPECT_THROW_MSG
({ // NOLINT
118
// failed
EXPECT_THROW_MSG
, throws different type
119
EXPECT_NONFATAL_FAILURE(
EXPECT_THROW_MSG
({ // NOLINT
126
// failed
EXPECT_THROW_MSG
, throws an exception with different message
127
EXPECT_NONFATAL_FAILURE(
EXPECT_THROW_MSG
({ // NOLINT
135
// failed
EXPECT_THROW_MSG
, throws nothing
137
EXPECT_THROW_MSG
(a_++, std::exception, (b_++, "test")), "throws nothing")
[
all
...]
printf-test.cc
82
EXPECT_THROW_MSG
(fmt::sprintf(format("%{}$", BIG_NUM)),
84
EXPECT_THROW_MSG
(fmt::sprintf(format("%{}$d", BIG_NUM)),
89
EXPECT_THROW_MSG
(fmt::sprintf("%1$d%", 1, 2),
91
EXPECT_THROW_MSG
(fmt::sprintf(format("%1$d%{}d", BIG_NUM), 1, 2),
93
EXPECT_THROW_MSG
(fmt::sprintf("%1$d%d", 1, 2),
96
EXPECT_THROW_MSG
(fmt::sprintf("%d%1$", 1, 2),
98
EXPECT_THROW_MSG
(fmt::sprintf(format("%d%{}$d", BIG_NUM), 1, 2),
100
EXPECT_THROW_MSG
(fmt::sprintf("%d%1$d", 1, 2),
104
EXPECT_THROW_MSG
(fmt::sprintf(format("%d%1${}d", BIG_NUM), 1, 2),
106
EXPECT_THROW_MSG
(fmt::sprintf(format("%1$d%{}d", BIG_NUM), 1, 2)
[
all
...]
ostream-test.cc
89
EXPECT_THROW_MSG
(format("{0:=5}", TestString("def")),
93
EXPECT_THROW_MSG
(format("{0:+}", TestString()),
95
EXPECT_THROW_MSG
(format("{0:-}", TestString()),
97
EXPECT_THROW_MSG
(format("{0: }", TestString()),
99
EXPECT_THROW_MSG
(format("{0:#}", TestString()),
101
EXPECT_THROW_MSG
(format("{0:05}", TestString()),
gtest-extra.h
80
#define
EXPECT_THROW_MSG
(statement, expected_exception, expected_message) \
87
EXPECT_THROW_MSG
(statement, fmt::SystemError, \
posix-mock-test.cc
286
EXPECT_THROW_MSG
(f.size(), fmt::WindowsError, message.str());
Completed in 140 milliseconds