| /xnu-11215/tests/bounded_ptr_src/ |
| H A D | reinterpret_cast.cpp | 35 tests() in tests() function 67 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>(); 68 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>(); 69 tests</*stored*/ Derived, /*from*/ Derived volatile, /*to*/ Base volatile>(); 72 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple, /*to*/ Base1>(); 77 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ void>(); 78 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ void const>(); 79 tests</*stored*/ Derived, /*from*/ Derived volatile, /*to*/ void volatile>(); 82 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ char>(); 83 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ char const>(); [all …]
|
| H A D | ctor.convert.cpp | 44 tests() in tests() function 96 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived>(); 97 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Derived const>(); 101 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>(); 102 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>(); 103 tests</*stored*/ Derived, /*from*/ Derived volatile, /*to*/ Base volatile>(); 106 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple, /*to*/ Base1>(); 111 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple, /*to*/ Base2>(); 116 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ void>(); 117 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ void const>(); [all …]
|
| H A D | assign.convert.cpp | 43 tests() in tests() function 99 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived>(); 100 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Derived const>(); 104 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>(); 105 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>(); 106 tests</*stored*/ Derived, /*from*/ Derived volatile, /*to*/ Base volatile>(); 109 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple, /*to*/ Base1>(); 114 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple, /*to*/ Base2>(); 119 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ void>(); 120 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ void const>(); [all …]
|
| H A D | ctor.default.cpp | 17 tests() in tests() function 30 tests<T>(); 31 tests<T const>(); 32 tests<T volatile>(); 33 tests<T const volatile>();
|
| H A D | operator_bool.cpp | 17 tests() in tests() function 38 tests<T>(); 39 tests<T const>(); 40 tests<T volatile>(); 41 tests<T const volatile>();
|
| H A D | compare.equal.nullptr.cpp | 34 tests() in tests() function 64 tests<T, T>(); 65 tests<T, T const>(); 66 tests<T, T volatile>(); 67 tests<T, T const volatile>();
|
| H A D | assign.nullptr.cpp | 18 tests() in tests() function 51 tests<T, T>(); 52 tests<T, T const>(); 53 tests<T, T volatile>(); 54 tests<T, T const volatile>();
|
| H A D | ctor.nullptr.cpp | 17 tests() in tests() function 93 tests<T>(); 94 tests<T const>(); 95 tests<T volatile>(); 96 tests<T const volatile>();
|
| H A D | arith.subtract.cpp | 21 tests() in tests() function 102 tests<T, T>(); 103 tests<T, T const>(); 104 tests<T, T volatile>(); 105 tests<T, T const volatile>();
|
| H A D | ctor.begin_end.cpp | 25 tests() in tests() function 87 tests<T, T>(); 88 tests<T, T const>(); 89 tests<T, T volatile>(); 90 tests<T, T const volatile>();
|
| H A D | discard_bounds.cpp | 30 tests() in tests() function 120 tests<T, T>(); 121 tests<T, T const>(); 122 tests<T, T volatile>(); 123 tests<T, T const volatile>();
|
| H A D | arith.add.cpp | 23 tests() in tests() function 123 tests<T, T>(); 124 tests<T, T const>(); 125 tests<T, T volatile>(); 126 tests<T, T const volatile>();
|
| H A D | unsafe_discard_bounds.cpp | 33 tests() in tests() function 140 tests<T, T>(); 141 tests<T, T const>(); 142 tests<T, T volatile>(); 143 tests<T, T const volatile>();
|
| /xnu-11215/tests/intrusive_shared_ptr_src/ |
| H A D | ctor.copy.cpp | 30 tests() in tests() function 68 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived>(); 69 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived const>(); 70 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Derived const>(); 72 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>(); 73 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base const>(); 74 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>(); 76 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple, /*to*/ Base1>(); 77 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple const, /*to*/ Base1 const>(); 79 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple, /*to*/ Base2>(); [all …]
|
| H A D | assign.copy.cpp | 29 tests() in tests() function 88 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived>(); 89 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived const>(); 90 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Derived const>(); 92 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>(); 93 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base const>(); 94 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>(); 96 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple, /*to*/ Base1>(); 97 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple const, /*to*/ Base1 const>(); 99 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple, /*to*/ Base2>(); [all …]
|
| H A D | ctor.move.cpp | 31 tests() in tests() function 82 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived>(); 83 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived const>(); 84 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Derived const>(); 86 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>(); 87 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base const>(); 88 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>(); 90 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple, /*to*/ Base1>(); 91 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple const, /*to*/ Base1 const>(); 93 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple, /*to*/ Base2>(); [all …]
|
| H A D | assign.move.cpp | 30 tests() in tests() function 89 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived>(); 90 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Derived const>(); 91 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Derived const>(); 93 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>(); 94 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base const>(); 95 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>(); 97 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple, /*to*/ Base1>(); 98 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple const, /*to*/ Base1 const>(); 100 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple, /*to*/ Base2>(); [all …]
|
| H A D | cast.reinterpret.cpp | 23 tests() in tests() function 68 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>(); 69 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>(); 71 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ char>(); 72 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ char const>(); 74 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Unrelated>(); 75 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Unrelated const>();
|
| H A D | cast.static.cpp | 28 tests() in tests() function 73 tests</*stored*/ Derived, /*from*/ Derived, /*to*/ Base>(); 74 tests</*stored*/ Derived, /*from*/ Derived const, /*to*/ Base const>(); 76 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple, /*to*/ Base1>(); 77 tests</*stored*/ DerivedMultiple, /*from*/ DerivedMultiple const, /*to*/ Base1 const>();
|
| /xnu-11215/osfmk/tests/ |
| H A D | README.md | 3 …tests directories osfmk/tests and bsd/tests include set of tests that run in kernel at boot-time. … 8 …* Automatically skips tests that are designed to panic kernel for on-desk testing, but run in BATs… 24 -> kernPOST_config=1_3,5_9999 # skip test#4. Will run tests 1,2,3 and 5,6 and onwards. 31 Adding a new kernel POST test is very simple. Here are a few steps and guidelines for adding tests. 33 …* There are two locations ```osfmk/tests/``` and ```bsd/tests``` where you can add tests based on … 36 ```osfmk/tests/my_tests.c optional config_xnupost``` 40 * And add to struct xnupost_test array in osfmk/tests/kernel_tests.c or bsd/tests/bsd_tests.c as 67 T_LOG("Completed mach_absolute_time tests."); 80 ## How do I run my tests in BATs? 123 There is an example use case in `osfmk/tests/kernel_tests.c :check_panic_test() and panic_test()` f… [all …]
|
| /xnu-11215/tests/safe_allocation_src/ |
| H A D | dtor.cpp | 23 tests() in tests() function 45 tests<TriviallyDestructible>(); 46 tests<TriviallyDestructible const>(); 48 tests<NonTriviallyDestructible>(); 49 tests<NonTriviallyDestructible const>();
|
| H A D | ctor.allocate_zero.cpp | 16 tests() in tests() function 34 tests<T>(); 35 tests<T const>(); 36 tests<int>(); 37 tests<int const>();
|
| H A D | operator.bool.cpp | 17 tests() in tests() function 40 tests<T>(); 41 tests<T const>();
|
| /xnu-11215/doc/debugging/ |
| H A D | macro_testing.md | 8 Unit-test architecture supports two kinds of tests: 11 `tools/lldbmacros/tests/standalone_tests` 13 `tools/lldbmacros/tests/lldb_tests` 15 **Standalone** unit tests replace _lldb_ and _lldbwrap_ modules with _MagicMock_ 16 instances. All tests in this location must not depend on LLDB. 18 **LLDB** unit tests are run from LLDB's python interpreter. It is possible to 22 ## How to run tests 24 Standalone tests do not need LLDB and can be run with: 26 PYTHON=tools/lldbmacros python3 tools/lldbmacros/tests/runtest.py <kernel> 29 To run all tests (including LLDB based ones) a developer has to install [all …]
|
| /xnu-11215/tests/bounded_array_ref_src/ |
| H A D | operator.bool.cpp | 15 tests() in tests() function 36 tests<T>(); 37 tests<T const>();
|