1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

219 Commits

Author SHA1 Message Date
Martine Lenders
3e9db4371f ipv6_addr: rename ng_ipv6_hdr_is_ipv6_hdr() to something less silly 2015-04-23 02:26:48 +02:00
Martine Lenders
9a842d0526 unittests: move netreg entries out of stack space 2015-04-21 11:35:09 +02:00
Peter Kietzmann
0d45479f02 Merge pull request #2819 from kushalsingh007/hash_string_missing
Tests : Add missing Makefile and Makefile.include for tests-hash_string
2015-04-21 10:25:02 +02:00
kushalsingh007
439b40c0b4 Tests : Add missing Makefile and Makefile.include for tests-hash_string
- Adds the missing files from #2793.
2015-04-20 20:51:21 +05:30
Martine Lenders
8acc8c9ba3 unittests: fix and unify header guards 2015-04-20 14:16:09 +02:00
Martine Lenders
c660fdfdac Merge pull request #2785 from authmillenon/ng_sixlowpan_ctx/feat/initial
ng_sixlowpan: initial import of a context buffer
2015-04-20 10:22:35 +02:00
Martine Lenders
79af989ef6 Merge pull request #2829 from authmillenon/ipv6_addr/fix/init-prefix
ipv6_addr: add missing mask to prefix initialization
2015-04-20 10:05:57 +02:00
kushalsingh007
2f9f67eb38 Tests: Fixing warnings in hash_string_module
- Fixing warnings caused due to directly using the string as argument in
  the assert statement for hash_string function.
- Typecasted strings to solve the issue.
2015-04-19 19:00:58 +05:30
Martine Lenders
3a72e5346b unittests: add tests for ng_sixlowpan_ctx 2015-04-18 15:42:42 +02:00
Martine Lenders
0670f7daea unittests: make ipv6_addr more sensible to masking errors 2015-04-18 15:40:02 +02:00
Martine Lenders
f58eac2188 Merge pull request #2807 from authmillenon/ipv6_addr/fix/prefix-init
ipv6_addr: do not null remaining bits in prefix initialization
2015-04-16 18:06:21 +02:00
kushalsingh007
88349beb89 Tests: Removing extra newline from Makefile.include
- Removing the extra newline from tests-bloom, tests-crypto and
  tests-timex.
2015-04-16 09:50:03 +05:30
Martine Lenders
ccd4b5a2bf unittests: adapt unittests for ipv6_addr_init_prefix() change 2015-04-14 11:17:11 +02:00
kushalsingh007
b16decdec2 Tests: Creating unittests for the hash_string module
-Created unittests for hash_string module present in sys/hash_string
2015-04-13 09:59:06 +05:30
Martine Lenders
d47cd80945 Merge pull request #2779 from kaspar030/fix_ipv6_addr_string_max_length
sys: net: ipv6: fix max ipv6 address string length
2015-04-11 19:26:01 +02:00
23074c7870 unittests: tests-ipv6_addr: test for long embedded ipv4 addresses 2015-04-11 11:21:47 +02:00
Martine Lenders
c94094529d Merge pull request #2731 from authmillenon/ipv6_hdr/feat/initial
ipv6_hdr: Initial import
2015-04-10 07:35:41 +02:00
Martine Lenders
687947d3db Merge pull request #2730 from authmillenon/inet_csum/feat/initial
inet_csum: initial import of Internet Checksum module
2015-04-10 07:24:58 +02:00
Martine Lenders
2dd24edcf8 ipv6_netif: auto-add corresponding link-local addresses 2015-04-10 01:29:33 +02:00
Martine Lenders
7a3c373038 unittests: add tests for ipv6_hdr 2015-04-10 00:41:56 +02:00
Martine Lenders
5d1ae12e8d unittests: add tests for inet_csum 2015-04-09 23:30:02 +02:00
Lotte Steenbrink
40acfa732b Merge pull request #2705 from authmillenon/netif/feat/addr-str
netif: add functions to parse and output hardware addresses
2015-04-02 01:04:33 +02:00
Martine Lenders
882bcbe92e netif: add functions to parse and output hardware addresses 2015-04-01 16:24:19 +02:00
BytesGalore
30c76adc43 net: added a core implementation of a FIB 2015-04-01 10:24:35 +02:00
Martine Lenders
7273d5c9ad Merge pull request #2723 from authmillenon/ipv6_netif/feat/prefix-list
ipv6_netif: add prefix list to interface
2015-03-30 00:31:37 +02:00
Martine Lenders
d90842151b unittests: adapt for prefix list in ipv6_netif 2015-03-27 20:39:58 +01:00
altairpearl
20123210d7 tests: Updated include guards to remove leading underscores 2015-03-25 20:45:17 +05:30
Hauke Petersen
5f77bbe1c8 Merge pull request #2563 from authmillenon/ng_pktbuf/fix/semantics
ng_pktbuf: change semantics for received packets
2015-03-24 16:49:49 +01:00
Martine Lenders
9ada601212 unittests: fix unittests for new pktbuf behavior 2015-03-23 23:17:17 +01:00
Martine Lenders
21204dc3eb ng_pktbuf: change semantics for received packets 2015-03-23 15:08:46 +01:00
Martine Lenders
df8cadf0b3 Merge pull request #2681 from Darredevil/patch-9
unittests/tests-pkt: fixed header file include guard
2015-03-22 16:23:36 +01:00
Martine Lenders
cd34fb92ad Merge pull request #2680 from Darredevil/patch-8
unittests/tests-netreg: fixed header file include guard
2015-03-22 16:23:18 +01:00
Martine Lenders
92edaefc77 Merge pull request #2679 from Darredevil/patch-7
unittests/tests-netif: fixed header file include guard
2015-03-22 16:23:01 +01:00
Martine Lenders
5551a1beee Merge pull request #2678 from Darredevil/patch-6
unittests/tests-netdev_dummy: fixed header file include guard
2015-03-22 16:22:36 +01:00
Martine Lenders
1df1ecc6cb Merge pull request #2677 from Darredevil/patch-5
unittests/tests-crypto: fixed header file include guard
2015-03-22 16:22:24 +01:00
Martine Lenders
a6c72e9980 Merge pull request #2676 from Darredevil/patch-3
unittests/tests-base64: fixed header file include guard
2015-03-22 16:22:12 +01:00
Martine Lenders
6d253ee9a0 Merge pull request #2684 from Darredevil/patch-12
unittests/tests-timex: fixed header file include guard
2015-03-22 16:21:48 +01:00
Martine Lenders
a9e6c0fb73 Merge pull request #2683 from Darredevil/patch-11
unittests/tests-pktqueue: fixed header file include guard
2015-03-22 16:21:39 +01:00
Martine Lenders
f8737c05d0 Merge pull request #2682 from Darredevil/patch-10
unittests/tests-pktbuf: fixed header file include guard
2015-03-22 16:21:21 +01:00
Darredevil
a8051f51bb unittests/tests-timex: fixed header file include guard
fixes #2623
2015-03-22 16:42:49 +02:00
Darredevil
4ce7497cbb unittests/tests-pktqueue: fixed header file include guard
fixes #2623
2015-03-22 16:41:42 +02:00
Darredevil
7c97136699 unittests/tests-pktbuf: fixed header file include guard
fixes #2623
2015-03-22 16:40:33 +02:00
Darredevil
febf0c1b08 unittests/tests-pkt: fixed header file include guard
fixes #2623
2015-03-22 16:39:10 +02:00
Darredevil
130a861fbc unittests/tests-netreg: fixed header file include guard
fixes #2623
2015-03-22 16:37:04 +02:00
Darredevil
138f25811c unittests/tests-netif: fixed header file include guard
fixes #2623
2015-03-22 16:33:36 +02:00
Darredevil
b976f55022 unittests/tests-netdev_dummy: fixed header file include guard
fixes #2623
2015-03-22 16:31:46 +02:00
Darredevil
ce46de3799 unittests/tests-crypto: fixed header file include guard
fixes #2623
2015-03-22 16:29:20 +02:00
Darredevil
734d251040 unittests/tests-base64: fixed header file include guard
fixes #2623
2015-03-22 16:25:42 +02:00
Darredevil
49c2f5c597 unittests/netdev_dummy: fixed header file include guard
fixed #2623
2015-03-22 16:23:06 +02:00
Philipp Rosenkranz
d5848d687c Merge pull request #2663 from phiros/unittests_constants_fix
unittests: move test data to common header
2015-03-22 14:48:07 +01:00
Philipp Rosenkranz
d53c7759e9 unittests: move test data to common header 2015-03-22 13:58:36 +01:00
Darredevil
9ca393f63b Repair header file include guards #2623 2015-03-22 04:04:36 +02:00
Martine Lenders
6a31fa80a7 Merge pull request #2568 from authmillenon/ng_netreg/feat/allow_nettype_undef
ng_netreg: Allow registration of NG_NETTYPE_UNDEF
2015-03-20 17:06:37 +01:00
Martine Lenders
fe5f8cc632 unittests: adapt unittests to netreg change 2015-03-20 11:00:32 +01:00
Martine Lenders
09867e3f39 unittests: add spark-core to BOARD_INSUFFICIENT_RAM 2015-03-19 15:13:19 +01:00
Martine Lenders
5d3ad83cab unittests: add tests for ipv6_netif 2015-03-19 15:13:19 +01:00
Martine Lenders
c3e9a931ff unittests: check return value of ng_netif_get() 2015-03-16 16:25:25 +01:00
Martine Lenders
2909c87329 unittests: add test for correct returned netif array 2015-03-16 16:25:25 +01:00
Martine Lenders
e740c6fb09 unittests: add unittests for neighbor cache 2015-03-13 20:42:54 +01:00
Oleg Hahm
0144bb589b Merge pull request #2546 from authmillenon/ng_ipv6_addr/api/add_string_functions
[RFC] ng_ipv6_addr: add (optional) string conversion functions
2015-03-13 13:41:37 +01:00
Martine Lenders
b63d610451 unittests: add IPv6 string conversion function tests 2015-03-12 21:06:43 +01:00
Hauke Petersen
4bebf3b01a net/nomac: removed legacy implementation 2015-03-12 13:55:24 +01:00
Martine Lenders
904b363b77 unittests: remove unnecessary MODULE macro definition 2015-03-04 18:07:03 +01:00
Martine Lenders
ec5f686cd0 netreg: move to pointer-based API
Moving to a pointer-based API simplifies a lot, since there is no need
for an internal pool of entries anymore. Therefore, a lot of
organizational overhead and some restrictions (e.g. an upper limit on
entries) are dropped.

The entries can be stored in the stack of the respective thread.
2015-03-04 13:17:00 +01:00
Martine Lenders
dad4e8d5df Merge pull request #2433 from authmillenon/ng_ipv6_addr/feat/initial
ng_ipv6_addr: initial import
2015-02-20 19:27:17 +01:00
Oleg Hahm
10b96f06a3 doc: import unittest documentation from wiki 2015-02-20 17:52:26 +01:00
Martine Lenders
ff36abb2cf ng_ipv6_addr: initial import
The motivation behind this module is to allow for address handling
functions where they, but not the full IPv6 functionality might be
needed. This new version of the IPv6 address data type utilizes the
byteorder.h header to enforce network byte-order on its members.
2015-02-20 17:40:26 +01:00
Ludwig Ortmann
4f29a7757e Merge pull request #2285 from authmillenon/pktbuf/api/use-pkt
pktbuf: port to use pkt_t instead of void*
2015-02-19 14:46:15 +01:00
Martine Lenders
41f60aca4c pktbuf: port to use ng_ version 2015-02-19 13:51:27 +01:00
Ludwig Ortmann
cec87139a5 core, cpu, drivers, tests: remove trailing space 2015-02-18 13:52:48 +01:00
Martine Lenders
cd711ea934 unittests: add ng_netreg tests 2015-02-12 16:13:38 +01:00
Martine Lenders
b208371163 Merge pull request #2417 from authmillenon/netif/feat/initial
netif: Initial import of ng_* version
2015-02-11 12:41:54 +01:00
Martine Lenders
cfc64ff4de Merge pull request #2342 from authmillenon/pkt/api/simplify
pkt: simplify API
2015-02-11 12:41:43 +01:00
Martine Lenders
cb74094edd pktqueue: adapt to change in pkt.h 2015-02-11 11:01:33 +01:00
Martine Lenders
7317097db2 pkt: simplify API 2015-02-11 11:01:33 +01:00
Martine Lenders
894cd964f9 netif: Initial import of ng_* version 2015-02-11 10:52:51 +01:00
Ludwig Ortmann
373f91c6ff tests/unittests: remove useless doxygen stub 2015-02-10 15:43:35 +01:00
Ludwig Ortmann
dd2da2fb71 Merge pull request #2405 from cgundogan/restrict_with_leading_underscores
Use `__restrict` instead of `restrict`
2015-02-08 22:07:23 +01:00
Martine Lenders
498313a23f doc: Add mail address where it is missing 2015-02-08 19:41:14 +01:00
Cenk Gündoğan
50112af413 tests: restrict => __restrict 2015-02-08 19:22:29 +01:00
Martine Lenders
0eb2d78dda doc: use my real name 2015-02-08 18:52:16 +01:00
Cenk Gündoğan
5c77530da4 sys/bloom: changed doc from bytes -> bits 2015-01-29 15:06:01 +01:00
Thomas Eichinger
b0d1ca2d31 tests: blacklist nucleo-f334 in tests not fitting into RAM 2015-01-28 11:20:44 +01:00
Martine Lenders
c9e2f5bdce pktqueue: adapt to pkt_t 2015-01-14 14:53:37 +01:00
Oleg Hahm
2d874af904 Merge pull request #2158 from authmillenon/pkt/feat/initial-import
pkt: Initial import
2015-01-14 08:20:46 +01:00
Martine Lenders
62544e6923 tests, pkt: add unittests for pkt 2015-01-14 07:04:57 +01:00
Martine Lenders
0221c27d4b unittests: provide unittests for basic_mac 2015-01-14 06:59:59 +01:00
Martin Landsmann
a0898dbb9f sys: add base64 encoding/decoding module
- suppressed cppcheck warning for `unassignedVariable` for
   the encode/decode arrays in stream encode/decode tests
   as these arrays are assigned by the according `base64_[en|de]code()` function.
2015-01-12 11:26:41 +01:00
René Kijewski
f684aa4b2d tests: make embUnit a normal sys module
There is nothing quite special about embUnit.

This PR makes it a normal sys module, so that you can use it in any
application / test.
2014-12-21 20:04:57 +01:00
Martine Lenders
c991f3dcec tests: remove do-while(0) blocks for netdev tests or comment on them 2014-12-19 08:19:56 +01:00
Martine Lenders
17ef92eade Merge pull request #2181 from phiros/tests_sha256_transform_into_unittest
tests: transformed tests/sha256 into a unittest
2014-12-12 16:29:16 +01:00
Philipp Rosenkranz
f5d941ac22 tests: transformed tests/bloom into an unittest 2014-12-11 22:56:40 +01:00
Philipp Rosenkranz
1024e0b8be tests: transformed tests/sha256 into an unittest 2014-12-11 21:57:01 +01:00
Philipp Rosenkranz
536c910980 Merge pull request #2157 from LudwigOrtmann/unittests-lib
tests/unittests: merge lib-ringbuffer into core
2014-12-08 15:36:41 +01:00
Ludwig Ortmann
0027f90be4 Merge pull request #2118 from OlegHahm/simplify_cpu_folder_structure
cpu: simplify folder structure
2014-12-08 13:10:13 +01:00
Ludwig Ortmann
4feec9243f tests/unittests: merge lib-ringbuffer into core
Fixup for https://github.com/RIOT-OS/RIOT/pull/2017
2014-12-08 10:15:48 +01:00
René Kijewski
6b559faf88 tests: add UBJSON unittests 2014-12-03 20:42:51 +01:00
Ludwig Ortmann
e6c808d5fa Merge pull request #1970 from Kijewski/optimize-cib
core: inline `cib.c`
2014-12-03 17:12:48 +01:00
Oleg Hahm
0c967c4d3f cpu: msp430: renamed msp430x16x to msp430fxyz 2014-12-02 17:46:57 +01:00
Oleg Hahm
3cf43db63e unittests: test full 16 bit range for bitarithm
Also uses a better pseudo random number.
2014-11-26 16:52:51 +01:00