Completed
Push — merge-sm ( 35fc19 )
by Jeroen De
09:25
created

MapPrinterTest::getFormats()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 3
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace SM\Test;
4
5
use SMMapPrinter;
6
use SMW\Test\QueryPrinterRegistryTestCase;
7
8
/**
9
 * @covers SMMapPrinter
10
 * @licence GNU GPL v2+
11
 * @author Jeroen De Dauw < [email protected] >
12
 */
13
class MapPrinterTest extends QueryPrinterRegistryTestCase {
14
15
	/**
16
	 * @see ResultPrinterTestCase::getFormats
17
	 *
18
	 * @since 1.8
19
	 *
20
	 * @return array
21
	 */
22
	public function getFormats() {
23
		return [ 'map' ];
24
	}
25
26
	/**
27
	 * @see ResultPrinterTestCase::getClass
28
	 *
29
	 * @since 1.8
30
	 *
31
	 * @return string
32
	 */
33
	public function getClass() {
34
		return SMMapPrinter::class;
35
	}
36
37
}
38