This repository has been archived by the owner on May 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add another rule for the integration test to find
- Loading branch information
amckenzie
committed
Jan 31, 2017
1 parent
e2fe22c
commit 9accb06
Showing
8 changed files
with
49 additions
and
22 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
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
11 changes: 0 additions & 11 deletions
11
raml-maven-plugin/src/test/java/uk/gov/justice/raml/maven/lintchecker/MockLintCheckRule.java
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
14 changes: 14 additions & 0 deletions
14
...lugin/src/test/java/uk/gov/justice/raml/maven/lintchecker/rules/FailingLintCheckRule.java
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package uk.gov.justice.raml.maven.lintchecker.rules; | ||
|
||
import uk.gov.justice.raml.maven.lintchecker.LintCheckRule; | ||
import uk.gov.justice.raml.maven.lintchecker.LintCheckerException; | ||
|
||
import org.raml.model.Raml; | ||
|
||
public class FailingLintCheckRule implements LintCheckRule { | ||
|
||
@Override | ||
public void execute(final Raml raml) throws LintCheckerException { | ||
throw new LintCheckerException("LintCheckRule applied"); | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
...in/src/test/java/uk/gov/justice/raml/maven/lintchecker/rules/SucceedingLintCheckRule.java
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package uk.gov.justice.raml.maven.lintchecker.rules; | ||
|
||
import uk.gov.justice.raml.maven.lintchecker.LintCheckRule; | ||
import uk.gov.justice.raml.maven.lintchecker.LintCheckerException; | ||
|
||
import org.raml.model.Raml; | ||
|
||
public class SucceedingLintCheckRule implements LintCheckRule { | ||
|
||
@Override | ||
public void execute(final Raml raml) throws LintCheckerException { | ||
// cool | ||
} | ||
} |
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