My build is using JUnit 3.8.1 and the Ant junit task to run a test suite. When the build completes, the Tests tab of the build shows a line with "<empty>" and another line with the actual test suite's name. If I switch it to the "tests" view, I see some lines with the correct test names but some lines are just empty except for the View test details icon.
My test suite uses a somewhat funky method of building up the suite of tests to run. It enumerates all the classes in a set of jars and finds all the TestCase-derived classes. Also, some of these TestCases are EnumeratedTestCases which enumerate over all the classes in a set of jars and perform bytecode analysis tests on each class. My suspicion is that these EnumeratedTestCases are not being detected properly by TeamCity's test results analyzer.
If I knew what could cause TeamCity to show "<empty>" for a test suite, maybe I could fix my TestCases and the test suite so that it can identify them correctly.