function baseFormTest(&$session)
{
    if (!isset($_POST['test_text'])) {
        $_POST['test_text'] = 'Noch nix!';
    }
    guiStandardHeader($session, 'Test', Th_StandardHeader, Th_StandardBodyStart);
    $engine = new DiffEnginge("a\nx\\b", "a\nb");
    $engine->compare(1, 1);
    guiStandardBodyEnd($session, Th_StandardBodyEnd);
}
Beispiel #2
0
function baseFormTest(&$session)
{
    global $test_text, $test;
    if (!isset($test_text)) {
        $test_text = "Noch nix!";
    }
    guiStandardHeader($session, 'Test', Th_StandardHeader, Th_StandardBodyStart);
    $engine = new DiffEnginge("a\nx\\b", "a\nb");
    $engine->compare(1, 1);
    guiStandardBodyEnd($session, Th_StandardBodyEnd);
}