public class StringsTest extends Object
| Constructor and Description |
|---|
StringsTest() |
public void compareSeparatedLines(Object... lines)
public void splitLinesShouldWorkCorrectly()
public void setLengthShouldTruncateStringsThatAreTooLong()
public void setLengthShouldAppendCharacterForStringsThatAreTooShort()
public void setLengthShouldNotRemoveLeadingWhitespace()
public void setLengthShouldAppendCharacterForEmptyStrings()
public void setLengthShouldAppendCharacterForNullStrings()
public void setLengthShouldReturnStringsThatAreTheDesiredLength()
public void justifyLeftShouldTruncateStringsThatAreTooLong()
public void justifyLeftShouldAppendCharacterForStringsThatAreTooShort()
public void justifyLeftShouldRemoveLeadingWhitespace()
public void justifyLeftShouldAppendCharacterForEmptyStrings()
public void justifyLeftShouldAppendCharacterForNullStrings()
public void justifyLeftShouldReturnStringsThatAreTheDesiredLength()
public void justifyRightShouldTruncateStringsThatAreTooLong()
public void justifyRightShouldPrependCharacterForStringsThatAreTooShort()
public void justifyRightShouldPrependCharacterForEmptyStrings()
public void justifyRightShouldPrependCharacterForNullStrings()
public void justifyRightShouldReturnStringsThatAreTheDesiredLength()
public void justifyCenterShouldTruncateStringsThatAreTooLong()
public void justifyCenterShouldPrependAndAppendSameNumberOfCharacterForStringsThatAreTooShortButOfAnEvenLength()
public void justifyCenterShouldPrependOneMoreCharacterThanAppendingForStringsThatAreTooShortButOfAnOddLength()
public void justifyCenterShouldPrependCharacterForEmptyStrings()
public void justifyCenterShouldPrependCharacterForNullStrings()
public void justifyCenterShouldReturnStringsThatAreTheDesiredLength()
Copyright © 2016 JBoss by Red Hat. All rights reserved.