683
Views
JUnit 4 tests in JUnit 3 suite
By Mattias Jiderhamn November 13, 2010 11:14 AM
"Include JUnit 4 classes in a JUnit 3 suite() built with DirectorySuiteBuilder fom junit-addons"
By Mattias Jiderhamn November 13, 2010 11:14 AM
"Include JUnit 4 classes in a JUnit 3 suite() built with DirectorySuiteBuilder fom junit-addons"
0
0
0
0
2.54k
Views
Spring auto wire with mock objects
By Mattias Jiderhamn November 12, 2010 9:02 AM
"JUnit 4 @Rule implementation that uses Mockito mocked objects for Springs AspectJ auto wiring"
By Mattias Jiderhamn November 12, 2010 9:02 AM
"JUnit 4 @Rule implementation that uses Mockito mocked objects for Springs AspectJ auto wiring"
0
0
0
0
474
Views
Linq / F# like list operations for old Java
By @thoriumi September 09, 2010 12:58 PM
"Java 6 does not support functional programming but it can be emulated by making an object to contain a function."
By @thoriumi September 09, 2010 12:58 PM
"Java 6 does not support functional programming but it can be emulated by making an object to contain a function."
0
0
0
1
763
Views
Detecting memory leak in unit test
By Olivier July 22, 2010 12:17 PM
"JUnit assertion method and code sample to verify that an object is garbage collected correctly and does not lead to memory leak"
By Olivier July 22, 2010 12:17 PM
"JUnit assertion method and code sample to verify that an object is garbage collected correctly and does not lead to memory leak"
0
0
0
0
463
Views
Detect if file contains XML
By Mattias Jiderhamn July 14, 2010 2:49 PM
"Detect whether a File seems to contain XML, taking encoding and whitespace into account"
By Mattias Jiderhamn July 14, 2010 2:49 PM
"Detect whether a File seems to contain XML, taking encoding and whitespace into account"
0
1
0
0
1.1k
Views
Detect encoding in InputStream
By Mattias Jiderhamn July 14, 2010 2:39 PM
"Detect the encoding/Charset used in a Java InputStream by reading the BOM (Byte-Order-Mark)"
By Mattias Jiderhamn July 14, 2010 2:39 PM
"Detect the encoding/Charset used in a Java InputStream by reading the BOM (Byte-Order-Mark)"
0
0
0
0

Tagged code 'java' feeds
Mark 'java' tag as 'like'
Mark 'java' tag as 'ignore'