提交 5a7206f2 编写于 作者: F FondMemoryVVV

Modify the format

Signed-off-by: NFondMemoryVVV <mashuai53@huawei.com>
上级 8be8f079
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
#include "gettestfiles.cpp" #include "gettestfiles.cpp"
#include "runtest.h" #include "runtest.h"
namespace OHOS{ namespace OHOS {
using namespace std; using namespace std;
static vector<std::string> filenames; static vector<std::string> filenames;
...@@ -38,4 +38,4 @@ std::vector<std::string> runtest::GetFileNames(std::string path) ...@@ -38,4 +38,4 @@ std::vector<std::string> runtest::GetFileNames(std::string path)
} }
return filenames; return filenames;
} }
} //namespace OHOS } // namespace OHOS
\ No newline at end of file \ No newline at end of file
...@@ -19,12 +19,10 @@ ...@@ -19,12 +19,10 @@
#include <string> #include <string>
#include <vector> #include <vector>
namespace OHOS { namespace OHOS {
class runtest {
class runtest
{
public: public:
static int t_setrlim(int r, long lim); static int t_setrlim(int r, long lim);
static std::vector<std::string> GetFileNames(std::string path); static std::vector<std::string> GetFileNames(std::string path);
}; };
} //namespace OHOS } // namespace OHOS
#endif // TOOLCHAIN_LIBC_TEST_INCLUDE_RUNTEST_H_ #endif // TOOLCHAIN_LIBC_TEST_INCLUDE_RUNTEST_H_
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <sys/resource.h> #include <sys/resource.h>
#include "runtest.h" #include "runtest.h"
namespace OHOS{ namespace OHOS {
int runtest::t_setrlim(int r, long lim) int runtest::t_setrlim(int r, long lim)
{ {
struct rlimit rl; struct rlimit rl;
...@@ -41,4 +41,4 @@ int runtest::t_setrlim(int r, long lim) ...@@ -41,4 +41,4 @@ int runtest::t_setrlim(int r, long lim)
} }
return 0; return 0;
} }
} //namespace OHOS } // namespace OHOS
\ No newline at end of file \ No newline at end of file
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#include <sys/wait.h> #include <sys/wait.h>
#include <sys/time.h> #include <sys/time.h>
#include <sys/resource.h> #include <sys/resource.h>
#include "signal.h"
#include "gtest/gtest.h" #include "gtest/gtest.h"
#include "runtest.h" #include "runtest.h"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册