• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 package test.inject;
2 
3 import org.testng.Assert;
4 import org.testng.TestNG;
5 import org.testng.annotations.Test;
6 
7 import test.SimpleBaseTest;
8 
9 public class InjectAfterMethodWithTestResultTest extends SimpleBaseTest {
10 
11   @Test
verifyTestResultInjection()12   public void verifyTestResultInjection() {
13     TestNG tng = create(InjectAfterMethodWithTestResultSampleTest.class);
14     tng.run();
15 
16     Assert.assertEquals(0, InjectAfterMethodWithTestResultSampleTest.m_success);
17   }
18 }
19