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