1 // Copyright (c) 2023 Huawei Device Co., Ltd. 2 // Licensed under the Apache License, Version 2.0 (the "License"); 3 // you may not use this file except in compliance with the License. 4 // You may obtain a copy of the License at 5 // 6 // http://www.apache.org/licenses/LICENSE-2.0 7 // 8 // Unless required by applicable law or agreed to in writing, software 9 // distributed under the License is distributed on an "AS IS" BASIS, 10 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11 // See the License for the specific language governing permissions and 12 // limitations under the License. 13 14 #![cfg(gn_test)] 15 16 mod async_buf_read; 17 mod async_buf_write; 18 mod async_dir; 19 mod async_fs; 20 mod async_pool; 21 mod async_read; 22 mod block_on; 23 mod builder; 24 mod core_affinity; 25 mod join_set; 26 mod mpsc_test; 27 mod mutex; 28 mod num_cpus; 29 mod par_iter; 30 mod semaphore_test; 31 mod singleton_runtime; 32 mod slab; 33 mod slots; 34 mod spawn; 35 mod spawn_blocking; 36 mod sync; 37 mod task_cancel; 38 mod tcp_test; 39 mod timer_test; 40 mod udp_test; 41