bold text.';
$expect[1] = $inputs[1];
// [INVALID]
$inputs[2] = 'BlingBong';
$expect[2] = htmlspecialchars($inputs[2]);
foreach ($inputs as $i => $input) {
$tokens = $this->lex->tokenizeHTML($input);
$result_tokens = $strategy->execute($tokens);
$result = $this->gen->generateFromTokens($result_tokens);
$this->assertEqual($expect[$i], $result, "Test $i: %s");
paintIf($result, $result != $expect[$i]);
}
}
}
?>