示例#1
0
 public string GetTestName(NStub.CSharp.BuildContext.IMemberBuildContext context, string originalName)
 {
     GetTestNameCalled++;
     return("what a test");
 }
示例#2
0
 public bool Build(NStub.CSharp.BuildContext.IMemberBuildContext context)
 {
     BuildCalled++;
     return(true);
 }
示例#3
0
 public void TearDown()
 {
     this.testObject = null;
     this.context    = null;
     this.mocks      = null;
 }
示例#4
0
 public void SetUp()
 {
     this.mocks      = new MockRepository();
     this.context    = this.mocks.StrictMock <NStub.CSharp.BuildContext.IMemberBuildContext>();
     this.testObject = new ConstructorBuilder(this.context);
 }
示例#5
0
 public void TearDown()
 {
     this.testObject = null;
     this.context = null;
     this.mocks = null;
 }
示例#6
0
 public void SetUp()
 {
     this.mocks = new MockRepository();
     this.context = this.mocks.StrictMock<NStub.CSharp.BuildContext.IMemberBuildContext>();
     this.testObject = new ConstructorBuilder(this.context);
 }