Commit 1fe9b4bf authored by tepelmann's avatar tepelmann
Browse files

Extracted constants.

parent 9d4c8e41
Loading
Loading
Loading
Loading
+17 −0
Original line number Diff line number Diff line
/**
 *  @author   STF 440
 *  @version  $Id$
 *  @desc     This module includes common definitions.
 *  
 */
 module AtsCommon_TypesAndValues {
  
  group componentConstants {
    
    const charstring c_COMP_DHCP := "DHCPv6";
    const charstring c_COMP_DNS := "DNS";
    const charstring c_COMP_HOST := "Host";
    
  } // end componentConstants
  
} // end AtsCommon_TypesAndValues
+13 −10
Original line number Diff line number Diff line
@@ -14,7 +14,7 @@ module AtsDSLite_TestCases {
            DHCPv6Msg 
    };
    
    // DSLitefrom 
    // AtsDSLite
    import from AtsCommon_DNS_CommonRfcs_TypesAndValues {
        type DnsMsg
    };
@@ -22,6 +22,9 @@ module AtsDSLite_TestCases {
    import from AtsDSLite_Templates all;
    import from AtsDSLite_Interfaces all;
    
    // AtsCommon
    import from AtsCommon_TypesAndValues all;
    
    /**
     * @desc B4
     * @reference ETSI TS xxx xxx-x V0.0.1.5a-draft (2014-01) Clause 5.1
@@ -70,7 +73,7 @@ module AtsDSLite_TestCases {
                    // Test control
                    
                    // Test component configuration
                    vc_dhcpv6Component := DHCPv6Component.create("DHCPv6");
                    vc_dhcpv6Component := DHCPv6Component.create(c_COMP_DHCP);
                    f_cf01Up_B4();
                    
                    // Test adapter configuration
@@ -170,14 +173,14 @@ module AtsDSLite_TestCases {
                    // Test control
                    
                    // Test component configuration
                    vc_dhcpv6Component := DHCPv6Component.create("DHCPv6");
                    vc_dnsComponent := DNSComponent.create("DNS");
                    vc_dhcpv6Component := DHCPv6Component.create(c_COMP_DHCP);
                    vc_dnsComponent := DNSComponent.create(c_COMP_DNS);
                    f_cf01Up_B4();
                    
                    // Test adapter configuration
                    
                    // Start all components
                    vc_dhcpv6Component.start(f_TC_DSLITE_B4_GWA_BV_002_dhcpv6());
                    vc_COMP_DHCPv6Component.start(f_TC_DSLITE_B4_GWA_BV_002_dhcpv6());
                    vc_dnsComponent.start(f_TC_DSLITE_B4_GWA_BV_002_dns());
                    
                    // Test Body
@@ -358,8 +361,8 @@ module AtsDSLite_TestCases {
                    // Test control
                    
                    // Test component configuration
                    vc_dnsComponent := DNSComponent.create("DNS");
                    vc_hostComponent := HostComponent.create("Host");
                    vc_dnsComponent := DNSComponent.create(c_COMP_DNS);
                    vc_hostComponent := HostComponent.create(c_COMP_HOST);
                    f_cf01Up_B4();
                    
                    // Test adapter configuration
@@ -534,7 +537,7 @@ module AtsDSLite_TestCases {
                    // Test control
                    
                    // Test component configuration
                   // vc_dhcpv6Component := DHCPv6Component.create("DHCPv6");
                   // vc_dhcpv6Component := DHCPv6Component.create(c_COMP_DHCP);
                    f_cf01Up_B4();
                    
                    // Test adapter configuration
@@ -612,7 +615,7 @@ module AtsDSLite_TestCases {
                    // Test control
                    
                    // Test component configuration
                   // vc_dhcpv6Component := DHCPv6Component.create("DHCPv6");
                   // vc_dhcpv6Component := DHCPv6Component.create(c_COMP_DHCP);
                    f_cf01Up_B4();
                    
                    // Test adapter configuration
@@ -704,7 +707,7 @@ module AtsDSLite_TestCases {
                    // Test control
                    
                    // Test component configuration
                   // vc_dhcpv6Component := DHCPv6Component.create("DHCPv6");
                   // vc_dhcpv6Component := DHCPv6Component.create(c_COMP_DHCP);
                    f_cf01Up_B4();
                    
                    // Test adapter configuration