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 d7e3389 Better ivar name.
d7e3389 is described below
commit d7e33898bc0b33f7149f77ddebd32dd8f5c37b63
Author: Gary Gregory <[email protected]>
AuthorDate: Sat Jul 10 11:10:42 2021 -0400
Better ivar name.
---
.../apache/commons/io/input/BrokenReaderTest.java | 20 ++++++++++----------
1 file changed, 10 insertions(+), 10 deletions(-)
diff --git a/src/test/java/org/apache/commons/io/input/BrokenReaderTest.java
b/src/test/java/org/apache/commons/io/input/BrokenReaderTest.java
index 56e9b3e..29ee726 100644
--- a/src/test/java/org/apache/commons/io/input/BrokenReaderTest.java
+++ b/src/test/java/org/apache/commons/io/input/BrokenReaderTest.java
@@ -34,18 +34,18 @@ public class BrokenReaderTest {
private IOException exception;
- private Reader reader;
+ private Reader brokenReader;
@BeforeEach
public void setUp() {
exception = new IOException("test exception");
- reader = new BrokenReader(exception);
+ brokenReader = new BrokenReader(exception);
}
@Test
public void testClose() {
try {
- reader.close();
+ brokenReader.close();
fail("Expected exception not thrown.");
} catch (final IOException e) {
assertEquals(exception, e);
@@ -60,7 +60,7 @@ public class BrokenReaderTest {
@Test
public void testMark() {
try {
- reader.mark(1);
+ brokenReader.mark(1);
fail("Expected exception not thrown.");
} catch (final IOException e) {
assertEquals(exception, e);
@@ -70,21 +70,21 @@ public class BrokenReaderTest {
@Test
public void testRead() {
try {
- reader.read();
+ brokenReader.read();
fail("Expected exception not thrown.");
} catch (final IOException e) {
assertEquals(exception, e);
}
try {
- reader.read(new char[1]);
+ brokenReader.read(new char[1]);
fail("Expected exception not thrown.");
} catch (final IOException e) {
assertEquals(exception, e);
}
try {
- reader.read(new char[1], 0, 1);
+ brokenReader.read(new char[1], 0, 1);
fail("Expected exception not thrown.");
} catch (final IOException e) {
assertEquals(exception, e);
@@ -94,7 +94,7 @@ public class BrokenReaderTest {
@Test
public void testReady() {
try {
- reader.ready();
+ brokenReader.ready();
fail("Expected exception not thrown.");
} catch (final IOException e) {
assertEquals(exception, e);
@@ -104,7 +104,7 @@ public class BrokenReaderTest {
@Test
public void testReset() {
try {
- reader.reset();
+ brokenReader.reset();
fail("Expected exception not thrown.");
} catch (final IOException e) {
assertEquals(exception, e);
@@ -114,7 +114,7 @@ public class BrokenReaderTest {
@Test
public void testSkip() {
try {
- reader.skip(1);
+ brokenReader.skip(1);
fail("Expected exception not thrown.");
} catch (final IOException e) {
assertEquals(exception, e);