summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp
diff options
context:
space:
mode:
authorRobert Löhning <robert.loehning@qt.io>2021-12-21 12:42:43 +0100
committerRobert Löhning <robert.loehning@qt.io>2022-01-12 23:10:01 +0100
commit0bc7f94bd8949b89b75c2730a743a2bbf74a0c01 (patch)
tree33f046a1e5ab535956cd31823dade745fd2d9147 /tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp
parent90f0d522bf2c4a2d17fe04ccf342601222b5d4a5 (diff)
Q*Parser: Replace "data" with "contents" in strings
...to be clearer and avoid confusion with "data section". Change-Id: I13319be0e3e12aecf1e0e86c256007dfe6cb98c6 Pick-to: 6.3 Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp')
-rw-r--r--tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp b/tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp
index 8c68cfde0d..fcce21433e 100644
--- a/tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp
+++ b/tests/auto/corelib/plugin/qpluginloader/tst_qpluginloader.cpp
@@ -755,17 +755,17 @@ void tst_QPluginLoader::loadCorruptElfOldPlugin_data()
// arbitrary section bounds checks
// section index = 0 is usually a NULL section, so we try 1
- newRow("section1-starts-past-eof", "a section data extends past the end of the file",
+ newRow("section1-starts-past-eof", "section contents extend past the end of the file",
[](H h, QFile *f) {
ElfShdr *s = getSection(h, 1);
s->sh_offset = f->size();
});
- newRow("section1-ends-past-eof", "a section data extends past the end of the file",
+ newRow("section1-ends-past-eof", "section contents extend past the end of the file",
[](H h, QFile *f) {
ElfShdr *s = getSection(h, 1);
s->sh_size = f->size() + 1 - s->sh_offset;
});
- newRow("section1-bounds-overflow", "a section data extends past the end of the file", [](H h) {
+ newRow("section1-bounds-overflow", "section contents extend past the end of the file", [](H h) {
ElfShdr *s = getSection(h, 1);
s->sh_size = -sizeof(*s);
});