Completed
Push — master ( 5e0917...b07279 )
by mw
05:24
created

ExcelTest::getFormats()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 3
rs 10
c 0
b 0
f 0
cc 1
eloc 2
nc 1
nop 0
1
<?php
2
3
namespace SRF\Tests\Unit\Formats;
4
5
use SMW\Test\QueryPrinterRegistryTestCase;
6
7
/**
8
 * Tests for the SRF\Excel class.
9
 *
10
 * @since 1.9
11
 *
12
 * @ingroup SemanticResultFormats
13
 * @ingroup Test
14
 *
15
 * @group SRF
16
 * @group SMWExtension
17
 * @group ResultPrinters
18
 *
19
 * @author Kim Eik
20
 */
21
class ExcelTest extends QueryPrinterRegistryTestCase {
22
23
	/**
24
	 * @see QueryPrinterRegistryTestCase::getFormats
25
	 *
26
	 * @since 1.8
27
	 *
28
	 * @return array
29
	 */
30
	public function getFormats() {
31
		return [ 'excel' ];
32
	}
33
34
	/**
35
	 * @see QueryPrinterRegistryTestCase::getClass
36
	 *
37
	 * @since 1.8
38
	 *
39
	 * @return string
40
	 */
41
	public function getClass() {
42
		return 'SRF\SRFExcel';
43
	}
44
45
}
46