Home | History | Annotate | Download | only in dependent
      1 package test.dependent;
      2 
      3 import org.testng.annotations.Test;
      4 
      5 import test.BaseTest;
      6 
      7 public class MissingMethodTest extends BaseTest {
      8 
      9   @Test
     10   public void verifyThatExceptionIsThrownIfMissingMethod() {
     11     addClass("test.dependent.MissingMethodSampleTest");
     12 
     13     run();
     14     String[] passed = {
     15         "explicitlyIgnoreMissingMethod",
     16         "alwaysRunDespiteMissingMethod"
     17      };
     18     String[] failed = {
     19     };
     20     String[] skipped = {
     21     };
     22     verifyTests("Failed", failed, getFailedTests());
     23     verifyTests("Passed", passed, getPassedTests());
     24     verifyTests("Skipped", skipped, getSkippedTests());
     25 
     26   }
     27 
     28 }
     29