Hello, I am currently developing WebDriver test cases, which all might produce exceptions named WebDriverException. Is it some how possible to catch (and...
23136
joelemm
Jan 1, 2011 10:25 pm
i'm trying to use the @Before, @After annotations and i get a "... cannot be resolved to a type" error. i am importing as follows: import org.junit.Test; ...
23137
Malte Finsterwalder
maltefinster...
Jan 1, 2011 11:15 pm
You need to import Annotations as well: org.junit.Before org.junit.After Greetings, Malte...
23138
joelemm
Jan 2, 2011 1:06 am
i fixed this by changing the import from: import org.junit.Test; to import org.junit.*; not sure if there's a better way......
23139
David Saff
dsaff
Jan 3, 2011 2:31 pm
jogrimst, It depends. With Rules in JUnit 4, you can hook up a Rule that will have a chance to handle any exceptions thrown by all test methods in a class,...
23140
sofiene.hammad@...
sofiene.hamm...
Jan 10, 2011 9:45 am
Hi, I'm currently doing some studies in a degree of coding & networks in a college in France. This year we have a 250 hours project, and my goal in this...
23141
David Saff
dsaff
Jan 10, 2011 12:19 pm
The main thing to check is whether the Java Runtime Environment for your system supports reflection. If it doesn't, then many native features of JUnit will...
23142
jaroslavtulach
Jan 13, 2011 1:36 pm
Hello JUnit guys. I know my post is going to sound silly, but I'll try anyway. We have new lawyers. Our new lawyers seem to be concerned about the JUnit...
23143
Mike Forsberg
bigmike_f
Jan 13, 2011 2:12 pm
Sorry, didn't see the bit about your product being an IDE. But still... ... [Non-text portions of this message have been removed]...
23144
Mike Forsberg
bigmike_f
Jan 13, 2011 2:12 pm
Traditionally, it is common place to not redistribute JUnit. Most products run fine without the JUnit jars included in the final release. The jars are only...
23145
Kent Beck
kentlbeck
Jan 13, 2011 3:24 pm
Dear Jaroslav, Thank you for the message. It is not practical to change the license for JUnit because of the difficult of identifying and notifying...
23146
jaroslavtulach
Jan 14, 2011 9:49 am
Thanks for your fast reply Kent. I am glad we have an option to pay for a better license, especially one without the patent clause[1]. Now I fully understand...
23147
Kent Beck
kentlbeck
Jan 14, 2011 3:37 pm
All, Since the question about the JUnit license came up recently, I thought I'd clarify the story of why the license is the way it is. Pre-license For the...
23148
Malte Finsterwalder
maltefinster...
Jan 14, 2011 4:09 pm
Just an idea that popped up in my mind: Would it solve the problem if someone sponsored the move of JUnit to another licence, instead of bying a commercial...
23149
Bill Shannon
bs00011
Jan 14, 2011 9:42 pm
... If you don't understand why people object to the patent litigation clause, well, then you're like me a few days ago, or like most of the people who use...
23150
milestravisparker
milestravisp...
Jan 15, 2011 2:49 am
The following posts might be helpful.. http://dev.eclipse.org/blogs/mike/2009/04/16/one-small-step-towards-reducing-license-proliferation/ ...
23151
jaroslavtulach
Jan 15, 2011 3:14 pm
Very interesting, thanks for sharing the links! ... It has not come to my mind[1] that EPL1.0 supercedes CPL1.0! When I asked for "more modern license" I did...
23152
Mike Forsberg
bigmike_f
Jan 16, 2011 8:09 pm
As the text of an e-mail does not carry the facial expressions and tonality of the spoken word, I'm not sure if your sarcastic or not. (Even though, I do have...
23153
mmilinkov
Jan 16, 2011 8:09 pm
I just wanted to reiterate what others have pointed out. Because the EPL has superseded the CPL as its new version, it is not necessary to seek the approval of...
23154
Kent Beck
kentlbeck
Jan 17, 2011 3:42 pm
Bill, I can understand why Oracle lawyers object to the patent provisions of the CPL. It makes sense to me to work out a business arrangement to address the...
23155
Kent Beck
kentlbeck
Jan 17, 2011 3:44 pm
Malte, That sounds ideal to me. I would love to have a stable source of support for JUnit so it can continue to evolve. Regards, Kent ... [Non-text portions of...
23156
Frederic Jean
freddyjean23
Jan 17, 2011 5:31 pm
Kent, Please leave JUnit under the CPL. We need something to keep Oracle's aggressiveness in check. On an unrelated note, Google uses and extends JUnit to test...
23157
pdoranwu
Jan 18, 2011 1:41 am
Hi, I am contributing to bluej project which is a java IDE targeted for university students. It is multi threaded environment. Here is a code snippet that we...
23158
David Saff
dsaff
Jan 18, 2011 2:22 am
Hmm. That's a surprising result to me. Do you have time to boil it down into a single class I can run on its own? Thanks, David Saff...
23159
David Saff
dsaff
Jan 19, 2011 1:44 pm
Emanuela, Have you tried with junit-4.8.2.jar? Do you have the same problem? David...
23160
David Saff
dsaff
Jan 19, 2011 3:00 pm
Emanuela, Please include the user group on each mail by using "reply to all", so other people get a chance to help. What happens if you run jar tf...
23161
patrick doran-wu
pdoranwu
Jan 19, 2011 10:51 pm
Hi, Problem fixed. I did not completely convert over from junit3 to junit4. I had the testclass still inheriting from junit3 TestCase. It all works now. Thanks...
23162
Emanuela Bertelli
manuspa_72@...
Jan 20, 2011 10:10 am
Sorry but not work again see the message error: C:\TOOL_TEST\JUnit\junit4.9b2>"C:92;Program Files (x86)\Java92;jre692;bin\java.exe" or g.junit.runner.JUnitCore...
23163
David Saff
dsaff
Jan 20, 2011 2:03 pm
Emanuela, Were you able to find the jar tool, and use it to find the contents of the jar on your classpath? David Saff...
23164
David Saff
dsaff
Jan 20, 2011 3:10 pm
Emanuela, I'm afraid I'm out of ideas. When I'm at a computer later, I'll double-check that the jar is well-formed. In the meantime, maybe people who have...