assertEquals('\\\';', PMA_escapeJsString('\';')); } public function testEscape_2() { $this->assertEquals('\r\n\\\'")); } public function testEscape_3() { $this->assertEquals('\\\';[XSS]', PMA_escapeJsString('\';[XSS]')); } public function testEscape_4() { $this->assertEquals('[HTML]', PMA_escapeJsString('[HTML]')); } public function testEscape_5() { $this->assertEquals('"\\\'\\\\\\\'"', PMA_escapeJsString('"\'\\\'"')); } public function testEscape_6() { $this->assertEquals("\\\\\'\'\'\'\'\'\'\'\'\'\'\'\\\\", PMA_escapeJsString("\\''''''''''''\\")); } } ?>