From: Griffin C. <gri...@ya...> - 2004-01-30 18:50:57
|
> heh... i guess you'll have to work hard to do that. > :-( If it provides value... > my work was a proof of concept. i'm not using cvs > to > record changes by now. i started porting from the > dotnetmock official distrib. alas, i rearranged the > directories sources to allow mass source changes > inside visual studio since that's our build tool in > here. > > if you are still interested i can send you the > project. What do you mean by 'mass source changes'? > can't tell right now. i'm just starting to using > it. > still, one problem that i couldn't solve neither > investigate was the assert in <snip....> Ah, I see. I think the datatable.equals test was to see if the table passed in equals the table given. I am not sure that it does a 'data' equals, just a object reference comparision. > > Also, I am always curious about what people think > are > > using DotNetMock and what they think? > > my main interest is the IDbConnection family > mock-object > classes (the ones that follows Steve Freeman's > proposal > for data base testing of our own project. Great, since many of those classes are in DotNetMock. One word of warning, the IDataParamterCollection interface does NOT specify a strongly type Add method, so you can't do this: IDbCommand.Parameters.Add( IDataParamter ) for some reason, MS stopped short of defining the interface for IDataParamterCollection. It works fine if you do this: SqlCommand.Parameters.Add( SqlParameter ) go figure.... > Regards, > -Hernan Also, check out the DotNetMock wiki at dotnetmock.sourceforge.net I am always putting new info up there, and you are welcome to add to it. Thanks, Griffin ===== Griffin Caprio __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ |