Assembly metadata for the Visual Studio Team Test unit test framework.
Наследование: UnitTestFrameworkAssemblyBase
Пример #1
0
        public IAssembly GetUnitTestAssembly(UnitTestHarness testHarness, Assembly assemblyReference)
#endif
        {
            if (_assemblyCache.ContainsKey(assemblyReference))
            {
                return(_assemblyCache[assemblyReference]);
            }
            else
            {
                _assemblyCache[assemblyReference] = new UnitTestFrameworkAssembly(this, testHarness, assemblyReference);
                return(_assemblyCache[assemblyReference]);
            }
        }
Пример #2
0
        public IAssembly GetUnitTestAssembly(UnitTestHarness testHarness, Assembly assemblyReference)
#endif
        {
            if (_assemblyCache.ContainsKey(assemblyReference)) 
            {
                return _assemblyCache[assemblyReference];
            }
            else 
            {
                _assemblyCache[assemblyReference] = new UnitTestFrameworkAssembly(this, testHarness, assemblyReference);
                return _assemblyCache[assemblyReference];
            }
        }
Пример #3
0
 public void should_detect_assemblyInit_methods()
 {
     var unitTestFrameworkAssembly = new UnitTestFrameworkAssembly(null, null, this.GetType().Assembly);
     unitTestFrameworkAssembly.AssemblyInitializeMethod.ShouldNotBeNull();
 }