From 923eb35a79f338b032987cedfdadcc2483a571ac Mon Sep 17 00:00:00 2001 From: emteere <47253321+emteere@users.noreply.github.com> Date: Wed, 13 Jan 2021 17:39:27 -0500 Subject: [PATCH] Fixing test failures from incorrect test --- .../test/java/ghidra/app/cmd/data/rtti/RttiModelTest.java | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Ghidra/Features/MicrosoftCodeAnalyzer/src/test/java/ghidra/app/cmd/data/rtti/RttiModelTest.java b/Ghidra/Features/MicrosoftCodeAnalyzer/src/test/java/ghidra/app/cmd/data/rtti/RttiModelTest.java index 481e8e728f..b38827c082 100644 --- a/Ghidra/Features/MicrosoftCodeAnalyzer/src/test/java/ghidra/app/cmd/data/rtti/RttiModelTest.java +++ b/Ghidra/Features/MicrosoftCodeAnalyzer/src/test/java/ghidra/app/cmd/data/rtti/RttiModelTest.java @@ -1,5 +1,6 @@ /* ### * IP: GHIDRA + * REVIEWED: YES * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -51,7 +52,7 @@ public class RttiModelTest extends AbstractRttiTest { setupRtti4_32(builder, 0x01001340L, 0, 0, 0, "0x01005364", "0x0100137c"); Address address = builder.addr(0x01001340L); checkInvalidModel(new Rtti4Model(program, address, defaultValidationOptions), - "No vf table pointer is defined for this TypeDescriptor model."); + "TypeDescriptor data type at 01005364 doesn't point to a vfTable address in a loaded and initialized memory block."); } @Test @@ -62,7 +63,7 @@ public class RttiModelTest extends AbstractRttiTest { setupRtti0_32(builder, 0x01001364, "0x01007700", "0x0", "stuff"); Address address = builder.addr(0x01001340L); checkInvalidModel(new Rtti4Model(program, address, defaultValidationOptions), - "No vf table pointer is defined for this TypeDescriptor model."); + "TypeDescriptor data type at 01001364 doesn't point to a vfTable address in a loaded and initialized memory block."); } @Test