aboutsummaryrefslogtreecommitdiffstats
path: root/test/gtest
AgeCommit message (Collapse)AuthorFilesLines
2017-04-10tcp_stream_close issue fixed, added tcp_stream tests (FPP-350)Tomasz Kopec1-1/+1
Change-Id: I0332d1cc4ce3acc993da0037614f59102d059690 Signed-off-by: Tomasz Kopec <tomaszx.kopec@intel.com>
2017-02-28test/gtest: enable unit test with scapyMohammad Abdul Awal1-1/+1
Change-Id: I658b68c4a4cd5a28e3dd6c37bba6e8d96475a948 Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
2017-02-24Introduce first version of TCP code.Konstantin Ananyev20-194/+2355
Supported functionality: - open/close - listen/accept/connect - send/recv In order to achieve that libtle_udp library was reworked into libtle_l4p library that supports both TCP and UDP protocols. New libtle_timer library was introduced (thanks to Cisco guys and Dave Barach <dbarach@cisco.com> for sharing their timer code with us). Sample application was also reworked significantly to support both TCP and UDP traffic handling. New UT were introduced. Change-Id: I806b05011f521e89b58db403cfdd484a37beb775 Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com> Signed-off-by: Karol Latecki <karolx.latecki@intel.com> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com> Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2017-02-22gtest: disable test_tle_udp_devMohammad Abdul Awal1-1/+1
Change-Id: I2433b70e380583bd112248a62b25894efc36dfa6 Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
2017-01-24Merge "tldk test: Update tle_dev unit tests"Konstantin Ananyev2-2/+31
2017-01-24tldk_test: fix add define for older gccDaniel Mrzyglod1-0/+10
In CentOS 7 __STDC_FORMAT_MACROS define was missing. Change-Id: I4d2a6d4984edb8be3c15b6ae9d6db7a5b578d1a4 Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>
2017-01-19tldk test: Update tle_dev unit testsKarol Latecki2-2/+31
Added new unit tests for add_dev and del_dev. Also updated previous tests which were missing cleaning up of devices in cases where they were actually created. Change-Id: I6d91cac54b34d4419147c125b7a13b780e1cc001 Signed-off-by: Karol Latecki <karolx.latecki@intel.com>
2017-01-19Merge "tldk: fix possibility of tle_event_active() from DOWN to UP"Konstantin Ananyev1-0/+1
2017-01-19tldk: fix possibility of tle_event_active() from DOWN to UPKarol Latecki1-0/+1
Docstring in tle_event.h for tle_event_active() only describes possibility of activating event from IDLE state. Also re-added previously failing test case. Change-Id: Ib9e19b6b3e64cc2836337b6a86884f312df73858 Signed-off-by: Karol Latecki <karolx.latecki@intel.com> Signed-off-by: Mohammad Abdul Awal <mohammad.abdul.awal@intel.com>
2017-01-16tldk/gtest: Modify makefile to allow compiling with DPDK 16.04Karol Latecki1-2/+2
Change-Id: I1cfcbd3a62fae0964ef7f239cfdcdf5abe2f024d Signed-off-by: Karol Latecki <karolx.latecki@intel.com>
2016-10-21tldk: fix for positive errno return values in udp_ctl.cKarol Latecki1-5/+5
'Public' functions should return negative values. Change-Id: I88eaf76f882eee08a4198543d0c8531656530360 Signed-off-by: Karol Latecki <karolx.latecki@intel.com>
2016-10-21tldk: fix for wrong rte_errno value in event.cKarol Latecki1-1/+1
Change-Id: Ia4890e174fa5e19ccfaeb23c1ba3e3d69f841af7 Signed-off-by: Karol Latecki <karolx.latecki@intel.com>
2016-10-17test/gtest: fix stream open test-cases failKonstantin Ananyev1-1/+25
Update gtest code to spify lookup callback routinies at context creation. fixes 2fea8d3d522d31cb ("don't allow to open stream for unsupported family"). Change-Id: Idf89be22d60ee7e2707efab5f4c6abb0220f47a9 Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2016-10-07makefiles: don't assume that output and target is always the sameKonstantin Ananyev1-2/+2
Change-Id: I7d313c74e2daf4d75c5c11460bdb87737cd46851 Signed-off-by: Konstantin Ananyev <konstantin.ananyev@intel.com>
2016-10-07tldk_test: Add TLDK unit testsDaniel Mrzyglod15-0/+1550
Unit tests for TLDK libtle_udp & libtle_dring libraries Change-Id: I6818c72ca0260f1af784e758bfe21118c395afcf Signed-off-by: Karol Latecki <karolx.latecki@intel.com> Signed-off-by: Daniel Mrzyglod <danielx.t.mrzyglod@intel.com>