public void CreateSimplePreConditionRuleTest() { PreConditionRuleType rule = SequencingManager.CreateSimplePreConditionRule(SequencingRuleConditionType.completed, PreConditionRuleActionType.skip); Assert.IsNotNull(rule); Assert.AreEqual(SequencingRuleConditionType.completed, rule.ruleConditions.ruleCondition[0].condition); Assert.AreEqual(PreConditionRuleActionType.skip, rule.ruleAction.action); }
public void ClearSequencingTest() { Assert.IsNotNull(this.chapterItem.Sequencing); SequencingType seq = SequencingManager.ClearSequencing(this.chapterItem); Assert.IsNotNull(seq); Assert.AreEqual(seq, this.chapterItem.Sequencing); }
public void CreateNewSequencingTest() { foreach (ItemType item in this.items) { Assert.IsNotNull(item.Sequencing); SequencingType seq = SequencingManager.CreateNewSequencing(item); Assert.IsNotNull(seq); } }
public void CreateOrganizationDefaultSequencingTest() { SequencingManager.CreateOrganizationDefaultSequencing(this.organization); Assert.AreEqual(1, this.organization.SequencingPatterns.Count); }