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

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

      
    
Rootfs path

      
    
Size
443 (443 bytes)
MD5
4af50c5a976fe18b7212880ca43762bb
SHA1
09b020e741cb5fd57b98d579d3776d35a1b404df
SHA256
70c80b49499a468c8925bb8f21962c5c5cb8c56310183ba2dfc2f386eb86a899
SHA512

      
    
SHA1_git
d0eb782ccd30cfdb23014a28d1db6b9c35343338
Is binary

      
    
Is text
True
Is archive

      
    
Is media

      
    
Is legal

      
    
Is manifest

      
    
Is readme

      
    
Is top level

      
    
Is key file

      
    
ThrowingRunnable.java | 443 bytes |

package org.junit.function; /** * This interface facilitates the use of * {@link org.junit.Assert#assertThrows(Class, ThrowingRunnable)} from Java 8. It allows method * references to void methods (that declare checked exceptions) to be passed directly into * {@code assertThrows} * without wrapping. It is not meant to be implemented directly. * * @since 4.13 */ public interface ThrowingRunnable { void run() throws Throwable; }