Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Commit

Permalink
#86 improved IT
Browse files Browse the repository at this point in the history
  • Loading branch information
DirkMahler committed Jun 17, 2024
1 parent aff9fc6 commit 9481fb7
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
</group>

<concept id="test:MainArtifactDependency">
<description>Verifies that there's direct dependency between main artifacts of different modules.</description>
<description>Verifies that there's a direct dependency between main artifacts of different modules.</description>
<cypher><![CDATA[
MATCH
(module1:Maven:Project)-[:CREATES]->(a1:Main:Artifact),
Expand All @@ -20,7 +20,7 @@
</concept>

<concept id="test:TestArtifactDependency">
<description>Verifies that there's direct dependency between test artifacts of different modules.</description>
<description>Verifies that there's a direct dependency between test artifacts of different modules.</description>
<cypher><![CDATA[
MATCH
(module1:Maven:Project)-[:CREATES]->(a1:Test:Artifact),
Expand All @@ -35,7 +35,7 @@
</concept>

<concept id="test:TypeDependency">
<description>Verifies that there's direct dependency between classes in two different modules.</description>
<description>Verifies that there's a direct dependency between classes in two different modules.</description>
<cypher>
<![CDATA[
MATCH
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package com.buschmais.jqassistant.maven.module1;

public class ATest {
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
package com.buschmais.jqassistant.maven.module2;

import com.buschmais.jqassistant.maven.module1.ATest;

public class BTest {

private ATest aTest;

public BTest(ATest aTest) {
this.aTest = aTest;
}

}

0 comments on commit 9481fb7

Please sign in to comment.