Package org.apache.bsf.test.utilTests
Class StringUtilsTest
java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.bsf.test.utilTests.StringUtilsTest
- All Implemented Interfaces:
junit.framework.Test
public class StringUtilsTest
extends junit.framework.TestCase
This is a testcase for org.apache.bsf.util.StringUtils.java
- Author:
- Sanka Samaranayake <sanka_hdins@yahoo.com>, Nilupa Bandara <nilupa@opensource.lk>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, tearDown, toStringMethods 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
-
Constructor Details
-
StringUtilsTest
Constructor for StringUtilsTest.- Parameters:
arg0-
-
-
Method Details
-
testClassNameToVarName
public void testClassNameToVarName() -
testCleanString
public void testCleanString() -
testGetChars
public void testGetChars() -
testGetClassName
public void testGetClassName() -
testGetCommaListFromVector
public void testGetCommaListFromVector() -
testGetContentAsReader
- Throws:
MalformedURLExceptionIOException
-
testGetContentAsString
- Throws:
IOException
-
testGetSafeString
public void testGetSafeString() -
testGetValidIdentifierName
public void testGetValidIdentifierName() -
testIsValidIdentifierName
public void testIsValidIdentifierName() -
testIsValidPackageName
public void testIsValidPackageName()
-