Esempio n. 1
0
        public void UnityEngineExtensionAssemblyPathIsFound(string assemblyName)
        {
            var paths  = AssemblyInfoProvider.GetPrecompiledAssemblyPaths(PrecompiledAssemblyTypes.UnityEngine);
            var result = paths.FirstOrDefault(path => path.EndsWith(assemblyName));

            Assert.NotNull(result);
        }
Esempio n. 2
0
        public void PackageAssemblyPathIsFound()
        {
            // check mono cecil is found
            var paths  = AssemblyInfoProvider.GetPrecompiledAssemblyPaths(PrecompiledAssemblyTypes.UserAssembly);
            var result = paths.FirstOrDefault(path => path.EndsWith("Mono.Cecil.dll"));

            Assert.NotNull(result);
        }
Esempio n. 3
0
        public void UnityEngineAssemblyPathIsFound(string assemblyRelativePath)
        {
            var paths        = AssemblyInfoProvider.GetPrecompiledAssemblyPaths(PrecompiledAssemblyTypes.UnityEngine);
            var expectedPath = EditorApplication.applicationContentsPath + assemblyRelativePath;
            var result       = paths.FirstOrDefault(path => path.Equals(expectedPath));

            Assert.NotNull(result);
        }