| // Copyright 2022 The Abseil Authors. |
| // |
| // Licensed under the Apache License, Version 2.0 (the "License"); |
| // you may not use this file except in compliance with the License. |
| // You may obtain a copy of the License at |
| // |
| // https://www.apache.org/licenses/LICENSE-2.0 |
| // |
| // Unless required by applicable law or agreed to in writing, software |
| // distributed under the License is distributed on an "AS IS" BASIS, |
| // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| // See the License for the specific language governing permissions and |
| // limitations under the License. |
| |
| // To prevent compiler memory exhaustion (OOM / Killed signal terminates |
| // cc1plus) during parallel builds with GCC, the test suite instantiations have |
| // been split into multiple compilation units. |
| |
| // SKIP_ABSL_INLINE_NAMESPACE_CHECK |
| |
| #include "absl/functional/any_invocable_test.h" |
| |
| namespace absl_any_invocable_test { |
| |
| INSTANTIATE_TYPED_TEST_SUITE_P(RemoteNonMovable, AnyInvTestBasic, |
| TestParameterListRemoteNonMovable); |
| |
| INSTANTIATE_TYPED_TEST_SUITE_P(Local, AnyInvTestBasic, TestParameterListLocal); |
| |
| INSTANTIATE_TYPED_TEST_SUITE_P(RemoteNonMovable, AnyInvTestCombinatoric, |
| TestParameterListRemoteNonMovable); |
| |
| INSTANTIATE_TYPED_TEST_SUITE_P(Local, AnyInvTestCombinatoric, |
| TestParameterListLocal); |
| |
| INSTANTIATE_TYPED_TEST_SUITE_P(Local, AnyInvTestMovable, |
| TestParameterListLocal); |
| |
| INSTANTIATE_TYPED_TEST_SUITE_P(RemoteNonMovable, AnyInvTestNoexceptFalse, |
| TestParameterListRemoteNonMovable); |
| |
| INSTANTIATE_TYPED_TEST_SUITE_P(Local, AnyInvTestNoexceptFalse, |
| TestParameterListLocal); |
| |
| INSTANTIATE_TYPED_TEST_SUITE_P(RemoteNonMovable, AnyInvTestNonRvalue, |
| TestParameterListRemoteNonMovable); |
| |
| INSTANTIATE_TYPED_TEST_SUITE_P(Local, AnyInvTestNonRvalue, |
| TestParameterListLocal); |
| |
| } // namespace absl_any_invocable_test |