$this->assertSubString($output,$trimmed_name,format_string('Make sure the trimmed output (!trimmed) appears in the rendered output (!output).',array('!trimmed'=>$trimmed_name,'!output'=>$output)));
$this->assertNotSubString($output,$row->views_test_name,format_string("Make sure the untrimmed value (!untrimmed) shouldn't appear in the rendered output (!output).",array('!untrimmed'=>$row->views_test_name,'!output'=>$output)));
$this->assertNotSubString($output,$row->views_test_data_name,format_string("Make sure the untrimmed value (!untrimmed) shouldn't appear in the rendered output (!output).",array('!untrimmed'=>$row->views_test_data_name,'!output'=>$output)));
$name_field->options['alter']['max_length']=9;
$output=$name_field->advanced_render($row);
...
...
@@ -648,7 +648,7 @@ public function testTextRendering() {
);
foreach($touplesas$touple){
$row->views_test_name=$touple['value'];
$row->views_test_data_name=$touple['value'];
$output=$name_field->advanced_render($row);
if($touple['trimmed']){
...
...
@@ -660,7 +660,7 @@ public function testTextRendering() {
}
// Tests for displaying a readmore link when the output got trimmed.