A Discrete-Event Network Simulator
API
test-ns3.NS3CommonSettingsTestCase Class Reference

ns3 tests related to generic options More...

+ Inheritance diagram for test-ns3.NS3CommonSettingsTestCase:
+ Collaboration diagram for test-ns3.NS3CommonSettingsTestCase:

Public Member Functions

def setUp (self)
 Clean configuration/build artifacts before common commands. More...
 
def test_01_NoOption (self)
 Test not passing any arguments to. More...
 
def test_02_NoTaskLines (self)
 Test only passing –quiet argument to ns3. More...
 
def test_03_CheckConfig (self)
 Test only passing 'show config' argument to ns3. More...
 
def test_04_CheckProfile (self)
 Test only passing 'show profile' argument to ns3. More...
 
def test_05_CheckVersion (self)
 Test only passing 'show version' argument to ns3. More...
 

Detailed Description

ns3 tests related to generic options

Definition at line 290 of file test-ns3.py.

Member Function Documentation

◆ setUp()

def test-ns3.NS3CommonSettingsTestCase.setUp (   self)

Clean configuration/build artifacts before common commands.

Returns
None

Definition at line 295 of file test-ns3.py.

References test-ns3.run_ns3().

+ Here is the call graph for this function:

◆ test_01_NoOption()

def test-ns3.NS3CommonSettingsTestCase.test_01_NoOption (   self)

Test not passing any arguments to.

Returns
None

Definition at line 304 of file test-ns3.py.

References test-ns3.run_ns3().

+ Here is the call graph for this function:

◆ test_02_NoTaskLines()

def test-ns3.NS3CommonSettingsTestCase.test_02_NoTaskLines (   self)

Test only passing –quiet argument to ns3.

Returns
None

Definition at line 313 of file test-ns3.py.

References test-ns3.run_ns3().

+ Here is the call graph for this function:

◆ test_03_CheckConfig()

def test-ns3.NS3CommonSettingsTestCase.test_03_CheckConfig (   self)

Test only passing 'show config' argument to ns3.

Returns
None

Definition at line 322 of file test-ns3.py.

References test-ns3.run_ns3().

+ Here is the call graph for this function:

◆ test_04_CheckProfile()

def test-ns3.NS3CommonSettingsTestCase.test_04_CheckProfile (   self)

Test only passing 'show profile' argument to ns3.

Returns
None

Definition at line 331 of file test-ns3.py.

References test-ns3.run_ns3().

+ Here is the call graph for this function:

◆ test_05_CheckVersion()

def test-ns3.NS3CommonSettingsTestCase.test_05_CheckVersion (   self)

Test only passing 'show version' argument to ns3.

Returns
None

Definition at line 340 of file test-ns3.py.

References test-ns3.run_ns3().

+ Here is the call graph for this function:

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