Skip to content

Commit e5fb17a

Browse files
author
Dorian Eikenberg
committed
ApiTracing: Use public include for VmiException
1 parent 0737760 commit e5fb17a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugins/apitracing/test/Extractor_Unittest.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
1-
#include "../../../vmicore/src/lib/vmi/VmiException.h"
21
#include "../src/lib/os/Extractor.h"
32
#include "ConstantDefinitions.h"
43
#include "TestConstantDefinitions.h"
54
#include <gmock/gmock.h>
65
#include <gtest/gtest.h>
6+
#include <vmicore/vmi/VmiException.h>
77
#include <vmicore_test/io/mock_Logger.h>
88
#include <vmicore_test/plugins/mock_PluginInterface.h>
99
#include <vmicore_test/vmi/mock_InterruptEvent.h>
@@ -338,7 +338,7 @@ namespace ApiTracing
338338
SetupNestedStructPointerReads();
339339
// Remove first ObjectAttributesTwo element and replace it with the default element
340340
ON_CALL(*introspectionAPI, readVA(ObjectAttributesTwoValue, testDtb, sizeof(uint32_t)))
341-
.WillByDefault(Throw(VmiCore::VmiException(("Unable to read bytes from VA"))));
341+
.WillByDefault(Throw(VmiCore::VmiException("Unable to read bytes from VA")));
342342
auto* objectAttributesTwo = &expectedExtractedParameters[1].backingParameters[0].backingParameters;
343343
auto removedElementName = objectAttributesTwo->begin()->name;
344344
objectAttributesTwo->erase(objectAttributesTwo->begin());

0 commit comments

Comments
 (0)