function ViewsHandlerTestXss::dataHelper

1 call to ViewsHandlerTestXss::dataHelper()
ViewsHandlerTestXss::testFieldXss in tests/handlers/views_handler_field_xss.test

File

tests/handlers/views_handler_field_xss.test, line 29

Class

ViewsHandlerTestXss
Tests the core views_handler_field_css handler.

Code

public function dataHelper() {
    $map = array(
        'John' => 'John',
        "Foo\xc0barbaz" => '',
        'Fooÿñ' => 'Fooÿñ',
    );
    return $map;
}