[rfc][icedtea-web] known to fail annotation
Jiri Vanek
jvanek at redhat.com
Tue Jun 5 05:51:28 PDT 2012
On 06/04/2012 09:53 PM, Omair Majid wrote:
> On 05/23/2012 10:59 AM, Jiri Vanek wrote:
>> On 05/22/2012 07:30 PM, Omair Majid wrote:
>>> On 05/22/2012 08:56 AM, Jiri Vanek wrote:
>>>> As agreed on IRC, Percentage removed. What do you think now?
...snip ..
>> diff -r 1088b2dffe49 tests/junit-runner/LessVerboseTextListener.java
>> --- a/tests/junit-runner/LessVerboseTextListener.java Tue May 22 12:08:17 2012 +0200
>> +++ b/tests/junit-runner/LessVerboseTextListener.java Wed May 23 16:41:21 2012 +0200
>
>> @@ -45,7 +60,56 @@
>> int passed = result.getRunCount() - result.getFailureCount() - result.getIgnoreCount();
>> int failed = result.getFailureCount();
>> int ignored = result.getIgnoreCount();
>> - writer.println("Test results: passed: " + passed + "; failed: " + failed + "; ignored: " + ignored);
>> + writer.println("Test known to fail ("+totalK2F+"): passed: " + passedK2F + "; failed: " + failedK2F + "; ignored: " + ignoredK2F);
>> + writer.println("Test results ("+result.getRunCount()+"): passed: " + passed + "; failed: " + failed + "; ignored: " + ignored);
>> + }
Do you mind to have total/totalKnownToFail line here? So the three lines will be
total
know to fail sumary
unchanged last line as you wanted
=~
writer.println("Total tests "+result.getRunCount()+"/ known to fail tests "+totalK2F);
writer.println("Test known to fail: passed: " + passedK2F + "; failed: " + failedK2F + "; ignored: " + ignoredK2F);
writer.println("Test results: passed: " + passed + "; failed: " + failed + "; ignored: " + ignored);
>
> Please leave the original line ("Test results: passed:"..) unchanged
> (unless you are going to combine the two lines).
>
> Otherwise, this looks fine to me.
Is this approve? :D
>
> Cheers,
> Omair
More information about the distro-pkg-dev
mailing list