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

        sean schofield made changes -
        Fix Version/s 1.1.2-SNAPSHOT [ 12310820 ]
        Fix Version/s 1.1.2 [ 12311050 ]
        sean schofield made changes -
        Project MyFaces Core [ 10600 ] MyFaces Tomahawk [ 12310272 ]
        Fix Version/s 1.1.2 [ 12310960 ]
        Type Improvement [ 4 ] Bug [ 1 ]
        Fix Version/s 1.1.2-SNAPSHOT [ 12310820 ]
        Key MYFACES-818 TOMAHAWK-358
        sean schofield made changes -
        Fix Version/s 1.1.2-SNAPSHOT [ 12310660 ]
        Fix Version/s 1.1.2 [ 12310960 ]
        sean schofield made changes -
        Workflow  MyFaces Workflow [ 12359138 ] MyFaces Workflow2 [ 12360329 ]
        sean schofield made changes -
        Workflow  MyFaces Workflow [ 12357622 ] MyFaces Workflow2 [ 12359138 ]
        sean schofield made changes -
        Workflow MyFaces Workflow2 [ 12355916 ]  MyFaces Workflow [ 12357622 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12354606 ] MyFaces Workflow2 [ 12355916 ]
        sean schofield made changes -
        Workflow MyFaces Workflow2 [ 12350738 ] MyFaces Workflow [ 12354606 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12348246 ] MyFaces Workflow2 [ 12350738 ]
        sean schofield made changes -
        Workflow MyFaces Workflow [ 12348246 ] MyFaces Workflow2 [ 12350654 ]
        sean schofield made changes -
        Workflow jira [ 12343698 ] MyFaces Workflow [ 12348246 ]
        Bruno Aranda made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Fix Version/s Nightly [ 12310344 ]
        Resolution Fixed [ 1 ]
        Simon Kitching made changes -
        Field Original Value New Value
        Attachment AddResourceTest.java [ 12320669 ]
        Simon Kitching created issue -

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development