aboutsummaryrefslogtreecommitdiff
path: root/unittests/FileHandleTest.cpp
diff options
context:
space:
mode:
authorPete Chou <petechou@gmail.com>2014-09-25 14:04:16 +0800
committerPete Chou <petechou@gmail.com>2014-09-25 14:04:16 +0800
commit8dccb02db8b7455985c26a36b8c00677835bf2d8 (patch)
treef980a5552569a18afef3b3e42b812d3e16da1760 /unittests/FileHandleTest.cpp
parentb1699ec99b1169b17342d6af4d7129330c1d2075 (diff)
downloadmclinker-8dccb02db8b7455985c26a36b8c00677835bf2d8.tar.gz
Big reformatting changes!
Will continue to switch to google c++ style. http://google-styleguide.googlecode.com/svn/trunk/cppguide.html
Diffstat (limited to 'unittests/FileHandleTest.cpp')
-rw-r--r--unittests/FileHandleTest.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/unittests/FileHandleTest.cpp b/unittests/FileHandleTest.cpp
index dc9ecdda..67935fbb 100644
--- a/unittests/FileHandleTest.cpp
+++ b/unittests/FileHandleTest.cpp
@@ -15,28 +15,23 @@
using namespace mcld;
using namespace mcldtest;
-
// Constructor can do set-up work for all test here.
-FileHandleTest::FileHandleTest()
-{
+FileHandleTest::FileHandleTest() {
// create testee. modify it if need
m_pTestee = new FileHandle();
}
// Destructor can do clean-up work that doesn't throw exceptions here.
-FileHandleTest::~FileHandleTest()
-{
+FileHandleTest::~FileHandleTest() {
delete m_pTestee;
}
// SetUp() will be called immediately before each test.
-void FileHandleTest::SetUp()
-{
+void FileHandleTest::SetUp() {
}
// TearDown() will be called immediately after each test.
-void FileHandleTest::TearDown()
-{
+void FileHandleTest::TearDown() {
}
//===----------------------------------------------------------------------===//