Torque
  1. Torque
  2. TORQUE-159

Split generated peer classes into implementation and a static wrapper

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 3.3
    • Fix Version/s: 4.0-beta1
    • Component/s: None
    • Labels:
      None

      Description

      The peer classes are accessed in a static way so the behavior cannot be changed at runtime. This is bad e.g. when one wants to insert mock classes for testing.
      Therefore, the peer classes shoul be plit into a static wrapper which holds an implementation class and delegates all function calls to the implementation class. the implementation can be exchanged via a setter. The static fields should stay in the static wrapper.

        Activity

        Thomas Fox created issue -
        Thomas Fox made changes -
        Field Original Value New Value
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 4.0 [ 12312102 ]
        Resolution Fixed [ 1 ]
        Thomas Fox made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Resolved Resolved
        10s 1 Thomas Fox 29/May/11 17:43
        Resolved Resolved Closed Closed
        483d 13h 23m 1 Thomas Fox 24/Sep/12 07:06

          People

          • Assignee:
            Thomas Fox
            Reporter:
            Thomas Fox
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development