Exemple #1
0
        public void FindFileTest_NoMatch()
        {
            string   projectFile = @"C:\Users\Test\file.wcodeproj";
            string   projectName = "Project";
            IProject project     = new Project(projectFile, projectName);

            string        folderName = "Folder";
            ProjectFolder target     = new ProjectFolder(project, folderName);
            string        file       = @"C:\Folder\File.8xp";
            IProjectFile  expected   = null;
            IProjectFile  actual     = target.FindFile(System.IO.Path.GetFileName(file));

            Assert.AreEqual(expected, actual);
        }