BlinkSyncTests.MainTest.CopyingFiles_ExcludeFromDeletionFileFilter C# (CSharp) Method

CopyingFiles_ExcludeFromDeletionFileFilter() private method

private CopyingFiles_ExcludeFromDeletionFileFilter ( ) : void
return void
        public void CopyingFiles_ExcludeFromDeletionFileFilter()
        {
            inputParams.IncludeDirs = null;
            inputParams.DeleteFromDest = true;
            inputParams.DeleteExcludeFiles = SyncTools.FileSpecsToRegex(new string[] { "*.jpg" });

            // test copying files with an exclude-from-deletion file filter
            expectedResults.Set(4, 0, 1, 0, 0, 0, 0);
            TestOneCase(new string[] { @"foo" }, new string[] { @"foo.txt", @"bar.txt", @"foo\foo1.txt", @"foo\foo2.txt" },
                new string[] { @"foo" }, new string[] { @"foo\foo3.jpg", @"foo\foo4.txt" },
               inputParams, expectedResults);
        }