Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.1.2
    • Component/s: None
    • Labels:
      None

      Description

      Attached is a proposed unit test case for the AddResource class. The unit tests cover only a small percentage of the functionality of the AddResource class but it's a start.

      This test also demonstrates an existing bug in the AddResource class; the unit test fails (correctly!) because of this code:
      if(bodyInsertPosition>0)

      { ..... buf.append("\""); originalResponse.insert( bodyInsertPosition-1, " "+ buf.toString()); }

      which is causing <body> to always be transformed into <body "> regardless of whether there is any stuff to insert into the body's onload method or not.

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            Simon Kitching
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development