A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BasicEnergyModelTestSuite Class Reference
+ Inheritance diagram for BasicEnergyModelTestSuite:
+ Collaboration diagram for BasicEnergyModelTestSuite:

Public Member Functions

 BasicEnergyModelTestSuite ()
- Public Member Functions inherited from ns3::TestSuite
 TestSuite (std::string name, Type type=UNIT)
 Constuct a new test suite.
TestSuite::Type GetTestType (void)
 get the kind of test this test suite implements
- Public Member Functions inherited from ns3::TestCase
virtual ~TestCase ()

Additional Inherited Members

- Public Types inherited from ns3::TestSuite
enum  Type {
  ALL = 0, BVT = 1, UNIT, SYSTEM,
  EXAMPLE, PERFORMANCE
}
 Type of test. More...
- Protected Member Functions inherited from ns3::TestCase
 TestCase (std::string name)
void AddTestCase (TestCase *testCase)
 Add an individual test case to this test suite.
std::string CreateDataDirFilename (std::string filename)
std::string CreateTempDirFilename (std::string filename)
bool GetErrorStatus (void) const NS_DEPRECATED
std::string GetName (void) const
bool IsStatusFailure (void) const
bool IsStatusSuccess (void) const
bool MustAssertOnFailure (void) const
bool MustContinueOnFailure (void) const
void ReportTestFailure (std::string cond, std::string actual, std::string limit, std::string message, std::string file, int32_t line)
void SetDataDir (std::string directory)

Detailed Description

Unit test suite for energy model. Although the test suite involves 2 modules it is still considered a unit test. Because a DeviceEnergyModel cannot live without an EnergySource.

Definition at line 374 of file basic-energy-model-test.cc.

Constructor & Destructor Documentation

BasicEnergyModelTestSuite::BasicEnergyModelTestSuite ( )

Definition at line 380 of file basic-energy-model-test.cc.

References ns3::TestCase::AddTestCase().

+ Here is the call graph for this function:


The documentation for this class was generated from the following file: