All Downloads are FREE. Search and download functionalities are using the official Maven repository.

datadog.trace.api.civisibility.noop.NoOpDDTestSuite Maven / Gradle / Ivy

There is a newer version: 1.42.2
Show newest version
package datadog.trace.api.civisibility.noop;

import datadog.trace.api.civisibility.DDTest;
import datadog.trace.api.civisibility.DDTestSuite;
import java.lang.reflect.Method;
import javax.annotation.Nullable;

public class NoOpDDTestSuite implements DDTestSuite {
  static final DDTestSuite INSTANCE = new NoOpDDTestSuite();

  @Override
  public void setTag(String key, Object value) {}

  @Override
  public void setErrorInfo(Throwable error) {}

  @Override
  public void setSkipReason(String skipReason) {}

  @Override
  public void end(@Nullable Long endTime) {}

  @Override
  public DDTest testStart(String testName, @Nullable Method testMethod, @Nullable Long startTime) {
    return NoOpDDTest.INSTANCE;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy