private static IEnumerable <object[]> GetSuccessData()
        {
            yield return(new object[]
            {
                MockFileSystemFactory.CreateFileSystemWithEmptyFolder(),
                MockFileSystemFactory.CreateFileSystemWithEmptyGeneratedFiles(),
            });

            yield return(new object[]
            {
                MockFileSystemFactory.CreateFileSystemWithNewFiles(),
                MockFileSystemFactory.CreateFileSystemWithNewGeneratedFiles(),
            });

            yield return(new object[]
            {
                MockFileSystemFactory.CreateFileSystemWithModifiedFiles(),
                MockFileSystemFactory.CreateFileSystemWithModifiedGeneratedFiles(),
            });

            yield return(new object[]
            {
                // Generate valid files should not change the ARM template parameters file.
                MockFileSystemFactory.CreateFileSystemWithValidFiles(),
                MockFileSystemFactory.CreateFileSystemWithValidFiles(),
            });
        }
示例#2
0
        private static IEnumerable <object[]> GetSuccessData()
        {
            yield return(new object[]
            {
                MockFileSystemFactory.CreateFileSystemWithEmptyFolder(),
                MockFileSystemFactory.CreateFileSystemWithNewlyGeneratedFiles(),
            });

            yield return(new object[]
            {
                MockFileSystemFactory.CreateFileSystemWithModifiedFiles(),
                MockFileSystemFactory.CreateFileSystemWithValidFiles(),
            });
        }