This is an automated email from the ASF dual-hosted git repository. lcwik pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/beam.git
commit 3c6899c001b28ff98db461df8b712c691403b67d Author: Alan Myrvold <amyrv...@google.com> AuthorDate: Wed Jan 24 11:14:57 2018 -0800 Rename TestHelper to TestScripts, it() to intent() --- release/{TestHelper.groovy => TestScripts.groovy} | 6 +++--- release/quickstart-java-direct.groovy | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/release/TestHelper.groovy b/release/TestScripts.groovy similarity index 97% rename from release/TestHelper.groovy rename to release/TestScripts.groovy index 893bf82..d8fdcec 100644 --- a/release/TestHelper.groovy +++ b/release/TestScripts.groovy @@ -18,10 +18,10 @@ */ /* - * Helper functions to make writing a test similar to the quickstart + * Scripting functions to make writing a test similar to the quickstart * instructions from https://beam.apache.org/get-started/quickstart-java/ */ -class TestHelper { +class TestScripts { // Global state to maintain when running the steps class var { @@ -39,7 +39,7 @@ class TestHelper { } // Just document the intention of a set of steps - def it(String desc) { + def intent(String desc) { print "\n*****\n* Test: ${desc}\n*****\n\n" } diff --git a/release/quickstart-java-direct.groovy b/release/quickstart-java-direct.groovy index 64ae33a..2ac1558 100644 --- a/release/quickstart-java-direct.groovy +++ b/release/quickstart-java-direct.groovy @@ -17,7 +17,7 @@ * limitations under the License. */ -t = new TestHelper() +t = new TestScripts() /* * Run the direct quickstart from https://beam.apache.org/get-started/quickstart-java/ @@ -25,7 +25,7 @@ t = new TestHelper() t.describe 'Run Apache Beam Java SDK Quickstart - Direct' - t.it 'Gets the WordCount Code' + t.intent 'Gets the WordCount Code' ver = System.env.snapshot_version ?: "2.3.0-SNAPSHOT" // Generate a maven project from the snapshot repository @@ -48,7 +48,7 @@ t.describe 'Run Apache Beam Java SDK Quickstart - Direct' t.run "ls src/main/java/org/apache/beam/examples/" t.see "WordCount.java" - t.it 'Runs the WordCount Code with Direct runner' + t.intent 'Runs the WordCount Code with Direct runner' // Run the workcount example with the direct runner t.run """mvn compile exec:java \ -- To stop receiving notification emails like this one, please contact lc...@apache.org.