This is an automated email from the ASF dual-hosted git repository.

slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-changelog-plugin.git

commit dc2dbe55a6baf8e622d85615c4d03670a088549f
Author: Sylwester Lachiewicz <[email protected]>
AuthorDate: Wed Nov 25 22:36:18 2026 +0000

    Format Groovy IT scripts
    
    Formatting only: the CONVERSION-phase AST of every file is unchanged. See 
https://github.com/apache/maven-invoker-plugin/issues/811.
---
 src/it/minimal-pom-output-encoding/verify.groovy   | 21 ++++++++++-----------
 src/it/minimal-pom/verify.groovy                   | 21 ++++++++++-----------
 .../verify.groovy                                  | 21 ++++++++++-----------
 src/it/with-svnjava-maven-3/verify.groovy          | 22 +++++++++++-----------
 4 files changed, 41 insertions(+), 44 deletions(-)

diff --git a/src/it/minimal-pom-output-encoding/verify.groovy 
b/src/it/minimal-pom-output-encoding/verify.groovy
index 39776f7..c1cf13a 100644
--- a/src/it/minimal-pom-output-encoding/verify.groovy
+++ b/src/it/minimal-pom-output-encoding/verify.groovy
@@ -18,19 +18,18 @@
  * under the License.
  */
 
-File outputXML = new File( basedir, "target/changelog.xml" );
-System.out.println( "Checking for existence of xml file: " + outputXML );
-String content = outputXML.getText( "ISO-8859-1" );
-assert content.indexOf( "encoding=\"ISO-8859-1\"" ) >= 0 : "Wrong encoding 
attribute in content."
+File outputXML = new File(basedir, "target/changelog.xml")
+System.out.println("Checking for existence of xml file: " + outputXML)
+String content = outputXML.getText("ISO-8859-1")
+assert content.indexOf("encoding=\"ISO-8859-1\"") >= 0 : "Wrong encoding 
attribute in content."
 
-File siteDir = new File( basedir, "target/site" );
-System.out.println( "Checking for existence of site directory: " + siteDir );
+File siteDir = new File( basedir, "target/site" )
+System.out.println( "Checking for existence of site directory: " + siteDir )
 assert siteDir.isDirectory()
 
-String[] reports = [ "changelog", "dev-activity", "file-activity" ];
-for ( String report : reports )
-{
-    File reportFile = new File( siteDir, report + ".html" );
-    System.out.println( "Checking for existence of report: " + reportFile );
+String[] reports = ["changelog", "dev-activity", "file-activity"]
+for ( String report : reports ) {
+    File reportFile = new File( siteDir, report + ".html" )
+    System.out.println( "Checking for existence of report: " + reportFile )
     assert reportFile.isFile()
 }
diff --git a/src/it/minimal-pom/verify.groovy b/src/it/minimal-pom/verify.groovy
index 0ae0547..633a73d 100644
--- a/src/it/minimal-pom/verify.groovy
+++ b/src/it/minimal-pom/verify.groovy
@@ -18,19 +18,18 @@
  * under the License.
  */
 
-File outputXML = new File( basedir, "target/changelog.xml" );
-System.out.println( "Checking for existence of xml file: " + outputXML );
-String content = outputXML.getText( "UTF-8" );
-assert content.indexOf( "encoding=\"UTF-8\"" ) >= 0 : "Wrong encoding 
attribute in content."
+File outputXML = new File(basedir, "target/changelog.xml")
+System.out.println("Checking for existence of xml file: " + outputXML)
+String content = outputXML.getText("UTF-8")
+assert content.indexOf("encoding=\"UTF-8\"") >= 0 : "Wrong encoding attribute 
in content."
 
-File siteDir = new File( basedir, "target/site" );
-System.out.println( "Checking for existence of site directory: " + siteDir );
+File siteDir = new File( basedir, "target/site" )
+System.out.println( "Checking for existence of site directory: " + siteDir )
 assert siteDir.isDirectory()
 
-String[] reports = [ "changelog", "dev-activity", "file-activity" ];
-for ( String report : reports )
-{
-    File reportFile = new File( siteDir, report + ".html" );
-    System.out.println( "Checking for existence of report: " + reportFile );
+String[] reports = ["changelog", "dev-activity", "file-activity"]
+for ( String report : reports ) {
+    File reportFile = new File( siteDir, report + ".html" )
+    System.out.println( "Checking for existence of report: " + reportFile )
     assert reportFile.isFile()
 }
diff --git a/src/it/project-reporting-output-encoding/verify.groovy 
b/src/it/project-reporting-output-encoding/verify.groovy
index 39776f7..c1cf13a 100644
--- a/src/it/project-reporting-output-encoding/verify.groovy
+++ b/src/it/project-reporting-output-encoding/verify.groovy
@@ -18,19 +18,18 @@
  * under the License.
  */
 
-File outputXML = new File( basedir, "target/changelog.xml" );
-System.out.println( "Checking for existence of xml file: " + outputXML );
-String content = outputXML.getText( "ISO-8859-1" );
-assert content.indexOf( "encoding=\"ISO-8859-1\"" ) >= 0 : "Wrong encoding 
attribute in content."
+File outputXML = new File(basedir, "target/changelog.xml")
+System.out.println("Checking for existence of xml file: " + outputXML)
+String content = outputXML.getText("ISO-8859-1")
+assert content.indexOf("encoding=\"ISO-8859-1\"") >= 0 : "Wrong encoding 
attribute in content."
 
-File siteDir = new File( basedir, "target/site" );
-System.out.println( "Checking for existence of site directory: " + siteDir );
+File siteDir = new File( basedir, "target/site" )
+System.out.println( "Checking for existence of site directory: " + siteDir )
 assert siteDir.isDirectory()
 
-String[] reports = [ "changelog", "dev-activity", "file-activity" ];
-for ( String report : reports )
-{
-    File reportFile = new File( siteDir, report + ".html" );
-    System.out.println( "Checking for existence of report: " + reportFile );
+String[] reports = ["changelog", "dev-activity", "file-activity"]
+for ( String report : reports ) {
+    File reportFile = new File( siteDir, report + ".html" )
+    System.out.println( "Checking for existence of report: " + reportFile )
     assert reportFile.isFile()
 }
diff --git a/src/it/with-svnjava-maven-3/verify.groovy 
b/src/it/with-svnjava-maven-3/verify.groovy
index 245d506..f04a1af 100644
--- a/src/it/with-svnjava-maven-3/verify.groovy
+++ b/src/it/with-svnjava-maven-3/verify.groovy
@@ -16,18 +16,18 @@
  * specific language governing permissions and limitations
  * under the License.
  */
-assert new File( basedir, 'target/site' ).exists();
-assert new File( basedir, 'target/site' ).isDirectory();
+assert new File(basedir, 'target/site').exists()
+assert new File(basedir, 'target/site').isDirectory()
 
-assert new File( basedir, 'target/site/changelog.html' ).exists();
-assert new File( basedir, 'target/site/changelog.html' ).isFile();
-assert new File( basedir, 'target/site/dev-activity.html' ).exists();
-assert new File( basedir, 'target/site/dev-activity.html' ).isFile();
-assert new File( basedir, 'target/site/file-activity.html' ).exists();
-assert new File( basedir, 'target/site/file-activity.html' ).isFile();
+assert new File(basedir, 'target/site/changelog.html').exists()
+assert new File(basedir, 'target/site/changelog.html').isFile()
+assert new File(basedir, 'target/site/dev-activity.html').exists()
+assert new File(basedir, 'target/site/dev-activity.html').isFile()
+assert new File(basedir, 'target/site/file-activity.html').exists()
+assert new File(basedir, 'target/site/file-activity.html').isFile()
 
-content = new File( basedir, 'build.log' ).text;
+content = new File(basedir, 'build.log').text
 
-assert content.contains( 'Change the default \'svn\' provider implementation 
to \'javasvn\'.' );
+assert content.contains('Change the default \'svn\' provider implementation to 
\'javasvn\'.')
 
-return true;
\ No newline at end of file
+return true
\ No newline at end of file

Reply via email to