Skip to content

Commit 146ff9a

Browse files
Merge pull request #17 from ZoftWhere/feature/release-11.0.0
Feature 11.0.0
2 parents 665fc42 + 17c7417 commit 146ff9a

46 files changed

Lines changed: 2868 additions & 1569 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.idea/codeStyles/Project.xml

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 65 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,65 @@
1+
## Release Notes - Version 11.0.0
2+
3+
* Merged BoltResult with BoltAsserter.
4+
* Added new line definitions.
5+
* Added definition to BoltProvide to ensure system-agnostic string parsing.
6+
* Added definition to test class DelugeData to ensure system-agnostic string parsing.
7+
* Added Runner encoding to DSL.
8+
* Added Runner encoding setter to API.
9+
* Added RunnerEncoding interface.
10+
* Added Runner encoding abstract-getter to AbstractRunner class.
11+
* Added Runner encoding abstract-setter to AbstractRunner class.
12+
* Create a public static final field to Runner to signify the default Runner encoding.
13+
* Updated Deluge system.
14+
* Updated Runner test cases.
15+
* Added method for specifying the desired character encoding of Runner program input.
16+
* Updated API with method for specifying character encoding of variable-argument Runner program input.
17+
* Added error message with key "bolt.runner.variable.argument.input.null" for null input.
18+
* Updated error message to key "bolt.runner.variable.argument.input.has.null" for null containing array.
19+
* Changed error message key for variable-argument loading of Runner expected program output.
20+
* Updated error message to key ""bolt.runner.variable.argument.expected.has.null"" for null containing array.
21+
* Updated array with null element checks.
22+
* Added BoltUtility class with arrayHasNull() method.
23+
* Updated array with null element check in BoltProvideInput class.
24+
* Updated array with null element check in BoltProvideProgram class.
25+
* Updated array with null element check in BoltResult class.
26+
* Updated isOrHasNull(T[]) method in BoltTestHelper test class.
27+
* Moved DelugeData.DataType to DelugeDataType enumeration.
28+
* Renamed DelugeSettings to DelugeSetting.
29+
* Renamed DelugeResult test class to DelugeProgramOutput.
30+
* Added BoltDelugeBasicTest.
31+
* Renamed BoltDelugeTest to BoltDelugeBarrage.
32+
* Added main() method for programmer run/debug.
33+
* Removed BoltDelugeBarrage from automatically being run by Maven Surefire plugin.
34+
* Code clean up.
35+
* Rearranged static method in BoltReader.
36+
* Rearranged test cases in RunnerTest.
37+
* Updated exception variable to error in RunnerNullProgramTest.
38+
* Updated warning suppression annotations in BoltResult.
39+
* Updated warning suppression annotation in RunnerProxy test class.
40+
* Updated warning suppression annotations in DelugeBuilder test class.
41+
* Formatted code in DelugeControl test class.
42+
* Updated warning suppression annotations in AbstractUnit class.
43+
* Updated warning suppression annotations in DelugeSetting test class.
44+
* Updated import in Runner test class.
45+
* Updated import in BoltResult class.
46+
* Updated RunnerTest to use NEW_LINE.
47+
* Code formatting for DelugeProgramTypeTest with paragraphs between terminal if statements.
48+
* Code formatting for BoltTestHelper test utility class with paragraphs between terminal if statements.
49+
* Code formatting for BoltResult class with paragraphs between terminal if statements.
50+
* Code formatting for BoltReader class with paragraphs between terminal if statements.
51+
* Code formatting for BoltProvide class with paragraphs between terminal if statements.
52+
* Code formatting for BoltProvideInput class with paragraphs between terminal if statements.
53+
* Code formatting for BoltProvideProgram class with paragraphs between terminal if statements.
54+
* Updated DelugeMock test class variable names for convention.
55+
* Updated DelugeLineScannerTest test cases.
56+
* Removed escaped string test from DelugeLineScannerTest.
57+
* Updated common withScanner() method to invoke both program-first, and input-first Runner API.
58+
* Updated DelugeControl comparison.
59+
* Updated variable names for convention.
60+
* Updated comparison for single-pass for success state.
61+
* Updated DelugeMockTest test cases to check for null error.
62+
* Code clean up for DelugeProgram.
63+
* Updated variable names for convention.
64+
* Updated thrown exceptions to be of DelugeException.
65+
* Removed redundant program type checking for input-first and program-first program types.

main-java/app/zoftwhere/bolt/AbstractRunner.java

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import java.nio.charset.Charset;
44

5+
import app.zoftwhere.bolt.api.RunnerEncoding;
56
import app.zoftwhere.bolt.api.RunnerInterface;
67
import app.zoftwhere.bolt.api.RunnerPreProgram;
78
import app.zoftwhere.bolt.api.RunnerProgram;
@@ -12,11 +13,18 @@
1213
*
1314
* @since 6.0.0
1415
*/
15-
public abstract class AbstractRunner implements RunnerInterface {
16+
public abstract class AbstractRunner implements RunnerInterface, RunnerEncoding {
1617

1718
public AbstractRunner() {
1819
}
1920

21+
@Override
22+
public abstract Charset encoding();
23+
24+
@Override
25+
@SuppressWarnings("unused")
26+
public abstract RunnerInterface encoding(Charset encoding);
27+
2028
@Override
2129
public abstract RunnerProgram run(RunStandard program);
2230

@@ -44,6 +52,9 @@ public AbstractRunner() {
4452
@Override
4553
public abstract RunnerProgramInput input(String... input);
4654

55+
@Override
56+
public abstract RunnerProgramInput input(Charset charset, String... input);
57+
4758
@Override
4859
public abstract RunnerProgramInput input(InputStreamSupplier supplier);
4960

main-java/app/zoftwhere/bolt/BoltAsserter.java

Lines changed: 0 additions & 92 deletions
This file was deleted.

0 commit comments

Comments
 (0)