• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

junit gui problem

 
Dan Maples
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have written a test for junit, when I run it through the text version of junit the test passes, but when it is ran through the gui version it fails. Can anybody help me with this/has anybody had this happen to them also?

Thanks in advance Dan
[ June 24, 2004: Message edited by: dan maples ]
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Could you post some code or describe the test and the class under test?
Are you dealing with classloaders for example?
 
Dan Maples
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I solved the problem thank you very much for your reply.
[ June 24, 2004: Message edited by: dan maples ]
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34863
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Dan,
What was the problem?
 
Dan Maples
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
well I dont know what the problem was exactly, but I'll try to explain it. I wrote the test for a program that called on the soap, this is the program that the test only passed the text version and not the gui. Because what I really wanted to test was the soap, I just wrote a test that called directly on the soap itself. That test passed both the gui and the text versions of the test. So I never realy figured out why the the first one kept failing the gui and passing the text, but since I wrote a new test directly for the soap I stopped trying to figure it out. I hope that explains my situation a little better.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic