forked from unicode-org/conformance
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor ICU4X code to allow configured code by version (unicode-org#377
- Loading branch information
Showing
36 changed files
with
284 additions
and
1,166 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,4 @@ | ||
// Getting the version of ICU4X | ||
|
||
#[path = "../common/print_icu4x_versions_1_3.rs"] | ||
mod print_icu4x_versions_1_3; | ||
|
||
fn main() { | ||
print_icu4x_versions_1_3::print(); | ||
} | ||
use print_icu4x_versions_1_3::main; |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,4 @@ | ||
// Read JSON test case from standard in. | ||
// Parse to get test and parameters | ||
// Run test | ||
// Return results | ||
|
||
use std::io; | ||
|
||
mod icu { | ||
pub use ::icu::compactdecimal; | ||
pub use ::icu::displaynames; | ||
pub use ::icu::relativetime; | ||
} | ||
|
||
mod collator; | ||
mod datetimefmt; | ||
mod decimalfmt; | ||
mod displaynames; | ||
mod likelysubtags; | ||
mod listfmt; | ||
mod localenames; | ||
mod numberfmt; | ||
mod pluralrules; | ||
mod relativedatetime_fmt; | ||
|
||
#[path = "../../common/run_all_tests.rs"] | ||
mod run_all_tests; | ||
|
||
fn main() -> io::Result<()> { | ||
let executor_fns = run_all_tests::ExecutorFns { | ||
run_collation_test: collator::run_collation_test, | ||
run_datetimeformat_test: datetimefmt::run_datetimeformat_test, | ||
run_likelysubtags_test: likelysubtags::run_likelysubtags_test, | ||
run_list_fmt_test: listfmt::run_list_fmt_test, | ||
run_locale_name_test: localenames::run_locale_name_test, | ||
run_numberformat_test: numberfmt::run_numberformat_test, | ||
run_plural_rules_test: pluralrules::run_plural_rules_test, | ||
run_relativedatetimeformat_test: relativedatetime_fmt::run_relativedatetimeformat_test, | ||
}; | ||
run_all_tests::main(executor_fns) | ||
} | ||
use run_all_tests::main; |
Oops, something went wrong.