Beispiel #1
0
        public bool UseTestAssembly(string assemblyName)
        {
            if (TestFiles.Count == 0 || string.IsNullOrWhiteSpace(assemblyName))
            {
                return(false);
            }

            return(TestFiles.Any(file => file.IsMatchingExpression(assemblyName)));
        }
Beispiel #2
0
        public bool UseTestAssembly(string assemblyName)
        {
            if (TestFiles.Count == 0 || string.IsNullOrWhiteSpace(assemblyName))
            {
                return(false);
            }

            return(TestFiles.Any(file => file.Value.Match(assemblyName).Success));
        }