Assembly metadata for the Visual Studio Team Test unit test framework.
Inheritance: UnitTestFrameworkAssemblyBase
Ejemplo n.º 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]);
            }
        }
Ejemplo n.º 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];
            }
        }
Ejemplo n.º 3
0
 public void should_detect_assemblyInit_methods()
 {
     var unitTestFrameworkAssembly = new UnitTestFrameworkAssembly(null, null, this.GetType().Assembly);
     unitTestFrameworkAssembly.AssemblyInitializeMethod.ShouldNotBeNull();
 }