assertEquals( "\r\n", PMA\libraries\Util::whichCrlf() ); } else { $this->assertEquals( "\n", PMA\libraries\Util::whichCrlf() ); } $this->markTestIncomplete('Cannot redefine constant'); } else { if (PMA_HAS_RUNKIT) { if (!defined('PMA_USR_OS')) { define('PMA_USR_OS', 'Linux'); } else { runkit_constant_redefine('PMA_USR_OS', 'Linux'); } $this->assertEquals( "\n", PMA\libraries\Util::whichCrlf() ); } if (PMA_HAS_RUNKIT) { runkit_constant_redefine('PMA_USR_OS', 'Win'); } else { define('PMA_USR_OS', 'Win'); } $this->assertEquals( "\r\n", PMA\libraries\Util::whichCrlf() ); } if (PMA_HAS_RUNKIT) { if (isset($pma_usr_os)) { runkit_constant_redefine('PMA_USR_OS', 'Win'); } else { runkit_constant_remove('PMA_USR_OS'); } } } }