Skip to content

Commit 810b9ba

Browse files
authored
Merge pull request #154 from hazendaz/copilot/analyze-test-coverage-add-tests
feat: add comprehensive test coverage using maven-plugin-testing-harness 3.5.1
2 parents 9eff426 + f3404f4 commit 810b9ba

25 files changed

Lines changed: 649 additions & 20 deletions

format.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
44
XML Format Maven Plugin (https://github.com/acegi/xml-format-maven-plugin)
55
6-
Copyright 2011-2025 Acegi Technology Pty Limited.
6+
Copyright 2011-2026 Acegi Technology Pty Limited.
77
88
Licensed under the Apache License, Version 2.0 (the "License");
99
you may not use this file except in compliance with the License.

pom.xml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,24 @@
174174
<version>${byte-buddy.version}</version>
175175
<scope>test</scope>
176176
</dependency>
177+
<dependency>
178+
<groupId>org.apache.maven.plugin-testing</groupId>
179+
<artifactId>maven-plugin-testing-harness</artifactId>
180+
<version>3.5.1</version>
181+
<scope>test</scope>
182+
</dependency>
183+
<dependency>
184+
<groupId>junit</groupId>
185+
<artifactId>junit</artifactId>
186+
<version>4.13.2</version>
187+
<scope>test</scope>
188+
</dependency>
189+
<dependency>
190+
<groupId>org.codehaus.plexus</groupId>
191+
<artifactId>plexus-xml</artifactId>
192+
<version>4.1.1</version>
193+
<scope>test</scope>
194+
</dependency>
177195
</dependencies>
178196

179197
<build>

src/main/java/au/com/acegi/xmlformat/AbstractXmlPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* XML Format Maven Plugin (https://github.com/acegi/xml-format-maven-plugin)
33
*
4-
* Copyright 2011-2025 Acegi Technology Pty Limited.
4+
* Copyright 2011-2026 Acegi Technology Pty Limited.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

src/main/java/au/com/acegi/xmlformat/BlankLinesWriter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* XML Format Maven Plugin (https://github.com/acegi/xml-format-maven-plugin)
33
*
4-
* Copyright 2011-2025 Acegi Technology Pty Limited.
4+
* Copyright 2011-2026 Acegi Technology Pty Limited.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

src/main/java/au/com/acegi/xmlformat/FormatUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* XML Format Maven Plugin (https://github.com/acegi/xml-format-maven-plugin)
33
*
4-
* Copyright 2011-2025 Acegi Technology Pty Limited.
4+
* Copyright 2011-2026 Acegi Technology Pty Limited.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

src/main/java/au/com/acegi/xmlformat/IOUtil.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* XML Format Maven Plugin (https://github.com/acegi/xml-format-maven-plugin)
33
*
4-
* Copyright 2011-2025 Acegi Technology Pty Limited.
4+
* Copyright 2011-2026 Acegi Technology Pty Limited.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

src/main/java/au/com/acegi/xmlformat/LineEnding.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* XML Format Maven Plugin (https://github.com/acegi/xml-format-maven-plugin)
33
*
4-
* Copyright 2011-2025 Acegi Technology Pty Limited.
4+
* Copyright 2011-2026 Acegi Technology Pty Limited.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

src/main/java/au/com/acegi/xmlformat/XmlCheckPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* XML Format Maven Plugin (https://github.com/acegi/xml-format-maven-plugin)
33
*
4-
* Copyright 2011-2025 Acegi Technology Pty Limited.
4+
* Copyright 2011-2026 Acegi Technology Pty Limited.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

src/main/java/au/com/acegi/xmlformat/XmlFormatPlugin.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* XML Format Maven Plugin (https://github.com/acegi/xml-format-maven-plugin)
33
*
4-
* Copyright 2011-2025 Acegi Technology Pty Limited.
4+
* Copyright 2011-2026 Acegi Technology Pty Limited.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

src/main/java/au/com/acegi/xmlformat/XmlOutputFormat.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* XML Format Maven Plugin (https://github.com/acegi/xml-format-maven-plugin)
33
*
4-
* Copyright 2011-2025 Acegi Technology Pty Limited.
4+
* Copyright 2011-2026 Acegi Technology Pty Limited.
55
*
66
* Licensed under the Apache License, Version 2.0 (the "License");
77
* you may not use this file except in compliance with the License.

0 commit comments

Comments
 (0)