ICEfaces
  1. ICEfaces
  2. ICE-4196

Create test to catch class<Type> Error when binding with Boolean attribute

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8RC2, 1.8
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      any

      Description

      Using com.icesoft.faces.metadata.BeanImpPropertiesTest to list a components with class<Type> Error when binding with Boolean attribute.

        Issue Links

          Activity

          Hide
          Adnan Durrani added a comment -

          Test modified, now it applies the following rules on the boolean properties of the component.

          • Call setXXX on the boolean property and pass primitive boolean param, log if failed.
          • call isXXX on the boolean property, if found check the return type. log if the isXXX was not found. log if the isXXX was found but the return type was not primitive boolean.

          Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\test\java\com\icesoft\faces\metadata\BeanImpPropertiesTest.java
          Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\test\java\com\icesoft\faces\metadata\BeanImpPropertiesTest.java
          Completed: At revision: 18553

          Show
          Adnan Durrani added a comment - Test modified, now it applies the following rules on the boolean properties of the component. Call setXXX on the boolean property and pass primitive boolean param, log if failed. call isXXX on the boolean property, if found check the return type. log if the isXXX was not found. log if the isXXX was found but the return type was not primitive boolean. Modified: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\test\java\com\icesoft\faces\metadata\BeanImpPropertiesTest.java Sending content: D:\work\development\head\svn\ossrepo\icefaces\trunk\icefaces\component\test\java\com\icesoft\faces\metadata\BeanImpPropertiesTest.java Completed: At revision: 18553

            People

            • Assignee:
              Unassigned
              Reporter:
              Frank Ye
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: