\SimplePackageGeneratorTest
Component test for SimplePackageGenerator Writes to temporary locations in the filesystem
Synopsis
class SimplePackageGeneratorTest
extends SapphireTest
{
- // members
- protected $tempPath = NULL;
- // methods
- public void setUp()
- public void tearDown()
- public void testGeneratePackage()
- protected void createTempGitRepo()
Hierarchy
Extends
- SapphireTest
Members
protected
- $tempPath
Methods
protected
- createTempGitRepo() — Create a simple temporary git repo at the given path, for component testing, and return the SHA of the EHAD
public
- setUp()
- tearDown()
- testGeneratePackage() — Test that generatePackage produces a .tar.gz containing the git repo.