| 94 | } |
| 95 | |
| 96 | void empty() const { |
| 97 | // Reading an empty library file is considered to be OK |
| 98 | constexpr char xmldata[] = "<?xml version=\"1.0\"?>\n<def/>"; |
| 99 | Library library; |
| 100 | ASSERT(LibraryHelper::loadxmldata(library, xmldata, sizeof(xmldata))); |
| 101 | ASSERT(library.functions().empty()); |
| 102 | } |
| 103 | |
| 104 | void function() const { |
| 105 | constexpr char xmldata[] = "<?xml version=\"1.0\"?>\n" |
no outgoing calls
no test coverage detected