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