Skip to content

Commit 4d3e4ad

Browse files
authored
test: remove unnecessary integration tests for micronaut-test-junit5 (#880)
Signed-off-by: behnazh-w <[email protected]>
1 parent 0df909f commit 4d3e4ad

File tree

4 files changed

+5
-74
lines changed

4 files changed

+5
-74
lines changed

tests/integration/cases/micronaut-projects_micronaut-test/caffeine.dl

Lines changed: 0 additions & 22 deletions
This file was deleted.

tests/integration/cases/micronaut-projects_micronaut-test/micronaut-test.dl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@ Policy("test_policy", component_id, "") :-
1818
is_repo_url(component_id, "https://github.com/micronaut-projects/micronaut-test").
1919

2020
apply_policy_to("test_policy", component_id) :-
21-
is_component(component_id, "pkg:github.com/micronaut-projects/micronaut-test@5b81340f319a2287cb2e81ddec0154c0ea2510cf").
21+
is_component(component_id, purl),
22+
match("pkg:maven/io.micronaut.test/micronaut-test-junit5@.*", purl).

tests/integration/cases/micronaut-projects_micronaut-test/slf4j.dl

Lines changed: 0 additions & 22 deletions
This file was deleted.

tests/integration/cases/micronaut-projects_micronaut-test/test.yaml

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -13,41 +13,15 @@ steps:
1313
kind: analyze
1414
options:
1515
command_args:
16-
- -rp
17-
- https://github.com/micronaut-projects/micronaut-test
18-
- -d
19-
- 5b81340f319a2287cb2e81ddec0154c0ea2510cf
16+
- -purl
17+
- pkg:maven/io.micronaut.test/[email protected]
2018
- name: Validate JSON report schema
2119
kind: validate_schema
2220
options:
2321
kind: json_schema
2422
schema: output_json_report
25-
result: output/reports/github_com/micronaut-projects/micronaut-test/micronaut-test.json
26-
- name: Run macaron analyze qos-ch/slf4j
27-
kind: analyze
28-
options:
29-
command_args:
30-
- -rp
31-
- https://github.com/qos-ch/slf4j
32-
- -d
33-
- e9ee55cca93c2bf26f14482a9bdf961c750d2a56
34-
- name: Run macaron analyze ben-manes/caffeine
35-
kind: analyze
36-
options:
37-
command_args:
38-
- -rp
39-
- https://github.com/ben-manes/caffeine
40-
- -d
41-
- 05a040c2478341bab8a58a02b3dc1fe14d626d72
23+
result: output/reports/maven/io_micronaut_test/micronaut-test-junit5/micronaut-test-junit5.json
4224
- name: Run macaron verify-policy for micronaut-test
4325
kind: verify
4426
options:
4527
policy: micronaut-test.dl
46-
- name: Run macaron verify-policy for caffeine
47-
kind: verify
48-
options:
49-
policy: caffeine.dl
50-
- name: Run macaron verify-policy for slf4j
51-
kind: verify
52-
options:
53-
policy: slf4j.dl

0 commit comments

Comments
 (0)