Beispiel #1
0
        private void AssertXmlFileCopierCommand(string sourceFilePath, string targetFilePath, XmlLauncherCommand command)
        {
            var xpathCommand = (XmlFileCopierCommand)command;

            Assert.That(xpathCommand.SourceFilePath, Is.EqualTo(sourceFilePath));
            Assert.That(xpathCommand.TargetFilePath, Is.EqualTo(targetFilePath));
        }
Beispiel #2
0
        private void AssertXmlXPathReplacerCommand(string filePath, string xpath, string value, XmlLauncherCommand command)
        {
            var xpathCommand = (XmlXPathReplacerCommand)command;

            Assert.That(xpathCommand.XPath, Is.EqualTo(xpath));
            Assert.That(xpathCommand.Value, Is.EqualTo(value));
            Assert.That(xpathCommand.FilePath, Is.EqualTo(filePath));
        }