readSystemSoftware lists a PC's or notebook's installed applications with the settings the model needs: server applications switched on and their port, the generic client's target, DNS recursion, web server virtual hosts, Gnutella's peer limit and the personal firewall (on by default, unlike a router's). Defaults the file leaves out are measured in Java. All 23 corpus files match Java. Two examples install an application of their own (Accumulator, Broadcast), compiled into projekt/anwendungen; it is left out with a warning, as this reader cannot run Java classes. It must survive a save. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
17 lines
746 B
TypeScript
17 lines
746 B
TypeScript
// Warnings the corpus is expected to produce, shared by the corpus tests.
|
|
|
|
/**
|
|
* Two examples install an application of their own, compiled into the
|
|
* archive (projekt/anwendungen). Java loads it from there; this reader
|
|
* cannot run it — and the Java oracle, reading only konfiguration.xml, does
|
|
* not see it either.
|
|
*/
|
|
export const EXPECTED_WARNINGS: Record<string, string[]> = {
|
|
'java-examples/anwendung_komplett.fls': [
|
|
"node 1: application filius.software.clientserver.Accumulator is not part of FILIUS (a project's own application), left out",
|
|
],
|
|
'java-examples/multicast_server.fls': [
|
|
"node 1: application filius.software.clientserver.Broadcast is not part of FILIUS (a project's own application), left out",
|
|
],
|
|
};
|