This file is indexed.

/usr/share/doc/junit4/api/src-html/org/junit/experimental/theories/suppliers/TestedOnSupplier.html is in junit4-doc 4.12-6.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="en">
<head>
<title>Source code</title>
<link rel="stylesheet" type="text/css" href="../../../../../../stylesheet.css" title="Style">
</head>
<body>
<div class="sourceContainer">
<pre><span class="sourceLineNo">001</span>package org.junit.experimental.theories.suppliers;<a name="line.1"></a>
<span class="sourceLineNo">002</span><a name="line.2"></a>
<span class="sourceLineNo">003</span>import java.util.ArrayList;<a name="line.3"></a>
<span class="sourceLineNo">004</span>import java.util.List;<a name="line.4"></a>
<span class="sourceLineNo">005</span><a name="line.5"></a>
<span class="sourceLineNo">006</span>import org.junit.experimental.theories.ParameterSignature;<a name="line.6"></a>
<span class="sourceLineNo">007</span>import org.junit.experimental.theories.ParameterSupplier;<a name="line.7"></a>
<span class="sourceLineNo">008</span>import org.junit.experimental.theories.PotentialAssignment;<a name="line.8"></a>
<span class="sourceLineNo">009</span><a name="line.9"></a>
<span class="sourceLineNo">010</span>/**<a name="line.10"></a>
<span class="sourceLineNo">011</span> * @see org.junit.experimental.theories.suppliers.TestedOn<a name="line.11"></a>
<span class="sourceLineNo">012</span> * @see org.junit.experimental.theories.ParameterSupplier<a name="line.12"></a>
<span class="sourceLineNo">013</span> */<a name="line.13"></a>
<span class="sourceLineNo">014</span>public class TestedOnSupplier extends ParameterSupplier {<a name="line.14"></a>
<span class="sourceLineNo">015</span>    @Override<a name="line.15"></a>
<span class="sourceLineNo">016</span>    public List&lt;PotentialAssignment&gt; getValueSources(ParameterSignature sig) {<a name="line.16"></a>
<span class="sourceLineNo">017</span>        List&lt;PotentialAssignment&gt; list = new ArrayList&lt;PotentialAssignment&gt;();<a name="line.17"></a>
<span class="sourceLineNo">018</span>        TestedOn testedOn = sig.getAnnotation(TestedOn.class);<a name="line.18"></a>
<span class="sourceLineNo">019</span>        int[] ints = testedOn.ints();<a name="line.19"></a>
<span class="sourceLineNo">020</span>        for (final int i : ints) {<a name="line.20"></a>
<span class="sourceLineNo">021</span>            list.add(PotentialAssignment.forValue("ints", i));<a name="line.21"></a>
<span class="sourceLineNo">022</span>        }<a name="line.22"></a>
<span class="sourceLineNo">023</span>        return list;<a name="line.23"></a>
<span class="sourceLineNo">024</span>    }<a name="line.24"></a>
<span class="sourceLineNo">025</span>}<a name="line.25"></a>




























































</pre>
</div>
</body>
</html>