Skip to content

Commit 57f2700

Browse files
authored
Merge pull request 996icu#25178 from VitalyAnkh/master
Add tools to test the license generators
2 parents f4e8d63 + cb8caac commit 57f2700

File tree

7 files changed

+627
-0
lines changed

7 files changed

+627
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
/target
2+
**/*.rs.bk
3+
.idea/*

archived/licenses[WIP]/tools/test-gen-license/Cargo.lock

Lines changed: 301 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
[package]
2+
name = "test-gen-license"
3+
version = "0.1.0"
4+
authors = ["VitalyR <vitalyankh@gmail.com>"]
5+
edition = "2018"
6+
7+
[dependencies]
8+
assert_cmd = "0.11.1"
9+
dir-diff = "0.3.1"
10+
tempdir = "0.3.7"
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# Test for license generator tools
2+
3+
## The purpose
4+
The 999.ICU project has many(now, the number is 3) license generator tools and it seems that the number of that will continue to grow. Thus I write this test tool to validate the functionality of the tools.
5+
6+
I hope the newly added tools must add test file and pass it.
7+
8+
## Usage
9+
For example, if you would like to add a license generator tool written by `ruby`, you just need to copy the `test_go.rs` file and rename it as `test_ruby.rs`, and replace the parameter in `arg()` of the test function.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
fn main() {
2+
println!("Hello, world!");
3+
}

0 commit comments

Comments
 (0)