A Discrete-Event Network Simulator
API
Loading...
Searching...
No Matches
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.
 
def test_01_NoOption (self)
 Test not passing any arguments to.
 
def test_02_NoTaskLines (self)
 Test only passing –quiet argument to ns3.
 
def test_03_CheckConfig (self)
 Test only passing 'show config' argument to ns3.
 
def test_04_CheckProfile (self)
 Test only passing 'show profile' argument to ns3.
 
def test_05_CheckVersion (self)
 Test only passing 'show version' argument to ns3.
 

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(), and test-ns3.NS3CommonSettingsTestCase.setUp().

Referenced by test-ns3.NS3CommonSettingsTestCase.setUp().

+ Here is the call graph for this function:
+ Here is the caller 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: