public CecilTestCase(MethodInfo method, TestCecilAttribute attribute, TestCaseType type) : base(method) { this.TestName.Name = type.ToString(); this.TestName.FullName = method.DeclaringType.FullName + "." + method.Name + "." + type; this.attribute = attribute; this.type = type; }
static ISymbolWriterProvider GetSymbolWriterProvider(TestCecilAttribute attribute) { if (attribute.SymbolReaderProvider == null) { return(null); } return((ISymbolWriterProvider)Activator.CreateInstance(attribute.SymbolWriterProvider)); }
static CecilTestCase CreateTestCase(MethodInfo method, TestCecilAttribute attribute, TestCaseType type) { return(new CecilTestCase(method, attribute, type)); }
static CecilTestCase CreateTestCase (MethodInfo method, TestCecilAttribute attribute, TestCaseType type) { return new CecilTestCase (method, attribute, type); }
static ISymbolWriterProvider GetSymbolWriterProvider (TestCecilAttribute attribute) { if (attribute.SymbolReaderProvider == null) return null; return (ISymbolWriterProvider) Activator.CreateInstance (attribute.SymbolWriterProvider); }
public CecilTestCase (MethodInfo method, TestCecilAttribute attribute, TestCaseType type) : base (method) { this.TestName.Name = type.ToString (); this.TestName.FullName = method.DeclaringType.FullName + "." + method.Name + "." + type; this.attribute = attribute; this.type = type; }