function D3InfoHandlerTest::testLibraryInfoProcessor in d3.js 7
Test processing an info file.
File
- tests/
d3_info_handler.test, line 61
Class
- D3InfoHandlerTest
- Tests the library info handlers.
Code
function testLibraryInfoProcessor() {
$this->controller
->setLibrary($this->library);
$this->controller->processor
->process();
$this
->assertNotNull($this->library['simpletest']['rows']['_info']);
$this
->assertEqual($this->library['simpletest']['rows']['_info']['array_type'], '2dnnv');
}