From: Jeff M. <je...@cu...> - 2003-08-22 09:16:29
|
Happy to accept anything anyones got to offer. The general proceddure for submissions is to create a patch files cvs diff -u > diff.txt and send it into the dev list with any new files you have. Someone will then look at it and either commit it straight away, commit it with minor alterations or provide feedback as to more significant changes that need to be made before it's commited. As a little note smaller patches submitted more frequently are easier for us to intergrate and six months of work in one huge patch file (release early, release often. small iterations...) On Fri, 2003-08-22 at 07:27, Tony Obermeit wrote: > Out of necessity I've made changes to the MockDatabaseMetaData class and > added implementation for a number of methods..... > > getDatabaseProductName()); > getDatabaseProductVersion()); > getDriverVersion()); > getDriverMajorVersion()); > getDriverMinorVersion()); > getCatalogTerm()); > getSchemaTerm()); > getProcedureTerm()); > getMaxColumnsInTable()); > getMaxColumnsInSelect()); > getMaxColumnNameLength()); > getDriverName()); > getURL()); > getUserName()); > getSearchStringEscape()); > getSQLKeywords()); > getNumericFunctions()); > getStringFunctions()); > getTimeDateFunctions()); > getSystemFunctions()); > > I'm happy and keen to contribute these changes to the project but did not > see any link or suggestions on the home page that tells me how to > contribute or what standards to follow. These methods were simple to > implement however I did provided default values for each of these > properties which means a user of the mock object doesn't necessarily have > to run the setup methods. If that is considered bad form, I'll gladly > remove the defaults. > > If required to be able to contribute, I'm happy to implement more methods > than those listed above, those were just the first ones I needed to use for > my application. > > Additionally, I want to add a setup method that will cause a SQLException > to be thrown if accessing the getDatabaseProductName method which will > allow me to accomplish 100% code coverage of a particular area of my > code. Is such a method acceptable? > > I appreciate the help that has been given me on this list lately, I'm quite > keen to become involved but have stuck to the non dynamic mock objects > because they work a little better for me at the moment. I'm sure I can be > persuaded as time goes on.... > > thanks > > Tony > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: VM Ware > With VMware you can run multiple operating systems on a single machine. > WITHOUT REBOOTING! Mix Linux / Windows / Novell virtual machines > at the same time. Free trial click here:http://www.vmware.com/wl/offer/358/0 > _______________________________________________ > Mockobjects-java-users mailing list > Moc...@li... > https://lists.sourceforge.net/lists/listinfo/mockobjects-java-users -- Jeff Martin Memetic Engineer http://www.custommonkey.org/ |