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 Details

    • StringUtilsTest

      public StringUtilsTest(String arg0)
      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

      public void testGetContentAsReader() throws MalformedURLException, IOException
      Throws:
      MalformedURLException
      IOException
    • testGetContentAsString

      public void testGetContentAsString() throws IOException
      Throws:
      IOException
    • testGetSafeString

      public void testGetSafeString()
    • testGetValidIdentifierName

      public void testGetValidIdentifierName()
    • testIsValidIdentifierName

      public void testIsValidIdentifierName()
    • testIsValidPackageName

      public void testIsValidPackageName()