Class Cleanup

  • All Implemented Interfaces:
    org.junit.rules.TestRule

    public class Cleanup
    extends org.junit.rules.ExternalResource
    Use with @Rule to release resources after a method or with @ClassRule to release them after all the methods in the class.
    Since:
    10.0
    Author:
    Dan Berindei