From f30558bb373a8ab443c6080f4eb50302756fc0d4 Mon Sep 17 00:00:00 2001 From: Martin Kojtal Date: Fri, 28 Jun 2019 12:06:39 +0100 Subject: [PATCH] unittest: rename watchdog to VirtualWatchdog --- .../{Watchdog.cpp => VirtualWatchdog.cpp} | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) rename UNITTESTS/platform/mbed_watchdog_mgr/{Watchdog.cpp => VirtualWatchdog.cpp} (71%) diff --git a/UNITTESTS/platform/mbed_watchdog_mgr/Watchdog.cpp b/UNITTESTS/platform/mbed_watchdog_mgr/VirtualWatchdog.cpp similarity index 71% rename from UNITTESTS/platform/mbed_watchdog_mgr/Watchdog.cpp rename to UNITTESTS/platform/mbed_watchdog_mgr/VirtualWatchdog.cpp index 88eafac08f..c7e9f21157 100644 --- a/UNITTESTS/platform/mbed_watchdog_mgr/Watchdog.cpp +++ b/UNITTESTS/platform/mbed_watchdog_mgr/VirtualWatchdog.cpp @@ -16,38 +16,38 @@ */ #ifdef DEVICE_WATCHDOG -#include "Watchdog.h" +#include "VirtualWatchdog.h" namespace mbed { -Watchdog *Watchdog::_first; +VirtualWatchdog *VirtualWatchdog::_first; -Watchdog::Watchdog(uint32_t timeout, const char *const str): _name(str) +VirtualWatchdog::VirtualWatchdog(uint32_t timeout, const char *const str): _name(str) { } -void Watchdog::start() +void VirtualWatchdog::start() { } -void Watchdog::kick() +void VirtualWatchdog::kick() { } -void Watchdog::stop() +void VirtualWatchdog::stop() { } -void Watchdog::process(uint32_t elapsed_ms) +void VirtualWatchdog::process() { } -Watchdog::~Watchdog() +VirtualWatchdog::~VirtualWatchdog() { }