Commit a01af452 authored by tepelmann's avatar tepelmann
Browse files

Improved host component names.

Further adaptation.
parent ef711ade
Loading
Loading
Loading
Loading
+94 −5
Original line number Diff line number Diff line
@@ -357,19 +357,20 @@ module AtsDSLite_TestCases {
                testcase TC_DSLITE_B4_GWA_BV_003() runs on DSLiteComponent system TestAdapter {
                    
                    // Local variables
                    var integer v_host := 0;
                    
                    // Test control
                    
                    // Test component configuration
                    vc_dnsComponent := DNSComponent.create(c_COMP_DNS);
                    vc_hostComponents[0] := HostComponent.create(c_COMP_HOST);
                    vc_hostComponents[v_host] := HostComponent.create(c_COMP_HOST & int2str(v_host));
                    f_cf01Up_B4();
                    
                    // Test adapter configuration
                    
                    // Start all components
                    vc_dnsComponent.start(f_TC_DSLITE_B4_GWA_BV_003_dns());
                    vc_hostComponents[0].start(f_TC_DSLITE_B4_GWA_BV_003_host());
                    vc_hostComponents[v_host].start(f_TC_DSLITE_B4_GWA_BV_003_host());
                    
                    f_serverSyncNClientsAndStop(2, { c_prDone, c_initDone, c_tbDone, c_poDone });
                    
@@ -538,7 +539,7 @@ module AtsDSLite_TestCases {
                    // Test component configuration
                    vc_aftrComponent := AFTRComponent.create(c_COMP_AFTR);
                    for (v_host := 0; v_host < PX_HOST_NUM; v_host := v_host + 1) {
                        vc_hostComponents[v_host] := HostComponent.create(c_COMP_HOST);
                        vc_hostComponents[v_host] := HostComponent.create(c_COMP_HOST & int2str(v_host));
                    } // End of 'for' statement 
                    f_cf01Up_B4();
                    
@@ -656,16 +657,20 @@ module AtsDSLite_TestCases {
                testcase TC_DSLITE_B4_FRAG_BV_001() runs on DSLiteComponent system TestAdapter {
                    
                    // Local variables
                    var integer v_host := 0;
                    
                    // Test control
                    
                    // Test component configuration
                   // vc_dhcpv6Component := DHCPv6Component.create(c_COMP_DHCP);
                    vc_aftrComponent := AFTRComponent.create(c_COMP_AFTR);
                    vc_hostComponents[v_host] := HostComponent.create(c_COMP_HOST & int2str(v_host));
                    f_cf01Up_B4();
                    
                    // Test adapter configuration
                    
                    // Start all components
                    vc_aftrComponent.start(f_TC_DSLITE_B4_FRAG_BV_001_aftr());
                    vc_hostComponents[0].start(f_TC_DSLITE_B4_FRAG_BV_001_host(v_host));
                    
                    f_serverSyncNClientsAndStop(1, { c_prDone, c_tbDone, c_poDone });
                    
@@ -682,6 +687,46 @@ module AtsDSLite_TestCases {
                
                group f_TC_DSLITE_B4_FRAG_BV_001 {
                    
                    function f_TC_DSLITE_B4_BF_FRAG_001_aftr() runs on AFTRComponent {
                        
                        // Local variables
                         
                        // Preamble
                        // Clause 'Initial conditions'
                        f_preamble_aftr();
                        f_selfOrClientSyncAndVerdict(c_prDone, e_success);
                        log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
                        
                        // Test Body
                        // Clause 'when': 
                        
                        // Postamble
                        f_postamble_aftr();
                        f_selfOrClientSyncAndVerdict(c_poDone, e_success);
                        log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
                        
                    } // End of fucntion f_TC_DSLITE_B4_FRAG_BV_001_aftr
                    
                    function f_TC_DSLITE_B4_FRAG_BV_001_host(in integer p_hostId) runs on HostComponent {
                        
                        // Local variables
                         
                        // Preamble
                        // Clause 'Initial conditions'
                        f_preamble_host();
                        f_selfOrClientSyncAndVerdict(c_prDone, e_success);
                        log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
                        
                        // Test Body
                        // Clause 'when': 
                        
                        // Postamble
                        f_postamble_host();
                        f_selfOrClientSyncAndVerdict(c_poDone, e_success);
                        log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
                        
                    } // End of f_TC_DSLITE_B4_FRAG_BV_001_host
                    
                } // End of group f_TC_DSLITE_B4_FRAG_BV_001
                
                /**
@@ -719,16 +764,20 @@ module AtsDSLite_TestCases {
                testcase TC_DSLITE_B4_FRAG_BV_002() runs on DSLiteComponent system TestAdapter {
                    
                    // Local variables
                    var integer v_host;
                    
                    // Test control
                    
                    // Test component configuration
                   // vc_dhcpv6Component := DHCPv6Component.create(c_COMP_DHCP);
                    vc_aftrComponent := AFTRComponent.create(c_COMP_AFTR);
                    vc_hostComponents[v_host] := HostComponent.create(c_COMP_HOST & int2str(v_host));
                    f_cf01Up_B4();
                    
                    // Test adapter configuration
                    
                    // Start all components
                    vc_aftrComponent.start(f_TC_DSLITE_B4_FRAG_BV_001_aftr());
                    vc_hostComponents[0].start(f_TC_DSLITE_B4_FRAG_BV_001_host(v_host));
                    
                    f_serverSyncNClientsAndStop(1, { c_prDone, c_tbDone, c_poDone });
                    
@@ -745,6 +794,46 @@ module AtsDSLite_TestCases {
                
                group f_TC_DSLITE_B4_FRAG_BV_002 {
                    
                    function f_TC_DSLITE_B4_BF_BV_001_aftr() runs on AFTRComponent {
                        
                        // Local variables
                         
                        // Preamble
                        // Clause 'Initial conditions'
                        f_preamble_aftr();
                        f_selfOrClientSyncAndVerdict(c_prDone, e_success);
                        log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
                        
                        // Test Body
                        // Clause 'when': 
                        
                        // Postamble
                        f_postamble_aftr();
                        f_selfOrClientSyncAndVerdict(c_poDone, e_success);
                        log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
                        
                    } // End of fucntion f_TC_DSLITE_B4_BF_BV_001_aftr
                    
                    function f_TC_DSLITE_B4_BF_BV_001_host(in integer p_hostId) runs on HostComponent {
                        
                        // Local variables
                         
                        // Preamble
                        // Clause 'Initial conditions'
                        f_preamble_host();
                        f_selfOrClientSyncAndVerdict(c_prDone, e_success);
                        log("*** " & __SCOPE__ & ": INFO: Preamble done. ***");
                        
                        // Test Body
                        // Clause 'when': 
                        
                        // Postamble
                        f_postamble_host();
                        f_selfOrClientSyncAndVerdict(c_poDone, e_success);
                        log("*** " & __SCOPE__ & ": INFO: Postamble done. ***");
                        
                    } // End of f_TC_DSLITE_B4_BF_BV_001_host
                    
                } // End of group f_TC_DSLITE_B4_FRAG_BV_002
                
            } // End of group validBehaviour