Class JDomBuilderWithLicenseTest

java.lang.Object
junit.framework.Assert
junit.framework.TestCase
org.apache.creadur.whisker.fromxml.JDomBuilderWithLicenseTest
All Implemented Interfaces:
junit.framework.Test

public class JDomBuilderWithLicenseTest extends junit.framework.TestCase
  • Constructor Details

    • JDomBuilderWithLicenseTest

      public JDomBuilderWithLicenseTest()
  • Method Details

    • setUp

      protected void setUp() throws Exception
      Overrides:
      setUp in class junit.framework.TestCase
      Throws:
      Exception
    • tearDown

      protected void tearDown() throws Exception
      Overrides:
      tearDown in class junit.framework.TestCase
      Throws:
      Exception
    • testLicenseFromListThrowsMissingIDWhenEmpty

      public void testLicenseFromListThrowsMissingIDWhenEmpty() throws Exception
      Throws:
      Exception
    • testLicenseFromListThrowsMissingIDWhenIDsAreMismatched

      public void testLicenseFromListThrowsMissingIDWhenIDsAreMismatched() throws Exception
      Throws:
      Exception
    • testLicenseFromListFindsLicense

      public void testLicenseFromListFindsLicense() throws Exception
      Throws:
      Exception
    • testBuildLicenseFromElementWithCopyrightNotice

      public void testBuildLicenseFromElementWithCopyrightNotice() throws Exception
      Throws:
      Exception
    • testBuildLicenseFromElementWithCopyrightNoticeTrimSpaces

      public void testBuildLicenseFromElementWithCopyrightNoticeTrimSpaces() throws Exception
      Throws:
      Exception
    • testBuildLicenseFromElementNoCopyrightNoticeNoParameters

      public void testBuildLicenseFromElementNoCopyrightNoticeNoParameters() throws Exception
      Throws:
      Exception
    • testBuildLicenseWithParametersIsEmptyWhenNoParameters

      public void testBuildLicenseWithParametersIsEmptyWhenNoParameters() throws Exception
      Throws:
      Exception
    • testBuildLicenseWithOneParameter

      public void testBuildLicenseWithOneParameter() throws Exception
      Throws:
      Exception
    • testBuildLicenseWithTwoParameters

      public void testBuildLicenseWithTwoParameters() throws Exception
      Throws:
      Exception
    • testBuildLicenseWith3Parameters

      public void testBuildLicenseWith3Parameters() throws Exception
      Throws:
      Exception
    • testBuildLicenseWith4Parameters

      public void testBuildLicenseWith4Parameters() throws Exception
      Throws:
      Exception
    • testBuildLicenseWith7Parameters

      public void testBuildLicenseWith7Parameters() throws Exception
      Throws:
      Exception
    • testBuildLicenseWith11Parameters

      public void testBuildLicenseWith11Parameters() throws Exception
      Throws:
      Exception
    • testBuildLicenseWith101Parameters

      public void testBuildLicenseWith101Parameters() throws Exception
      Throws:
      Exception
    • testWithLicenseBuildWithParameters

      public void testWithLicenseBuildWithParameters() throws Exception
      Throws:
      Exception
    • testBuildLicenseWithParametersThrowsExceptionWhenParameterIsDuplicated

      public void testBuildLicenseWithParametersThrowsExceptionWhenParameterIsDuplicated() throws Exception
      Throws:
      Exception
    • testBuildCollectWithLicenses

      public void testBuildCollectWithLicenses() throws Exception
      Throws:
      Exception