From 557fd4631fbcfb312366980ce26a15654d229459 Mon Sep 17 00:00:00 2001 From: Greg Gibeling Date: Tue, 23 Jul 2024 09:11:38 -0700 Subject: [PATCH 1/2] G2-1610 Use test specific release tag (not branch) --- .../com/g2forge/reassert/reassert/test/IntegrationReassert.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/re-assert-test/src/test/java/com/g2forge/reassert/reassert/test/IntegrationReassert.java b/re-assert-test/src/test/java/com/g2forge/reassert/reassert/test/IntegrationReassert.java index ef6c601..ceb2645 100644 --- a/re-assert-test/src/test/java/com/g2forge/reassert/reassert/test/IntegrationReassert.java +++ b/re-assert-test/src/test/java/com/g2forge/reassert/reassert/test/IntegrationReassert.java @@ -23,7 +23,7 @@ public class IntegrationReassert { private static final TestGraph testGraph = computeTestGraph(); protected static TestGraph computeTestGraph() { - return new TestGraph(new Artifact<>(null, new GitCoordinates(null, "https://github.com/g2forge/reassert.git", "reassert-test")), HCollection.emptyList()); + return new TestGraph(new Artifact<>(null, new GitCoordinates(null, "https://github.com/g2forge/reassert.git", "0.1.0")), HCollection.emptyList()); } @Test From b106a5f2f07041fdd3e6d949ada610a384d02255 Mon Sep 17 00:00:00 2001 From: Greg Gibeling Date: Tue, 23 Jul 2024 09:48:09 -0700 Subject: [PATCH 2/2] G2-1610 Upated tests to match reassert-test release 0.1.0 --- .../reassert/test/reassert-test-complete.dot | 46 +++++++++++-------- .../reassert/test/reassert-test-licenses.dot | 11 +++-- 2 files changed, 36 insertions(+), 21 deletions(-) diff --git a/re-assert-test/src/test/java/com/g2forge/reassert/reassert/test/reassert-test-complete.dot b/re-assert-test/src/test/java/com/g2forge/reassert/reassert/test/reassert-test-complete.dot index b14f3ae..9bdec05 100644 --- a/re-assert-test/src/test/java/com/g2forge/reassert/reassert/test/reassert-test-complete.dot +++ b/re-assert-test/src/test/java/com/g2forge/reassert/reassert/test/reassert-test-complete.dot @@ -1,21 +1,31 @@ digraph reassert { Apache_2_0 [label="Apache 2.0 license"]; - com_g2forge_reassert_reassert_test_0_0_1_SNAPSHOT [label="com.g2forge.reassert:reassert-test:0.0.1-SNAPSHOT"]; - com_g2forge_reassert_reassert_test_0_0_1_SNAPSHOT_artifact [label="com.g2forge.reassert:reassert-test:0.0.1-SNAPSHOT"]; - com_g2forge_reassert_reassert_test_0_0_1_SNAPSHOT_pom [label="POM\ncom.g2forge.reassert:reassert-test:0.0.1-SNAPSHOT"]; - https___github_com_g2forge_reassert_blob_master_LICENSE___reassert_test [label="https://github.com/g2forge/reassert/blob/master/LICENSE @ reassert-test"]; - https___github_com_g2forge_reassert_blob_master_LICENSE___reassert_test_file [label="File\nhttps://github.com/g2forge/reassert/blob/master/LICENSE @ reassert-test"]; - https___github_com_g2forge_reassert_blob_master_pom_xml___reassert_test [label="https://github.com/g2forge/reassert/blob/master/pom.xml @ reassert-test"]; - https___github_com_g2forge_reassert_blob_master_pom_xml___reassert_test_file [label="File\nhttps://github.com/g2forge/reassert/blob/master/pom.xml @ reassert-test"]; - https___github_com_g2forge_reassert_git___reassert_test [label="https://github.com/g2forge/reassert.git @ reassert-test"]; - https___github_com_g2forge_reassert_git___reassert_test_artifact [label="https://github.com/g2forge/reassert.git @ reassert-test"]; - com_g2forge_reassert_reassert_test_0_0_1_SNAPSHOT_artifact -> com_g2forge_reassert_reassert_test_0_0_1_SNAPSHOT [label="coordinates"]; - https___github_com_g2forge_reassert_blob_master_LICENSE___reassert_test_file -> Apache_2_0 [label="parsed"]; - https___github_com_g2forge_reassert_blob_master_LICENSE___reassert_test_file -> https___github_com_g2forge_reassert_blob_master_LICENSE___reassert_test [label="coordinates"]; - https___github_com_g2forge_reassert_blob_master_pom_xml___reassert_test_file -> com_g2forge_reassert_reassert_test_0_0_1_SNAPSHOT_pom [label="parsed"]; - https___github_com_g2forge_reassert_blob_master_pom_xml___reassert_test_file -> https___github_com_g2forge_reassert_blob_master_pom_xml___reassert_test [label="coordinates"]; - https___github_com_g2forge_reassert_git___reassert_test_artifact -> Apache_2_0 [label="notice"]; - https___github_com_g2forge_reassert_git___reassert_test_artifact -> https___github_com_g2forge_reassert_blob_master_LICENSE___reassert_test_file [label="contains"]; - https___github_com_g2forge_reassert_git___reassert_test_artifact -> https___github_com_g2forge_reassert_blob_master_pom_xml___reassert_test_file [label="contains"]; - https___github_com_g2forge_reassert_git___reassert_test_artifact -> https___github_com_g2forge_reassert_git___reassert_test [label="coordinates"]; + MIT [label="MIT license"]; + com_g2forge_reassert_test_reassert_test_0_1_0 [label="com.g2forge.reassert.test:reassert-test:0.1.0"]; + com_g2forge_reassert_test_reassert_test_0_1_0_artifact [label="com.g2forge.reassert.test:reassert-test:0.1.0"]; + com_g2forge_reassert_test_reassert_test_0_1_0_pom [label="POM\ncom.g2forge.reassert.test:reassert-test:0.1.0"]; + https___github_com_g2forge_reassert_blob_master_LICENSE___0_1_0 [label="https://github.com/g2forge/reassert/blob/master/LICENSE @ 0.1.0"]; + https___github_com_g2forge_reassert_blob_master_LICENSE___0_1_0_file [label="File\nhttps://github.com/g2forge/reassert/blob/master/LICENSE @ 0.1.0"]; + https___github_com_g2forge_reassert_blob_master_pom_xml___0_1_0 [label="https://github.com/g2forge/reassert/blob/master/pom.xml @ 0.1.0"]; + https___github_com_g2forge_reassert_blob_master_pom_xml___0_1_0_file [label="File\nhttps://github.com/g2forge/reassert/blob/master/pom.xml @ 0.1.0"]; + https___github_com_g2forge_reassert_git___0_1_0 [label="https://github.com/g2forge/reassert.git @ 0.1.0"]; + https___github_com_g2forge_reassert_git___0_1_0_artifact [label="https://github.com/g2forge/reassert.git @ 0.1.0"]; + org_projectlombok_lombok_1_18_30 [label="org.projectlombok:lombok:1.18.30"]; + org_projectlombok_lombok_1_18_30_artifact [label="org.projectlombok:lombok:1.18.30"]; + org_projectlombok_lombok_1_18_30_jar_pom [label="POM\norg.projectlombok:lombok:1.18.30:jar"]; + com_g2forge_reassert_test_reassert_test_0_1_0_artifact -> Apache_2_0 [label="notice"]; + com_g2forge_reassert_test_reassert_test_0_1_0_artifact -> com_g2forge_reassert_test_reassert_test_0_1_0 [label="coordinates"]; + com_g2forge_reassert_test_reassert_test_0_1_0_artifact -> org_projectlombok_lombok_1_18_30_artifact [label="depends"]; + com_g2forge_reassert_test_reassert_test_0_1_0_pom -> com_g2forge_reassert_test_reassert_test_0_1_0_artifact [label="describes"]; + https___github_com_g2forge_reassert_blob_master_LICENSE___0_1_0_file -> Apache_2_0 [label="parsed"]; + https___github_com_g2forge_reassert_blob_master_LICENSE___0_1_0_file -> https___github_com_g2forge_reassert_blob_master_LICENSE___0_1_0 [label="coordinates"]; + https___github_com_g2forge_reassert_blob_master_pom_xml___0_1_0_file -> com_g2forge_reassert_test_reassert_test_0_1_0_pom [label="parsed"]; + https___github_com_g2forge_reassert_blob_master_pom_xml___0_1_0_file -> https___github_com_g2forge_reassert_blob_master_pom_xml___0_1_0 [label="coordinates"]; + https___github_com_g2forge_reassert_git___0_1_0_artifact -> Apache_2_0 [label="notice"]; + https___github_com_g2forge_reassert_git___0_1_0_artifact -> https___github_com_g2forge_reassert_blob_master_LICENSE___0_1_0_file [label="contains"]; + https___github_com_g2forge_reassert_git___0_1_0_artifact -> https___github_com_g2forge_reassert_blob_master_pom_xml___0_1_0_file [label="contains"]; + https___github_com_g2forge_reassert_git___0_1_0_artifact -> https___github_com_g2forge_reassert_git___0_1_0 [label="coordinates"]; + org_projectlombok_lombok_1_18_30_artifact -> MIT [label="notice"]; + org_projectlombok_lombok_1_18_30_artifact -> org_projectlombok_lombok_1_18_30 [label="coordinates"]; + org_projectlombok_lombok_1_18_30_jar_pom -> org_projectlombok_lombok_1_18_30_artifact [label="describes"]; } \ No newline at end of file diff --git a/re-assert-test/src/test/java/com/g2forge/reassert/reassert/test/reassert-test-licenses.dot b/re-assert-test/src/test/java/com/g2forge/reassert/reassert/test/reassert-test-licenses.dot index f0e2609..bcfc853 100644 --- a/re-assert-test/src/test/java/com/g2forge/reassert/reassert/test/reassert-test-licenses.dot +++ b/re-assert-test/src/test/java/com/g2forge/reassert/reassert/test/reassert-test-licenses.dot @@ -1,6 +1,11 @@ digraph reassert { Apache_2_0 [label="Apache 2.0 license"]; - com_g2forge_reassert_reassert_test_0_0_1_SNAPSHOT_artifact [label="com.g2forge.reassert:reassert-test:0.0.1-SNAPSHOT"]; - https___github_com_g2forge_reassert_git___reassert_test_artifact [label="https://github.com/g2forge/reassert.git @ reassert-test"]; - https___github_com_g2forge_reassert_git___reassert_test_artifact -> Apache_2_0 [label="notice"]; + MIT [label="MIT license"]; + com_g2forge_reassert_test_reassert_test_0_1_0_artifact [label="com.g2forge.reassert.test:reassert-test:0.1.0"]; + https___github_com_g2forge_reassert_git___0_1_0_artifact [label="https://github.com/g2forge/reassert.git @ 0.1.0"]; + org_projectlombok_lombok_1_18_30_artifact [label="org.projectlombok:lombok:1.18.30"]; + com_g2forge_reassert_test_reassert_test_0_1_0_artifact -> Apache_2_0 [label="notice"]; + com_g2forge_reassert_test_reassert_test_0_1_0_artifact -> org_projectlombok_lombok_1_18_30_artifact [label="depends"]; + https___github_com_g2forge_reassert_git___0_1_0_artifact -> Apache_2_0 [label="notice"]; + org_projectlombok_lombok_1_18_30_artifact -> MIT [label="notice"]; } \ No newline at end of file