Meaningless Drivel is fun!*
The moose likes Developer Certification (SCJD/OCMJD) and the fly likes urlyBird 1.2.3 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Certification » Developer Certification (SCJD/OCMJD)
Bookmark "urlyBird 1.2.3 " Watch "urlyBird 1.2.3 " New topic
Author

urlyBird 1.2.3

Payal Shah
Ranch Hand

Joined: Jul 10, 2006
Posts: 67
hi Roberto ,

I found your old post and but I cannot find your test for locking. I am testing my locking now and getting very nervous about automated failing and just want to test many differnt cases I can get. It would be a big help if you do not mind sharing your locking test with me or give me some ideas for testing.


Later today, I'll post the tests I created to test my locking mechanism (which are veeeeeeery simple)




Regards.
Roel De Nijs
Bartender

Joined: Jul 19, 2004
Posts: 5126
    
  12

Hi Payal,

Maybe you can get some inspiration in this thread

Kind Regards,
Roel


SCJA, SCJP (1.4 | 5.0 | 6.0), SCJD
http://www.javaroe.be/
Payal Shah
Ranch Hand

Joined: Jul 10, 2006
Posts: 67
thank you.. i will try that test also. Good link..
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2258
    
    3

Oh, right! Totally forgot about that. I'll try to post them here later today (I'll try not to forget this time ).


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
Alecsandru Cocarla
Ranch Hand

Joined: Feb 29, 2008
Posts: 158
You can also check this one


SCJP 1.4 100%
SCJD 99.5%
Payal Shah
Ranch Hand

Joined: Jul 10, 2006
Posts: 67
thank you all. I will check it out..
Payal Shah
Ranch Hand

Joined: Jul 10, 2006
Posts: 67
Alecsandru Cocarla,
I was looking at that. How would I know I pass the test. In JUnit I get green light but I do see lot of excpeitons on the console and also my database file has all the same records with different customer id. I guess i need look into more to see what is the correct output. But it is a very good test. Thank for sharing.

Excelsior Smallville 2 N $210.00 2005/03/23 72115129

thanks
Alecsandru Cocarla
Ranch Hand

Joined: Feb 29, 2008
Posts: 158
In the post containing the second version of the test it's also a small user guide.
Read the whole thread, also look a little bit through the code to see what it does, and come back if there are still problems. (preferably, you should ask questions on that thread, such that other ranchers can also see them and the answers there, on the dedicated discussion thread).
Payal Shah
Ranch Hand

Joined: Jul 10, 2006
Posts: 67
ok. sorry about that. I will use that thread. I will look more before asking.
thanks
Payal Shah
Ranch Hand

Joined: Jul 10, 2006
Posts: 67
How can I test for deadlock?
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: urlyBird 1.2.3
 
Similar Threads
I am failed, Please help
URLyBird 1.3.1: passed (383/400)
How can I test a record which is already locked by another client?
Providing unit tests
Urly Bird, Passed SCJD with 400