-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #197 from DavidWhitlock/issue-175-javadoc-for-all-…
…visibility Address issue #175 so that when generating the Grader javadocs for projects, include class members with all visibilities. Also, add integration tests that generate and verify the Grader javadoc.
- Loading branch information
Showing
50 changed files
with
300 additions
and
0 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
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
5 changes: 5 additions & 0 deletions
5
...hetypes-parent/airline-archetype/src/test/resources/projects/javadoc/archetype.properties
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,5 @@ | ||
package=it.pkg.javadoc | ||
version=0.1-SNAPSHOT | ||
groupId=javadoc.archetype.it | ||
artifactId=javadoc | ||
grader=true |
1 change: 1 addition & 0 deletions
1
...s-parent/archetypes-parent/airline-archetype/src/test/resources/projects/javadoc/goal.txt
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 @@ | ||
javadoc:javadoc |
11 changes: 11 additions & 0 deletions
11
...ent/archetypes-parent/airline-archetype/src/test/resources/projects/javadoc/verify.groovy
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,11 @@ | ||
File buildLog = new File(basedir, "project/javadoc/build.log"); | ||
if (!buildLog.isFile()) { | ||
throw new FileNotFoundException("Couldn't find build log: " + buildLog) | ||
} | ||
|
||
String logText = buildLog.text | ||
|
||
def expectedJavaDoc = "The main class for the CS410J airline Project" | ||
if (!logText.contains(expectedJavaDoc)) { | ||
throw new IllegalStateException("Didn't find expected JavaDoc: " + expectedJavaDoc) | ||
} |
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
5 changes: 5 additions & 0 deletions
5
...pes-parent/airline-gwt-archetype/src/test/resources/projects/javadoc/archetype.properties
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,5 @@ | ||
package=it.pkg.javadoc | ||
version=0.1-SNAPSHOT | ||
groupId=javadoc.archetype.it | ||
artifactId=javadoc | ||
grader=true |
1 change: 1 addition & 0 deletions
1
...rent/archetypes-parent/airline-gwt-archetype/src/test/resources/projects/javadoc/goal.txt
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 @@ | ||
javadoc:javadoc |
11 changes: 11 additions & 0 deletions
11
...archetypes-parent/airline-gwt-archetype/src/test/resources/projects/javadoc/verify.groovy
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,11 @@ | ||
File buildLog = new File(basedir, "project/javadoc/build.log"); | ||
if (!buildLog.isFile()) { | ||
throw new FileNotFoundException("Couldn't find build log: " + buildLog) | ||
} | ||
|
||
String logText = buildLog.text | ||
|
||
def expectedJavaDoc = "A basic GWT class that makes sure that we can send an airline back" | ||
if (!logText.contains(expectedJavaDoc)) { | ||
throw new IllegalStateException("Didn't find expected JavaDoc: " + expectedJavaDoc) | ||
} |
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
5 changes: 5 additions & 0 deletions
5
...pes-parent/airline-web-archetype/src/test/resources/projects/javadoc/archetype.properties
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,5 @@ | ||
package=it.pkg.javadoc | ||
version=0.1-SNAPSHOT | ||
groupId=javadoc.archetype.it | ||
artifactId=javadoc | ||
grader=true |
1 change: 1 addition & 0 deletions
1
...rent/archetypes-parent/airline-web-archetype/src/test/resources/projects/javadoc/goal.txt
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 @@ | ||
javadoc:javadoc |
11 changes: 11 additions & 0 deletions
11
...archetypes-parent/airline-web-archetype/src/test/resources/projects/javadoc/verify.groovy
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,11 @@ | ||
File buildLog = new File(basedir, "project/javadoc/build.log"); | ||
if (!buildLog.isFile()) { | ||
throw new FileNotFoundException("Couldn't find build log: " + buildLog) | ||
} | ||
|
||
String logText = buildLog.text | ||
|
||
def expectedJavaDoc = "A helper class for accessing the rest client." | ||
if (!logText.contains(expectedJavaDoc)) { | ||
throw new IllegalStateException("Didn't find expected JavaDoc: " + expectedJavaDoc) | ||
} |
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
5 changes: 5 additions & 0 deletions
5
...etypes-parent/apptbook-archetype/src/test/resources/projects/javadoc/archetype.properties
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,5 @@ | ||
package=it.pkg.javadoc | ||
version=0.1-SNAPSHOT | ||
groupId=javadoc.archetype.it | ||
artifactId=javadoc | ||
grader=true |
1 change: 1 addition & 0 deletions
1
...-parent/archetypes-parent/apptbook-archetype/src/test/resources/projects/javadoc/goal.txt
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 @@ | ||
javadoc:javadoc |
13 changes: 13 additions & 0 deletions
13
...nt/archetypes-parent/apptbook-archetype/src/test/resources/projects/javadoc/verify.groovy
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,13 @@ | ||
package projects.javadoc | ||
|
||
File buildLog = new File(basedir, "project/javadoc/build.log"); | ||
if (!buildLog.isFile()) { | ||
throw new FileNotFoundException("Couldn't find build log: " + buildLog) | ||
} | ||
|
||
String logText = buildLog.text | ||
|
||
def expectedJavaDoc = "The main class for the CS410J appointment book Project" | ||
if (!logText.contains(expectedJavaDoc)) { | ||
throw new IllegalStateException("Didn't find expected JavaDoc: " + expectedJavaDoc) | ||
} |
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
5 changes: 5 additions & 0 deletions
5
...es-parent/apptbook-gwt-archetype/src/test/resources/projects/javadoc/archetype.properties
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,5 @@ | ||
package=it.pkg.javadoc | ||
version=0.1-SNAPSHOT | ||
groupId=javadoc.archetype.it | ||
artifactId=javadoc | ||
grader=true |
1 change: 1 addition & 0 deletions
1
...ent/archetypes-parent/apptbook-gwt-archetype/src/test/resources/projects/javadoc/goal.txt
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 @@ | ||
javadoc:javadoc |
11 changes: 11 additions & 0 deletions
11
...rchetypes-parent/apptbook-gwt-archetype/src/test/resources/projects/javadoc/verify.groovy
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,11 @@ | ||
File buildLog = new File(basedir, "project/javadoc/build.log"); | ||
if (!buildLog.isFile()) { | ||
throw new FileNotFoundException("Couldn't find build log: " + buildLog) | ||
} | ||
|
||
String logText = buildLog.text | ||
|
||
def expectedJavaDoc = "A basic GWT class that makes sure that we can send an appointment book" | ||
if (!logText.contains(expectedJavaDoc)) { | ||
throw new IllegalStateException("Didn't find expected JavaDoc: " + expectedJavaDoc) | ||
} |
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
5 changes: 5 additions & 0 deletions
5
...es-parent/apptbook-web-archetype/src/test/resources/projects/javadoc/archetype.properties
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,5 @@ | ||
package=it.pkg.javadoc | ||
version=0.1-SNAPSHOT | ||
groupId=javadoc.archetype.it | ||
artifactId=javadoc | ||
grader=true |
1 change: 1 addition & 0 deletions
1
...ent/archetypes-parent/apptbook-web-archetype/src/test/resources/projects/javadoc/goal.txt
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 @@ | ||
javadoc:javadoc |
11 changes: 11 additions & 0 deletions
11
...rchetypes-parent/apptbook-web-archetype/src/test/resources/projects/javadoc/verify.groovy
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,11 @@ | ||
File buildLog = new File(basedir, "project/javadoc/build.log"); | ||
if (!buildLog.isFile()) { | ||
throw new FileNotFoundException("Couldn't find build log: " + buildLog) | ||
} | ||
|
||
String logText = buildLog.text | ||
|
||
def expectedJavaDoc = "A helper class for accessing the rest client" | ||
if (!logText.contains(expectedJavaDoc)) { | ||
throw new IllegalStateException("Didn't find expected JavaDoc: " + expectedJavaDoc) | ||
} |
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
5 changes: 5 additions & 0 deletions
5
...types-parent/phonebill-archetype/src/test/resources/projects/javadoc/archetype.properties
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,5 @@ | ||
package=it.pkg.javadoc | ||
version=0.1-SNAPSHOT | ||
groupId=javadoc.archetype.it | ||
artifactId=javadoc | ||
grader=true |
1 change: 1 addition & 0 deletions
1
...parent/archetypes-parent/phonebill-archetype/src/test/resources/projects/javadoc/goal.txt
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 @@ | ||
javadoc:javadoc |
11 changes: 11 additions & 0 deletions
11
...t/archetypes-parent/phonebill-archetype/src/test/resources/projects/javadoc/verify.groovy
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,11 @@ | ||
File buildLog = new File(basedir, "project/javadoc/build.log"); | ||
if (!buildLog.isFile()) { | ||
throw new FileNotFoundException("Couldn't find build log: " + buildLog) | ||
} | ||
|
||
String logText = buildLog.text | ||
|
||
def expectedJavaDoc = "The main class for the CS410J Phone Bill Project" | ||
if (!logText.contains(expectedJavaDoc)) { | ||
throw new IllegalStateException("Didn't find expected JavaDoc: " + expectedJavaDoc) | ||
} |
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
5 changes: 5 additions & 0 deletions
5
...s-parent/phonebill-gwt-archetype/src/test/resources/projects/javadoc/archetype.properties
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,5 @@ | ||
package=it.pkg.javadoc | ||
version=0.1-SNAPSHOT | ||
groupId=javadoc.archetype.it | ||
artifactId=javadoc | ||
grader=true |
1 change: 1 addition & 0 deletions
1
...nt/archetypes-parent/phonebill-gwt-archetype/src/test/resources/projects/javadoc/goal.txt
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 @@ | ||
javadoc:javadoc |
11 changes: 11 additions & 0 deletions
11
...chetypes-parent/phonebill-gwt-archetype/src/test/resources/projects/javadoc/verify.groovy
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,11 @@ | ||
File buildLog = new File(basedir, "project/javadoc/build.log"); | ||
if (!buildLog.isFile()) { | ||
throw new FileNotFoundException("Couldn't find build log: " + buildLog) | ||
} | ||
|
||
String logText = buildLog.text | ||
|
||
def expectedJavaDoc = "A basic GWT class that makes sure that we can send an Phone Bill back" | ||
if (!logText.contains(expectedJavaDoc)) { | ||
throw new IllegalStateException("Didn't find expected JavaDoc: " + expectedJavaDoc) | ||
} |
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
5 changes: 5 additions & 0 deletions
5
...s-parent/phonebill-web-archetype/src/test/resources/projects/javadoc/archetype.properties
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,5 @@ | ||
package=it.pkg.javadoc | ||
version=0.1-SNAPSHOT | ||
groupId=javadoc.archetype.it | ||
artifactId=javadoc | ||
grader=true |
1 change: 1 addition & 0 deletions
1
...nt/archetypes-parent/phonebill-web-archetype/src/test/resources/projects/javadoc/goal.txt
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 @@ | ||
javadoc:javadoc |
11 changes: 11 additions & 0 deletions
11
...chetypes-parent/phonebill-web-archetype/src/test/resources/projects/javadoc/verify.groovy
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,11 @@ | ||
File buildLog = new File(basedir, "project/javadoc/build.log"); | ||
if (!buildLog.isFile()) { | ||
throw new FileNotFoundException("Couldn't find build log: " + buildLog) | ||
} | ||
|
||
String logText = buildLog.text | ||
|
||
def expectedJavaDoc = "A helper class for accessing the rest client." | ||
if (!logText.contains(expectedJavaDoc)) { | ||
throw new IllegalStateException("Didn't find expected JavaDoc: " + expectedJavaDoc) | ||
} |
Oops, something went wrong.