ttomcat-1778514358873.zip-extract/_dependencies/maven/junit_junit-4.13.2/org/junit/AssumptionViolatedException.java

Path
ttomcat-1778514358873.zip-extract/_dependencies/maven/junit_junit-4.13.2/org/junit/AssumptionViolatedException.java
Status
scanned
Type
file
Name
AssumptionViolatedException.java
Extension
.java
Programming language
Java
Mime type
text/x-java
File type
Java source, ASCII text
Tag

      
    
Rootfs path

      
    
Size
1436 (1.4 KB)
MD5
70616900be607423d8546c7be93017bc
SHA1
ad737332ddc5e82e79f56eb9b302646ed13013bc
SHA256
40acb8e4aa4b234d4573c0f7a4591d6c3cc3ad56ff8cfb9e13413a5757737316
SHA512

      
    
SHA1_git
1d62190a231518ccfcdf5ffbff78b5e616f8945e
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
AssumptionViolatedException.java | 1.4 KB |

package org.junit; import org.hamcrest.Matcher; /** * An exception class used to implement <i>assumptions</i> (state in which a given test * is meaningful and should or should not be executed). A test for which an assumption * fails should not generate a test case failure. * * @see org.junit.Assume * @since 4.12 */ @SuppressWarnings("deprecation") public class AssumptionViolatedException extends org.junit.internal.AssumptionViolatedException { private static final long serialVersionUID = 1L; /** * An assumption exception with the given <i>actual</i> value and a <i>matcher</i> describing * the expectation that failed. */ public <T> AssumptionViolatedException(T actual, Matcher<T> matcher) { super(actual, matcher); } /** * An assumption exception with a message with the given <i>actual</i> value and a * <i>matcher</i> describing the expectation that failed. */ public <T> AssumptionViolatedException(String message, T expected, Matcher<T> matcher) { super(message, expected, matcher); } /** * An assumption exception with the given message only. */ public AssumptionViolatedException(String message) { super(message); } /** * An assumption exception with the given message and a cause. */ public AssumptionViolatedException(String message, Throwable t) { super(message, t); } }