Author: ggregory
Date: Fri Nov 30 15:25:39 2012
New Revision: 1415689
URL: http://svn.apache.org/viewvc?rev=1415689&view=rev
Log:
Sort members.
Modified:
commons/proper/io/trunk/src/test/java/org/apache/commons/io/CharsetsTestCase.java
Modified:
commons/proper/io/trunk/src/test/java/org/apache/commons/io/CharsetsTestCase.java
URL:
http://svn.apache.org/viewvc/commons/proper/io/trunk/src/test/java/org/apache/commons/io/CharsetsTestCase.java?rev=1415689&r1=1415688&r2=1415689&view=diff
==============================================================================
---
commons/proper/io/trunk/src/test/java/org/apache/commons/io/CharsetsTestCase.java
(original)
+++
commons/proper/io/trunk/src/test/java/org/apache/commons/io/CharsetsTestCase.java
Fri Nov 30 15:25:39 2012
@@ -31,17 +31,17 @@ import org.junit.Test;
public class CharsetsTestCase {
@Test
+ public void testIso8859_1() {
+ Assert.assertEquals("ISO-8859-1", Charsets.ISO_8859_1.name());
+ }
+
+ @Test
public void testToCharset() {
Assert.assertEquals(Charset.defaultCharset(),
Charsets.toCharset((String) null));
Assert.assertEquals(Charset.defaultCharset(),
Charsets.toCharset((Charset) null));
Assert.assertEquals(Charset.defaultCharset(),
Charsets.toCharset(Charset.defaultCharset()));
Assert.assertEquals(Charset.forName("UTF-8"),
Charsets.toCharset(Charset.forName("UTF-8")));
}
-
- @Test
- public void testIso8859_1() {
- Assert.assertEquals("ISO-8859-1", Charsets.ISO_8859_1.name());
- }
@Test
public void testUsAscii() {