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

org.junit.contrib.java.lang.system.LogMode Maven / Gradle / Ivy

There is a newer version: 1.19.0
Show newest version
package org.junit.contrib.java.lang.system;

/**
 * @deprecated This enum is no longer needed, because all rules that are using
 * it have been replaced with rules that don't need the enum.
 *
 * 

Mode of the * {@link org.junit.contrib.java.lang.system.StandardErrorStreamLog} and the * {@link org.junit.contrib.java.lang.system.StandardOutputStreamLog}. */ @Deprecated public enum LogMode { /** * @deprecated Please use * {@link SystemErrRule#enableLog()}.{@link SystemErrRule#mute() mute()} or * {@link SystemOutRule#enableLog()}.{@link SystemOutRule#mute() mute()}. * *

Capture the writes to the stream. Nothing is written to the stream * itself. */ LOG_ONLY, /** * @deprecated Please use {@link SystemErrRule#enableLog()} or * {@link SystemOutRule#enableLog()}. * *

Record the writes while they are still written to the stream. */ LOG_AND_WRITE_TO_STREAM }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy