File: TEST-org.simpleframework.xml.util.ResolverTest.txt

package info (click to toggle)
simple-xml 2.7.1-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 8,524 kB
  • sloc: java: 45,356; xml: 277; sh: 11; makefile: 10
file content (149 lines) | stat: -rw-r--r-- 7,682 bytes parent folder | download | duplicates (3)
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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
Testsuite: org.simpleframework.xml.util.ResolverTest
Tests run: 6, Failures: 0, Errors: 0, Time elapsed: 0.155 sec
------------- Standard Output ---------------
<test name="example">
   <list>
      <match value="text/html" pattern="*.html"/>
      <match value="image/jpeg" pattern="*.jpg"/>
      <match value="image/jpeg" pattern="/images/*"/>
      <match value="text/plain" pattern="/log/**"/>
      <match value="application/octetstream" pattern="*.exe"/>
      <match value="text/plain" pattern="**.txt"/>
      <match value="text/html" pattern="/html/*"/>
   </list>
</test><test name="example">
   <list>
      <match value="text/html" pattern="*.html"/>
      <match value="image/jpeg" pattern="*.jpg"/>
      <match value="image/jpeg" pattern="/images/*"/>
      <match value="text/plain" pattern="/log/**"/>
      <match value="application/octetstream" pattern="*.exe"/>
      <match value="text/plain" pattern="**.txt"/>
      <match value="text/html" pattern="/html/*"/>
   </list>
</test>
<test ID="0" name="example">
   <!-- org.simpleframework.xml.util.Resolver -->
   <list ID="1">
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="2" value="text/html" pattern="*.html"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="3" value="image/jpeg" pattern="*.jpg"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="4" value="image/jpeg" pattern="/images/*"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="5" value="text/plain" pattern="/log/**"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="6" value="application/octetstream" pattern="*.exe"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="7" value="text/plain" pattern="**.txt"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="8" value="text/html" pattern="/html/*"/>
   </list>
</test>>>>>> ELEMENT=[element test]
>>>>> TYPE=[class org.simpleframework.xml.util.ResolverTest$ContentResolver]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Test ID="0" name="example">
   <!-- org.simpleframework.xml.util.Resolver -->
   <List ID="1">
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="2" value="text/html" pattern="*.html"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="3" value="image/jpeg" pattern="*.jpg"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="4" value="image/jpeg" pattern="/images/*"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="5" value="text/plain" pattern="/log/**"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="6" value="application/octetstream" pattern="*.exe"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="7" value="text/plain" pattern="**.txt"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="8" value="text/html" pattern="/html/*"/>
   </List>
</Test>>>>>> ELEMENT=[element Test]
>>>>> TYPE=[class org.simpleframework.xml.util.ResolverTest$ContentResolver]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<test name="example">
   <list>
      <match value="text/html" pattern="*.html"/>
      <match value="image/jpeg" pattern="*.jpg"/>
      <match value="image/jpeg" pattern="/images/*"/>
      <match value="application/octetstream" pattern="*.exe"/>
      <match value="text/plain" pattern="**.txt"/>
      <match value="text/html" pattern="/html/*"/>
      <match value="application/octetstream" pattern="*"/>
      <match value="text/html" pattern="README.*"/>
      <match value="text/plain" pattern="README.txt"/>
   </list>
</test><test name="example">
   <list>
      <match value="text/html" pattern="*.html"/>
      <match value="image/jpeg" pattern="*.jpg"/>
      <match value="image/jpeg" pattern="/images/*"/>
      <match value="application/octetstream" pattern="*.exe"/>
      <match value="text/plain" pattern="**.txt"/>
      <match value="text/html" pattern="/html/*"/>
      <match value="application/octetstream" pattern="*"/>
      <match value="text/html" pattern="README.*"/>
      <match value="text/plain" pattern="README.txt"/>
   </list>
</test>
<test ID="0" name="example">
   <!-- org.simpleframework.xml.util.Resolver -->
   <list ID="1">
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="2" value="text/html" pattern="*.html"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="3" value="image/jpeg" pattern="*.jpg"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="4" value="image/jpeg" pattern="/images/*"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="5" value="application/octetstream" pattern="*.exe"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="6" value="text/plain" pattern="**.txt"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="7" value="text/html" pattern="/html/*"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="8" value="application/octetstream" pattern="*"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="9" value="text/html" pattern="README.*"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <match ID="10" value="text/plain" pattern="README.txt"/>
   </list>
</test>>>>>> ELEMENT=[element test]
>>>>> TYPE=[class org.simpleframework.xml.util.ResolverTest$ContentResolver]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<Test ID="0" name="example">
   <!-- org.simpleframework.xml.util.Resolver -->
   <List ID="1">
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="2" value="text/html" pattern="*.html"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="3" value="image/jpeg" pattern="*.jpg"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="4" value="image/jpeg" pattern="/images/*"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="5" value="application/octetstream" pattern="*.exe"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="6" value="text/plain" pattern="**.txt"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="7" value="text/html" pattern="/html/*"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="8" value="application/octetstream" pattern="*"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="9" value="text/html" pattern="README.*"/>
      <!-- org.simpleframework.xml.util.ResolverTest$ContentType -->
      <Match ID="10" value="text/plain" pattern="README.txt"/>
   </List>
</Test>>>>>> ELEMENT=[element Test]
>>>>> TYPE=[class org.simpleframework.xml.util.ResolverTest$ContentResolver]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
------------- ---------------- ---------------

Testcase: testResolver took 0.115 sec
Testcase: testCache took 0.023 sec
Testcase: testNoResolution took 0.003 sec
Testcase: testNonGreedyMatch took 0.003 sec
Testcase: testResolverCache took 0.009 sec
Testcase: testDirectory took 0 sec