|
From: Oskar H. <osk...@de...> - 2002-01-10 12:55:52
|
OK ... great ... here are the changes we made to the MockObjects. (See attached zip file) List of changes * Support for validating multiple PreparedStatements executions pr. Connection. * The number of PreparedParameters are validated against the Prepared SQL statement. * PreparedStatements now supports the setNull(...) method * MockResultSetMetaData added. * MockResultSet.getString(int columnIndex) now converts all values to String. Changed files: com/mockobjects/sql/MockConnection.java com/mockobjects/sql/MockPreparedStatement.java com/mockobjects/sql/MockResultSet.java New files: com/mockobjects/ExpectationQueue.java (Used by the MockConnection class for PreparedStatement.) com/mockobjects/sql/MockResultSetMetaData.java com/mockobjects/test/TestExpectationQueue.java com/mockobjects/test/TestMockResultSetMetaData.java (This is not complete,I just implemented the methods I had use for.) com/mockobjects/test/TestConnection.java Hope you guys can use this. Regards Oskar H. -----Original Message----- From: moc...@li... [mailto:moc...@li...]On Behalf Of Steve Freeman Sent: 9. jan=FAar 2002 22:37 To: MockObjects Subject: Re: [MO-java-dev] Multi Prepared Statement MockConnections From: "Vincent Massol" <vm...@oc...> > Just a clarification to Steve's email so that there is no > misunderstanding (hoping that it is not me who is misunderstanding it > :-0 ). > > "In theory, people should send changes to one of the committers and have > them check it in" > > Of course, this means sending the patches to the list (not to an > individual committer) so that any committer who is available can help. > It also lets other review the submitted code and comment on it (this is > the principle of open source peer-review, as opposed to XP's > pair-programming ;-) ) sure, in practice I've been the only one committing for a while, so I just collapsed the format. S. =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F= =5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F Mockobjects-java-dev mailing list Moc...@li... https://lists.sourceforge.net/lists/listinfo/mockobjects-java-dev |