\DNDataArchiveTest
Synopsis
class DNDataArchiveTest
extends DeploynautTest
{
- // members
- protected static string $fixture_file = 'DNDataArchiveTest.yml';
- // Inherited members from DeploynautTest
- protected type $envPath;
- // methods
- public void testArchivePermissions()
- public void testGenerateFilePath()
- public void testGenerateFileName()
- public void testCanMoveTo()
- public void testValidateArchiveContentsAll()
- public void testValidateArchiveContentsDB()
- public void testValidateArchiveContentsDBFails()
- public void testValidateArchiveContentsAssets()
- public void testValidateArchiveContentsAssetsFails()
- public void testValidateArchiveContentsFileMissingFails()
- // Inherited methods from DeploynautTest
- protected void setTemporaryPath()
- public void setUp()
- public void tearDown()
Hierarchy
Extends
Members
protected
- $envPath — type
- $fixture_file
Methods
public
- testArchivePermissions() — We check a number of different conditionals here (see DNDataArchiveTest.yml for relationships): - Samantha can upload to & download from project1:uat, but not project1:live - Sarah can upload to but not download from project1:uat, and can't do anything with project1:live - Neither Samantha nor Sarah can do anything with project2:uat or project2:live
- testCanMoveTo()
- testGenerateFileName()
- testGenerateFilePath()
- testValidateArchiveContentsAll()
- testValidateArchiveContentsAssets()
- testValidateArchiveContentsAssetsFails()
- testValidateArchiveContentsDB()
- testValidateArchiveContentsDBFails()
- testValidateArchiveContentsFileMissingFails()
Inherited from DeploynautTest
protected
- setTemporaryPath() — Setup the environment to point to a temporary location