You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
37 lines
1.1 KiB
37 lines
1.1 KiB
//===- SystemUtilsTest.cpp ------------------------------------------------===//
|
|
//
|
|
// The MCLinker Project
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
#include "mcld/Support/SystemUtils.h"
|
|
#include "SystemUtilsTest.h"
|
|
|
|
using namespace mcld;
|
|
using namespace mcld::test;
|
|
|
|
// Constructor can do set-up work for all test here.
|
|
SystemUtilsTest::SystemUtilsTest() {
|
|
}
|
|
|
|
// Destructor can do clean-up work that doesn't throw exceptions here.
|
|
SystemUtilsTest::~SystemUtilsTest() {
|
|
}
|
|
|
|
// SetUp() will be called immediately before each test.
|
|
void SystemUtilsTest::SetUp() {
|
|
}
|
|
|
|
// TearDown() will be called immediately after each test.
|
|
void SystemUtilsTest::TearDown() {
|
|
}
|
|
|
|
//===----------------------------------------------------------------------===//
|
|
// Testcases
|
|
//===----------------------------------------------------------------------===//
|
|
TEST_F(SystemUtilsTest, test_strerror) {
|
|
ASSERT_TRUE(NULL != mcld::sys::strerror(0));
|
|
}
|