Net.Sf.Dbdeploy.Scripts.ChangeScriptRepositoryTest.CanOrderFilesWithoutLeadingZeros C# (CSharp) Method

CanOrderFilesWithoutLeadingZeros() private method

private CanOrderFilesWithoutLeadingZeros ( ) : void
return void
        public void CanOrderFilesWithoutLeadingZeros()
        {
            //StringWriter writer = new StringWriter();
            //DirectoryScanner directoryScanner = new DirectoryScanner(writer, Encoding.UTF8);

            //List<ChangeScript> changeScripts = directoryScanner.GetChangeScriptsForDirectory(new DirectoryInfo(@"Mocks\Versioned\2.0.0.0"));

            //Assert.IsNotNull(changeScripts, "Change scripts should not be null.");
            //Assert.Greater(changeScripts.Count, 0, "No change scripts where found.");

            //Assert.IsTrue(changeScripts.Any(c => "8.Create Product Table.sql"), changeScripts[0].ScriptName, "8.Create Product Table.sql should be first.");
            //Assert.AreEqual("09.Add Product Data.sql", changeScripts[1].ScriptName, "09.Add Product Data.sql should be second.");
            //Assert.AreEqual("10.Add Sold Column.sql", changeScripts[2].ScriptName, "10.Add Sold Column.sql should be last.");

            //Assert.AreEqual(3, changeScripts.Count, "More scripts where found than expected.");
        }