Searched refs:testing (Results 1 - 25 of 44) sorted by relevance

12

/openjdk10/test/fmw/gtest/include/gtest/
H A Dgtest-spi.h32 // Utilities for testing Google Test itself and code that uses Google Test
40 namespace testing { namespace
113 } // namespace testing
115 // A set of macros for testing Google Test assertions or code that's expected
144 ::testing::TestPartResultArray gtest_failures;\
145 ::testing::internal::SingleFailureChecker gtest_checker(\
146 &gtest_failures, ::testing::TestPartResult::kFatalFailure, (substr));\
148 ::testing::ScopedFakeTestPartResultReporter gtest_reporter(\
149 ::testing::ScopedFakeTestPartResultReporter:: \
153 } while (::testing
[all...]
H A Dgtest-typed-test.h44 // by a type. Remember to derive it from testing::Test.
46 class FooTest : public testing::Test {
57 typedef testing::Types<char, int, unsigned int> MyTypes;
104 // by a type. Remember to derive it from testing::Test.
106 class FooTest : public testing::Test {
140 typedef testing::Types<char, int, unsigned int> MyTypes;
166 typedef ::testing::internal::TypeList< Types >::type \
179 ::testing::internal::TypeParameterizedTest< \
181 ::testing::internal::TemplateSel< \
220 static ::testing
[all...]
H A Dgtest-death-test.h43 namespace testing { namespace
92 // ASSERT_EXIT(server.ExitNow(), ::testing::ExitedWithCode(0), "Exiting");
180 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
185 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex)
214 // The death testing framework causes this to have interesting semantics,
292 } // namespace testing
H A Dgtest.h83 namespace testing { namespace
192 // testing::AssertionResult IsEven(int n) {
194 // return testing::AssertionSuccess();
196 // return testing::AssertionFailure() << n << " is odd";
219 // testing::AssertionResult IsEven(int n) {
221 // return testing::AssertionSuccess() << n << " is even";
223 // return testing::AssertionFailure() << n << " is odd";
243 // testing::AssertionResult IsEven(const char* expr, int n) {
245 // return testing::AssertionSuccess();
247 // return testing
[all...]
H A Dgtest_pred_impl.h52 // text, and returns a testing::AssertionResult. See the definition
77 if (const ::testing::AssertionResult gtest_ar = (expression)) \
107 GTEST_ASSERT_(::testing::AssertPred1Helper(#pred, \
153 GTEST_ASSERT_(::testing::AssertPred2Helper(#pred, \
206 GTEST_ASSERT_(::testing::AssertPred3Helper(#pred, \
266 GTEST_ASSERT_(::testing::AssertPred4Helper(#pred, \
333 GTEST_ASSERT_(::testing::AssertPred5Helper(#pred, \
H A Dgtest-message.h55 void operator<<(const testing::internal::Secret&, int);
57 namespace testing { namespace
71 // testing::Message foo;
121 // namespace, but not other namespaces, including the testing
126 // assertions, testing::Message must access the custom << operator
248 } // namespace testing
/openjdk10/test/fmw/gtest/src/
H A Dgtest_main.cc36 testing::InitGoogleTest(&argc, argv);
H A Dgtest-test-part.cc45 namespace testing { namespace
110 } // namespace testing
H A Dgtest-typed-test.cc35 namespace testing { namespace
110 } // namespace testing
/openjdk10/test/fmw/gtest/include/gtest/internal/
H A Dgtest-death-test-internal.h44 namespace testing { namespace
139 // Factory interface for death tests. May be mocked out for testing.
169 ::testing::internal::FormatFileLocation(__FILE__, __LINE__).c_str(), \
172 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
174 death_test->Abort(::testing::internal::DeathTest::TEST_THREW_EXCEPTION); \
187 if (::testing::internal::AlwaysTrue()) { \
188 const ::testing::internal::RE& gtest_regex = (regex); \
189 ::testing::internal::DeathTest* gtest_dt; \
190 if (!::testing::internal::DeathTest::Create(#statement, &gtest_regex, \
195 ::testing
[all...]
H A Dgtest-internal.h79 namespace testing { namespace
133 (sizeof(::testing::internal::IsNullLiteralHelper(x)) == 1)
146 // std::runtime_error inherits from std::exception, many testing
425 // Returns the type ID of ::testing::Test. Always call this instead
426 // of GetTypeId< ::testing::Test>() to get the type ID of
427 // ::testing::Test, as the latter may give the wrong result due to a
713 typename ::testing::internal::RemoveReference<T>::type
744 typename ::testing::internal::RemoveConst<T>::type
761 typename ::testing::internal::AddReference<T>::type
1022 } // namespace testing
[all...]
H A Dgtest-string.h54 namespace testing { namespace
165 } // namespace testing
H A Dgtest-filepath.h45 namespace testing { namespace
204 } // namespace testing
H A Dgtest-port.h285 // Brings in definitions for functions used in the testing::internal::posix
785 namespace testing { namespace
816 typedef ::testing::internal::CompileAssert<(static_cast<bool>(expr))> \
1040 ::testing::internal::GTestLog(::testing::internal::GTEST_##severity, \
1062 if (::testing::internal::IsTrue(condition)) \
1129 ::testing::internal::ImplicitCast_<From*>(to);
1172 const ::std::vector<testing::internal::string>& GetInjectableArgvs();
1173 void SetInjectableArgvs(const ::std::vector<testing::internal::string>*
1177 extern ::std::vector<testing
[all...]
/openjdk10/hotspot/test/native/logging/
H A DlogTestFixture.hpp32 class LogTestFixture : public testing::Test {
H A DlogTestFixture.cpp37 ::testing::UnitTest::GetInstance()->current_test_info()->test_case_name(),
38 ::testing::UnitTest::GetInstance()->current_test_info()->name());
/openjdk10/make/
H A DUpdateBuildDocs.gmk56 $(eval $(call SetupProcessMarkdown, testing, \
57 FILES := $(DOCS_DIR)/testing.md, \
62 TARGETS += $(testing)
/openjdk10/hotspot/test/native/
H A Dunittest.hpp53 ::testing::internal::GetTypeId<test_fixture>())
59 ::testing::GTEST_FLAG(throw_on_failure) = true; \
67 ::testing::ExitedWithCode(0), \
78 ::testing::GTEST_FLAG(throw_on_failure) = true; \
85 ::testing::ExitedWithCode(1), \
100 ::testing::GTEST_FLAG(throw_on_failure) = true; \
107 ::testing::ExitedWithCode(1), \
H A DgtestMain.cpp96 class JVMInitializerListener : public ::testing::EmptyTestEventListener {
110 virtual void OnTestStart(const ::testing::TestInfo& test_info) {
194 ::testing::InitGoogleTest(&argc, argv);
195 ::testing::GTEST_FLAG(death_test_style) = "threadsafe";
200 if (::testing::internal::GTEST_FLAG(internal_run_death_test).length() > 0) {
202 const char* test_name = ::testing::GTEST_FLAG(filter).c_str();
245 ::testing::TestEventListeners& listeners = ::testing::UnitTest::GetInstance()->listeners();
/openjdk10/hotspot/test/native/memory/
H A Dtest_chunkManager.cpp44 class ChunkManagerReturnTest : public ::testing::Test {
/openjdk10/hotspot/test/native/gc/parallel/
H A Dtest_psParallelCompact.cpp32 class PSParallelCompactTest : public ::testing::Test {
/openjdk10/jdk/src/java.base/share/classes/javax/security/auth/
H A DPrivateCredentialPermission.java127 private boolean testing = false; field in class:PrivateCredentialPermission
264 * @param obj the object we are testing for equality with this object.
324 if (testing)
329 if (testing)
348 if (testing)
398 if (testing)
410 if (testing)
426 if (testing)
/openjdk10/hotspot/test/native/utilities/
H A Dtest_globalDefinitions.cpp29 static ::testing::AssertionResult testPageAddress(
41 return ::testing::AssertionSuccess();
44 return ::testing::AssertionFailure()
H A Dtest_resourceHash.cpp31 class CommonResourceHashtableTest : public ::testing::Test {
94 if (::testing::Test::HasFailure()) {
179 if (::testing::Test::HasFailure()) {
189 if (::testing::Test::HasFailure()) {
/openjdk10/hotspot/test/native/gc/g1/
H A Dtest_g1CodeCacheRemSet.cpp29 class G1CodeRootSetTest : public ::testing::Test {

Completed in 256 milliseconds

12