Testing gwteventbinder with gwtmockito
Related
More from Igor Klimer’s personal site
This post documents the migration of a personal project from Create React App to Vite, noting the motive for the switch, simplified migration steps, encountered challenges, and performance comparison. Vite's benefits include speed and simplicity, with improvements in metrics like vulnerabilities and dependencies, making the migration worthwhile...
This post introduces the powerful features of the Midnight Commander (mc) file manager, including shortcuts and functionalities often overlooked. It guides users through selecting files, accessing the shell, using the internal viewer and editor, navigating panels, searching files, and utilizing useful options. Additionally, it explains the...
If you’re writing a GWT application you are most likely following the MVP pattern. With GWT 2.1 the Activities and Places API was introduced and while it’s not strictly an MVP framework, it’s a good base for the architecture of your application. A core component of Activities and Places is the ActivityMapper interface. Its role […]
Continuing the theme of testing with gwtmockito, I’d like to show you a neat class that’s bundled with gwtmockito that allows for easy mocking of GWT-RPC asynchronous services. The class I’m talking about is AsyncAnswers. It’s meant to be used with the doAnswer stubber. Supposing we have a LoginServiceAsync class: Assuming service is a mock […]
If you’re just interested in keeping your kernel module-free and be able to watch funny cat videos on youtube, skip to the solution. I’m an avid user of the Gentoo flavour of Linux, specifically the Hardened profile. As you can imagine, I like to think of myself as a security-aware user. With that in mind, […]