Browse Source

Fix minor issues found by EBN

release/20.12
Yuri Chornoivan 2 years ago
parent
commit
1a7b673792
  1. 2
      src/core/smartparser.cpp
  2. 2
      src/core/smartparser.h
  3. 2
      test/CMakeLists.txt

2
src/core/smartparser.cpp

@ -31,7 +31,7 @@
#include <QString>
/** Creates a new SmartParser object
@param device_path device path that indicates the device that SMART must analyse
@param device_path device path that indicates the device that SMART must analyze
*/
SmartParser::SmartParser(const QString &device_path) :
m_DevicePath(device_path),

2
src/core/smartparser.h

@ -41,7 +41,7 @@ public:
public:
const QString &devicePath() const
{
return m_DevicePath; /**< @return the device path that SMART must analyse */
return m_DevicePath; /**< @return the device path that SMART must analyze */
}
SmartDiskInformation *diskInformation() const

2
test/CMakeLists.txt

@ -57,4 +57,4 @@ add_test(NAME testexternalcommand COMMAND testexternalcommand ${BACKEND})
# Test Device
kpm_test(testdevice testdevice.cpp)
add_test(NAME testdevice COMMAND testdevice ${BACKEND})
add_test(NAME testdevice COMMAND testdevice ${BACKEND})
Loading…
Cancel
Save