mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
MINOR: Renamed manifest test temp dir as there was some kind of conflict
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/branches/2.4@98519 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
67e2157052
commit
f6c710443c
@ -5,7 +5,7 @@
|
||||
*/
|
||||
class ManifestBuilderTest extends SapphireTest {
|
||||
function testManifest() {
|
||||
$baseFolder = TEMP_FOLDER . '/manifest-test';
|
||||
$baseFolder = TEMP_FOLDER . '/manifest-test-asdfasdfasdf';
|
||||
$manifestInfo = ManifestBuilder::get_manifest_info($baseFolder);
|
||||
global $project;
|
||||
|
||||
@ -32,7 +32,7 @@ class ManifestBuilderTest extends SapphireTest {
|
||||
}
|
||||
|
||||
function testManifestIgnoresClassesInComments() {
|
||||
$baseFolder = TEMP_FOLDER . '/manifest-test';
|
||||
$baseFolder = TEMP_FOLDER . '/manifest-test-asdfasdfasdf';
|
||||
global $project;
|
||||
|
||||
$manifestInfo = ManifestBuilder::get_manifest_info($baseFolder);
|
||||
@ -49,7 +49,7 @@ class ManifestBuilderTest extends SapphireTest {
|
||||
}
|
||||
|
||||
function testManifestIgnoresClassesInStrings() {
|
||||
$baseFolder = TEMP_FOLDER . '/manifest-test';
|
||||
$baseFolder = TEMP_FOLDER . '/manifest-test-asdfasdfasdf';
|
||||
$manifestInfo = ManifestBuilder::get_manifest_info($baseFolder);
|
||||
|
||||
/* If a class defintion is listed in a single quote string, then it shouldn't be inlcuded. Here we have put a class definition for MyClass_InSingleQuoteString inside a single-quoted string */
|
||||
@ -70,7 +70,7 @@ class ManifestBuilderTest extends SapphireTest {
|
||||
|
||||
|
||||
function testClassNamesDontHaveToBeTheSameAsFileNames() {
|
||||
$baseFolder = TEMP_FOLDER . '/manifest-test';
|
||||
$baseFolder = TEMP_FOLDER . '/manifest-test-asdfasdfasdf';
|
||||
$manifestInfo = ManifestBuilder::get_manifest_info($baseFolder);
|
||||
|
||||
$this->assertContains('BaseClass', array_keys($manifestInfo['globals']['_ALL_CLASSES']['exists']));
|
||||
@ -88,7 +88,7 @@ class ManifestBuilderTest extends SapphireTest {
|
||||
include('tests/ManifestBuilderTest.fixture.inc');
|
||||
|
||||
// Build the fixture specified above
|
||||
$baseFolder = TEMP_FOLDER . '/manifest-test/';
|
||||
$baseFolder = TEMP_FOLDER . '/manifest-test-asdfasdfasdf/';
|
||||
|
||||
if(file_exists($baseFolder)) Filesystem::removeFolder($baseFolder);
|
||||
mkdir($baseFolder);
|
||||
@ -165,7 +165,7 @@ class ManifestBuilderTest extends SapphireTest {
|
||||
$_ALL_CLASSES = $this->originalAllClasses;
|
||||
|
||||
// Kill the folder after we're done
|
||||
$baseFolder = TEMP_FOLDER . '/manifest-test/';
|
||||
$baseFolder = TEMP_FOLDER . '/manifest-test-asdfasdfasdf/';
|
||||
Filesystem::removeFolder($baseFolder);
|
||||
|
||||
parent::tearDown();
|
||||
|
Loading…
x
Reference in New Issue
Block a user