blockygameplatform Teresology broke a 14-month dry spell with a new release recently, inspiring me to give it another spin. So I find myself writing some Java recently.

I came up with some unit-test code I'd love to have suggestions on.

The app uses JavaFX for the UI, so there are some observable beans, and I'm using ListenableFutures (from Guava) because that's the concurrency abstraction I'm most familiar with, and javafx also has an event system. Some other variants on `Future` jumbled in there too.

This code is at a point where I think it works and is reasonably readable:

but the mishmash of different concurrency abstractions makes me want to know from more fluent java-testers if there's a more idiomatic way to write it.

Sign in to participate in the conversation

On the internet, everyone knows you're a cat — and that's totally okay.