This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi guys, I have already finished my assignment, before submitting the assignment, I have to test my assignment. The most important test is about the locking mechanism.
How you guys make sure that there isn't a way to break the lock ?
I implemented the locking mechanism similar with the Denny's DVD in Andrew's book.
I tested by spawning 100 different client's that calling method read(int recNo) with the different recNo at the same time. Do you test all the methods in DBMain interface ? I think I must test all the methods also to make sure that my socket protocol is correct.