@@ -110,20 +110,20 @@ public IOUtilsTestCase(String name) {
110110 super (name );
111111 }
112112
113- public void testCloseQuietlyNullSelector () {
113+ public void testCloseQuietly_SelectorNull () {
114114 Selector selector = null ;
115115 IOUtils .closeQuietly (selector );
116116 }
117117
118- public void testCloseableCloseQuietlyOnException () {
118+ public void testCloseQuietly_CloseableIOException () {
119119 IOUtils .closeQuietly (new Closeable () {
120120 public void close () throws IOException {
121121 throw new IOException ();
122122 }
123123 });
124124 }
125125
126- public void testSocketCloseQuietlyOnException () {
126+ public void testCloseQuietly_SocketIOException () {
127127 IOUtils .closeQuietly (new Socket () {
128128 @ Override
129129 public void close () throws IOException {
@@ -132,7 +132,7 @@ public void close() throws IOException {
132132 });
133133 }
134134
135- public void testServerSocketCloseQuietlyOnException () throws IOException {
135+ public void testCloseQuietly_ServerSocketIOException () throws IOException {
136136 IOUtils .closeQuietly (new ServerSocket () {
137137 @ Override
138138 public void close () throws IOException {
@@ -141,17 +141,17 @@ public void close() throws IOException {
141141 });
142142 }
143143
144- public void testSocketCloseQuietly () {
144+ public void testCloseQuietly_Socket () {
145145 IOUtils .closeQuietly ((Socket ) null );
146146 IOUtils .closeQuietly (new Socket ());
147147 }
148148
149- public void testServerSocketCloseQuietly () throws IOException {
149+ public void testCloseQuietly_ServerSocket () throws IOException {
150150 IOUtils .closeQuietly ((ServerSocket ) null );
151151 IOUtils .closeQuietly (new ServerSocket ());
152152 }
153153
154- public void testCloseQuietlySelector () {
154+ public void testCloseQuietly_Selector () {
155155 Selector selector = null ;
156156 try {
157157 selector = Selector .open ();
@@ -161,7 +161,7 @@ public void testCloseQuietlySelector() {
161161 }
162162 }
163163
164- public void testCloseQuietlySelectorIOException () {
164+ public void testCloseQuietly_SelectorIOException () {
165165 Selector selector = new SelectorAdapter () {
166166 @ Override
167167 public void close () throws IOException {
@@ -171,7 +171,7 @@ public void close() throws IOException {
171171 IOUtils .closeQuietly (selector );
172172 }
173173
174- public void testCloseQuietlySelectorTwice () {
174+ public void testCloseQuietly_SelectorTwice () {
175175 Selector selector = null ;
176176 try {
177177 selector = Selector .open ();
@@ -561,7 +561,7 @@ public void testInputStreamToCharArrayWithEncoding() throws Exception {
561561 }
562562 }
563563
564- public void testReaderToCharArray () throws Exception {
564+ public void testToCharArray_Reader () throws Exception {
565565 FileReader fr = new FileReader (m_testFile );
566566 try {
567567 char [] out = IOUtils .toCharArray (fr );
0 commit comments