Skip to content
Snippets Groups Projects
Commit 29fc6fcd authored by Enzo's avatar Enzo
Browse files

Ajout de /doc & /tests/res. Début de détection de sign. basée sur PHPWebshellDetector

parent 0e614f69
No related branches found
No related tags found
No related merge requests found
......@@ -21,28 +21,28 @@ class UtilTest extends TestCase
public function testRemoveCRLF()
{
foreach ($this->strings as $string) {
$this->assertTrue(removeCRLF($string) !== $string);
$this->assertTrue(\AnalyzerNS\removeCRLF($string) !== $string);
}
}
public function testRemoveMultiWhiteSpaces()
{
foreach ($this->strings as $string) {
$this->assertTrue(removeMultiWhiteSpaces($string) !== $string);
$this->assertTrue(\AnalyzerNS\removeMultiWhiteSpaces($string) !== $string);
}
}
public function testRemoveAllWhiteSpaces()
{
foreach ($this->strings as $string) {
$this->assertTrue(removeAllWhiteSpaces($string) !== $string);
$this->assertTrue(\AnalyzerNS\removeAllWhiteSpaces($string) !== $string);
}
}
public function testRemoveWhiteSpacesOutsideString()
{
foreach ($this->strings as $string) {
$this->assertTrue(removeWhiteSpacesOutsideString(token_get_all($string)) !== $string);
$this->assertTrue(\AnalyzerNS\removeWhiteSpacesOutsideString(token_get_all($string)) !== $string);
}
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment