コード例 #1
0
        public StaticModelType(string sourceFileName)
        {
            _projectFileHelper  = new ProjectFileHelper();
            _variableNameHelper = new VariableNameHelper();

            _sourceFileName = sourceFileName;
        }
コード例 #2
0
        public SetupAspectLoaderMock(FieldAndType aspectLoaderField)
        {
            _typeHelper         = new TypeHelper();
            _variableNameHelper = new VariableNameHelper();

            _aspectLoaderType = aspectLoaderField.TypeExtension.Type;
            _mockVariableName = aspectLoaderField.Name;
        }
コード例 #3
0
        public UnitTest(string targetAssemblyNameParam, string targetTypeName, string unitTestFileName = "")
        {
            _typeHelper         = new TypeHelper();
            _projectFileHelper  = new ProjectFileHelper();
            _variableNameHelper = new VariableNameHelper();

            _targetAssemblyNameParam = targetAssemblyNameParam;
            _targetTypeName          = targetTypeName;
            _unitTestFileName        = unitTestFileName;
        }
コード例 #4
0
        public TestInitialise(
            string targetFieldName,
            Type targetType,
            IList <FieldAndType> mockFieldAndTypeList)
        {
            _variableNameHelper = new VariableNameHelper();

            _targetFieldName      = targetFieldName;
            _targetType           = targetType;
            _mockFieldAndTypeList = mockFieldAndTypeList;
        }
コード例 #5
0
        public ConstructorTestMethods(string targetTypeName)
        {
            _variableNameHelper = new VariableNameHelper();

            _targetTypeName = targetTypeName;
        }
コード例 #6
0
 public void TestInitialise()
 {
     _targetHelper = new VariableNameHelper();
 }