public void WildCard()
        {
            ITaskItem[] itemList = new ITaskItem[]
            {
                new TaskItem(@"abc\def\Tizen.dll"),
                new TaskItem(@"Tizen\def\Tizen.dll"),
                new TaskItem(@"abc\def\Tizen.Application.dll"),
                new TaskItem(@"abc\def\Test.Application.dll"),
                new TaskItem(@"abc\def\MyTest.dll"),
                new TaskItem(@"Tizen\def\MyTest.dll"),
            };

            Tasks.FindPatternInList myTask = new Tasks.FindPatternInList();

            myTask.BuildEngine = new MockBuild();
            myTask.List        = itemList;
            myTask.Patterns    = @"Tizen*.dll";

            Assert.True(myTask.Execute());

            myTask.MatchList.Count().Should().Be(3);
            myTask.MatchList
            .Select(x => x.ItemSpec)
            .Should()
            .Contain(new string[]
            {
                @"abc\def\Tizen.dll",
                @"Tizen\def\Tizen.dll",
                @"abc\def\Tizen.Application.dll"
            });
        }
        public void LinuxType()
        {
            ITaskItem[] itemList = new ITaskItem[]
            {
                new TaskItem(@"/Tizen.dll"),
                new TaskItem(@"abc/def/Tizen.dll"),
                new TaskItem(@"abc/def/Tizen.pdb"),
                new TaskItem(@"Tizen/def/Tizen.dll"),
                new TaskItem(@"abc/def/Tizen.Application.dll"),
                new TaskItem(@"abc/def/Test.Application.dll"),
                new TaskItem(@"abc/def/MyTest.dll"),
                new TaskItem(@"Tizen/abc/TizenTizen.dll"),
            };

            Tasks.FindPatternInList myTask = new Tasks.FindPatternInList();

            myTask.BuildEngine = new MockBuild();
            myTask.List        = itemList;
            myTask.Patterns    = @"**/def/*Tizen*.dll;Tizen.dll";

            Assert.True(myTask.Execute());

            myTask.MatchList.Count().Should().Be(4);
            myTask.MatchList
            .Select(x => x.ItemSpec)
            .Should()
            .Contain(new string[]
            {
                @"/Tizen.dll",
                @"abc/def/Tizen.dll",
                @"Tizen/def/Tizen.dll",
                @"abc/def/Tizen.Application.dll"
            });
        }