We use TeamCity for all our java projects. Mostly we use junit with maven and TeamCity already have a maven2 runner so setting up a new build task is easy.
You tell TeamCity where your svn trunk is and select a runner.
If you already use IntelliJ there is a plugin for TeamCity so you can get instant feedback if your tests pass when doing a commit. And if you are realy lazy you can select remote run when doing a commit and select "Only commit if tests pass".
And as a final note. TeamCity is not limited to just run java test, we use it to run python unit tests as well.