Searched refs:testing (Results 201 - 225 of 4428) sorted by relevance

1234567891011>>

/external/chromium_org/native_client_sdk/src/tests/sdk_util_test/
H A Dmain.cc17 class GTestEventListener : public ::testing::EmptyTestEventListener {
20 virtual void OnTestStart(const ::testing::TestInfo& test_info) {
27 const ::testing::TestPartResult& test_part_result) {
37 virtual void OnTestEnd(const ::testing::TestInfo& test_info) {
46 ::testing::InitGoogleTest(&argc, argv);
48 ::testing::UnitTest::GetInstance()->listeners()
/external/guava/guava-testlib/src/com/google/common/collect/testing/
H A DQueueTestSuiteBuilder.java17 package com.google.common.collect.testing;
19 import com.google.common.collect.testing.testers.QueueElementTester;
20 import com.google.common.collect.testing.testers.QueueOfferTester;
21 import com.google.common.collect.testing.testers.QueuePeekTester;
22 import com.google.common.collect.testing.testers.QueuePollTester;
23 import com.google.common.collect.testing.testers.QueueRemoveTester;
47 * testing a collection that's both a queue and a list, to avoid running the
/external/guava/guava-testlib/src/com/google/common/collect/testing/testers/
H A DAbstractListIndexOfTester.java17 package com.google.common.collect.testing.testers;
19 import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
20 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
22 import com.google.common.collect.testing.WrongType;
23 import com.google.common.collect.testing.features.CollectionFeature;
24 import com.google.common.collect.testing.features.CollectionSize;
H A DCollectionClearTester.java17 package com.google.common.collect.testing.testers;
19 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_CLEAR;
20 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
22 import com.google.common.collect.testing.AbstractCollectionTester;
23 import com.google.common.collect.testing.features.CollectionFeature;
24 import com.google.common.collect.testing.features.CollectionSize;
29 * {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
H A DCollectionCreationTester.java17 package com.google.common.collect.testing.testers;
19 import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
20 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
22 import com.google.common.collect.testing.AbstractCollectionTester;
23 import com.google.common.collect.testing.features.CollectionFeature;
24 import com.google.common.collect.testing.features.CollectionSize;
31 * {@link com.google.common.collect.testing.CollectionTestSuiteBuilder}.
H A DListAddAllTester.java17 package com.google.common.collect.testing.testers;
19 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD_ALL;
20 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
22 import com.google.common.collect.testing.MinimalCollection;
23 import com.google.common.collect.testing.features.CollectionFeature;
24 import com.google.common.collect.testing.features.CollectionSize;
29 * {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
H A DListIndexOfTester.java17 package com.google.common.collect.testing.testers;
19 import static com.google.common.collect.testing.features.CollectionFeature.REJECTS_DUPLICATES_AT_CREATION;
20 import static com.google.common.collect.testing.features.CollectionSize.ONE;
21 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
23 import com.google.common.collect.testing.features.CollectionFeature;
24 import com.google.common.collect.testing.features.CollectionSize;
29 * {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
H A DListLastIndexOfTester.java17 package com.google.common.collect.testing.testers;
19 import static com.google.common.collect.testing.features.CollectionFeature.REJECTS_DUPLICATES_AT_CREATION;
20 import static com.google.common.collect.testing.features.CollectionSize.ONE;
21 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
23 import com.google.common.collect.testing.features.CollectionFeature;
24 import com.google.common.collect.testing.features.CollectionSize;
29 * {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
H A DListRemoveTester.java17 package com.google.common.collect.testing.testers;
19 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_REMOVE;
20 import static com.google.common.collect.testing.features.CollectionSize.ONE;
21 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
23 import com.google.common.collect.testing.features.CollectionFeature;
24 import com.google.common.collect.testing.features.CollectionSize;
29 * {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
H A DMapClearTester.java17 package com.google.common.collect.testing.testers;
19 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
20 import static com.google.common.collect.testing.features.MapFeature.SUPPORTS_CLEAR;
22 import com.google.common.collect.testing.AbstractMapTester;
23 import com.google.common.collect.testing.features.CollectionSize;
24 import com.google.common.collect.testing.features.MapFeature;
29 * {@link com.google.common.collect.testing.MapTestSuiteBuilder}.
H A DSetAddAllTester.java17 package com.google.common.collect.testing.testers;
19 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD_ALL;
20 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
22 import com.google.common.collect.testing.MinimalCollection;
23 import com.google.common.collect.testing.features.CollectionFeature;
24 import com.google.common.collect.testing.features.CollectionSize;
29 * {@link com.google.common.collect.testing.SetTestSuiteBuilder}.
H A DSetAddTester.java17 package com.google.common.collect.testing.testers;
19 import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
20 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD;
21 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
23 import com.google.common.collect.testing.features.CollectionFeature;
24 import com.google.common.collect.testing.features.CollectionSize;
31 * {@link com.google.common.collect.testing.SetTestSuiteBuilder}.
H A DListAddTester.java17 package com.google.common.collect.testing.testers;
19 import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
20 import static com.google.common.collect.testing.features.CollectionFeature.SUPPORTS_ADD;
21 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
23 import com.google.common.collect.testing.Helpers;
24 import com.google.common.collect.testing.features.CollectionFeature;
25 import com.google.common.collect.testing.features.CollectionSize;
33 * {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
H A DListRemoveAtIndexTester.java17 package com.google.common.collect.testing.testers;
19 import static com.google.common.collect.testing.features.CollectionSize.ONE;
20 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
21 import static com.google.common.collect.testing.features.ListFeature.SUPPORTS_REMOVE_WITH_INDEX;
23 import com.google.common.collect.testing.Helpers;
24 import com.google.common.collect.testing.features.CollectionSize;
25 import com.google.common.collect.testing.features.ListFeature;
32 * {@link com.google.common.collect.testing.ListTestSuiteBuilder}.
H A DSetCreationTester.java17 package com.google.common.collect.testing.testers;
19 import static com.google.common.collect.testing.features.CollectionFeature.ALLOWS_NULL_VALUES;
20 import static com.google.common.collect.testing.features.CollectionFeature.REJECTS_DUPLICATES_AT_CREATION;
21 import static com.google.common.collect.testing.features.CollectionSize.ONE;
22 import static com.google.common.collect.testing.features.CollectionSize.ZERO;
24 import com.google.common.collect.testing.features.CollectionFeature;
25 import com.google.common.collect.testing.features.CollectionSize;
33 * {@link com.google.common.collect.testing.SetTestSuiteBuilder}.
/external/protobuf/gtest/test/
H A Dgtest-listener_test.cc47 using ::testing::AddGlobalTestEnvironment;
48 using ::testing::Environment;
49 using ::testing::InitGoogleTest;
50 using ::testing::Test;
51 using ::testing::TestCase;
52 using ::testing::TestEventListener;
53 using ::testing::TestInfo;
54 using ::testing::TestPartResult;
55 using ::testing::UnitTest;
56 using ::testing
62 namespace testing { namespace
[all...]
/external/chromium_org/testing/gtest/test/
H A Dgtest_repeat_test.cc47 namespace testing { namespace
53 } // namespace testing
55 using testing::GTEST_FLAG(death_test_style);
56 using testing::GTEST_FLAG(filter);
57 using testing::GTEST_FLAG(repeat);
61 // We need this when we are testing Google Test itself and therefore
67 if (::testing::internal::IsTrue(expected_val != actual_val)) {\
72 ::testing::internal::posix::Abort();\
74 } while (::testing::internal::AlwaysFalse())
83 class MyEnvironment : public testing
[all...]
H A Dgtest_environment_test.cc42 namespace testing { namespace
52 // For testing using global test environments.
53 class MyEnvironment : public testing::Environment {
119 testing::internal::posix::Abort();
131 testing::internal::GetUnitTestImpl()->ClearAdHocTestResult();
138 testing::InitGoogleTest(&argc, argv);
143 Check(testing::AddGlobalTestEnvironment(env) == env,
181 testing::GTEST_FLAG(filter) = "-*";
/external/gtest/test/
H A Dgtest_repeat_test.cc47 namespace testing { namespace
53 } // namespace testing
55 using testing::GTEST_FLAG(death_test_style);
56 using testing::GTEST_FLAG(filter);
57 using testing::GTEST_FLAG(repeat);
61 // We need this when we are testing Google Test itself and therefore
67 if (::testing::internal::IsTrue(expected_val != actual_val)) {\
72 ::testing::internal::posix::Abort();\
74 } while (::testing::internal::AlwaysFalse())
83 class MyEnvironment : public testing
[all...]
H A Dgtest_environment_test.cc42 namespace testing { namespace
52 // For testing using global test environments.
53 class MyEnvironment : public testing::Environment {
119 testing::internal::posix::Abort();
131 testing::internal::GetUnitTestImpl()->ClearAdHocTestResult();
138 testing::InitGoogleTest(&argc, argv);
143 Check(testing::AddGlobalTestEnvironment(env) == env,
181 testing::GTEST_FLAG(filter) = "-*";
/external/chromium_org/chrome/browser/ui/autofill/
H A Dmock_autofill_dialog_view_delegate.cc14 using testing::DefaultValue;
15 using testing::_;
16 using testing::Return;
17 using testing::ReturnRef;
63 testing::DefaultValue<content::WebContents*>::Set(contents);
67 testing::DefaultValue<Profile*>::Set(profile);
71 using testing::DefaultValue;
/external/chromium_org/content/public/test/
H A Dbrowser_test.h17 #include "testing/gtest/include/gtest/gtest.h"
28 static ::testing::TestInfo* const test_info_;\
33 ::testing::TestInfo* const GTEST_TEST_CLASS_NAME_(test_case_name, test_name)\
35 ::testing::internal::MakeAndRegisterTestInfo(\
40 new ::testing::internal::TestFactoryImpl<\
46 ::testing::internal::GetTypeId<test_fixture>())
58 ::testing::UnitTest::GetInstance()->parameterized_test_registry(). \
63 new ::testing::internal::TestMetaFactory< \
/external/chromium_org/testing/gtest/samples/
H A Dsample8_unittest.cc83 using ::testing::TestWithParam;
84 using ::testing::Bool;
85 using ::testing::Values;
86 using ::testing::Combine;
93 class PrimeTableTest : public TestWithParam< ::testing::tuple<bool, int> > {
104 bool force_on_the_fly = ::testing::get<0>(GetParam());
105 int max_precalculated = ::testing::get<1>(GetParam());
/external/chromium_org/third_party/angle/tests/preprocessor_tests/
H A Dspace_test.cpp36 public testing::WithParamInterface<char>
51 testing::ValuesIn(kSpaceChars));
58 public testing::WithParamInterface<SpaceStringParams>
76 testing::Combine(testing::ValuesIn(kSpaceChars),
77 testing::ValuesIn(kSpaceChars),
78 testing::ValuesIn(kSpaceChars)));
/external/chromium_org/base/test/
H A Dsequenced_task_runner_test_template.cc146 ::testing::AssertionResult CheckEventOrdersForEachTask(
160 return ::testing::AssertionFailure()
162 << ::testing::PrintToString(expected_order) << "; actual: "
163 << ::testing::PrintToString(task_events);
166 return ::testing::AssertionSuccess();
172 ::testing::AssertionResult CheckNoTaskRunsOverlap(
213 return ::testing::AssertionFailure()
214 << "Found event " << ::testing::PrintToString(*event)
216 << "; event dump: " << ::testing::PrintToString(events);
222 return ::testing
[all...]

Completed in 515 milliseconds

1234567891011>>