use of com.intellij.execution.testframework.AbstractTestProxy in project android by JetBrains.
the class UnitTestTreeFixture method getFailingTestsCount.
public int getFailingTestsCount() {
int count = 0;
AbstractTestProxy root = getModel().getRoot();
for (AbstractTestProxy test : root.getAllTests()) {
if (test.isLeaf() && test.isDefect()) {
count++;
}
}
return count;
}
Aggregations