]> git.mxchange.org Git - core.git/blobdiff - tests/framework/bootstrap/class_FrameworkBootstrapTest.php
Continued:
[core.git] / tests / framework / bootstrap / class_FrameworkBootstrapTest.php
index 289c2433393fcbda642b555bac8bc66c449251e0..9d3645bfc35bc1e2c90a5c0ade3d65cdad2cfa75 100644 (file)
@@ -62,10 +62,8 @@ class FrameworkBootstrapTest extends TestCase {
         * Setup test case
         */
        public static function setUpBeforeClass() {
-               // Trace message
-               /* NOISY-DEBUG: */ printf('[%s:%d]: CALLED!' . PHP_EOL, __METHOD__, __LINE__);
-
                // Call parent method
+               //* NOISY-DEBUG: */ printf('[%s:%d]: CALLED!' . PHP_EOL, __METHOD__, __LINE__);
                parent::setUpBeforeClass();
 
                // Lookup own hostname
@@ -75,7 +73,7 @@ class FrameworkBootstrapTest extends TestCase {
                self::$ipAddress = ConsoleTools::acquireSelfIpAddress();
 
                // Trace message
-               /* NOISY-DEBUG: */ printf('[%s:%d]: self::ipAddress[%s]=%s,self::hostname=%s - EXIT!' . PHP_EOL, __METHOD__, __LINE__, gettype(self::$ipAddress), self::$ipAddress, self::$hostname);
+               //* NOISY-DEBUG: */ printf('[%s:%d]: self::ipAddress[%s]=%s,self::hostname=%s - EXIT!' . PHP_EOL, __METHOD__, __LINE__, gettype(self::$ipAddress), self::$ipAddress, self::$hostname);
        }
 
        /**
@@ -149,11 +147,11 @@ class FrameworkBootstrapTest extends TestCase {
                $infoInstance = new SplFileInfo('/does/not/exist/');
 
                // Invoke method
-               /* NOISY-DEBUG: */ printf('[%s:%d]: infoInstance=%s' . PHP_EOL, __METHOD__, __LINE__, get_class($infoInstance));
+               //* NOISY-DEBUG: */ printf('[%s:%d]: infoInstance=%s' . PHP_EOL, __METHOD__, __LINE__, get_class($infoInstance));
                $isReachable = FrameworkBootstrap::isReachableFilePath($infoInstance);
 
                // Test if it is not reachable
-               /* NOISY-DEBUG: */ printf('[%s:%d]: isReachable=%d' . PHP_EOL, __METHOD__, __LINE__, intval($isReachable));
+               //* NOISY-DEBUG: */ printf('[%s:%d]: isReachable=%d' . PHP_EOL, __METHOD__, __LINE__, intval($isReachable));
                $this->assertTrue($isReachable, 'Returned true on a non-existing path');
 
                // Trace message
@@ -175,7 +173,7 @@ class FrameworkBootstrapTest extends TestCase {
                $rootScriptPath = realpath(dirname(dirname(FrameworkBootstrap::detectScriptPath())));
 
                // Set it
-               /* NOISY-DEBUG: */ printf('[%s:%d]: open_basedir=%s,rootScriptPath[%s]=%s' . PHP_EOL, __METHOD__, __LINE__, ini_get('open_basedir'), gettype($rootScriptPath), $rootScriptPath);
+               //* NOISY-DEBUG: */ printf('[%s:%d]: open_basedir=%s,rootScriptPath[%s]=%s' . PHP_EOL, __METHOD__, __LINE__, ini_get('open_basedir'), gettype($rootScriptPath), $rootScriptPath);
                $result = ini_set('open_basedir', $rootScriptPath . ':/etc/');
 
                // Was it set?