Home | History | Annotate | Download | only in test
      1 package test;
      2 
      3 import org.testng.Reporter;
      4 import org.testng.annotations.Test;
      5 
      6 /**
      7  * Make sure we don't remove public API's from Reporter.
      8  *
      9  * @author Cedric Beust <cedric (at) beust.com>
     10  */
     11 public class ReporterApiTest {
     12 
     13   @Test
     14   public void testApi() {
     15     Reporter.log("foo");
     16     Reporter.log("foo", false);
     17     Reporter.log("foo", 2);
     18     Reporter.log("foo", 2, false);
     19   }
     20 }
     21