Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
        static ISymbolWriterProvider GetSymbolWriterProvider(TestCecilAttribute attribute)
        {
            if (attribute.SymbolReaderProvider == null)
            {
                return(null);
            }

            return((ISymbolWriterProvider)Activator.CreateInstance(attribute.SymbolWriterProvider));
        }
Ejemplo n.º 3
0
 static CecilTestCase CreateTestCase(MethodInfo method, TestCecilAttribute attribute, TestCaseType type)
 {
     return(new CecilTestCase(method, attribute, type));
 }
Ejemplo n.º 4
0
		static CecilTestCase CreateTestCase (MethodInfo method, TestCecilAttribute attribute, TestCaseType type)
		{
			return new CecilTestCase (method, attribute, type);
		}
Ejemplo n.º 5
0
		static ISymbolWriterProvider GetSymbolWriterProvider (TestCecilAttribute attribute)
		{
			if (attribute.SymbolReaderProvider == null)
				return null;

			return (ISymbolWriterProvider) Activator.CreateInstance (attribute.SymbolWriterProvider);
		}
Ejemplo n.º 6
0
		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;
		}