Commit b34a3472 authored by tepelmann's avatar tepelmann
Browse files

Added Ipv4 specific implementations and modifications in ttcn3 variants,...

Added Ipv4 specific implementations and modifications in ttcn3 variants, external function implementation, test adaptation, etc.
parent 9e231b13
Loading
Loading
Loading
Loading
+2 −2
Changes for .ttcn3project: 2 added lines, 2 removed lines.
Original line number Diff line number Diff line
#Mon Mar 12 15:28:58 CET 2007
#Mon May 21 18:34:35 CEST 2007
tcn3.debug_mode=false
ttcn3.debug_mode=false
ttcn3.mlf_jar=IPv6TestAdapter.jar
ttcn3.output_same_as_src=false
ttcn3.mlf_class=com.testingtech.ttcn.tri.IPv6TestAdapter
ttcn3.use_bigint=true
ttcn3.source_folders=//PROJECT_NAME//ttcn3/EtsiAts/AtsIpv6/AtsCommon\n//PROJECT_NAME//ttcn3/EtsiAts/AtsIpv6/AtsCore\n//PROJECT_NAME//ttcn3/EtsiAts/AtsIpv6/AtsMobility\n//PROJECT_NAME//ttcn3/EtsiAts/AtsIpv6/AtsSecurity\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibCommon\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibIpv6/LibCore\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibIpv6/LibMobility\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibIpv6/LibMultiRfcs\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibIpv6/LibCommonRfcs\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibIpv6/LibUdp\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibScop\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibIpv6/LibSec\n//PROJECT_NAME//ttcn3
ttcn3.source_folders=//PROJECT_NAME//ttcn3/EtsiAts/AtsIpv6/AtsCommon\n//PROJECT_NAME//ttcn3/EtsiAts/AtsIpv6/AtsCore\n//PROJECT_NAME//ttcn3/EtsiAts/AtsIpv6/AtsMobility\n//PROJECT_NAME//ttcn3/EtsiAts/AtsIpv6/AtsSecurity\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibCommon\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibIpv6/LibCore\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibIpv6/LibMobility\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibIpv6/LibMultiRfcs\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibIpv6/LibCommonRfcs\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibIpv6/LibUdp\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibScop\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibIpv6/LibSec\n//PROJECT_NAME//ttcn3\n//PROJECT_NAME//ttcn3/EtsiLibrary/LibIpv6/LibTransitioning\n//PROJECT_NAME//ttcn3/EtsiAts/AtsIpv6/AtsTransitioning
ttcn3.generate_mlf=true
ttcn3.main_module=AtsIpv6_Core_TestControl
ttcn3.output_folder=//PROJECT_NAME//lib
+6 −12
Changes for javasrc/com/testingtech/generated/codec/LibIpv6_CommonRfcs_TypesAndValues/TabularAdvertisementInterval.java: 6 added lines, 12 removed lines.
Original line number Diff line number Diff line
/*
 *   NOTE: this is a machine generated file - editing not recommended
 * ----------------------------------------------------------------------------
 *  (C) Copyright Testing Technologies, 2000-2006.  All Rights Reserved.
 *  (C) Copyright Testing Technologies, 2000-2007.  All Rights Reserved.
 *
 *  All copies of this program, whether in whole or in part, and whether
 *  modified or not, must display this and all other embedded copyright
@@ -16,17 +16,17 @@
 *
 * ----------------------------------------------------------------------------
 *
 *   Source File: F:\dte\workspace_ipv6\IPv6_newTypes_20060914\ttcn3\EtsiLibrary\LibIpv6\LibCommonRfcs\LibIpv6_CommonRfcs_TypesAndValues.ttcn
 *   Source File: D:\\dte\\workspaces\\workspace_ipv6\\IPv6_ETSI_STF276_P2_new\\ttcn3\\EtsiLibrary\\LibIpv6\\LibCommonRfcs\\LibIpv6_CommonRfcs_TypesAndValues.ttcn
 *   File       : TabularAdvertisementInterval.java
 *
 *   This is a Java class providing a com.testingtech.ttcn.tci based decoding
 *   using tabular encoding information within a TTCN-3 file.
 *
 *   This file was generated by TabularCodecGenerator(version v0.2)
  *  at 21.09.2006 09:34:25
 *   This file was generated by TabularCodecGenerator(version v1.0)
  *  at 21.05.2007 16:55:02
 *
 *   REVISION INFO:
 *        $Revision: 1.2 $ $Date: 2006/02/09 17:34:58 $
 *        $Revision: 1.4 $ $Date: 2007/02/26 10:03:23 $
 * -----------------------------------------------------------------------------
 */
package com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues;
@@ -38,7 +38,6 @@ import org.etsi.ttcn.tci.Value;


public class TabularAdvertisementInterval extends TabularRecord {
    public boolean present = false;
    public RecordValue rv;
    public com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt8 icmpType;
    public com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt8 optionLength;
@@ -47,6 +46,7 @@ public class TabularAdvertisementInterval extends TabularRecord {

    public TabularAdvertisementInterval(Value theValue) {
        super(theValue);
        present = false;
        rv = (RecordValue) tciValue;

        /*
@@ -55,8 +55,6 @@ public class TabularAdvertisementInterval extends TabularRecord {

    public TabularObject decode(final TabularDecoder dec)
        throws TabularException {
        assert dec != null;

        present = isNext(dec);

        if (!present) {
@@ -117,8 +115,6 @@ public class TabularAdvertisementInterval extends TabularRecord {
    }

    public void encode(final TabularEncoder enc) throws TabularException {
        assert enc != null;

        // -- icmpType
        icmpType = new com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt8(rv.getField(
                    "icmpType"));
@@ -149,8 +145,6 @@ public class TabularAdvertisementInterval extends TabularRecord {
    }

    public static boolean isNext(TabularDecoder dec) throws TabularException {
        assert dec != null;

        return dec.bytes(1, 0x07);
    }

+6 −10
Changes for javasrc/com/testingtech/generated/codec/LibIpv6_CommonRfcs_TypesAndValues/TabularDestOption.java: 6 added lines, 10 removed lines.
Original line number Diff line number Diff line
/*
 *   NOTE: this is a machine generated file - editing not recommended
 * ----------------------------------------------------------------------------
 *  (C) Copyright Testing Technologies, 2000-2006.  All Rights Reserved.
 *  (C) Copyright Testing Technologies, 2000-2007.  All Rights Reserved.
 *
 *  All copies of this program, whether in whole or in part, and whether
 *  modified or not, must display this and all other embedded copyright
@@ -16,17 +16,17 @@
 *
 * ----------------------------------------------------------------------------
 *
 *   Source File: F:\dte\workspace_ipv6\IPv6_newTypes_20060914\ttcn3\EtsiLibrary\LibIpv6\LibCommonRfcs\LibIpv6_CommonRfcs_TypesAndValues.ttcn
 *   Source File: D:\\dte\\workspaces\\workspace_ipv6\\IPv6_ETSI_STF276_P2_new\\ttcn3\\EtsiLibrary\\LibIpv6\\LibCommonRfcs\\LibIpv6_CommonRfcs_TypesAndValues.ttcn
 *   File       : TabularDestOption.java
 *
 *   This is a Java class providing a com.testingtech.ttcn.tci based decoding
 *   using tabular encoding information within a TTCN-3 file.
 *
 *   This file was generated by TabularCodecGenerator(version v0.2)
  *  at 21.09.2006 09:34:25
 *   This file was generated by TabularCodecGenerator(version v1.0)
  *  at 21.05.2007 16:55:02
 *
 *   REVISION INFO:
 *        $Revision: 1.2 $ $Date: 2006/02/09 17:34:58 $
 *        $Revision: 1.4 $ $Date: 2007/02/26 10:03:23 $
 * -----------------------------------------------------------------------------
 */
package com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues;
@@ -38,7 +38,6 @@ import org.etsi.ttcn.tci.Value;


public class TabularDestOption extends TabularUnion {
    public boolean present = false;
    public UnionValue uv = null;
    public com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularOptPad1 pad1 =
        null;
@@ -52,13 +51,12 @@ public class TabularDestOption extends TabularUnion {

    public TabularDestOption(Value theValue) {
        super(theValue);
        present = false;
        uv = (UnionValue) tciValue;
    }

    public TabularObject decode(final TabularDecoder dec)
        throws TabularException {
        assert dec != null;

        present = isNext(dec);

        if (!present) {
@@ -124,8 +122,6 @@ public class TabularDestOption extends TabularUnion {
    }

    public void encode(final TabularEncoder enc) throws TabularException {
        assert enc != null;

        // -- pad1
        if (uv.getPresentVariantName().equals("pad1")) {
            pad1 = (com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularOptPad1) new com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularOptPad1(uv.getVariant(
+7 −6
Changes for javasrc/com/testingtech/generated/codec/LibIpv6_CommonRfcs_TypesAndValues/TabularDestOptionList.java: 7 added lines, 6 removed lines.
Original line number Diff line number Diff line
/*
 *   NOTE: this is a machine generated file - editing not recommended
 * ----------------------------------------------------------------------------
 *  (C) Copyright Testing Technologies, 2000-2006.  All Rights Reserved.
 *  (C) Copyright Testing Technologies, 2000-2007.  All Rights Reserved.
 *
 *  All copies of this program, whether in whole or in part, and whether
 *  modified or not, must display this and all other embedded copyright
@@ -16,17 +16,17 @@
 *
 * ----------------------------------------------------------------------------
 *
 *   Source File: F:\dte\workspace_ipv6\IPv6_newTypes_20060914\ttcn3\EtsiLibrary\LibIpv6\LibCommonRfcs\LibIpv6_CommonRfcs_TypesAndValues.ttcn
 *   Source File: D:\\dte\\workspaces\\workspace_ipv6\\IPv6_ETSI_STF276_P2_new\\ttcn3\\EtsiLibrary\\LibIpv6\\LibCommonRfcs\\LibIpv6_CommonRfcs_TypesAndValues.ttcn
 *   File       : TabularDestOptionList.java
 *
 *   This is a Java class providing a com.testingtech.ttcn.tci based decoding
 *   using tabular encoding information within a TTCN-3 file.
 *
 *   This file was generated by TabularCodecGenerator(version v0.2)
  *  at 21.09.2006 09:34:25
 *   This file was generated by TabularCodecGenerator(version v1.0)
  *  at 21.05.2007 16:55:02
 *
 *   REVISION INFO:
 *        $Revision: 1.2 $ $Date: 2006/02/09 17:34:58 $
 *        $Revision: 1.4 $ $Date: 2007/02/26 10:03:23 $
 * -----------------------------------------------------------------------------
 */
package com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues;
@@ -48,7 +48,8 @@ public class TabularDestOptionList extends TabularRecordOf {
    public TabularObject decode(TabularDecoder dec) throws TabularException {
        int counter = 0;

        while (com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularDestOption.isNext(
        while (!dec.isEOF() &&
                com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues.TabularDestOption.isNext(
                    dec)) {
            if (counter >= valueOf(dec.getTag("hdrExtLen"))) {
                break;
+6 −12
Changes for javasrc/com/testingtech/generated/codec/LibIpv6_CommonRfcs_TypesAndValues/TabularHomeAgentInfo.java: 6 added lines, 12 removed lines.
Original line number Diff line number Diff line
/*
 *   NOTE: this is a machine generated file - editing not recommended
 * ----------------------------------------------------------------------------
 *  (C) Copyright Testing Technologies, 2000-2006.  All Rights Reserved.
 *  (C) Copyright Testing Technologies, 2000-2007.  All Rights Reserved.
 *
 *  All copies of this program, whether in whole or in part, and whether
 *  modified or not, must display this and all other embedded copyright
@@ -16,17 +16,17 @@
 *
 * ----------------------------------------------------------------------------
 *
 *   Source File: F:\dte\workspace_ipv6\IPv6_newTypes_20060914\ttcn3\EtsiLibrary\LibIpv6\LibCommonRfcs\LibIpv6_CommonRfcs_TypesAndValues.ttcn
 *   Source File: D:\\dte\\workspaces\\workspace_ipv6\\IPv6_ETSI_STF276_P2_new\\ttcn3\\EtsiLibrary\\LibIpv6\\LibCommonRfcs\\LibIpv6_CommonRfcs_TypesAndValues.ttcn
 *   File       : TabularHomeAgentInfo.java
 *
 *   This is a Java class providing a com.testingtech.ttcn.tci based decoding
 *   using tabular encoding information within a TTCN-3 file.
 *
 *   This file was generated by TabularCodecGenerator(version v0.2)
  *  at 21.09.2006 09:34:25
 *   This file was generated by TabularCodecGenerator(version v1.0)
  *  at 21.05.2007 16:55:02
 *
 *   REVISION INFO:
 *        $Revision: 1.2 $ $Date: 2006/02/09 17:34:58 $
 *        $Revision: 1.4 $ $Date: 2007/02/26 10:03:23 $
 * -----------------------------------------------------------------------------
 */
package com.testingtech.generated.codec.LibIpv6_CommonRfcs_TypesAndValues;
@@ -38,7 +38,6 @@ import org.etsi.ttcn.tci.Value;


public class TabularHomeAgentInfo extends TabularRecord {
    public boolean present = false;
    public RecordValue rv;
    public com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt8 icmpType;
    public com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt8 optionLength;
@@ -48,6 +47,7 @@ public class TabularHomeAgentInfo extends TabularRecord {

    public TabularHomeAgentInfo(Value theValue) {
        super(theValue);
        present = false;
        rv = (RecordValue) tciValue;

        /*
@@ -56,8 +56,6 @@ public class TabularHomeAgentInfo extends TabularRecord {

    public TabularObject decode(final TabularDecoder dec)
        throws TabularException {
        assert dec != null;

        present = isNext(dec);

        if (!present) {
@@ -129,8 +127,6 @@ public class TabularHomeAgentInfo extends TabularRecord {
    }

    public void encode(final TabularEncoder enc) throws TabularException {
        assert enc != null;

        // -- icmpType
        icmpType = new com.testingtech.generated.codec.LibCommon_BasicTypesAndValues.TabularUInt8(rv.getField(
                    "icmpType"));
@@ -166,8 +162,6 @@ public class TabularHomeAgentInfo extends TabularRecord {
    }

    public static boolean isNext(TabularDecoder dec) throws TabularException {
        assert dec != null;

        return dec.bytes(1, 0x08);
    }

Loading