GtestRunner


public final class GtestRunner extends Runner implements Filterable


Custom Runner that implements a bridge between JUnit and GTest.

Use this Runner in a @RunWith annotation together with a @TargetLibrary annotation on an empty class to create a connected test that consists of native tests written against the Google Test Framework.

Summary

Public constructors

GtestRunner(@NonNull Class<@NonNull ?> testClass)

This method is deprecated. Library is deprecated

Public methods

void

This method is deprecated. Library is deprecated

@NonNull Description

This method is deprecated. Library is deprecated

@NonNull Description

This method is deprecated. Library is deprecated

void
run(@NonNull RunNotifier notifier)

This method is deprecated. Library is deprecated

Inherited methods

From org.junit.runner.Runner
int

This method is deprecated. Library is deprecated

Public constructors

GtestRunner

Added in 1.0.0-alpha03
Deprecated in 1.0.0-alpha03
public GtestRunner(@NonNull Class<@NonNull ?> testClass)

Public methods

filter

Added in 1.0.0-alpha03
Deprecated in 1.0.0-alpha03
public void filter(@NonNull Filter filter)

getDescription

Added in 1.0.0-alpha03
Deprecated in 1.0.0-alpha03
public @NonNull Description getDescription()

getDescription

Added in 1.0.0-alpha03
Deprecated in 1.0.0-alpha03
public @NonNull Description getDescription()

run

Added in 1.0.0-alpha03
Deprecated in 1.0.0-alpha03
public void run(@NonNull RunNotifier notifier)