Debug tests update, IO class fixes, support class fixes

Added more tests to debug, form, system class tests

IO: max calls check return variable name was wrong
Logging: changed from preg to str replace for HTMLPRE tag clean up
Debug: empty string debug, returns filled string with dummy text if
string is empty()
System: return base name as is array

Updated Array IO check for loading control array not only from file, but
from direct variable if set or from an array filled with control array
This commit is contained in:
Clemens Schwaighofer
2021-07-12 06:25:10 +09:00
parent 678aa7460e
commit 11daac6d23
8 changed files with 99 additions and 25 deletions

View File

@@ -52,6 +52,9 @@ print "S::GETCALLERMETHOD: ".DebugSupport::getCallerMethod(0)."<br>";
print "S::GETCALLERMETHOD: ".test()."<br>";
print "S::PRINTAR: ".DebugSupport::printAr(['Foo', 'Bar'])."<br>";
print "V-S::PRINTAR: ".$debug_support_class::printAr(['Foo', 'Bar'])."<br>";
print "S::DEBUSTRING(s): ".DebugSupport::debugString('SET')."<br>";
print "S::DEBUSTRING(''): ".DebugSupport::debugString('')."<br>";
print "S::DEBUSTRING(,s): ".DebugSupport::debugString(null, '{-}')."<br>";
// debug
print "C->DEBUG: ".$debug->debug('CLASS-TEST-DEBUG', 'Class Test Debug')."<br>";