From 354a68596e1689b3ee153010f01ecf1eb36f4fb2 Mon Sep 17 00:00:00 2001 From: Antranig Basman Date: Tue, 6 Dec 2016 18:22:25 +0000 Subject: [PATCH] FLUID-6092: Renamed "elements" to "sequenceElements" in IoC Testing Framework --- tests/test-core/testTests/js/IoCTestingTests.js | 4 ++-- tests/test-core/utils/js/IoCTestUtils.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test-core/testTests/js/IoCTestingTests.js b/tests/test-core/testTests/js/IoCTestingTests.js index 5efbcf27ad..6bdd345c1d 100644 --- a/tests/test-core/testTests/js/IoCTestingTests.js +++ b/tests/test-core/testTests/js/IoCTestingTests.js @@ -530,7 +530,7 @@ fluid.tests.elementPriority.checkSequence = function (record) { fluid.defaults("fluid.tests.elementPrioritySequence", { gradeNames: "fluid.test.sequence", - elements: { + sequenceElements: { check: { gradeNames: "fluid.tests.elementPriority.check", options: { @@ -566,7 +566,7 @@ fluid.defaults("fluid.tests.elementPriority", { pushRecord: "fluid.tests.elementPriority.pushRecord({testCaseHolder}.record, {arguments}.0)" }, modules: [{ - name: "Priority-driven grade budding", + name: "FLUID-5903: Priority-driven grade budding", tests: [{ expect: 1, name: "Simple sequence of 4 active elements", diff --git a/tests/test-core/utils/js/IoCTestUtils.js b/tests/test-core/utils/js/IoCTestUtils.js index 0ec075829b..6e34bc1fc1 100644 --- a/tests/test-core/utils/js/IoCTestUtils.js +++ b/tests/test-core/utils/js/IoCTestUtils.js @@ -480,7 +480,7 @@ var fluid_2_0_0 = fluid_2_0_0 || {}; var sequenceComponent = fluid.construct(seqPath, {type: fixture.sequenceGrade}); fluid.test.checkComponentGrade(sequenceComponent, fixture.sequenceGrade, "fluid.test.sequence", "sequenceGrade", fixture); - var elements = fluid.transform(sequenceComponent.options.elements, function (element, i) { + var elements = fluid.transform(sequenceComponent.options.sequenceElements, function (element, i) { var elementPath = seqPath.concat(["sequenceElement-" + i]); var constructOptions = fluid.extend({type: element.gradeNames}, element.options); var elementComponent = fluid.construct(elementPath, constructOptions);