Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -449,14 +449,7 @@ private void addTestResult(final ITestResult result) {
}

private void checkForInterleavedBetweenClasses(final ITestResult tr) {
final Object[] testInstances = new Object[] { tr.getMethod().getInstance() };
// This will almost always have a single element. If it doesn't,
// just skip it.
if (testInstances.length != 1) {
return;
}

final Object testInstance = testInstances[0];
final Object testInstance = tr.getMethod().getInstance();

// We're running another test on the same test object. Everything is
// fine.
Expand Down
Loading