Skip to content
Permalink
Browse files

fix compilation error after merge

  • Loading branch information...
lukasj committed Jan 10, 2012
1 parent b5c83ff commit 15223074409768818c49e1e75baecaef59928fb6
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/main/java/org/testng/junit/JUnit4TestRunner.java
@@ -121,7 +121,7 @@ public void testFinished(Description description) throws Exception {
l.onTestSuccess(tr);
}
}
m_parentRunner.addInvokedMethod(new InvokedMethod(tr.getTestClass(), tr.getMethod(), new Object[0], true, false, tr.getStartMillis()));
m_parentRunner.addInvokedMethod(new InvokedMethod(tr.getTestClass(), tr.getMethod(), new Object[0], true, false, tr.getStartMillis(), tr));
m_methods.add(tr.getMethod());
}

@@ -134,7 +134,7 @@ public void testIgnored(Description description) throws Exception {
for (ITestListener l : m_listeners) {
l.onTestSkipped(tr);
}
m_parentRunner.addInvokedMethod(new InvokedMethod(tr.getTestClass(), tr.getMethod(), new Object[0], true, false, tr.getStartMillis()));
m_parentRunner.addInvokedMethod(new InvokedMethod(tr.getTestClass(), tr.getMethod(), new Object[0], true, false, tr.getStartMillis(), tr));
m_methods.add(tr.getMethod());
}

0 comments on commit 1522307

Please sign in to comment.
You can’t perform that action at this time.