java.lang.Object
junit.framework.Assert
junit.framework.TestCase
jformatter.text.test.PrintfTests
- All Implemented Interfaces:
- junit.framework.Test
- public class PrintfTests
- extends junit.framework.TestCase
| Fields inherited from class junit.framework.TestCase |
|
| Methods inherited from class junit.framework.Assert |
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail |
m_printf
private jformatter.text.Printf m_printf
m_vec
private java.util.Vector m_vec
m_params
private jformatter.text.Parameters m_params
PrintfTests
public PrintfTests(java.lang.String name)
setUp
protected void setUp()
- Description copied from class:
junit.framework.TestCase
- Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
suite
public static junit.framework.Test suite()
test_plain_formatting
public void test_plain_formatting()
throws java.lang.Exception
- Idea: Format pattern doesn't contain any type information.
So we'll get the same string back.
test_plain_percent_character
public void test_plain_percent_character()
throws java.lang.Exception
test_string_formatting_plain
public void test_string_formatting_plain()
throws java.lang.Exception
test_string_formatting_min_width
public void test_string_formatting_min_width()
throws java.lang.Exception
test_string_formatting_precision
public void test_string_formatting_precision()
throws java.lang.Exception
test_string_formatting_pad_right_with_zeros_precision
public void test_string_formatting_pad_right_with_zeros_precision()
throws java.lang.Exception
test_string_formatting_int_params
public void test_string_formatting_int_params()
throws java.lang.Exception
test_string_formatting_wrong_flag
public void test_string_formatting_wrong_flag()
throws java.lang.Exception
test_integer_formatting
public void test_integer_formatting()
throws java.lang.Exception
test_counter
public void test_counter()
throws java.lang.Exception
test_class_print
public void test_class_print()
throws java.lang.Exception
test_character_format
public void test_character_format()
throws java.lang.Exception
test_decimal_format
public void test_decimal_format()
throws java.lang.Exception
test_decimal_format2
public void test_decimal_format2()
throws java.lang.Exception
test_decimal_format3
public void test_decimal_format3()
throws java.lang.Exception
test_decimal_format_localisation
public void test_decimal_format_localisation()
throws java.lang.Exception
test_parameters
public void test_parameters()
throws java.lang.Exception