Home | History | Annotate | Download | only in inject
      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 InjectTestResultTest extends SimpleBaseTest {
     10 
     11   @Test
     12   public void verifyTestResultInjection() {
     13     TestNG tng = create(InjectBeforeAndAfterMethodsWithTestResultSampleTest.class);
     14     tng.run();
     15 
     16     Assert.assertEquals(0, InjectBeforeAndAfterMethodsWithTestResultSampleTest.m_success);
     17   }
     18 }
     19