Home
last modified time | relevance | path

Searched refs:TestCase (Results 1 – 25 of 213) sorted by relevance

123456789

/llvm-project/libcxx/test/std/containers/sequences/
H A Dinsert_range_sequence_containers.h120 TestCase<T> constexpr EmptyContainer_EmptyRange {
125 template <> constexpr TestCase<int> EmptyContainer_EmptyRange<bool> {
129 template <class T> constexpr TestCase<T> EmptyContainer_OneElementRange;
130 template <> constexpr TestCase<int> EmptyContainer_OneElementRange<int> {
133 template <> constexpr TestCase<char> EmptyContainer_OneElementRange<char> {
136 template <> constexpr TestCase<int> EmptyContainer_OneElementRange<bool> {
140 template <class T> constexpr TestCase<T> EmptyContainer_MidRange;
141 template <> constexpr TestCase<int> EmptyContainer_MidRange<int> {
144 template <> constexpr TestCase<char> EmptyContainer_MidRange<char> {
147 template <> constexpr TestCase<int> EmptyContainer_MidRange<bool> {
[all …]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/google/
H A Dupgrade-googletest-case.cpp311 void OnTestCaseStart(const testing::TestCase &) override;
315 void OnTestCaseEnd(const testing::TestCase &) override;
321 void FooTestEventListener::OnTestCaseStart(const testing::TestCase &) {} in OnTestCaseStart() argument
326 void FooTestEventListener::OnTestCaseEnd(const testing::TestCase &) {} in OnTestCaseEnd() argument
371 virtual void OnTestCaseStart(const ::testing::TestCase &);
374 virtual void OnTestCaseEnd(const ::testing::TestCase &);
381 void FuncTestEventListener(::testing::TestCase &Case) { in FuncTestEventListener()
410 void testEventListenerCallAndReference(testing::TestCase &Case) { in testEventListenerCallAndReference()
472 testing::TestCase *current_test_case() const;
488 const testing::TestCase *GetTestCase(int) const;
[all …]
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/google/Inputs/gtest/
H A Dgtest.h18 using TestCase = TestSuite; variable
29 virtual void OnTestCaseStart(const TestCase &);
30 virtual void OnTestCaseEnd(const TestCase &);
32 virtual void OnTestSuiteStart(const TestCase &);
33 virtual void OnTestSuiteEnd(const TestCase &);
38 void OnTestCaseStart(const TestCase &) override;
39 void OnTestCaseEnd(const TestCase &) override;
41 void OnTestSuiteStart(const TestCase &) override;
42 void OnTestSuiteEnd(const TestCase &) override;
49 TestCase *current_test_case() const;
[all …]
/llvm-project/libcxx/test/libcxx/utilities/function.objects/func.require/
H A Dbullet_1_2_3.pass.cpp131 // TestCase - A test case for a single member function.
243 struct TestCase : public TestCaseImp<MemFun03, Sig, Arity, CV> {};
303 TestCase<R(), 0, Q_None>::run(); in main()
304 TestCase<R() const, 0, Q_Const>::run(); in main()
305 TestCase<R() volatile, 0, Q_Volatile>::run(); in main()
306 TestCase<R() const volatile, 0, Q_CV>::run(); in main()
307 TestCase<R(...), 0, Q_None>::run(); in main()
308 TestCase<R(...) const, 0, Q_Const>::run(); in main()
309 TestCase<R(...) volatile, 0, Q_Volatile>::run(); in main()
310 TestCase< in main()
242 struct TestCase : public TestCaseImp<MemFun03, Sig, Arity, CV> {}; global() struct
[all...]
H A Dbullet_4_5_6.pass.cpp58 struct TestCase {
61 static void run() { TestCase().doTest(); }
203 TestCase<ArgType>::run(); in main()
204 TestCase<ArgType const>::run(); in main()
205 TestCase<ArgType volatile>::run(); in main()
206 TestCase<ArgType const volatile>::run(); in main()
207 TestCase<ArgType*>::run(); in main()
57 struct TestCase { global() struct
60 runTestCase run() argument
63 TestTypeTestCase global() argument
67 doTestTestCase doTest() argument
141 runTestDispatchTestCase runTestDispatch() argument
155 runTestPropCVDispatchTestCase runTestPropCVDispatch() argument
163 runTestNoPropDispatchTestCase runTestNoPropDispatch() argument
177 runTestTestCase runTest() argument
202 runTestTestCase main() argument
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/google/Inputs/gtest/nosuite/gtest/
H A Dgtest.h14 class TestCase {};
23 virtual void OnTestCaseStart(const TestCase &);
24 virtual void OnTestCaseEnd(const TestCase &);
29 void OnTestCaseStart(const TestCase &) override;
30 void OnTestCaseEnd(const TestCase &) override;
37 TestCase *current_test_case() const;
42 const TestCase *GetTestCase(int) const;
/llvm-project/llvm/unittests/Support/
H A DDJBTest.cpp16 struct TestCase { in TEST() struct
21 static constexpr TestCase Tests[] = { in TEST()
52 for (const TestCase &T : Tests) { in TEST()
59 struct TestCase { in TEST() struct
63 static constexpr TestCase Tests[] = { in TEST()
74 for (const TestCase &T : Tests) { in TEST()
/llvm-project/libcxx/test/std/containers/container.adaptors/
H A Dpush_range_container_adaptors.h58 TestCase<T> constexpr EmptyContainer_EmptyRange {
62 template <class T> constexpr TestCase<T> EmptyContainer_OneElementRange {
66 template <class T> constexpr TestCase<T> EmptyContainer_MidRange {
72 template <class T> constexpr TestCase<T> OneElementContainer_EmptyRange {
76 template <class T> constexpr TestCase<T> OneElementContainer_OneElementRange {
80 template <class T> constexpr TestCase<T> OneElementContainer_MidRange {
86 template <class T> constexpr TestCase<T> FullContainer_EmptyRange {
90 template <class T> constexpr TestCase<T> FullContainer_OneElementRange {
94 template <class T> constexpr TestCase<T> FullContainer_MidRange {
100 template <class T> constexpr TestCase<T> FullContainer_LongRange {
/llvm-project/third-party/benchmark/test/
H A Dregister_benchmark_test.cc21 struct TestCase { struct
25 TestCase(const std::string& xname) : TestCase(xname, "") {} in TestCase() function
26 TestCase(const std::string& xname, const std::string& xlabel) in TestCase() function
45 std::vector<TestCase> ExpectedResults;
47 int AddCases(std::initializer_list<TestCase> const& v) { in AddCases()
H A Doutput_test_helper.cc23 using TestCaseList = std::vector<TestCase>;
96 void CheckCase(std::stringstream& remaining_output, TestCase const& TC, in CheckCase()
130 std::vector<TestCase> not_checks; in CheckCases()
185 struct PatternAndFn : public TestCase { // reusing TestCase for its regexes
187 : TestCase(rx), fn(std::move(fn_)) {} in PatternAndFn()
349 TestCase::TestCase(std::string re, int rule) in TestCase() function in TestCase
362 int AddCases(TestCaseID ID, std::initializer_list<TestCase> il) { in AddCases()
399 std::vector<TestCase>& output_cases; in RunOutputTests()
400 std::vector<TestCase>& error_cases; in RunOutputTests()
405 ReporterTest(const std::string& n, std::vector<TestCase>& out_tc, in RunOutputTests()
[all …]
/llvm-project/clang/tools/scan-build-py/tests/unit/
H A Dtest_clang.py13 class ClangGetVersion(unittest.TestCase):
22 class ClangGetArgumentsTest(unittest.TestCase):
45 class ClangGetCheckersTest(unittest.TestCase):
97 class ClangIsCtuCapableTest(unittest.TestCase):
103 class ClangGetTripleArchTest(unittest.TestCase):
H A Dtest_analyze.py14 class ReportDirectoryTest(unittest.TestCase):
31 class FilteringFlagsTest(unittest.TestCase):
129 class RunAnalyzerTest(unittest.TestCase):
187 class ReportFailureTest(unittest.TestCase):
236 class AnalyzerTest(unittest.TestCase):
327 class RequireDecoratorTest(unittest.TestCase):
345 class PrefixWithTest(unittest.TestCase):
355 class MergeCtuMapTest(unittest.TestCase):
402 class ExtdefMapSrcToAstTest(unittest.TestCase):
H A Dtest_compilation.py10 class CompilerTest(unittest.TestCase):
32 class SplitTest(unittest.TestCase):
103 class SourceClassifierTest(unittest.TestCase):
H A Dtest_report.py31 class ParseFileTest(unittest.TestCase):
113 class ReportMethodTest(unittest.TestCase):
125 class GetPrefixFromCompilationDatabaseTest(unittest.TestCase):
142 class MergeSarifTest(unittest.TestCase):
/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.is_symlink/
H A Dis_symlink.pass.cpp42 struct TestCase { in is_symlink_status_test() struct
46 const TestCase testCases[] = { in is_symlink_status_test()
67 struct TestCase { in static_env_test() struct
71 const TestCase testCases[] = { in static_env_test()
/llvm-project/libcxx/test/libcxx/numerics/
H A Dclamp_to_integral.pass.cpp27 struct TestCase { in test() argument
42 for (TestCase TC : TestCases) { in test()
59 struct TestCase { in test_float() argument
72 for (TestCase TC : TestCases) { in test_float()
25 struct TestCase { test() struct
26 Inputtest::TestCase test() argument
28 IsRepresentabletest::TestCase test() argument
57 struct TestCase { test_float() struct
58 Inputtest_float::TestCase test_float() argument
60 IsRepresentabletest_float::TestCase test_float() argument
/llvm-project/lldb/unittests/Language/ObjC/
H A DObjCLanguageTest.cpp19 struct TestCase { in TEST() struct
28 TestCase strict_cases[] = { in TEST()
37 TestCase lax_cases[] = { in TEST()
/llvm-project/lldb/unittests/Language/CPlusPlus/
H A DCPlusPlusLanguageTest.cpp19 struct TestCase { in TEST() struct
25 TestCase test_cases[] = { in TEST()
306 struct TestCase { in TEST() struct
311 TestCase test_cases[] = { in TEST()
/llvm-project/libc/test/src/__support/
H A Dfreelist_heap_test.cpp33 #define TEST_FOR_EACH_ALLOCATOR(TestCase, BufferSize) \
34 class LlvmLibcFreeListHeapTest##TestCase \
44 TEST_F(LlvmLibcFreeListHeapTest##TestCase, TestCase) { \
50 void LlvmLibcFreeListHeapTest##TestCase::RunTest(FreeListHeap &allocator, \
29 TEST_FOR_EACH_ALLOCATOR(TestCase,BufferSize) global() argument
/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.canonical/
H A Dcanonical.pass.cpp49 struct TestCase { in test_canonical() struct
53 TestCase(path p1, path e, path b) in test_canonical() argument
56 const TestCase testCases[] = { in test_canonical()
/llvm-project/clang/tools/scan-build-py/tests/functional/cases/
H A Dtest_from_cdb.py35 class OutputDirectoryTest(unittest.TestCase):
55 class ExitCodeTest(unittest.TestCase):
93 class OutputFormatTest(unittest.TestCase):
158 class FailureReportTest(unittest.TestCase):
172 class TitleTest(unittest.TestCase):
H A Dtest_create_cdb.py14 class CompilationDatabaseTest(unittest.TestCase):
75 class ExitCodeTest(unittest.TestCase):
93 class ResumeFeatureTest(unittest.TestCase):
124 class ResultFormattingTest(unittest.TestCase):
/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.status_known/
H A Dstatus_known.pass.cpp35 struct TestCase { in status_known_test() struct
39 const TestCase testCases[] = { in status_known_test()
/llvm-project/llvm/unittests/Target/AArch64/
H A DImmediates.cpp15 struct TestCase { struct
20 const std::initializer_list<TestCase> Tests = {
/llvm-project/libcxx/test/std/input.output/filesystems/fs.op.funcs/fs.op.permissions/
H A Dpermissions.pass.cpp96 struct TestCase { in basic_permissions_test() struct
101 TestCase(path xp, perms xperms, perms xexpect, in basic_permissions_test() function
155 struct TestCase { in test_no_resolve_symlink_on_symlink() struct
159 TestCase(perms xperms, perms xexpect, in test_no_resolve_symlink_on_symlink() argument

123456789