If you need to unit test classes in a netbeans module and the classes use the Lookup.getDefault() to “lookup” things that you want to mock you probably wonder how you can place the mock objects in the default Lookup Adding objects to the Netbeans’s default Lookup is relatively simple. Here is the answer: Replace the [...]
-
Custom Search -
Sponsored Links
-
Recent Posts
- WordPress migration: ” (quotes) and ‘ (apostrophe) being replaced with “ and ’
- EN4J 1.0M2 released – Evernote Java Client
- Netbeans “Drop to Frame” debugging
- NullPointerException when using hideEmptyDocArea
- Getting rid of the grey empty area on your Netbeans Platform Application (RCP)
- Lucene 2.9.0/3.0.1 memory leaks
- Building Apache Tika 0.6 fails if the locale is not en_US
- JUnit and Netbeans. Injecting in objects in the default Lookup
- Connect to the internet via Bluetooth PAN with Mac OS X Snow Leopard
- Cancellable tasks and progress indicators [Netbeans Platform]
-
-
Tags
apache api application arduino bash bug cygwin eclipse exception file firefox google graph history import java jdbc jmeter jpa library mac memory mp4 netbeans pagination persistence plugin power psp rcp ruby sampler script sensor sony source tag title troubleshoot troubleshooting visual windows wordpress xbee xml -
Pages
-
Hacker’s Diet Online
-





































