]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
improved Sandbox class comments 357-unit-tests-create-too-long-socket-paths-that-are-not-allowed-by-unix-systems
authorMichal Nowikowski <godfryd@isc.org>
Thu, 7 Mar 2019 11:18:03 +0000 (12:18 +0100)
committerMichal Nowikowski <godfryd@isc.org>
Thu, 7 Mar 2019 11:18:03 +0000 (12:18 +0100)
src/lib/testutils/sandbox.h

index 74d9735b2a742cf67430c8ee55be00393b267414..f0df176be48edfee1943cac3a62c82326c0aa320 100644 (file)
@@ -31,6 +31,8 @@ private:
     std::string path_;
 
     /// @brief Method for deleting files and folders, used in nftw traversal function.
+    ///
+    /// @param fpath path to the file to be removed.
     static int rmFile(const char *fpath, const struct stat *, int , struct FTW *) {
         return(remove(fpath));
     }
@@ -54,7 +56,7 @@ public:
 
     /// @brief Join sandbox path with indicated file subpath.
     ///
-    /// @param file path to file that should be joined to base path of sandbox.
+    /// @param file path to file that should be joined to base path of sandbox.
     std::string join(std::string file) {
         return (path_ + "/" + file);
     }