File: TEST-org.simpleframework.xml.core.NamespaceTest.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 (85 lines) | stat: -rw-r--r-- 4,436 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
Testsuite: org.simpleframework.xml.core.NamespaceTest
Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.13 sec
------------- Standard Output ---------------
<per:person age="30" xmlns:per="http://www.domain.com/person" xmlns:tax="http://www.domain.com/tax" xmlns="http://www.domain.com/default">
   <jb:job tax:salary="10" experience="12" xmlns:jb="http://www.domain.com/job">
      <title>Software Engineer</title>
      <employer international="true" xmlns="">
         <name xmlns="http://www.domain.com/employer">Spam Soft</name>
         <count:employees xmlns:count="http://www.domain.com/count">1000</count:employees>
         <address>Sesame Street</address>
      </employer>
   </jb:job>
   <name>John Doe</name>
   <value>Person</value>
</per:person><per:person age="30" xmlns:per="http://www.domain.com/person" xmlns:tax="http://www.domain.com/tax" xmlns="http://www.domain.com/default">
   <jb:job tax:salary="10" experience="12" xmlns:jb="http://www.domain.com/job">
      <title>Software Engineer</title>
      <employer international="true" xmlns="">
         <name xmlns="http://www.domain.com/employer">Spam Soft</name>
         <count:employees xmlns:count="http://www.domain.com/count">1000</count:employees>
         <address>Sesame Street</address>
      </employer>
   </jb:job>
   <name>John Doe</name>
   <value>Person</value>
</per:person><per:person age="30" xmlns:per="http://www.domain.com/person" xmlns:tax="http://www.domain.com/tax" xmlns="http://www.domain.com/default">
   <jb:job tax:salary="10" experience="12" xmlns:jb="http://www.domain.com/job">
      <title>Software Engineer</title>
      <employer international="true" xmlns="">
         <name xmlns="http://www.domain.com/employer">Spam Soft</name>
         <count:employees xmlns:count="http://www.domain.com/count">1000</count:employees>
         <address>Sesame Street</address>
      </employer>
   </jb:job>
   <name>John Doe</name>
   <value>Person</value>
</per:person>
<per:person ID="0" age="30" xmlns:per="http://www.domain.com/person" xmlns:tax="http://www.domain.com/tax" xmlns="http://www.domain.com/default">
   <!-- org.simpleframework.xml.core.NamespaceTest$Profession -->
   <jb:job ID="1" tax:salary="10" experience="12" xmlns:jb="http://www.domain.com/job">
      <!-- java.lang.String -->
      <title ID="2">Software Engineer</title>
      <!-- org.simpleframework.xml.core.NamespaceTest$Employer -->
      <employer ID="3" international="true" xmlns="">
         <!-- java.lang.String -->
         <name ID="4" xmlns="http://www.domain.com/employer">Spam Soft</name>
         <!-- java.lang.Integer -->
         <count:employees ID="5" xmlns:count="http://www.domain.com/count">1000</count:employees>
         <!-- java.lang.String -->
         <address ID="6">Sesame Street</address>
      </employer>
   </jb:job>
   <!-- java.lang.String -->
   <name ID="7">John Doe</name>
   <!-- java.lang.String -->
   <value ID="8">Person</value>
</per:person>>>>>> ELEMENT=[element person]
>>>>> TYPE=[class org.simpleframework.xml.core.NamespaceTest$Person]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
<per:Person ID="0" age="30" xmlns:per="http://www.domain.com/person" xmlns:tax="http://www.domain.com/tax" xmlns="http://www.domain.com/default">
   <!-- org.simpleframework.xml.core.NamespaceTest$Profession -->
   <jb:Job ID="1" tax:salary="10" experience="12" xmlns:jb="http://www.domain.com/job">
      <!-- java.lang.String -->
      <Title ID="2">Software Engineer</Title>
      <!-- org.simpleframework.xml.core.NamespaceTest$Employer -->
      <Employer ID="3" international="true" xmlns="">
         <!-- java.lang.String -->
         <Name ID="4" xmlns="http://www.domain.com/employer">Spam Soft</Name>
         <!-- java.lang.Integer -->
         <count:Employees ID="5" xmlns:count="http://www.domain.com/count">1000</count:Employees>
         <!-- java.lang.String -->
         <Address ID="6">Sesame Street</Address>
      </Employer>
   </jb:Job>
   <!-- java.lang.String -->
   <Name ID="7">John Doe</Name>
   <!-- java.lang.String -->
   <Value ID="8">Person</Value>
</per:Person>>>>>> ELEMENT=[element Person]
>>>>> TYPE=[class org.simpleframework.xml.core.NamespaceTest$Person]
>>>>> SOURCE=[class com.sun.xml.internal.stream.events.StartElementEvent]
------------- ---------------- ---------------

Testcase: testNamespace took 0.128 sec
Testcase: testDirectory took 0 sec