예제 #1
0
 public Convention()
 {
     Classes = new ClassFilter().Where(type => !type.IsSubclassOf(typeof(Convention)));
     Cases = new MethodFilter().Where(m => !m.IsDispose());
     CaseExecution = new CaseBehaviorBuilder();
     InstanceExecution = new InstanceBehaviorBuilder();
     ClassExecution = new TypeBehaviorBuilder().CreateInstancePerCase();
 }
예제 #2
0
 public Convention()
 {
     Classes           = new ClassFilter().Where(type => !type.IsSubclassOf(typeof(Convention)));
     Cases             = new MethodFilter();
     CaseExecution     = new CaseBehaviorBuilder();
     InstanceExecution = new InstanceBehaviorBuilder();
     ClassExecution    = new TypeBehaviorBuilder().CreateInstancePerCase();
 }
예제 #3
0
        public Convention()
        {
            Classes           = new ClassFilter().Where(type => !type.IsSubclassOf(typeof(Convention)));
            Methods           = new MethodFilter().Where(m => !m.IsDispose());
            CaseExecution     = new CaseBehaviorBuilder();
            InstanceExecution = new InstanceBehaviorBuilder();
            ClassExecution    = new TypeBehaviorBuilder().CreateInstancePerCase();

            methodCallParameterBuilder = method => new object[][] { };
        }
예제 #4
0
파일: Convention.cs 프로젝트: jrios/fixie
        public Convention()
        {
            Classes = new ClassFilter().Where(type => !type.IsSubclassOf(typeof(Convention)));
            Methods = new MethodFilter().Where(m => !m.IsDispose());
            CaseExecution = new CaseBehaviorBuilder();
            InstanceExecution = new InstanceBehaviorBuilder();
            ClassExecution = new TypeBehaviorBuilder().CreateInstancePerCase();

            methodCallParameterBuilder = method => new object[][] { };
        }
예제 #5
0
 public CaseBehaviorBuilderTests()
 {
     builder = new CaseBehaviorBuilder();
     instance = new SampleTestClass();
 }