blob: 94a7f76bd1d369095984cc58481b86f8988fc1ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<?php
/**
* Copyright (c) 2013 Christopher Schäpers <christopher@schaepers.it>
* This file is licensed under the Affero General Public License version 3 or
* later.
* See the COPYING-README file.
*/
class Test_Search_Result extends PHPUnit_Framework_TestCase {
public function testConstruct() {
$result = new \OC_Search_Result("name", "text", "link", "type");
$this->assertEquals('name', $result->name);
$this->assertEquals('text', $result->text);
$this->assertEquals('link', $result->link);
$this->assertEquals('type', $result->type);
}
}
|