Пример #1
0
        public void DllAssemblyListDirectoryNull()
        {
            string directoryPath = null;

            var dllLister = new DllAssemblyLister();

            string[] result = dllLister.GetDllPaths(directoryPath);

            Assert.AreEqual(result, null);
        }
Пример #2
0
        public void DllAssemblyListDirectoryWithoutDlls()
        {
            string directoryPath = @"..\..\..\TestLibrary\bin\Debug\netstandard2.0\EmptyFolder";

            var dllLister = new DllAssemblyLister();

            string[] result = dllLister.GetDllPaths(directoryPath);

            Assert.AreEqual(result.Length, 0);
        }