topologyWriter.ts writes konfiguration.xml from Java's view of a project: the version line, the node items (label position, device with name, host label flags, interfaces or ports), the cable items and the documentation items. What a device's constructor makes is changed through getters, as XMLEncoder does, and more is added; fewer than it makes set the list anew. Cable ends name the port objects the getters return (the writer now names a getter's result, <void id="Port0" property="port"/>), and each cable carries the nodes the editor draws it between. Checked by Java against Java: every corpus file, read and written again, loads in Java FILIUS (the oracle's loading method, --sha256 ties its result to the written bytes) to the same devices, names, positions, interfaces, cables and documentation as the original; so does a synthetic topology with what the corpus never sets. The oracle and the reader now also report a cable's drawing ends (JCablePanel ziel1/ziel2): in the corpus the nodes it joins, for all 183 cables. Mutation probes rewrite the files and let Java load each mutant. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
453 lines
8.9 KiB
JSON
453 lines
8.9 KiB
JSON
{
|
|
"arrays.xml": {
|
|
"values": [
|
|
{
|
|
"id": 0,
|
|
"class": "[Ljava.lang.String;",
|
|
"items": [
|
|
{
|
|
"string": "a"
|
|
},
|
|
null,
|
|
{
|
|
"string": "c"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 1,
|
|
"class": "[I",
|
|
"items": [
|
|
{
|
|
"int": 0
|
|
},
|
|
{
|
|
"int": 5
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"errors": []
|
|
},
|
|
"awt.xml": {
|
|
"values": [
|
|
{
|
|
"rectangle": [
|
|
1,
|
|
2,
|
|
3,
|
|
4
|
|
]
|
|
},
|
|
{
|
|
"color": [
|
|
10,
|
|
20,
|
|
30,
|
|
40
|
|
]
|
|
}
|
|
],
|
|
"errors": []
|
|
},
|
|
"beans.xml": {
|
|
"values": [
|
|
{
|
|
"id": 0,
|
|
"class": "filius.software.system.Datei",
|
|
"properties": {
|
|
"dateiInhalt": {
|
|
"string": "a.de. A 3600 1.2.3.4\\u000A"
|
|
},
|
|
"dateiTyp": {
|
|
"string": "text"
|
|
},
|
|
"name": {
|
|
"string": "hosts"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 1,
|
|
"class": "filius.software.email.EmailKonto",
|
|
"properties": {
|
|
"benutzername": {
|
|
"string": "bob"
|
|
},
|
|
"emailAdresse": null,
|
|
"nachname": {
|
|
"string": ""
|
|
},
|
|
"nachrichten": {
|
|
"id": 2,
|
|
"class": "java.util.LinkedList",
|
|
"items": [
|
|
{
|
|
"id": 3,
|
|
"class": "filius.software.email.Email",
|
|
"properties": {
|
|
"absender": {
|
|
"id": 4,
|
|
"class": "filius.software.email.AddressEntry",
|
|
"properties": {
|
|
"mailAddress": {
|
|
"string": "a@x"
|
|
},
|
|
"name": {
|
|
"string": "Alice"
|
|
}
|
|
}
|
|
},
|
|
"bcc": {
|
|
"id": 5,
|
|
"class": "java.util.ArrayList",
|
|
"items": []
|
|
},
|
|
"betreff": {
|
|
"string": "Hi"
|
|
},
|
|
"cc": {
|
|
"id": 6,
|
|
"class": "java.util.ArrayList",
|
|
"items": []
|
|
},
|
|
"dateReceived": {
|
|
"string": ""
|
|
},
|
|
"delete": false,
|
|
"empfaenger": {
|
|
"id": 7,
|
|
"class": "java.util.ArrayList",
|
|
"items": [
|
|
{
|
|
"id": 8,
|
|
"class": "filius.software.email.AddressEntry",
|
|
"properties": {
|
|
"mailAddress": {
|
|
"string": "b@y"
|
|
},
|
|
"name": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"neu": false,
|
|
"text": {
|
|
"string": ""
|
|
},
|
|
"versendet": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"passwort": null,
|
|
"pop3port": null,
|
|
"pop3server": null,
|
|
"smtpport": null,
|
|
"smtpserver": null,
|
|
"vorname": {
|
|
"string": ""
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"id": 9,
|
|
"class": "filius.software.email.Kontakt",
|
|
"properties": {
|
|
"email": null,
|
|
"hausnr": {
|
|
"int": 12
|
|
},
|
|
"name": {
|
|
"string": "Lang"
|
|
},
|
|
"plz": {
|
|
"int": 0
|
|
},
|
|
"strasse": null,
|
|
"telefon": null,
|
|
"vorname": null,
|
|
"wohnort": null
|
|
}
|
|
}
|
|
],
|
|
"errors": []
|
|
},
|
|
"collections.xml": {
|
|
"values": [
|
|
{
|
|
"id": 0,
|
|
"class": "java.util.Vector",
|
|
"items": [
|
|
{
|
|
"int": 1
|
|
},
|
|
{
|
|
"id": 1,
|
|
"class": "java.util.ArrayList",
|
|
"items": [
|
|
{
|
|
"string": "nested"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"class": "java.util.HashMap",
|
|
"entries": [
|
|
[
|
|
{
|
|
"string": "key"
|
|
},
|
|
{
|
|
"int": 8
|
|
}
|
|
]
|
|
]
|
|
}
|
|
],
|
|
"errors": []
|
|
},
|
|
"constants.xml": {
|
|
"values": [
|
|
{
|
|
"int": 0
|
|
}
|
|
],
|
|
"errors": []
|
|
},
|
|
"indexed.xml": {
|
|
"values": [
|
|
{
|
|
"id": 0,
|
|
"class": "java.util.LinkedList",
|
|
"items": [
|
|
{
|
|
"id": 1,
|
|
"class": "filius.software.system.Datei",
|
|
"properties": {
|
|
"dateiInhalt": null,
|
|
"dateiTyp": null,
|
|
"name": {
|
|
"string": "renamed"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"string": "replaced"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"errors": []
|
|
},
|
|
"numbers.xml": {
|
|
"values": [
|
|
{
|
|
"int": -1
|
|
},
|
|
{
|
|
"int": 2147483647
|
|
},
|
|
{
|
|
"long": "-9007199254740991"
|
|
},
|
|
{
|
|
"long": "9223372036854775807"
|
|
},
|
|
{
|
|
"double": "0.1"
|
|
},
|
|
{
|
|
"double": "-0.0"
|
|
},
|
|
{
|
|
"double": "1.0E300"
|
|
},
|
|
{
|
|
"double": "NaN"
|
|
},
|
|
{
|
|
"double": "-Infinity"
|
|
},
|
|
{
|
|
"float": "1.5"
|
|
},
|
|
{
|
|
"short": -3
|
|
},
|
|
{
|
|
"byte": 127
|
|
},
|
|
{
|
|
"char": 120
|
|
},
|
|
{
|
|
"char": 1
|
|
},
|
|
true,
|
|
false,
|
|
null,
|
|
{
|
|
"class": "java.lang.String"
|
|
}
|
|
],
|
|
"errors": []
|
|
},
|
|
"references.xml": {
|
|
"values": [
|
|
{
|
|
"id": 0,
|
|
"class": "java.util.LinkedList",
|
|
"items": [
|
|
{
|
|
"id": 1,
|
|
"class": "filius.hardware.NetzwerkInterface",
|
|
"properties": {
|
|
"dns": {
|
|
"string": ""
|
|
},
|
|
"gateway": {
|
|
"string": ""
|
|
},
|
|
"ip": {
|
|
"string": "10.0.0.1"
|
|
},
|
|
"mac": {
|
|
"string": "8E:A8:7E:96:38:62"
|
|
},
|
|
"port": {
|
|
"id": 2,
|
|
"class": "filius.hardware.Port",
|
|
"properties": {}
|
|
},
|
|
"subnetzMaske": {
|
|
"string": "255.255.255.0"
|
|
},
|
|
"wireless": false
|
|
}
|
|
},
|
|
{
|
|
"ref": 2
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"errors": []
|
|
},
|
|
"shared.xml": {
|
|
"values": [
|
|
{
|
|
"id": 0,
|
|
"class": "java.util.LinkedList",
|
|
"items": [
|
|
{
|
|
"id": 1,
|
|
"class": "java.util.ArrayList",
|
|
"items": [
|
|
{
|
|
"string": "shared"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 2,
|
|
"class": "java.util.ArrayList",
|
|
"items": [
|
|
{
|
|
"string": "other"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"ref": 1
|
|
},
|
|
{
|
|
"ref": 2
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"id": 3,
|
|
"class": "filius.software.system.Datei",
|
|
"properties": {
|
|
"dateiInhalt": {
|
|
"string": "a.de. A 3600 1.2.3.4\\u000A"
|
|
},
|
|
"dateiTyp": {
|
|
"string": "text"
|
|
},
|
|
"name": {
|
|
"string": "hosts"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"ref": 3
|
|
}
|
|
],
|
|
"errors": []
|
|
},
|
|
"strings.xml": {
|
|
"values": [
|
|
{
|
|
"id": 0,
|
|
"class": "java.util.LinkedList",
|
|
"items": [
|
|
{
|
|
"string": "plain"
|
|
},
|
|
{
|
|
"string": ""
|
|
},
|
|
{
|
|
"string": " spaced "
|
|
},
|
|
{
|
|
"string": "<&>\"'"
|
|
},
|
|
{
|
|
"string": "]]>"
|
|
},
|
|
{
|
|
"string": "tab\\u0009here"
|
|
},
|
|
{
|
|
"string": "line\\u000Abreak"
|
|
},
|
|
{
|
|
"string": "cr\\u000Dhere"
|
|
},
|
|
{
|
|
"string": "crlf\\u000D\\u000Ahere"
|
|
},
|
|
{
|
|
"string": "\\u0000\\u0001\\u001F\\u007F"
|
|
},
|
|
{
|
|
"string": "\\u0085\\u2028\\u2029"
|
|
},
|
|
{
|
|
"string": "\\uFEFFbom"
|
|
},
|
|
{
|
|
"string": "Gr\\u00FC\\u00DFe \\uD83D\\uDE00"
|
|
},
|
|
{
|
|
"string": "lone \\uD800 high"
|
|
},
|
|
{
|
|
"string": "lone \\uDC00 low"
|
|
},
|
|
{
|
|
"string": "\\uFFFE\\uFFFF"
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"errors": []
|
|
}
|
|
}
|