This is an automated email from the ASF dual-hosted git repository.
ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-io.git
The following commit(s) were added to refs/heads/master by this push:
new 04840371 Normalize test method names
04840371 is described below
commit 048403712c51f747e30b493ae9434d7e65f46754
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Nov 4 08:54:42 2023 -0400
Normalize test method names
---
.../org/apache/commons/io/input/UnixLineEndingInputStreamTest.java | 2 +-
.../org/apache/commons/io/input/WindowsLineEndingInputStreamTest.java | 2 +-
.../org/apache/commons/io/serialization/MoreComplexObjectTest.java | 4 ++--
3 files changed, 4 insertions(+), 4 deletions(-)
diff --git
a/src/test/java/org/apache/commons/io/input/UnixLineEndingInputStreamTest.java
b/src/test/java/org/apache/commons/io/input/UnixLineEndingInputStreamTest.java
index a147c7a9..caa0ebab 100644
---
a/src/test/java/org/apache/commons/io/input/UnixLineEndingInputStreamTest.java
+++
b/src/test/java/org/apache/commons/io/input/UnixLineEndingInputStreamTest.java
@@ -75,7 +75,7 @@ public class UnixLineEndingInputStreamTest {
}
@Test
- public void twoLinesAtEnd() throws Exception {
+ public void testTwoLinesAtEnd() throws Exception {
assertEquals("a\n\n", roundtrip("a\r\n\r\n"));
}
diff --git
a/src/test/java/org/apache/commons/io/input/WindowsLineEndingInputStreamTest.java
b/src/test/java/org/apache/commons/io/input/WindowsLineEndingInputStreamTest.java
index 4c8dd150..51634ab0 100644
---
a/src/test/java/org/apache/commons/io/input/WindowsLineEndingInputStreamTest.java
+++
b/src/test/java/org/apache/commons/io/input/WindowsLineEndingInputStreamTest.java
@@ -70,7 +70,7 @@ public class WindowsLineEndingInputStreamTest {
}
@Test
- public void twoLinesAtEnd() throws Exception {
+ public void testTwoLinesAtEnd() throws Exception {
assertEquals("a\r\n\r\n", roundtrip("a\r\n\r\n"));
}
}
diff --git
a/src/test/java/org/apache/commons/io/serialization/MoreComplexObjectTest.java
b/src/test/java/org/apache/commons/io/serialization/MoreComplexObjectTest.java
index 892b41fb..34910e05 100644
---
a/src/test/java/org/apache/commons/io/serialization/MoreComplexObjectTest.java
+++
b/src/test/java/org/apache/commons/io/serialization/MoreComplexObjectTest.java
@@ -81,7 +81,7 @@ public class MoreComplexObjectTest extends
AbstractCloseableListTest {
* detailed in the accepts.
*/
@Test
- public void trustJavaIncludingArrays() throws IOException,
ClassNotFoundException {
+ public void testTrustJavaIncludingArrays() throws IOException,
ClassNotFoundException {
assertSerialization(closeAfterEachTest(
new ValidatingObjectInputStream(inputStream)
.accept(MoreComplexObject.class)
@@ -94,7 +94,7 @@ public class MoreComplexObjectTest extends
AbstractCloseableListTest {
* might become a bit verbose.
*/
@Test
- public void trustJavaLang() throws IOException, ClassNotFoundException {
+ public void testTrustJavaLang() throws IOException, ClassNotFoundException
{
assertSerialization(closeAfterEachTest(
new ValidatingObjectInputStream(inputStream)
.accept(MoreComplexObject.class, ArrayList.class, Random.class)