org.ourgrid.common.util
Class StringUtilTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.ourgrid.common.util.StringUtilTest
- All Implemented Interfaces:
- junit.framework.Test, CommonTest, FastTest, PreCommitTest, SelectiveTest, StressTest
public class StringUtilTest
- extends junit.framework.TestCase
- implements CommonTest
Methods inherited from class junit.framework.TestCase |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, toString |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface junit.framework.Test |
countTestCases, run |
TEST_ALL_TEST_TYPE
public static final java.lang.String TEST_ALL_TEST_TYPE
- See Also:
- Constant Field Values
StringUtilTest
public StringUtilTest(java.lang.String s)
setUp
protected void setUp()
throws java.lang.Exception
- Overrides:
setUp
in class junit.framework.TestCase
- Throws:
java.lang.Exception
tearDown
protected void tearDown()
throws java.lang.Exception
- Overrides:
tearDown
in class junit.framework.TestCase
- Throws:
java.lang.Exception
testReplace
public void testReplace()
testParsePermissionString
public void testParsePermissionString()
testWriteStringOnFile
public void testWriteStringOnFile()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPassToString
public void testPassToString()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPassToStringOneElement
public void testPassToStringOneElement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPassToStringNoneElement
public void testPassToStringNoneElement()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFillWithChars
public void testFillWithChars()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFillWithOneChar
public void testFillWithOneChar()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFillWithNoneChar
public void testFillWithNoneChar()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFillWithNegativesChars
public void testFillWithNegativesChars()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFillNothingWithChars
public void testFillNothingWithChars()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFillNothingWithOneChar
public void testFillNothingWithOneChar()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFillNothingWithNoneChar
public void testFillNothingWithNoneChar()
throws java.lang.Exception
- Throws:
java.lang.Exception
testFillNothingWithNegativesChars
public void testFillNothingWithNegativesChars()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpace
public void testInsertSpace()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpaceAtAlmostBegin
public void testInsertSpaceAtAlmostBegin()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpaceAtBegin
public void testInsertSpaceAtBegin()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpaceBeforeBegin
public void testInsertSpaceBeforeBegin()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpaceAtAlmostEnd
public void testInsertSpaceAtAlmostEnd()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpaceAtEnd
public void testInsertSpaceAtEnd()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpaceAfterEnd
public void testInsertSpaceAfterEnd()
throws java.lang.Exception
- Throws:
java.lang.Exception
testNotInsertSpaces
public void testNotInsertSpaces()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpacesParenthesis
public void testInsertSpacesParenthesis()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpacesInvertedParenthesis
public void testInsertSpacesInvertedParenthesis()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpacesAnd
public void testInsertSpacesAnd()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpacesOr
public void testInsertSpacesOr()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpacesMixOr
public void testInsertSpacesMixOr()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpacesMixAnd
public void testInsertSpacesMixAnd()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpacesMixNot
public void testInsertSpacesMixNot()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpaces
public void testInsertSpaces()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpaces2
public void testInsertSpaces2()
throws java.lang.Exception
- Throws:
java.lang.Exception
testInsertSpaces3
public void testInsertSpaces3()
- Including tests for new symbols to be recognized at this method: "==",
">", "<", ">=", "<="
testPassToArrayString
public void testPassToArrayString()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPassToArrayStringConfuse
public void testPassToArrayStringConfuse()
throws java.lang.Exception
- Throws:
java.lang.Exception
testPassToArrayStringConfuseAndShort
public void testPassToArrayStringConfuseAndShort()
throws java.lang.Exception
- Throws:
java.lang.Exception
testGetStringSeparatedByCommas
public void testGetStringSeparatedByCommas()
testGetArrayOfStrings
public static void testGetArrayOfStrings()
testReplaceUnexistentString
public void testReplaceUnexistentString()
throws java.lang.Exception
- Throws:
java.lang.Exception
main
public static void main(java.lang.String[] args)