com.rolemodelsoft.drawlet.util
Class TC_BasicStringComposer
java.lang.Object
|
+--junit.framework.Assert
|
+--junit.framework.TestCase
|
+--com.rolemodelsoft.drawlet.util.TC_BasicStringComposer
- public class TC_BasicStringComposer
- extends junit.framework.TestCase
| Fields inherited from class junit.framework.TestCase |
result |
|
Constructor Summary |
TC_BasicStringComposer(java.lang.String name)
BasicStringComposerTest constructor comment. |
|
Method Summary |
protected void |
setUp()
Sets up the fixture, for example, open a network connection. |
void |
testRawStringLines()
Test for accurate String lines. |
void |
testSetFont()
Test to make sure we properly recompose after changing the fonts. |
void |
testSetString()
Test to make sure we properly recompose after changing the strings. |
void |
testStringHeight()
Test for accurate String height. |
void |
testStringLines()
Test for accurate String lines. |
void |
testStringWidth()
Test for accurate String widths. |
| Methods inherited from class junit.framework.TestCase |
countTestCases,
createResult,
name,
onAssertion,
run,
run,
runBare,
runTest,
tearDown,
toString |
| Methods inherited from class junit.framework.Assert |
assert,
assert,
assertEquals,
assertEquals,
assertEquals,
assertEquals,
assertEquals,
assertEquals,
assertNotNull,
assertNotNull,
assertNull,
assertNull,
assertSame,
assertSame,
fail,
fail,
failNotEquals,
failNotSame |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
composer
protected StringRenderer composer
bigComposer
protected StringRenderer bigComposer
multilineComposer
protected StringRenderer multilineComposer
narrowComposer
protected StringRenderer narrowComposer
shortNarrowComposer
protected StringRenderer shortNarrowComposer
nothingComposer
protected StringRenderer nothingComposer
emptyLineComposer
protected StringRenderer emptyLineComposer
noWidthComposer
protected StringRenderer noWidthComposer
breakBeforeComposer
protected StringRenderer breakBeforeComposer
breakAfterComposer
protected StringRenderer breakAfterComposer
TC_BasicStringComposer
public TC_BasicStringComposer(java.lang.String name)
- BasicStringComposerTest constructor comment.
- Parameters:
name - java.lang.String
setUp
protected void setUp()
- Sets up the fixture, for example, open a network connection.
This method is called before a test is executed.
- Overrides:
- setUp in class junit.framework.TestCase
testRawStringLines
public void testRawStringLines()
- Test for accurate String lines.
testSetFont
public void testSetFont()
- Test to make sure we properly recompose after changing the fonts.
testSetString
public void testSetString()
- Test to make sure we properly recompose after changing the strings.
testStringHeight
public void testStringHeight()
- Test for accurate String height.
testStringLines
public void testStringLines()
- Test for accurate String lines.
testStringWidth
public void testStringWidth()
- Test for accurate String widths.