// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//
PRINT Run all tnetdb
LOAD_SUITE tnetdb
CONSECUTIVE
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0001
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0001
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetprotobynameTest \tstdapis\tnetdb.ini Section_GetprotobynameTest_1
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0001
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0002
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0002
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=-2 5 tnetdb GetprotobynameTest \tstdapis\tnetdb.ini Section_GetprotobynameTest_2
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0002
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0003
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0003
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetprotobynumberTest \tstdapis\tnetdb.ini Section_GetprotobynumberTest_1
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0003
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0004
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0004
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=-2 5 tnetdb GetprotobynumberTest \tstdapis\tnetdb.ini Section_GetprotobynumberTest_2
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0004
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0005
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0005
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetservbynameTest \tstdapis\tnetdb.ini Section_GetservbynameTest_1
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0005
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0006
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0006
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=-2 5 tnetdb GetservbynameTest \tstdapis\tnetdb.ini Section_GetservbynameTest_2
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0006
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0007
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0007
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetservbynameTest \tstdapis\tnetdb.ini Section_GetservbynameTest_3
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0007
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0008
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0008
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetservbynameTest \tstdapis\tnetdb.ini Section_GetservbynameTest_4
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0008
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0009
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0009
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetservbynameTest \tstdapis\tnetdb.ini Section_GetservbynameTest_5
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0009
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0010
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0010
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetservbyportTest \tstdapis\tnetdb.ini Section_GetservbyportTest_1
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0010
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0011
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0011
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetservbyportTest \tstdapis\tnetdb.ini Section_GetservbyportTest_2
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0011
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0012
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0012
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=-2 5 tnetdb GetservbyportTest \tstdapis\tnetdb.ini Section_GetservbyportTest_3
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0012
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0013
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0013
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetservbyportTest \tstdapis\tnetdb.ini Section_GetservbyportTest_4
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0013
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0014
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0014
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetservbyportTest \tstdapis\tnetdb.ini Section_GetservbyportTest_5
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0014
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0015
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0015
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb SetserventTest \tstdapis\tnetdb.ini Section_SetserventTest
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0015
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0016
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0016
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetserventTest
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0016
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0017
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0017
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb EndserventTest
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0017
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0018
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0018
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb Gai_strerrorTest \tstdapis\tnetdb.ini Section_Gai_strerrorTest_1
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0018
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0019
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0019
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=-2 5 tnetdb Gai_strerrorTest \tstdapis\tnetdb.ini Section_Gai_strerrorTest_2
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0019
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0020
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0020
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetaddrinfoTest \tstdapis\tnetdb.ini Section_GetaddrinfoTest_1
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0020
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0021
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0021
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=-2 5 tnetdb GetaddrinfoTest \tstdapis\tnetdb.ini Section_GetaddrinfoTest_2
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0021
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0022
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0022
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetaddrinfoTest \tstdapis\tnetdb.ini Section_GetaddrinfoTest_3
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0022
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0023
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0023
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=-2 5 tnetdb GetaddrinfoTest \tstdapis\tnetdb.ini Section_GetaddrinfoTest_4
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0023
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0024
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0024
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=-2 5 tnetdb GetaddrinfoTest \tstdapis\tnetdb.ini Section_GetaddrinfoTest_5
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0024
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0025
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0025
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetaddrinfoTest \tstdapis\tnetdb.ini Section_GetaddrinfoTest_6
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0025
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0026
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0026
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetaddrinfoTest \tstdapis\tnetdb.ini Section_GetaddrinfoTest_7
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0026
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0027
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0027
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetaddrinfoTest \tstdapis\tnetdb.ini Section_GetaddrinfoTest_8
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0027
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0028
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0028
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetaddrinfoTest \tstdapis\tnetdb.ini Section_GetaddrinfoTest_9
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0028
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0029
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0029
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetaddrinfoTest \tstdapis\tnetdb.ini Section_GetaddrinfoTest_10
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0029
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0030
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0030
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetnameinfoTest \tstdapis\tnetdb.ini Section_GetnameinfoTest
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0030
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0031
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0031
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GethostbynameNegativeTest
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0031
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0032
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0032
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb FreeaddrinfoTest
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0032
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0033
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0033
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetHostByNameLocalHost
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0033
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0034
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0034
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GethostbyaddrTest \tstdapis\tnetdb.ini Section_GethostbyaddrTest
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0034
//ced -i c:\ethernetced.xml
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0035
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0035
//! @SYMTestStatus 3.Released
//RUN_TEST_STEP !Result=0 5 tnetdb GetnameinfoTest1 \tstdapis\tnetdb.ini Section_GetnameinfoTest1
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0035
//The following 3 tests need network configuration
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0036
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0036
//! @SYMTestStatus 3.Released
//RUN_TEST_STEP !Result=0 15 tnetdb SetDefaultIfTest1 \tstdapis\tnetdb.ini Section_SetDefaultIfTest1
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0036
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0037
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0037
//! @SYMTestStatus 3.Released
//RUN_TEST_STEP !Result=0 5 tnetdb SetDefaultIfTest2 \tstdapis\tnetdb.ini Section_SetDefaultIfTest2
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0037
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0038
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0038
//! @SYMTestStatus 3.Released
//RUN_TEST_STEP !Result=0 15 tnetdb GetAddrInfoMultipleIPTest \tstdapis\tnetdb.ini Section_GetAddrInfoMultipleIPTest
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0038
START_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0039
//! @SYMTestCaseID OPENENV-LIBC-CIT-TESTNETDB-0039
//! @SYMTestStatus 3.Released
RUN_TEST_STEP !Result=0 5 tnetdb GetnameinfoTest_localhost
END_TESTCASE OPENENV-LIBC-CIT-TESTNETDB-0039
//RUN_TEST_STEP !Result=0 5 tnetdb GetAddrInfoNegativeTests \tstdapis\tnetdb.ini Section_GetAddrInfoNegativeTests1
//RUN_TEST_STEP !Result=0 5 tnetdb GetAddrInfoNegativeTests \tstdapis\tnetdb.ini Section_GetAddrInfoNegativeTests2
//RUN_TEST_STEP !Result=0 5 tnetdb GetAddrInfoNegativeTests \tstdapis\tnetdb.ini Section_GetAddrInfoNegativeTests3
//RUN_TEST_STEP !Result=0 5 tnetdb GetAddrInfoNegativeTests \tstdapis\tnetdb.ini Section_GetAddrInfoNegativeTests4
//RUN_TEST_STEP !Result=0 15 tnetdb GetAddrInfoNegativeTests \tstdapis\tnetdb.ini Section_GetAddrInfoNegativeTests5