#ifndef ORBITHUB_TEST_MREMOTENG_IMPORTER_FIXTURES_H #define ORBITHUB_TEST_MREMOTENG_IMPORTER_FIXTURES_H // Kept out of the moc-processed test .cpp: a literal "//" inside a raw // string literal (as in the xmlns URL below) confuses moc's lexer into // thinking a line comment started there, which silently desyncs the rest // of its parse and drops the QObject-derived test class entirely (no // error, just "No relevant classes found" and a missing vtable at link // time). Plain, non-QObject headers are never moc-scanned, so this is // immune to that. // Modeled on a real mRemoteNG confCons.xml export (attribute names and // root-element shape verified against mRemoteNG's own // XmlConnectionsDeserializer.cs and a real exported sample), covering: // nested folders, an RDP connection, an SSH2 connection (protocol must // map to "SSH"), and a VNC connection (unsupported -- must be skipped, // not dropped silently). inline const char* mRemoteNGSampleXml() { return R"( )"; } inline const char* mRemoteNGFullFileEncryptedXml() { return R"( SomeOpaqueBase64Blob== )"; } inline const char* mRemoteNGWrongRootXml() { return R"( )"; } #endif