1 |
|
package org.kuali.student.common.search; |
2 |
|
|
3 |
|
import static org.junit.Assert.assertNotNull; |
4 |
|
|
5 |
|
import org.junit.Test; |
6 |
|
import org.kuali.student.core.exceptions.MissingParameterException; |
7 |
|
import org.kuali.student.core.search.dto.SearchRequest; |
8 |
|
import org.kuali.student.core.search.dto.SearchResult; |
9 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (6) |
Complexity: 1 |
Complexity Density: 0.2 |
|
10 |
|
public class TestCrossSearch { |
11 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 1 |
Complexity Density: 0.2 |
1
PASS
|
|
12 |
1
|
@Test... |
13 |
|
public void testCrossSearchUnion() throws MissingParameterException{ |
14 |
1
|
MockSearch search = new MockSearch(); |
15 |
1
|
SearchRequest searchRequest = new SearchRequest(); |
16 |
1
|
searchRequest.setSearchKey("test.crossSearch"); |
17 |
1
|
SearchResult result = search.search(searchRequest); |
18 |
1
|
assertNotNull(result); |
19 |
|
} |
20 |
|
} |