Uploaded image for project: 'Fluid Infusion'
  1. Fluid Infusion
  2. FLUID-6077

Modernise support in IoC Testing framework for "change" type fixtures

    Details

    • Type: Task
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: None
    • Component/s: IoC Testing Framework
    • Labels:
      None

      Description

      Our support for issuing changes via the ChangeApplier in the IoC testing framework is rather old-fashioned and has a syntax which dates from before the FLUID-5024/FLUID-5114 model relay rewrite. It still exposes access to the applier's modelChanged event which should really be an implementation detail, as in:

                  {
                      listenerMaker: "fluid.tests.makeChangeChecker",
                      makerArgs: ["{asyncTester}.options.furtherTextValue", "textValue"],
                      // alternate style for registering listener
                      spec: {path: "textValue", priority: "last"},
                      changeEvent: "{asyncTest}.applier.modelChanged"
                  }, 
      

      We should normalise this syntax to conform with the standard one for triggering changes in the new(er) declarative framework as per http://docs.fluidproject.org/infusion/development/ChangeApplierAPI.html#declarative-style-for-triggering-a-change

        Attachments

          Activity

            People

            • Assignee:
              antranig Antranig Basman
              Reporter:
              antranig Antranig Basman
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: