Author: ggregory
Date: Thu Nov 29 16:04:51 2012
New Revision: 1415227
URL: http://svn.apache.org/viewvc?rev=1415227&view=rev
Log:
Normalize method names: method_paratype
Modified:
commons/proper/io/trunk/src/test/java/org/apache/commons/io/IOUtilsTestCase.java
Modified:
commons/proper/io/trunk/src/test/java/org/apache/commons/io/IOUtilsTestCase.java
URL:
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/IOUtilsTestCase.java?rev=1415227&r1=1415226&r2=1415227&view=diff
==============================================================================
---
commons/proper/io/trunk/src/test/java/org/apache/commons/io/IOUtilsTestCase.java
(original)
+++
commons/proper/io/trunk/src/test/java/org/apache/commons/io/IOUtilsTestCase.java
Thu Nov 29 16:04:51 2012
@@ -110,12 +110,12 @@ public class IOUtilsTestCase extends Fil
super(name);
}
- public void testCloseQuietlyNullSelector() {
+ public void testCloseQuietly_SelectorNull() {
Selector selector = null;
IOUtils.closeQuietly(selector);
}
- public void testCloseableCloseQuietlyOnException() {
+ public void testCloseQuietly_CloseableIOException() {
IOUtils.closeQuietly(new Closeable() {
public void close() throws IOException {
throw new IOException();
@@ -123,7 +123,7 @@ public class IOUtilsTestCase extends Fil
});
}
- public void testSocketCloseQuietlyOnException() {
+ public void testCloseQuietly_SocketIOException() {
IOUtils.closeQuietly(new Socket() {
@Override
public void close() throws IOException {
@@ -132,7 +132,7 @@ public class IOUtilsTestCase extends Fil
});
}
- public void testServerSocketCloseQuietlyOnException() throws IOException {
+ public void testCloseQuietly_ServerSocketIOException() throws IOException {
IOUtils.closeQuietly(new ServerSocket() {
@Override
public void close() throws IOException {
@@ -141,17 +141,17 @@ public class IOUtilsTestCase extends Fil
});
}
- public void testSocketCloseQuietly() {
+ public void testCloseQuietly_Socket() {
IOUtils.closeQuietly((Socket) null);
IOUtils.closeQuietly(new Socket());
}
- public void testServerSocketCloseQuietly() throws IOException {
+ public void testCloseQuietly_ServerSocket() throws IOException {
IOUtils.closeQuietly((ServerSocket) null);
IOUtils.closeQuietly(new ServerSocket());
}
- public void testCloseQuietlySelector() {
+ public void testCloseQuietly_Selector() {
Selector selector = null;
try {
selector = Selector.open();
@@ -161,7 +161,7 @@ public class IOUtilsTestCase extends Fil
}
}
- public void testCloseQuietlySelectorIOException() {
+ public void testCloseQuietly_SelectorIOException() {
Selector selector = new SelectorAdapter() {
@Override
public void close() throws IOException {
@@ -171,7 +171,7 @@ public class IOUtilsTestCase extends Fil
IOUtils.closeQuietly(selector);
}
- public void testCloseQuietlySelectorTwice() {
+ public void testCloseQuietly_SelectorTwice() {
Selector selector = null;
try {
selector = Selector.open();
@@ -561,7 +561,7 @@ public class IOUtilsTestCase extends Fil
}
}
- public void testReaderToCharArray() throws Exception {
+ public void testToCharArray_Reader() throws Exception {
FileReader fr = new FileReader(m_testFile);
try {
char[] out = IOUtils.toCharArray(fr);