Search in sources :

Example 1 with DirBuilder

use of org.jboss.galleon.test.util.fs.state.DirState.DirBuilder in project galleon by wildfly.

the class PersistChangesTestBase method provisionedHomeDir.

@Override
protected DirState provisionedHomeDir() {
    final DirBuilder builder = newDirBuilder();
    provisionedPackagesContent(builder);
    try {
        addConfigFiles(builder);
    } catch (ProvisioningException e) {
        throw new IllegalStateException(e);
    }
    return builder.build();
}
Also used : ProvisioningException(org.jboss.galleon.ProvisioningException) DirBuilder(org.jboss.galleon.test.util.fs.state.DirState.DirBuilder)

Aggregations

ProvisioningException (org.jboss.galleon.ProvisioningException)1 DirBuilder (org.jboss.galleon.test.util.fs.state.DirState.DirBuilder)1