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