Skip to content
This repository has been archived by the owner on May 26, 2020. It is now read-only.

Commit

Permalink
Add sout for CI testing
Browse files Browse the repository at this point in the history
  • Loading branch information
skiddykong committed Aug 9, 2017
1 parent 09e487b commit da35108
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public class JsonTitleAppendingGenerator implements Generator<JsonObject> {
@Override
public void run(final JsonObject jsonObject, final GeneratorConfig generatorConfig) {
try {
System.out.println("Entered JsonTitleAppendingGenerator");
Files.write(filePath(generatorConfig), asList(jsonObject.getString("value")), UTF_8, APPEND, CREATE);
} catch (IOException e) {
throw new IllegalStateException(e);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,12 @@ public class JsonFilesScanningTest {
public void shouldProcessInternalAndExternalJsonFiles() throws Exception {

List<String> recordedJsonTitles = Files.readAllLines(recordedJsonTitlesFile());

System.out.println("JsonFilesScanningTest: Printing out json-titles.txt");

recordedJsonTitles.stream()
.forEach(s -> System.out.println("JsonFilesScanningTest: Json Value Found" + s));

assertThat(recordedJsonTitles, containsInAnyOrder("one", "two"));
}

Expand Down

0 comments on commit da35108

Please sign in to comment.