nrainer

Germany

10h
comment How to Clear instance filed afterClass in Junit?
Is using an @After annotated method a way to go? It is not static and executed after each testcase.
11h
revised Sonar: better rules for java projects
added 521 characters in body
11h
answered Sonar: better rules for java projects
1d
comment JUnit test cases strategy for void returning methods
1) does not need to be so complex. Simply invoke logMyRequest(myRequest). If a testcase method is left with an exception it fails. :)
Mar
2
revised In Java, how can I mock a service loaded using ServiceLoader?
added 48 characters in body
Mar
2
revised In Java, how can I mock a service loaded using ServiceLoader?
added 447 characters in body
Mar
2
answered In Java, how can I mock a service loaded using ServiceLoader?
Feb
24
revised initialization error in junit using Eclipse
deleted 1 character in body
Feb
24
answered initialization error in junit using Eclipse
Feb
21
revised Embed the existing code of a method in a try-finally block (2)
added 4 characters in body
Feb
21
revised Embed the existing code of a method in a try-finally block (2)
deleted 109 characters in body
Feb
21
revised Embed the existing code of a method in a try-finally block (2)
added 172 characters in body
Feb
21
revised Embed the existing code of a method in a try-finally block (2)
added 1542 characters in body
Feb
19
revised code-coverage of the getter throught the assert
deleted 11 characters in body
Feb
18
answered code-coverage of the getter throught the assert
Feb
16
comment eclemma branch coverage for switch: 7 of 19 missed
@Rogério: No, EclEmma / JaCoCo does the bytecode instrumentation correctly. The point here is: It is not obvious from the source code that the corresponding byte code will contain 19 branches.
Feb
11
revised Embed the existing code of a method in a try-finally block (2)
added 6 characters in body
Feb
11
accepted Embed the existing code of a method in a try-finally block (2)
Feb
11
revised Embed the existing code of a method in a try-finally block (2)
added 245 characters in body
Feb
11
revised Embed the existing code of a method in a try-finally block
deleted 5 characters in body
1 2 3 4 5