Class ParameterizedTestParameterResolver.CloseableArgument

  • All Implemented Interfaces:
    org.junit.jupiter.api.extension.ExtensionContext.Store.CloseableResource
    Enclosing class:
    ParameterizedTestParameterResolver

    private static class ParameterizedTestParameterResolver.CloseableArgument
    extends java.lang.Object
    implements org.junit.jupiter.api.extension.ExtensionContext.Store.CloseableResource
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.AutoCloseable autoCloseable  
    • Constructor Summary

      Constructors 
      Constructor Description
      CloseableArgument​(java.lang.AutoCloseable autoCloseable)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • autoCloseable

        private final java.lang.AutoCloseable autoCloseable
    • Constructor Detail

      • CloseableArgument

        CloseableArgument​(java.lang.AutoCloseable autoCloseable)
    • Method Detail

      • close

        public void close()
                   throws java.lang.Throwable
        Specified by:
        close in interface org.junit.jupiter.api.extension.ExtensionContext.Store.CloseableResource
        Throws:
        java.lang.Throwable