Searched refs:expected (Results 76 - 86 of 86) sorted by relevance

1234

/gem5/tests/test-progs/asmtest/src/riscv/isa/rv64ua/
H A Dlrsc.S64 # expected result is 512*ncores*(ncores+1)
/gem5/ext/pybind11/tests/
H A Dtest_class.py120 expected = (True, True, True, True, True, False, False)
121 assert m.check_instances(objects) == expected
233 # win over the expected constructor).
/gem5/ext/ply/test/
H A Dtestlex.py15 def check_expected(result,expected):
19 if isinstance(expected,str):
20 expected = expected.encode('ascii')
22 expectedlines = expected.splitlines()
H A Dtestyacc.py17 def check_expected(result,expected):
26 expectedlines = expected.splitlines()
/gem5/ext/googletest/googlemock/test/
H A Dgmock-generated-matchers_test.cc627 const vector<int> expected(a, a + GTEST_ARRAY_SIZE_(a));
628 EXPECT_THAT(test_vector, ElementsAreArray(expected));
630 EXPECT_THAT(test_vector, Not(ElementsAreArray(expected)));
675 const vector<Matcher<int> > expected(
677 EXPECT_THAT(test_vector, ElementsAreArray(expected));
679 EXPECT_THAT(test_vector, Not(ElementsAreArray(expected)));
685 const vector<int> expected(a, a + GTEST_ARRAY_SIZE_(a));
686 EXPECT_THAT(test_vector, ElementsAreArray(expected.begin(), expected.end()));
H A Dgmock-matchers_test.cc3800 // Tests that ResultOf(f, ...) compiles and works as expected when f is a
3834 // Tests that ResultOf(f, ...) compiles and works as expected when f(x)
3843 // Tests that ResultOf(f, ...) compiles and works as expected when f(x)
3869 // Tests that ResultOf(f, ...) compiles and works as expected when f(x)
3900 // Tests that ResultOf(f, ...) compiles and works as expected when f is a
3908 // Tests that ResultOf(f, ...) compiles and works as expected when f is a
3923 // Tests that ResultOf(f, ...) compiles and works as expected when f is a
4196 EXPECT_EQ("which doesn't have these expected elements: 3",
4220 "and doesn't have these expected elements: 5",
4246 EXPECT_EQ("which doesn't have these expected element
4671 vector<int> expected; local
4693 ::std::list<int> expected; local
4732 ::std::vector<int> expected; local
4747 ::std::list<int> expected; local
[all...]
H A Dgmock-actions_test.cc1332 ::std::stringstream expected, actual; local
1333 testing::internal::UniversalPrinter<const int&>::Print(n, &expected);
1335 EXPECT_EQ(expected.str(), actual.str());
/gem5/ext/googletest/googletest/test/
H A Dgtest_unittest.cc585 // Tests that encoding an invalid code-point generates the expected result.
660 // Tests that encoding an invalid code-point generates the expected result.
674 // generates the expected result.
1392 static void CompareTestPartResult(const TestPartResult& expected, argument
1394 EXPECT_EQ(expected.type(), actual.type());
1395 EXPECT_STREQ(expected.file_name(), actual.file_name());
1396 EXPECT_EQ(expected.line_number(), actual.line_number());
1397 EXPECT_STREQ(expected.summary(), actual.summary());
1398 EXPECT_STREQ(expected.message(), actual.message());
1399 EXPECT_EQ(expected
5637 CheckFlags(const Flags& expected) argument
5660 TestParsingFlags(int argc1, const CharType** argv1, int argc2, const CharType** argv2, const Flags& expected, bool should_print_help) argument
[all...]
/gem5/ext/googletest/googlemock/include/gmock/
H A Dgmock-matchers.h68 // to write "v" instead of "Eq(v)" where a Matcher is expected, which
337 // matcher is expected.
375 // matcher is expected.
1891 // The matcher's input will be compared with expected. The matcher treats two
1896 FloatingEqMatcher(FloatType expected, bool nan_eq_nan) : argument
1897 expected_(expected), nan_eq_nan_(nan_eq_nan), max_abs_error_(-1) {
1903 FloatingEqMatcher(FloatType expected, bool nan_eq_nan, argument
1905 : expected_(expected),
1916 Impl(FloatType expected, bool nan_eq_nan, FloatType max_abs_error) argument
1917 : expected_(expected),
2529 ContainerEqMatcher(const Container& expected) argument
[all...]
/gem5/ext/googletest/googletest/include/gtest/internal/
H A Dgtest-internal.h1186 #define GTEST_TEST_BOOLEAN_(expression, text, actual, expected, fail) \
1193 gtest_ar_, text, #actual, #expected).c_str())
/gem5/ext/googletest/googletest/src/
H A Dgtest.cc637 const std::string expected(type == TestPartResult::kFatalFailure ?
642 msg << "Expected: " << expected << "\n"
652 return AssertionFailure() << "Expected: " << expected << "\n"
658 return AssertionFailure() << "Expected: " << expected << " containing \""
1664 const char* expected,
1698 << "Expected: " << expr << " " << expected << ".\n"
3125 // Print failure message from the assertion (e.g. expected this and got that).
3470 // It is expected that most, if not all, of the text processed by this
4222 // about crashes - they are expected.
1663 HRESULTFailureHelper(const char* expr, const char* expected, long hr) argument

Completed in 97 milliseconds

1234