bb4 / bb4-simulations

A collection of java simulations. Examples include reaction diffusion, fractals, henon phase exploration, snakes, dice, and fluid flow.
MIT License
5 stars 2 forks source link

Upgrade to JUnit 4 #12

Closed barrybecker4 closed 5 years ago

barrybecker4 commented 11 years ago

This is a pretty straightforward mechanical change. I already did it for bb4-common.

change dependency in gradle file. remove "extends from TestCase" in test classes. Add @Test annotation to test methods. Use static import for assertTrue etc.

See also http://stackoverflow.com/questions/264680/best-way-to-automagically-migrate-tests-from-junit-3-to-junit-4

barrybecker4 commented 5 years ago

Not only did I do this a while back, but its no longer relevant since we now use scalatest after porting to java.