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 is used to isolate the test compiling on OHOS 15 #![allow(unexpected_cfgs)] 16 #![cfg(gn_test)] 17 18 mod async_buf_read; 19 mod async_buf_write; 20 mod async_dir; 21 mod async_fs; 22 mod async_pool; 23 mod async_read; 24 mod block_on; 25 mod error; 26 mod join_set; 27 mod mpsc_test; 28 mod mutex; 29 mod par_iter; 30 mod process; 31 mod pty_process; 32 mod semaphore_test; 33 mod signal; 34 mod singleton_runtime; 35 mod spawn; 36 mod spawn_blocking; 37 mod sync; 38 mod task_cancel; 39 mod tcp_test; 40 mod timer_test; 41 mod udp_test; 42