This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Mutateme_MutableFile | |
[x] Should maintain file path info once passed in constructor | |
[x] Should not have mutations before generation | |
[x] Should not have detected mutables before generation | |
[x] Should not generate mutables for empty class | |
[x] Should not generate mutations for empty class | |
[x] Should not generate mutables if only empty methods in class | |
[x] Should not generate mutations if only empty methods in class | |
[x] Should generate mutables even if method body is not viable | |
[x] Should not generate mutations if method body is not viable |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<body> | |
<div style="position: absolute; top: 10px; left: 10px; background-color: red; z-index: 1; width: 100px; height: 100px; margin: 0;"><div> | |
<div style="position: absolute; top: 10px; left: 10px; background-color: green; z-index: 2; width: 100px; height: 100px; margin: 0;"><div> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
http://framework.zend.com/favicon.ico | |
GET /favicon.ico HTTP/1.1 | |
Host: framework.zend.com | |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1) Gecko/20090624 Firefox/3.5 (.NET CLR 3.5.30729) | |
Accept: image/png,image/*;q=0.8,*/*;q=0.5 | |
Accept-Language: en-gb,en;q=0.5 | |
Accept-Encoding: gzip,deflate | |
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 | |
Keep-Alive: 300 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'Zend/Filter/StripTags.php'; | |
$source = <<<string | |
<img src=http://www.example.com/image.png></img> | |
string; | |
$filter = new Zend_Filter_StripTags; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'Zend/Feed/Writer/Feed.php'; | |
/** | |
* Create the parent feed | |
*/ | |
$feed = new Zend_Feed_Writer_Feed; | |
$feed->setTitle('Paddy\'s Podcast'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ini_set('display_errors', 1); | |
require_once 'Zend/Markup.php'; | |
$source = <<<string | |
[list] | |
[*] Subject 1 | |
[list] | |
[*] First | |
[*] Second |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fatal error: Call to a member function getName() on a non-object in /home/padraic/projects/zf/trunk/library/Zend/Markup/Parser/Bbcode.php on line 446 | |
Call Stack: | |
0.0004 619656 1. {main}() /var/www/test.php:0 | |
0.0095 1474976 2. Zend_Markup_Renderer_RendererAbstract->render() /var/www/test.php:17 | |
0.0095 1474976 3. Zend_Markup_Parser_Bbcode->parse() /home/padraic/projects/zf/trunk/library/Zend/Markup/Renderer/RendererAbstract.php:186 | |
0.0096 1479416 4. Zend_Markup_Parser_Bbcode->_parse() /home/padraic/projects/zf/trunk/library/Zend/Markup/Parser/Bbcode.php:184 | |
0.0101 1497968 5. Zend_Markup_Parser_Bbcode->_parseTagStart() /home/padraic/projects/zf/trunk/library/Zend/Markup/Parser/Bbcode.php:198 | |
0.0101 1497968 6. Zend_Markup_Parser_Bbcode->_parseTag() /home/padraic/projects/zf/trunk/library/Zend/Markup/Parser/Bbcode.php:238 | |
0.0101 1498416 7. Zend_Markup_Parser_Bbcode->_endTag() /home/padraic/projects/zf/trunk/library/Zend/Markup/Parser/Bbcode.php:266 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ini_set('display_errors', 1); | |
require_once 'Zend/Markup.php'; | |
$source = <<<string | |
[[url]http://example.com[url] | |
string; | |
$bbcode = Zend_Markup::factory('Bbcode'); | |
echo $bbcode->render($source); // [[url]http://example.com |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
ini_set('display_errors', 1); | |
require_once 'Zend/Markup.php'; | |
$source = <<<string | |
[ adfdsfda [url]http://example.com[url] | |
string; | |
$bbcode = Zend_Markup::factory('Bbcode'); | |
echo $bbcode->render($source); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
require_once 'Zend/Http/Client.php'; | |
$bclient = new Zend_Http_Client(array('keepalive'=>true)); | |
$bclient->setUri('http://bit.ly'); | |
echo $bclient->request()->getBody(); |
OlderNewer