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

ExcelTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 25
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 2
lcom 0
cbo 1
dl 0
loc 25
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A getFormats() 0 3 1
A getClass() 0 3 1
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