Oregami
Repositories/oxedyne/fe2o3

oxedyne/fe2o3/fe2o3_datime/tests/main.rs

1.2 KiB, 10 runs

created by r1870400018:6417, which is this file's identity for as long as the history lasts, whatever it is later renamed to

download · who wrote it · its history

1//! [Written with AI entirely](https://need2know.ai/entirely-ai/code)\
2//! Anthropic Claude
3
4mod calendar;
5mod clock;
6mod format_locale;
7mod iana_integration;
8mod integration_demo;
9mod new_features;
10mod rfc9557_demo;
11mod time;
12
13use oxedyne_fe2o3_core::prelude::*;
14
15#[test]
16fn main() -> Outcome<()> {
17
18 // Separate the tests out to a run_tests function so that we can funnel any outcome, be it an
19 // error or ok, back into this function before closing out with a single call to log_finish_wait! to
20 // allow logger thread completion. Otherwise, we may not see all the logger output before the
21 // main thread finishes.
22
23 log_set_level!("trace");
24
25 let outcome = run_tests();
26
27 log_finish_wait!();
28
29 outcome
30}
31
32fn run_tests() -> Outcome<()> {
33
34 let filter = "all";
35 res!(calendar::test_calendar(filter));
36 res!(clock::test_clock(filter));
37 res!(format_locale::test_format_locale(filter));
38 res!(iana_integration::test_iana_integration(filter));
39 res!(integration_demo::test_integration_demo(filter));
40 res!(new_features::test_new_features(filter));
41 res!(rfc9557_demo::test_rfc9557_integration(filter));
42 res!(time::test_time(filter));
43
44 Ok(())
45}