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

EventCalendarTest::getClass()   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\EventCalendar class.
9
 *
10
 * @file
11
 * @since 1.8
12
 *
13
 * @ingroup SemanticResultFormats
14
 * @ingroup Test
15
 *
16
 * @group SRF
17
 * @group SMWExtension
18
 * @group ResultPrinters
19
 *
20
 * @licence GNU GPL v2+
21
 * @author mwjames
22
 */
23
class EventCalendarTest extends QueryPrinterRegistryTestCase {
24
25
	/**
26
	 * @see QueryPrinterRegistryTestCase::getFormats
27
	 *
28
	 * @since 1.8
29
	 *
30
	 * @return array
31
	 */
32
	public function getFormats() {
33
		return [ 'eventcalendar' ];
34
	}
35
36
	/**
37
	 * @see QueryPrinterRegistryTestCase::getClass
38
	 *
39
	 * @since 1.8
40
	 *
41
	 * @return string
42
	 */
43
	public function getClass() {
44
		return 'SRF\EventCalendar';
45
	}
46
47
}
48