Search in sources :

Example 1 with UnknownFormatFlagsException

use of java.util.UnknownFormatFlagsException in project j2objc by google.

the class UnknownFormatFlagsExceptionTest method test_getFlags.

/**
 * java.util.UnknownFormatFlagsException#getFlags()
 */
public void test_getFlags() {
    String s = "MYTESTSTRING";
    UnknownFormatFlagsException UnknownFormatFlagsException = new UnknownFormatFlagsException(s);
    assertEquals(s, UnknownFormatFlagsException.getFlags());
}
Also used : UnknownFormatFlagsException(java.util.UnknownFormatFlagsException)

Example 2 with UnknownFormatFlagsException

use of java.util.UnknownFormatFlagsException in project j2objc by google.

the class UnknownFormatFlagsExceptionTest method test_getMessage.

/**
 * java.util.UnknownFormatFlagsException#getMessage()
 */
public void test_getMessage() {
    String s = "MYTESTSTRING";
    UnknownFormatFlagsException UnknownFormatFlagsException = new UnknownFormatFlagsException(s);
    assertNotNull(UnknownFormatFlagsException.getMessage());
}
Also used : UnknownFormatFlagsException(java.util.UnknownFormatFlagsException)

Aggregations

UnknownFormatFlagsException (java.util.UnknownFormatFlagsException)2