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 605 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 610 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 619 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 628 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 637 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 646 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 655 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: