Electroneum
is_hdd.cpp File Reference
#include "common/util.h"
#include <string>
#include <gtest/gtest.h>
Include dependency graph for is_hdd.cpp:

Go to the source code of this file.

Functions

 TEST (is_hdd, unknown_os)
 

Function Documentation

◆ TEST()

TEST ( is_hdd  ,
unknown_os   
)

Definition at line 12 of file is_hdd.cpp.

13 {
14  std::string path = "";
15  EXPECT_FALSE(tools::is_hdd(path.c_str()) != boost::none);
16 }
::std::string string
Definition: gtest-port.h:1097
#define EXPECT_FALSE(condition)
Definition: gtest.h:1862
boost::optional< bool > is_hdd(const char *file_path)
Definition: util.cpp:813
Here is the call graph for this function: