You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Gary Kind (JIRA)" <de...@myfaces.apache.org> on 2007/06/06 01:49:26 UTC

[jira] Created: (TRINIDAD-48) Created property that allows RenderKitTestCase to return a testCaseCount that only includes the actual test cases.

Created property that allows RenderKitTestCase to return a testCaseCount that only includes the actual test cases.
------------------------------------------------------------------------------------------------------------------

                 Key: TRINIDAD-48
                 URL: https://issues.apache.org/jira/browse/TRINIDAD-48
             Project: MyFaces Trinidad
          Issue Type: Improvement
            Reporter: Gary Kind


Current RenderKitTestCase.getTestCaseCount() returns a test case count that includes all the subtests in each test case.  It is desirable to be able to have it return only the actual junit test cases.  A new boolean system property is now in effect, "trinidad.renderkit.junittests", that, when set to true, causes RenderKitTestCase.getTestCaseCount() to return only the actual junit test cases.   The default value for this property is "false", meaning that the current behavior is the default.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (TRINIDAD-48) Created property that allows RenderKitTestCase to return a testCaseCount that only includes the actual test cases.

Posted by "Adam Winer (JIRA)" <de...@myfaces.apache.org>.
     [ https://issues.apache.org/jira/browse/TRINIDAD-48?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Adam Winer resolved TRINIDAD-48.
--------------------------------

       Resolution: Fixed
    Fix Version/s: 1.0.1-core
         Assignee: Adam Winer

Instead of adding a flag, just changed the code to always report one test for every real JUnit test, which is still plenty.

> Created property that allows RenderKitTestCase to return a testCaseCount that only includes the actual test cases.
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-48
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-48
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>            Reporter: Gary Kind
>            Assignee: Adam Winer
>             Fix For: 1.0.1-core
>
>         Attachments: trunk.patch
>
>
> Current RenderKitTestCase.countTestCases() returns a test case count that includes all the subtests in each test case.  It is desirable to be able to have it return only the actual junit test cases.  A new boolean system property is now in effect, "trinidad.renderkit.junittests", that, when set to true, causes RenderKitTestCase.countTestCases() to return only the actual junit test cases.   The default value for this property is "false", meaning that the current behavior is the default.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (TRINIDAD-48) Created property that allows RenderKitTestCase to return a testCaseCount that only includes the actual test cases.

Posted by "Adam Winer (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/TRINIDAD-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12502522 ] 

Adam Winer commented on TRINIDAD-48:
------------------------------------

The patch is invalid - setting this property doesn't just change the testCaseCount, it actually blows off a large number of real tests by going into "lenient" mode.

> Created property that allows RenderKitTestCase to return a testCaseCount that only includes the actual test cases.
> ------------------------------------------------------------------------------------------------------------------
>
>                 Key: TRINIDAD-48
>                 URL: https://issues.apache.org/jira/browse/TRINIDAD-48
>             Project: MyFaces Trinidad
>          Issue Type: Improvement
>            Reporter: Gary Kind
>         Attachments: trunk.patch
>
>
> Current RenderKitTestCase.countTestCases() returns a test case count that includes all the subtests in each test case.  It is desirable to be able to have it return only the actual junit test cases.  A new boolean system property is now in effect, "trinidad.renderkit.junittests", that, when set to true, causes RenderKitTestCase.countTestCases() to return only the actual junit test cases.   The default value for this property is "false", meaning that the current behavior is the default.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.