Class RollbackTester

java.lang.Object
net.shibboleth.idp.installer.plugin.impl.RollbackTester

public class RollbackTester extends Object
Tests for RollbackPluginInstall.
  • Field Details

    • parent

      private Path parent
  • Constructor Details

    • RollbackTester

      public RollbackTester()
  • Method Details

    • setup

      @BeforeClass public void setup() throws IOException
      Throws:
      IOException
    • teardown

      @AfterClass public void teardown()
    • rollbackTest

      public void rollbackTest() throws IOException, net.shibboleth.profile.module.ModuleException
      Throws:
      IOException
      net.shibboleth.profile.module.ModuleException
    • commitTest

      public void commitTest() throws IOException, net.shibboleth.profile.module.ModuleException
      Throws:
      IOException
      net.shibboleth.profile.module.ModuleException
    • test

      private void test(boolean commit) throws IOException, net.shibboleth.profile.module.ModuleException
      Throws:
      IOException
      net.shibboleth.profile.module.ModuleException
    • deleteIt

      private void deleteIt(Path p)