You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(80) |
Nov
(42) |
Dec
(3) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(11) |
Feb
(50) |
Mar
(70) |
Apr
(102) |
May
(28) |
Jun
(45) |
Jul
(14) |
Aug
(75) |
Sep
(17) |
Oct
(15) |
Nov
(11) |
Dec
(4) |
2003 |
Jan
(16) |
Feb
(19) |
Mar
(21) |
Apr
(20) |
May
(29) |
Jun
(7) |
Jul
(5) |
Aug
|
Sep
|
Oct
(2) |
Nov
(3) |
Dec
(3) |
2004 |
Jan
(5) |
Feb
(4) |
Mar
(1) |
Apr
(1) |
May
(1) |
Jun
(1) |
Jul
(7) |
Aug
(1) |
Sep
(6) |
Oct
(6) |
Nov
(1) |
Dec
(2) |
2005 |
Jan
(4) |
Feb
(4) |
Mar
(15) |
Apr
(1) |
May
|
Jun
(4) |
Jul
(6) |
Aug
(6) |
Sep
|
Oct
(4) |
Nov
(2) |
Dec
(4) |
2006 |
Jan
|
Feb
(91) |
Mar
(47) |
Apr
(7) |
May
(4) |
Jun
(9) |
Jul
(1) |
Aug
|
Sep
(5) |
Oct
(36) |
Nov
(95) |
Dec
(12) |
2007 |
Jan
(11) |
Feb
(31) |
Mar
(45) |
Apr
(11) |
May
(9) |
Jun
(1) |
Jul
(146) |
Aug
(15) |
Sep
|
Oct
(3) |
Nov
(6) |
Dec
(1) |
2008 |
Jan
(2) |
Feb
(1) |
Mar
(1) |
Apr
(1) |
May
(1) |
Jun
(3) |
Jul
(2) |
Aug
(19) |
Sep
(1) |
Oct
(10) |
Nov
|
Dec
(8) |
2009 |
Jan
(3) |
Feb
(1) |
Mar
(4) |
Apr
(8) |
May
(5) |
Jun
(4) |
Jul
(2) |
Aug
(1) |
Sep
(2) |
Oct
(13) |
Nov
(13) |
Dec
(4) |
2010 |
Jan
(1) |
Feb
(2) |
Mar
(1) |
Apr
(2) |
May
|
Jun
(1) |
Jul
(3) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2011 |
Jan
(1) |
Feb
(4) |
Mar
(3) |
Apr
(4) |
May
|
Jun
(12) |
Jul
(16) |
Aug
(4) |
Sep
(7) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
|
Mar
(2) |
Apr
|
May
(2) |
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2014 |
Jan
(5) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
(3) |
Dec
|
From: David S. <da...@sa...> - 2008-08-15 20:02:46
|
I don't have experience with SeamTest. What you could do is use a custom runner: ================================================ import org.junit.runners.BlockJUnit4ClassRunner; import org.junit.runners.model.InitializationError; public class SimulateTestNg extends BlockJUnit4ClassRunner { private Object testInstance; public SimulateTestNg(Class<?> klass) throws InitializationError { super(klass); } @Override protected Object createTest() throws Exception { if (testInstance == null) testInstance = super.createTest(); return testInstance; } } ================================================ @RunWith(SimulateTestNg.class) public class MySeamTest extends SeamTest { // tests here... } ================================================ Would this work for you? Thanks, David Saff On Fri, Aug 8, 2008 at 4:22 AM, Bernard Łabno <s4...@pj...> wrote: > Have you got experience with SeamTest ? I thought that init method must be > run for every object that is instance of SeamTest. > > |
From: David S. <da...@sa...> - 2008-08-15 19:45:23
|
All, Any members of the list can post, but non-members are told their messages are being held for moderation. It turns out there were no active moderators attached to the list, and we had built up hundreds of messages in moderation. I tried to scan for legitimate mails, but if I missed your message, or if you had a legitimate JUnit question marked as "HOT STOCKS TODAY", please re-post. Thanks, David Saff |
From: Anirudh C. <ani...@gm...> - 2008-08-06 16:21:43
|
Hello, I am new to this group and the following questions might have been discussed before - however, i was unable to search the archives of this mailing list. I am attempting to extend JUnit4. I have done a couple of things - i have extended RunListener and overridden some methods and i have extended TestClassRunner and created a custom runner to register my listener. My questions follow: 1. Is this the right way to hook into the events framework? After searching online and reading many articles, i tend to believe so. However, i would like to confirm. 2. I never get a callback to testRunStarted and testRunFinished. Even when i debugged through JUnit code, i do not see a code flow that calls these methods. Am i missing something? I would like some action to take place at the end of all the tests. How do i achieve this? 3. I use the internal method notifier.addListener(). Even though this works, i dont feel good using an internal method. Is there any other way to achieve this? Ditto while extending TestClassRunner. Any alternate ways will be helpful. Looking for these answers using Google provided very little information. Any help will be appreciated. Cheers, Anirudh |
From: Bernard Ł. <bl...@tl...> - 2008-07-30 07:02:22
|
Hello, I'm using Seam and want to run tests using it's SeamTest class, but it is meant for TestNG. I want to extend it and annotate some methods that will call appropriate super methods. However Junit4 requires method annotated with @BeforeClass to be public static and SeamTest.init methods is protected non-static. Are there any serious reasons to keep @BeforeClass methods static ? If so what would you propose to do in my situation ? That init method takes quite long to start and I don't know if it is wise to put it into constructor. |
From: shawn s. <une...@ho...> - 2008-07-11 13:37:37
|
Please add me to post messages _________________________________________________________________ Need to know now? Get instant answers with Windows Live Messenger. http://www.windowslive.com/messenger/connect_your_way.html?ocid=TXT_TAGLM_WL_messenger_072008 |
From: Build A. <vim...@vi...> - 2008-06-10 20:05:12
|
[parabuild] JUnit (#144) FAILED due to a system error. Build administrator has been notified about the error. Build Details ------------------------------------------------------------ Build name: JUnit Build number: 144 Started at: 12:38 PM 06/10/2008 Change list: 13392 Sync to this build: cvs update -P -A -d -D "2008-06-10 18:08:34 GMT" |
From: Build A. <vim...@vi...> - 2008-06-10 18:21:33
|
[parabuild] JUnit (#143) FAILED due to a system error. Build administrator has been notified about the error. Build Details ------------------------------------------------------------ Build name: JUnit Build number: 143 Started at: 10:55 AM 06/10/2008 Change list: 13389 Sync to this build: cvs update -P -A -d -D "2008-06-10 17:47:29 GMT" |
From: Nir S. <ni...@gm...> - 2008-06-09 13:30:08
|
This patch correct the example of how to run junit from the console. Index: doc/cookbook/cookbook.htm =================================================================== RCS file: /cvsroot/junit/junit/doc/cookbook/cookbook.htm,v retrieving revision 1.10 diff -u -r1.10 cookbook.htm --- doc/cookbook/cookbook.htm 31 May 2007 14:49:09 -0000 1.10 +++ doc/cookbook/cookbook.htm 9 Jun 2008 13:28:01 -0000 @@ -102,7 +102,7 @@ to define the suite to be run and to display its results. To run tests and see the results on the console, run: <blockquote> - < pre > <tt>org.junit.runner.JUnitCore.runClasses(TestClass1.class, ...); +<pre><tt>java org.junit.runner.JUnitCore TestClass1 TestClass2 ... </tt></pre> </blockquote> You make your JUnit 4 test classes accessible to a TestRunner designed to work with earlier versions of JUnit, |
From: Build A. <vim...@vi...> - 2008-05-12 16:08:40
|
BUILD result ------------------------------------------------------------ BUILD for JUnit (#137) on localhost was BROKEN: Script returned non-zero code "1" Build status: http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=5 Suspect Changes ------------------------------------------------------------ Change(s) by dsaff : - Fixed test; Time: 08:48 AM 05/12/2008; Change list: 13106 - JavaDoc cleanup; Time: 08:48 AM 05/12/2008; Change list: 13105 - Javadoc cleanup; Time: 08:46 AM 05/12/2008; Change list: 13104 Change(s) Details: http://parabuild.viewtier.com:8080/parabuild/build/changes.htm?buildrunid=9298 BUILD logs ------------------------------------------------------------ BUILD log: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=13453 Error Lines: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=13454 Log Lines Around Error ------------------------------------------------------------ [javadoc] Loading source files for package org.junit.runner.notification... [javadoc] Loading source files for package org.junit.runners... [javadoc] Loading source files for package org.hamcrest.core... [javadoc] Constructing Javadoc information... [javadoc] Standard Doclet version 1.5.0_10 [javadoc] Building tree for all the packages and classes... [javadoc] Generating /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20080512-0907/javadoc/serialized-form.html... [javadoc] Copying file /opt/parabuild/etc/build/b5co/a/u/t/o/junit/stylesheet.css to file /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20080512-0907/javadoc/stylesheet.css... [javadoc] Building index for all the packages and classes... [javadoc] Building index for all classes... populate-dist: [copy] Copying 20 files to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20080512-0907/doc [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20080512-0907 [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20080512-0907 dist: [java] JUnit version 4.5-SNAPSHOT-20080512-0907 [java] ..................................................................................................................................................................................................................................................................................I.II.............................................................................................E....................I [java] Time: 5.768 [java] There was 1 failure: [java] 1) showFailedAssumptionsWhenNoParametersFound(org.junit.tests.experimental.theories.runner.WhenNoParametersMatch) [java] org.junit.experimental.theories.internal.ParameterizedAssertionError: showFailedAssumptionsWhenNoParametersFound(ints[0], matchers[0]) [java] at org.junit.experimental.theories.Theories$TheoryAnchor.reportParameterizedError(Theories.java:157) [java] at org.junit.experimental.theories.Theories$TheoryAnchor$1$1.evaluate(Theories.java:112) [java] at org.junit.experimental.theories.Theories$TheoryAnchor.runWithCompleteAssignment(Theories.java:93) BUILD FAILED [java] at org.junit.experimental.theories.Theories$TheoryAnchor.runWithAssignment(Theories.java:77) /opt/parabuild/etc/build/b5co/a/u/t/o/junit/build.xml:136: Java returned: 1 [java] at org.junit.experimental.theories.Theories$TheoryAnchor.runWithIncompleteAssignment(Theories.java:86) [java] at org.junit.experimental.theories.Theories$TheoryAnchor.runWithAssignment(Theories.java:75) Total time: 37 seconds [java] at org.junit.experimental.theories.Theories$TheoryAnchor.runWithIncompleteAssignment(Theories.java:86) [java] at org.junit.experimental.theories.Theories$TheoryAnchor.runWithAssignment(Theories.java:75) [java] at org.junit.experimental.theories.Theories$TheoryAnchor.evaluate(Theories.java:63) [java] at org.junit.internal.runners.links.RunTestNotifier.run(RunTestNotifier.java:20) [java] at org.junit.internal.runners.JUnit4ClassRunner.runChild(JUnit4ClassRunner.java:92) [java] at org.junit.internal.runners.JUnit4ClassRunner.runChild(JUnit4ClassRunner.java:26) [java] at org.junit.internal.runners.ParentRunner$1.evaluate(ParentRunner.java:68) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:29) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:31) [java] at org.junit.internal.runners.ParentRunner.run(ParentRunner.java:123) [java] at org.junit.runners.Suite.runChild(Suite.java:105) [java] at org.junit.runners.Suite.runChild(Suite.java:22) [java] at org.junit.internal.runners.ParentRunner$1.evaluate(ParentRunner.java:68) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:29) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:31) [java] at org.junit.internal.runners.ParentRunner.run(ParentRunner.java:123) [java] at org.junit.runners.Suite.runChild(Suite.java:105) [java] at org.junit.runners.Suite.runChild(Suite.java:22) [java] at org.junit.internal.runners.ParentRunner$1.evaluate(ParentRunner.java:68) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:29) Timings ------------------------------------------------------------ BUILD took 39 seconds |
From: Martin K. <Mar...@me...> - 2008-04-18 09:28:25
|
Dear jUnit Developers, I am using JUnit Version 4.4 and I was facing an unexpected behavior. Having two @Before methods in my test case I was facing an unexpected NullPointerException. Doing a 30sec digg I came up that JUnit 4 executes @Before and @BeforeClass methods of the same class in the reverse (and so unnatural) order. Sure the cookbook states that there is no guarantee about the order of execution, but this isn't such kind of necessarity. The reason for the reverse order can be found in the method TestCase::getAnnotatedMethods. The sequence is: foreach class of getSuperClasses(fClass) do collect all methods annotated with the given annotation if annotation is @Before or @BeforeClass //runsTopToButtom then reverse list of annotated methods. Since the whole list of methods is reversed the natural order (declaration order) of the methods is not preserved and anything would be executed bottom up even within the same class. To change this behavior and to preserve the natural order (you can guarantee that after imposing the change) it is simply to reverse the class list (getSuperClasses) rather than the annotated methods list: Enhanced version preserving natural order on class level: public List<Method> getAnnotatedMethods( Class<? extends Annotation> annotationClass) { List<Method> results= new ArrayList<Method>(); List<Class<?>> classes = getSuperClasses(fClass); if(runsTopToBottom(annotationClass)) Collection.reverse(classes); for (Class<?> eachClass : classes) { Method[] methods= eachClass.getDeclaredMethods(); for (Method eachMethod : methods) { Annotation annotation= eachMethod.getAnnotation(annotationClass); if (annotation != null && ! isShadowed(eachMethod, results)) results.add(eachMethod); } } } Please consider to preserve the natural order in the next release. It is not feeling correctly and I am quite certain I am not the only one stumbled accross. About backward compatibility: Since the library does not give any guarantee about the execution order of @Before and @BeforeClass annotated methods (beside super classes first) such change in execution order is just a concretion. So introducing this feature should only make problems if someone rely on an implementation detail (reverse natural order) and therefore rely on a non-guranteed feature. So please consider to correct this felt inconsitency. Cheers, Martin (Kersten) Email: Mar...@me... |
From: Ashish, S. <sa...@fi...> - 2008-03-13 10:14:12
|
********************************************************************** This message contains confidential information intended only for the use of the addressee(s) named above and may contain information that is legally privileged. If you are not the addressee, or the person responsible for delivering it to the addressee, you are hereby notified that reading, disseminating, distributing or copying this message is strictly prohibited. If you have received this message by mistake, please immediately notify us by replying to the message and delete the original message immediately thereafter. Thank you. FADLD Tag ********************************************************************** |
From: Peter L. <pet...@go...> - 2008-02-21 22:11:02
|
Hi, I am seeking a little help getting up and running with JUnit - hopefully this is the right list. I have installed the JUnit jar in my extensions folder, and it works properly, however, when I run it I get the error: "Could not find class: org.xxx.powersim.ModelTest Time: 0 OK (0 tests) Java Result: 1" ModelTest has been compiled properly, and looks like this: package org.xxx.powersim; import org.junit.*; import static org.junit.Assert.*; import java.util.*; public final class ModelTest { public static void main(String args[]) { org.junit.runner.JUnitCore.main("org.xxx.powersim.ModelTest"); } @Test public void testJunit() { assertTrue(true); } } Pretty simple stuff. As you can see I'm trying to use the 'main' method of the test to execute the test itself... but I've tried running it via the runner from the command line also: "java org.junit.runner.JUnitCore org.xxx.powersim.ModelTest". I get the same result. It might be a package issue, so here's how I have things set up in the file system: /PowerSim /build /org /xxx /powersim - ModelTest.class /src /org /xxx /powersim -ModelTest.java I've tried running it within Ant, by hand, from within TextMate's built-in bundle - I get the same result. JUnit is installed and running fine, but it can't seem to see the test class - the more I think about it this is a package problem that I'm just not sure how to fix. I've tried running it by hand in the root /PowerSim directory, in the /build folder, and in the /powersim class where ModelTest is. I still get the error that "Could not find class: org.xxx.powersim.ModelTest". My files compile just fine with my simple Ant script which is as follows: <?xml version="1.0"?> <project name="PowerSim" default="run" basedir="."> <property name="src" value="./src"/> <property name="build" value="./build"/> <property name="compile.debug" value="true"/> <path id="compile.classpath"> <pathelement location="${mysql.jdbc}"/> <pathelement location="${junit.jar}"/> </path> <target name="build" depends="init"> <javac srcdir="${src}" destdir="${build}" debug="${compile.debug}" source="1.5"> <classpath refid="compile.classpath"/> </javac> </target> <target name="init"> <mkdir dir="${build}"/> </target> <target name="run" depends="build"> <java classname="org.xxx.powersim.Model" fork="true" dir="${build}" classpath="${build}" maxmemory="500m"> </java> </target> <target name="test" depends="build"> <java classname="org.xxx.powersim.ModelTest" fork="yes" dir="${build}" classpath="${build}" maxmemory="500m"> </java> </target> <target name="clean" description="Removes previous build"> <delete verbose="true"> <fileset dir="${build}"/> </delete> </target> </project> As you can see, I'm not sure what to try next - any help would be much appreciated. Thanks again, - Peter |
From: Build A. <vim...@vi...> - 2008-01-25 14:07:09
|
BUILD result ------------------------------------------------------------ BUILD for junit (#126) on localhost was BROKEN: Script returned non-zero code "1" Build status: http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=5 Suspect Changes ------------------------------------------------------------ Change(s) by dsaff : - Exceptions are expensive to create if we don't plan to throw; Time: 05:51 AM 01/25/2008; Change list: 11684 - By passing TestClass to AllMembersSupplier, we can reuse the; Time: 05:49 AM 01/25/2008; Change list: 11683 - Theories are a lot faster, by caching the @Before and @After; Time: 12:35 PM 01/21/2008; Change list: 11602 Change(s) Details: http://parabuild.viewtier.com:8080/parabuild/build/changes.htm?buildrunid=7969 BUILD logs ------------------------------------------------------------ BUILD log: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=11351 Error Lines: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=11352 Log Lines Around Error ------------------------------------------------------------ Buildfile: build.xml clean: [delete] Deleting 923 files from /opt/parabuild/etc/build/b5co/a/u/t/o/junit init: versiontag: [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/src/main/java/junit/runner build: [javac] Compiling 122 source files to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/target/main [javac] /opt/parabuild/etc/build/b5co/a/u/t/o/junit/src/main/java/org/junit/experimental/theories/internal/AllMembersSupplier.java:56: cannot find symbol [javac] symbol : method getFields() [javac] location: class org.junit.internal.runners.model.TestClass [javac] for (final Field field : fClass.getFields()) { [javac] ^ [javac] /opt/parabuild/etc/build/b5co/a/u/t/o/junit/src/main/java/org/junit/experimental/theories/internal/AllMembersSupplier.java:74: cannot find symbol [javac] symbol : method getReturnType() [javac] location: class org.junit.internal.runners.model.FrameworkMethod [javac] .isAssignableFrom(dataPointMethod.getReturnType()))) [javac] ^ [javac] /opt/parabuild/etc/build/b5co/a/u/t/o/junit/src/main/java/org/junit/internal/runners/links/RunAfters.java:48: cannot find symbol [javac] symbol : constructor MultipleFailureException(java.util.List<java.lang.Throwable>) [javac] location: class org.junit.internal.runners.model.MultipleFailureException [javac] throw new MultipleFailureException(fErrors); [javac] ^ [javac] 3 errors BUILD FAILED /opt/parabuild/etc/build/b5co/a/u/t/o/junit/build.xml:55: Compile failed; see the compiler error output for details. Total time: 29 seconds Timings ------------------------------------------------------------ BUILD took 36 seconds |
From: Build A. <vim...@vi...> - 2008-01-21 20:52:35
|
BUILD result ------------------------------------------------------------ BUILD for junit (#125) on localhost was BROKEN: Script returned non-zero code "1" Build status: http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=5 Suspect Changes ------------------------------------------------------------ Change(s) by dsaff : - Theories are a lot faster, by caching the @Before and @After; Time: 12:35 PM 01/21/2008; Change list: 11602 Change(s) Details: http://parabuild.viewtier.com:8080/parabuild/build/changes.htm?buildrunid=7888 BUILD logs ------------------------------------------------------------ BUILD log: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=11234 Error Lines: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=11235 Log Lines Around Error ------------------------------------------------------------ [javadoc] Javadoc execution [javadoc] Creating destination directory: "/opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20080121-1251/javadoc/" [javadoc] Loading source files for package org.junit... [javadoc] Loading source files for package org.junit.runner... [javadoc] Loading source files for package org.junit.runner.manipulation... [javadoc] Loading source files for package org.junit.runner.notification... [javadoc] Loading source files for package org.junit.runners... [javadoc] Loading source files for package org.hamcrest.core... [javadoc] Constructing Javadoc information... [javadoc] Standard Doclet version 1.5.0_10 [javadoc] Building tree for all the packages and classes... [javadoc] Generating /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20080121-1251/javadoc/serialized-form.html... [javadoc] Copying file /opt/parabuild/etc/build/b5co/a/u/t/o/junit/stylesheet.css to file /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20080121-1251/javadoc/stylesheet.css... [javadoc] Building index for all the packages and classes... [javadoc] Building index for all classes... populate-dist: [copy] Copying 20 files to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20080121-1251/doc [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20080121-1251 [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20080121-1251 dist: [java] JUnit version 4.5-SNAPSHOT-20080121-1251 [java] ...................................................................................................................................................................................................................................................................................I.II..................................................................................................................E [java] Time: 7.283 [java] There was 1 failure: BUILD FAILED [java] 1) tryCombinationsQuickly(org.junit.tests.experimental.theories.runner.TheoriesPerformanceTest) /opt/parabuild/etc/build/b5co/a/u/t/o/junit/build.xml:136: Java returned: 1 [java] java.lang.Exception: test timed out after 500 milliseconds [java] at org.junit.internal.runners.links.FailOnTimeout.evaluate(FailOnTimeout.java:46) Total time: 38 seconds [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:24) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:29) [java] at org.junit.internal.runners.links.RunTestNotifier.run(RunTestNotifier.java:20) [java] at org.junit.internal.runners.JUnit4ClassRunner.runChild(JUnit4ClassRunner.java:92) [java] at org.junit.internal.runners.JUnit4ClassRunner.runChild(JUnit4ClassRunner.java:26) [java] at org.junit.internal.runners.ParentRunner$1.evaluate(ParentRunner.java:68) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:24) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:29) [java] at org.junit.internal.runners.ParentRunner.run(ParentRunner.java:123) [java] at org.junit.runners.Suite.runChild(Suite.java:104) [java] at org.junit.runners.Suite.runChild(Suite.java:22) [java] at org.junit.internal.runners.ParentRunner$1.evaluate(ParentRunner.java:68) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:24) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:29) [java] at org.junit.internal.runners.ParentRunner.run(ParentRunner.java:123) [java] at org.junit.runners.Suite.runChild(Suite.java:104) [java] at org.junit.runners.Suite.runChild(Suite.java:22) [java] at org.junit.internal.runners.ParentRunner$1.evaluate(ParentRunner.java:68) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:24) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:29) Timings ------------------------------------------------------------ BUILD took 40 seconds |
From: Build A. <vim...@vi...> - 2007-12-28 19:54:52
|
BUILD result ------------------------------------------------------------ BUILD for junit (#115) on localhost was BROKEN: Script returned non-zero code "1" Build status: http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=5 Suspect Changes ------------------------------------------------------------ Change(s) by dsaff : - Remove unnecessary @SuppressWarnings; Time: 11:49 AM 12/28/2007; Change list: 11195 - Assignments depends on TestClass, rather than directly on ja; Time: 11:49 AM 12/28/2007; Change list: 11194 - Remove unnecessary @SuppressWarnings; Time: 11:48 AM 12/28/2007; Change list: 11193 - Added TODO to remove cyclic dependency; Time: 11:48 AM 12/28/2007; Change list: 11192 - Assignments depends on TestClass, rather than directly on ja; Time: 11:47 AM 12/28/2007; Change list: 11191 Change(s) Details: http://parabuild.viewtier.com:8080/parabuild/build/changes.htm?buildrunid=7502 BUILD logs ------------------------------------------------------------ BUILD log: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=10761 Error Lines: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=10762 Log Lines Around Error ------------------------------------------------------------ Buildfile: build.xml clean: [delete] Deleting 916 files from /opt/parabuild/etc/build/b5co/a/u/t/o/junit init: versiontag: [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/src/main/java/junit/runner build: [javac] Compiling 120 source files to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/target/main [unjar] Expanding: /opt/parabuild/etc/build/b5co/a/u/t/o/junit/lib/hamcrest-core-1.1.jar into /opt/parabuild/etc/build/b5co/a/u/t/o/junit/target/main [javac] Compiling 123 source files to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/target/test/java [javac] /opt/parabuild/etc/build/b5co/a/u/t/o/junit/src/test/java/org/junit/tests/experimental/theories/runner/WithDataPointMethod.java:136: allUnassigned(java.lang.reflect.Method,org.junit.internal.runners.model.TestClass) in org.junit.experimental.theories.internal.Assignments cannot be applied to (java.lang.reflect.Method,java.lang.Class<org.junit.tests.experimental.theories.runner.WithDataPointMethod.HasDateMethod>) [javac] return Assignments.allUnassigned(method, HasDateMethod.class) [javac] ^ [javac] 1 error BUILD FAILED /opt/parabuild/etc/build/b5co/a/u/t/o/junit/build.xml:69: Compile failed; see the compiler error output for details. Total time: 20 seconds Timings ------------------------------------------------------------ BUILD took 23 seconds |
From: Dan F. <da...@fa...> - 2007-11-23 18:08:52
|
I'm working on improving Maven's support for JUnit 4. In particular, I'm trying to add the "value" (or reason) of the @Ignore parameter to Maven's report output. I'm a bit confused by what I'm seeing, because it doesn't appear to be possible to access the reason. We implement RunListener to get notified of @Ignore events, and that method accepts a Description object. The Description's displayName is just the name of the test and its class, e.g. "testIgnorable(MyTest)", but no reason is given. Similarly, calls to RunNotifier.fireTestIgnored are unable to pass anything but a Description; no reasons are allowed. Am I right in thinking that it's impossible for us to report the reason why a test was ignored? If so, what is the point of that value parameter? (Just a comment?) -Dan |
From: Wang, H. <HW...@ci...> - 2007-11-21 01:27:57
|
Trying to implement some junits for application in Tomcat.=20 =20 Harry C. Wang Sr. Test Engineer (Automation) AOL Mobile Phone 206 - 268 - 7502 temporary e-mail: hw...@ci...=20 Personal e-mail: hc...@co...=20 |
From: Build A. <vim...@vi...> - 2007-11-14 18:48:15
|
BUILD result ------------------------------------------------------------ BUILD for junit (#87) on localhost was BROKEN: Script returned non-zero code "1" Build status: http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=5 Suspect Changes ------------------------------------------------------------ Change(s) by dsaff : - - Moved InitializationError to ParentRunner, since it was on; Time: 10:21 AM 11/14/2007; Change list: 10474 - Simplified Parameterized by making it a CompositeRunner; Time: 11:04 AM 11/07/2007; Change list: 10373 - Make CompositeRunner into a subclass of ParentRunner build.x; Time: 10:28 AM 11/07/2007; Change list: 10372 - Simplified theories.internal.Assignments; Time: 06:48 AM 11/05/2007; Change list: 10336 - Progress on ParentRunner; Time: 06:57 AM 10/31/2007; Change list: 10252 Change(s) Details: http://parabuild.viewtier.com:8080/parabuild/build/changes.htm?buildrunid=6875 BUILD logs ------------------------------------------------------------ BUILD log: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=9925 Error Lines: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=9926 Log Lines Around Error ------------------------------------------------------------ [javadoc] Creating destination directory: "/opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071114-1047/javadoc/" [javadoc] Loading source files for package org.junit... [javadoc] Loading source files for package org.junit.runner... [javadoc] Loading source files for package org.junit.runner.manipulation... [javadoc] Loading source files for package org.junit.runner.notification... [javadoc] Loading source files for package org.junit.runners... [javadoc] Loading source files for package org.hamcrest.core... [javadoc] Constructing Javadoc information... [javadoc] Standard Doclet version 1.5.0_10 [javadoc] Building tree for all the packages and classes... [javadoc] Generating /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071114-1047/javadoc/serialized-form.html... [javadoc] Copying file /opt/parabuild/etc/build/b5co/a/u/t/o/junit/stylesheet.css to file /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071114-1047/javadoc/stylesheet.css... [javadoc] Building index for all the packages and classes... [javadoc] Building index for all classes... populate-dist: [copy] Copying 20 files to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071114-1047/doc [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071114-1047 [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071114-1047 dist: [java] JUnit version 4.5-SNAPSHOT-20071114-1047 [java] ............................................................................................................................................................................................................................................E..................................I.II........................................................................................................ [java] Time: 8.641 [java] There was 1 failure: [java] 1) meaningfulFailureWhenParameterListsAreNotArrays(org.junit.tests.running.classes.ParameterizedTestTest) BUILD FAILED [java] org.junit.ComparisonFailure: expected:<[org.junit.tests.running.classes.ParameterizedTestTest$WrongElementType.data() must return a Collection of arrays.]> but was:<[java.lang.String]> /opt/parabuild/etc/build/b5co/a/u/t/o/junit/build.xml:123: Java returned: 1 [java] at org.junit.Assert.assertEquals(Assert.java:99) [java] at org.junit.Assert.assertEquals(Assert.java:117) Total time: 43 seconds [java] at org.junit.tests.running.classes.ParameterizedTestTest.meaningfulFailureWhenParameterListsAreNotArrays(ParameterizedTestTest.java:182) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:585) [java] at org.junit.internal.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:29) [java] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [java] at org.junit.internal.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:26) [java] at org.junit.internal.runners.links.InvokeMethod.evaluate(InvokeMethod.java:19) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:24) [java] at org.junit.internal.runners.links.IgnoreViolatedAssumptions.evaluate(IgnoreViolatedAssumptions.java:17) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:29) [java] at org.junit.internal.runners.links.RunTestNotifier.run(RunTestNotifier.java:19) [java] at org.junit.internal.runners.JUnit4ClassRunner.runChild(JUnit4ClassRunner.java:71) [java] at org.junit.internal.runners.JUnit4ClassRunner$1.evaluate(JUnit4ClassRunner.java:62) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:24) [java] at org.junit.internal.runners.links.IgnoreViolatedAssumptions.evaluate(IgnoreViolatedAssumptions.java:17) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:29) [java] at org.junit.internal.runners.ParentRunner.run(ParentRunner.java:39) [java] at org.junit.runners.Suite.runChild(Suite.java:124) Timings ------------------------------------------------------------ BUILD took 47 seconds |
From: Build A. <vim...@vi...> - 2007-11-07 19:28:04
|
BUILD result ------------------------------------------------------------ BUILD for junit (#86) on localhost was BROKEN: Script returned non-zero code "1" Build status: http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=5 Suspect Changes ------------------------------------------------------------ Change(s) by dsaff : - Simplified Parameterized by making it a CompositeRunner; Time: 11:04 AM 11/07/2007; Change list: 10373 - Make CompositeRunner into a subclass of ParentRunner build.x; Time: 10:28 AM 11/07/2007; Change list: 10372 - Simplified theories.internal.Assignments; Time: 06:48 AM 11/05/2007; Change list: 10336 - Progress on ParentRunner; Time: 06:57 AM 10/31/2007; Change list: 10252 Change(s) Details: http://parabuild.viewtier.com:8080/parabuild/build/changes.htm?buildrunid=6791 BUILD logs ------------------------------------------------------------ BUILD log: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=9806 Error Lines: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=9807 Log Lines Around Error ------------------------------------------------------------ [javadoc] Loading source files for package org.junit.runner... [javadoc] Loading source files for package org.junit.runner.manipulation... [javadoc] Loading source files for package org.junit.runner.notification... [javadoc] Loading source files for package org.junit.runners... [javadoc] Loading source files for package org.hamcrest.core... [javadoc] Constructing Javadoc information... [javadoc] Standard Doclet version 1.5.0_10 [javadoc] Building tree for all the packages and classes... [javadoc] Generating /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071107-1127/javadoc/serialized-form.html... [javadoc] Copying file /opt/parabuild/etc/build/b5co/a/u/t/o/junit/stylesheet.css to file /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071107-1127/javadoc/stylesheet.css... [javadoc] Building index for all the packages and classes... [javadoc] Building index for all classes... populate-dist: [copy] Copying 20 files to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071107-1127/doc [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071107-1127 [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071107-1127 dist: [java] JUnit version 4.5-SNAPSHOT-20071107-1127 [java] ............................................................................................................................................................................................................................................E..................................I.II........................................................................................................ [java] Time: 8.602 [java] There was 1 failure: [java] 1) meaningfulFailureWhenParameterListsAreNotArrays(org.junit.tests.running.classes.ParameterizedTestTest) [java] org.junit.ComparisonFailure: expected:<[org.junit.tests.running.classes.ParameterizedTestTest$WrongElementType.data() must return a Collection of arrays.]> but was:<[java.lang.String]> [java] at org.junit.Assert.assertEquals(Assert.java:99) BUILD FAILED [java] at org.junit.Assert.assertEquals(Assert.java:117) /opt/parabuild/etc/build/b5co/a/u/t/o/junit/build.xml:123: Java returned: 1 [java] at org.junit.tests.running.classes.ParameterizedTestTest.meaningfulFailureWhenParameterListsAreNotArrays(ParameterizedTestTest.java:182) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Total time: 34 seconds [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:585) [java] at org.junit.internal.runners.model.TestMethod$1.runReflectiveCall(TestMethod.java:67) [java] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [java] at org.junit.internal.runners.model.TestMethod.invokeExplosively(TestMethod.java:64) [java] at org.junit.internal.runners.links.InvokeMethod.evaluate(InvokeMethod.java:19) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:24) [java] at org.junit.internal.runners.links.IgnoreViolatedAssumptions.evaluate(IgnoreViolatedAssumptions.java:17) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:29) [java] at org.junit.internal.runners.links.RunTestNotifier.run(RunTestNotifier.java:19) [java] at org.junit.internal.runners.JUnit4ClassRunner.runChild(JUnit4ClassRunner.java:70) [java] at org.junit.internal.runners.JUnit4ClassRunner$1.evaluate(JUnit4ClassRunner.java:61) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:24) [java] at org.junit.internal.runners.links.IgnoreViolatedAssumptions.evaluate(IgnoreViolatedAssumptions.java:17) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:29) [java] at org.junit.internal.runners.ParentRunner.run(ParentRunner.java:38) [java] at org.junit.runners.Suite.runChild(Suite.java:124) [java] at org.junit.runners.Suite.access$000(Suite.java:36) [java] at org.junit.runners.Suite$1.evaluate(Suite.java:112) Timings ------------------------------------------------------------ BUILD took 36 seconds |
From: Build A. <vim...@vi...> - 2007-11-07 18:42:51
|
BUILD result ------------------------------------------------------------ BUILD for junit (#85) on localhost was BROKEN: Script returned non-zero code "1" Build status: http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=5 Suspect Changes ------------------------------------------------------------ Change(s) by dsaff : - Make CompositeRunner into a subclass of ParentRunner build.x; Time: 10:28 AM 11/07/2007; Change list: 10372 - Simplified theories.internal.Assignments; Time: 06:48 AM 11/05/2007; Change list: 10336 - Progress on ParentRunner; Time: 06:57 AM 10/31/2007; Change list: 10252 Change(s) Details: http://parabuild.viewtier.com:8080/parabuild/build/changes.htm?buildrunid=6790 BUILD logs ------------------------------------------------------------ BUILD log: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=9804 Error Lines: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=9805 Log Lines Around Error ------------------------------------------------------------ [javadoc] Loading source files for package org.junit.runner... [javadoc] Loading source files for package org.junit.runner.manipulation... [javadoc] Loading source files for package org.junit.runner.notification... [javadoc] Loading source files for package org.junit.runners... [javadoc] Loading source files for package org.hamcrest.core... [javadoc] Constructing Javadoc information... [javadoc] Standard Doclet version 1.5.0_10 [javadoc] Building tree for all the packages and classes... [javadoc] Generating /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071107-1041/javadoc/serialized-form.html... [javadoc] Copying file /opt/parabuild/etc/build/b5co/a/u/t/o/junit/stylesheet.css to file /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071107-1041/javadoc/stylesheet.css... [javadoc] Building index for all the packages and classes... [javadoc] Building index for all classes... populate-dist: [copy] Copying 20 files to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071107-1041/doc [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071107-1041 [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071107-1041 dist: [java] JUnit version 4.5-SNAPSHOT-20071107-1041 [java] ............................................................................................................................................................................................................................................E..................................I.II....................................................................................................... [java] Time: 7.932 [java] There was 1 failure: [java] 1) meaningfulFailureWhenParameterListsAreNotArrays(org.junit.tests.running.classes.ParameterizedTestTest) [java] org.junit.ComparisonFailure: expected:<[org.junit.tests.running.classes.ParameterizedTestTest$WrongElementType.data() must return a Collection of arrays.]> but was:<[java.lang.String]> [java] at org.junit.Assert.assertEquals(Assert.java:99) BUILD FAILED [java] at org.junit.Assert.assertEquals(Assert.java:117) /opt/parabuild/etc/build/b5co/a/u/t/o/junit/build.xml:123: Java returned: 1 [java] at org.junit.tests.running.classes.ParameterizedTestTest.meaningfulFailureWhenParameterListsAreNotArrays(ParameterizedTestTest.java:178) [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) Total time: 42 seconds [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:585) [java] at org.junit.internal.runners.model.TestMethod$1.runReflectiveCall(TestMethod.java:67) [java] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [java] at org.junit.internal.runners.model.TestMethod.invokeExplosively(TestMethod.java:64) [java] at org.junit.internal.runners.links.InvokeMethod.evaluate(InvokeMethod.java:19) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:24) [java] at org.junit.internal.runners.links.IgnoreViolatedAssumptions.evaluate(IgnoreViolatedAssumptions.java:17) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:29) [java] at org.junit.internal.runners.links.RunTestNotifier.run(RunTestNotifier.java:19) [java] at org.junit.internal.runners.JUnit4ClassRunner.runChild(JUnit4ClassRunner.java:70) [java] at org.junit.internal.runners.JUnit4ClassRunner$1.evaluate(JUnit4ClassRunner.java:61) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:24) [java] at org.junit.internal.runners.links.IgnoreViolatedAssumptions.evaluate(IgnoreViolatedAssumptions.java:17) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:29) [java] at org.junit.internal.runners.ParentRunner.run(ParentRunner.java:38) [java] at org.junit.runners.Suite.runChild(Suite.java:124) [java] at org.junit.runners.Suite.access$000(Suite.java:36) [java] at org.junit.runners.Suite$1.evaluate(Suite.java:112) Timings ------------------------------------------------------------ BUILD took 46 seconds |
From: Build A. <vim...@vi...> - 2007-11-05 14:57:18
|
BUILD result ------------------------------------------------------------ BUILD for junit (#84) on localhost was BROKEN: Script returned non-zero code "1" Build status: http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=5 Suspect Changes ------------------------------------------------------------ Change(s) by dsaff : - Simplified theories.internal.Assignments; Time: 06:48 AM 11/05/2007; Change list: 10336 - Progress on ParentRunner; Time: 06:57 AM 10/31/2007; Change list: 10252 Change(s) Details: http://parabuild.viewtier.com:8080/parabuild/build/changes.htm?buildrunid=6756 BUILD logs ------------------------------------------------------------ BUILD log: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=9763 Error Lines: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=9764 Log Lines Around Error ------------------------------------------------------------ [javadoc] Loading source files for package org.junit... [javadoc] Loading source files for package org.junit.runner... [javadoc] Loading source files for package org.junit.runner.manipulation... [javadoc] Loading source files for package org.junit.runner.notification... [javadoc] Loading source files for package org.junit.runners... [javadoc] Loading source files for package org.hamcrest.core... [javadoc] Constructing Javadoc information... [javadoc] Standard Doclet version 1.5.0_10 [javadoc] Building tree for all the packages and classes... [javadoc] Generating /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071105-0656/javadoc/serialized-form.html... [javadoc] Copying file /opt/parabuild/etc/build/b5co/a/u/t/o/junit/stylesheet.css to file /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071105-0656/javadoc/stylesheet.css... [javadoc] Building index for all the packages and classes... [javadoc] Building index for all classes... populate-dist: [copy] Copying 20 files to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071105-0656/doc [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071105-0656 [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071105-0656 dist: [java] JUnit version 4.5-SNAPSHOT-20071105-0656 [java] ............................................................................................................................................................................................................................................E..................................I.II....................................................................................................... [java] Time: 8.814 [java] There was 1 failure: [java] 1) meaningfulFailureWhenParameterListsAreNotArrays(org.junit.tests.running.classes.ParameterizedTestTest) [java] org.junit.ComparisonFailure: expected:<[org.junit.tests.running.classes.ParameterizedTestTest$WrongElementType.data() must return a Collection of arrays.]> but was:<[java.lang.String]> BUILD FAILED [java] at org.junit.Assert.assertEquals(Assert.java:99) /opt/parabuild/etc/build/b5co/a/u/t/o/junit/build.xml:117: Java returned: 1 [java] at org.junit.Assert.assertEquals(Assert.java:117) [java] at org.junit.tests.running.classes.ParameterizedTestTest.meaningfulFailureWhenParameterListsAreNotArrays(ParameterizedTestTest.java:178) Total time: 41 seconds [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:585) [java] at org.junit.internal.runners.model.TestMethod$1.runReflectiveCall(TestMethod.java:67) [java] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [java] at org.junit.internal.runners.model.TestMethod.invokeExplosively(TestMethod.java:64) [java] at org.junit.internal.runners.links.InvokeMethod.evaluate(InvokeMethod.java:19) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:24) [java] at org.junit.internal.runners.links.IgnoreViolatedAssumptions.evaluate(IgnoreViolatedAssumptions.java:17) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:29) [java] at org.junit.internal.runners.links.RunTestNotifier.run(RunTestNotifier.java:19) [java] at org.junit.internal.runners.JUnit4ClassRunner.runChild(JUnit4ClassRunner.java:70) [java] at org.junit.internal.runners.JUnit4ClassRunner$1.evaluate(JUnit4ClassRunner.java:61) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:24) [java] at org.junit.internal.runners.links.IgnoreViolatedAssumptions.evaluate(IgnoreViolatedAssumptions.java:17) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:29) [java] at org.junit.internal.runners.ParentRunner.run(ParentRunner.java:38) [java] at org.junit.runners.Suite.runChild(Suite.java:124) [java] at org.junit.runners.Suite.access$000(Suite.java:36) Timings ------------------------------------------------------------ BUILD took 44 seconds |
From: Build A. <vim...@vi...> - 2007-10-31 14:10:56
|
BUILD result ------------------------------------------------------------ BUILD for junit (#83) on localhost was BROKEN: Script returned non-zero code "1" Build status: http://parabuild.viewtier.com:8080/parabuild/index.htm?view=detailed&buildid=5 Suspect Changes ------------------------------------------------------------ Change(s) by dsaff : - Progress on ParentRunner; Time: 06:57 AM 10/31/2007; Change list: 10252 Change(s) Details: http://parabuild.viewtier.com:8080/parabuild/build/changes.htm?buildrunid=6687 BUILD logs ------------------------------------------------------------ BUILD log: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=9657 Error Lines: http://parabuild.viewtier.com:8080/parabuild/build/log.htm?logid=9658 Log Lines Around Error ------------------------------------------------------------ [javadoc] Loading source files for package org.junit.runner.manipulation... [javadoc] Loading source files for package org.junit.runner.notification... [javadoc] Loading source files for package org.junit.runners... [javadoc] Loading source files for package org.hamcrest.core... [javadoc] Constructing Javadoc information... [javadoc] Standard Doclet version 1.5.0_10 [javadoc] Building tree for all the packages and classes... [javadoc] Generating /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071031-0709/javadoc/serialized-form.html... [javadoc] Copying file /opt/parabuild/etc/build/b5co/a/u/t/o/junit/stylesheet.css to file /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071031-0709/javadoc/stylesheet.css... [javadoc] Building index for all the packages and classes... [javadoc] Building index for all classes... populate-dist: [copy] Copying 20 files to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071031-0709/doc [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071031-0709 [copy] Copying 1 file to /opt/parabuild/etc/build/b5co/a/u/t/o/junit/junit4.5-SNAPSHOT-20071031-0709 dist: [java] JUnit version 4.5-SNAPSHOT-20071031-0709 [java] ............................................................................................................................................................................................................................................E..................................I.II....................................................................................................... [java] Time: 11.959 [java] There was 1 failure: [java] 1) meaningfulFailureWhenParameterListsAreNotArrays(org.junit.tests.running.classes.ParameterizedTestTest) [java] org.junit.ComparisonFailure: expected:<[org.junit.tests.running.classes.ParameterizedTestTest$WrongElementType.data() must return a Collection of arrays.]> but was:<[java.lang.String]> [java] at org.junit.Assert.assertEquals(Assert.java:99) [java] at org.junit.Assert.assertEquals(Assert.java:117) BUILD FAILED [java] at org.junit.tests.running.classes.ParameterizedTestTest.meaningfulFailureWhenParameterListsAreNotArrays(ParameterizedTestTest.java:178) /opt/parabuild/etc/build/b5co/a/u/t/o/junit/build.xml:117: Java returned: 1 [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [java] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) Total time: 57 seconds [java] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [java] at java.lang.reflect.Method.invoke(Method.java:585) [java] at org.junit.internal.runners.model.TestMethod$1.runReflectiveCall(TestMethod.java:67) [java] at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [java] at org.junit.internal.runners.model.TestMethod.invokeExplosively(TestMethod.java:64) [java] at org.junit.internal.runners.links.InvokeMethod.evaluate(InvokeMethod.java:19) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:24) [java] at org.junit.internal.runners.links.IgnoreViolatedAssumptions.evaluate(IgnoreViolatedAssumptions.java:17) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:29) [java] at org.junit.internal.runners.links.RunTestNotifier.run(RunTestNotifier.java:19) [java] at org.junit.internal.runners.JUnit4ClassRunner.runChild(JUnit4ClassRunner.java:70) [java] at org.junit.internal.runners.JUnit4ClassRunner$1.evaluate(JUnit4ClassRunner.java:61) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:24) [java] at org.junit.internal.runners.links.IgnoreViolatedAssumptions.evaluate(IgnoreViolatedAssumptions.java:17) [java] at org.junit.internal.runners.links.RunAfters.evaluate(RunAfters.java:29) [java] at org.junit.internal.runners.ParentRunner.run(ParentRunner.java:38) [java] at org.junit.runners.Suite.runChild(Suite.java:124) [java] at org.junit.runners.Suite.access$000(Suite.java:36) [java] at org.junit.runners.Suite$1.evaluate(Suite.java:112) [java] at org.junit.internal.runners.links.RunBefores.evaluate(RunBefores.java:24) Timings ------------------------------------------------------------ BUILD took 59 seconds |
From: David S. <sa...@mi...> - 2007-10-29 12:09:00
|
Akshay, Welcome! There are several ways to contribute to Java testing. Some of these might become part of the JUnit distribution, and others will become popular extensions. Is there anything that you'd like to do with JUnit that you can't now? That's a great place to start. Otherwise, you could look through the bug database for something that looks like it would take a day or two at most. Is this something that's explicitly for a school class, or your own interest? I've CC'ed the junit-devel list with this response, and further discussion may make sense there. Thanks, David Saff On 10/28/07, Akshay Savadatti <asa...@gm...> wrote: > Hi All, > > I am a student and I am interested in devoting some of my time > to develop some additional functionality/fix bugs for junit. I am > fairly proficient in Java, but I've never worked on a actual open > source software project such as junit. > > I'd like to know if there is anything substantial that I can > contribute in a period of around 2-3 months. (I'd also like to know if > this is the right place to ask this question.) > > Thanks, > Akshay > > > > Yahoo! Groups Links > > <*> To visit your group on the web, go to: > http://groups.yahoo.com/group/junit/ > > <*> Your email settings: > Individual Email | Traditional > > <*> To change settings online go to: > http://groups.yahoo.com/group/junit/join > (Yahoo! ID required) > > <*> To change settings via email: > mailto:jun...@ya... > mailto:jun...@ya... > > <*> To unsubscribe from this group, send an email to: > jun...@ya... > > <*> Your use of Yahoo! Groups is subject to: > http://docs.yahoo.com/info/terms/ > > |
From: Aldo E. <ald...@nl...> - 2007-10-17 10:32:41
|
All, We would like to be able to run junit 3.8 tests on the OSGi/Minimum and Micro Edition execution environments, but this is currently not possible. (1) junit.jar includes utility classes that depend on awt and swing packages that are not in those execution environment. example: junit.runner.TestCollector. (2) the implementation of junit depends on methods not in OSGi/Minimum in a few places example: the method compare(double, double) is undefined for the type Double, junit/framework/Assert.java, line 95, in junit 3.8.2 This limitation could be removed fairly easily by (a) amending the implementation for problem 2 and (b) splitting up junit in two jars such that the base jar contains only the OSGi/Minimum compatible subset. Any thoughts? Thanks, Aldo |
From: J. D. B. <jd...@ge...> - 2007-08-31 18:41:40
|
Julius Stroffek wrote: > Hi All, > > I would like to have a look at junit 3.8 source code how things are > implemented. Where can I get a source of that ancient version? It is > not available on sourceforge. Thanks in advance. It's in the download section on SourceForge, under "older releases": http://sourceforge.net/project/showfiles.php?group_id=15278&package_id=12472 E.g., look in src.jar in junit3.8.2.zip: http://downloads.sourceforge.net/junit/junit3.8.2.zip?modtime=1141399990&big_mirror=0 Similar code is now under src/junit of the current release, for backwards compatibility. Or you can browse the CVS repository of the original location. (Since it's still on CVS, their history was disconnected when those files were moved.) http://junit.cvs.sourceforge.net/junit/junit/junit/framework/?hideattic=0 Cheers, 11011011 |