Mirela Chirica
30da9c1965
Cellular: Fix cellular util unit test
2018-09-24 15:15:59 +03:00
Mirela Chirica
983425e4fc
Cellular: Fix cellular network unit test
2018-09-24 15:15:18 +03:00
Martin Kojtal
ac6ca73dd8
Merge pull request #8165 from mprse/issue_8155_fix
...
Fix for issue #8155 (NRF52832: time stops after 35 minutes)
2018-09-24 12:59:22 +02:00
Lari-Matias Orjala
00397b232c
Unit tests: improve argument checking in coverage.py
2018-09-24 11:41:34 +03:00
Lari-Matias Orjala
04c98b0223
add coverage filtering
2018-09-24 11:41:34 +03:00
Juho Eskeli
d0ac092e68
Adjust stack & heap for IAR on STM32F412xG
2018-09-24 11:27:42 +03:00
Martin Kojtal
b5ee0c0e27
Merge pull request #8026 from SiliconLabs/bugfix/gpcrc
...
Fix for HW CRC calculations on Silicon Labs targets
2018-09-24 10:22:13 +02:00
Martin Kojtal
f0c6a66285
Merge pull request #8005 from paul-szczepanek-arm/fix-whitelist-gen
...
BLE: fix whitelist generation (set correct address type)
2018-09-24 10:17:46 +02:00
Martin Kojtal
9d78650fcc
Merge pull request #7989 from OpenNuvoton/nuvoton_fix_m2351_stdiouart
...
M2351: Fix STDIO_UART error
2018-09-24 09:06:52 +02:00
Martin Kojtal
2e049ce035
Merge pull request #8019 from jarvte/fix_crash_in_close_cellularnetwork
...
Cellular: fixed crash when closing CellularNetwork via CellularDevice.
2018-09-24 09:06:34 +02:00
Martin Kojtal
c503dedac6
Merge pull request #8212 from lorjala/unittests-docs
...
Unit tests: update README.md
2018-09-24 08:34:27 +02:00
Martin Kojtal
e7cd6ae2a9
Merge pull request #7746 from davidsaada/david_nvstore_test_low_mem
...
Handle NVStore tests in a low memory environment
2018-09-24 08:25:20 +02:00
Martin Kojtal
47d1acf49f
Merge pull request #7918 from ARMmbed/AnotherButler-patch-1
...
Add link to README.md
2018-09-24 08:24:46 +02:00
Martin Kojtal
9506f50112
Merge pull request #8036 from TeroJaasko/fix_mbed_error_c_memsets
...
platform: error: fix bogus usage of memset()
2018-09-24 08:23:02 +02:00
Martin Kojtal
7bec04c4be
Merge pull request #8218 from lorjala/unittests-disabledoxygen
...
Unit tests: add UNITTESTS folder to exclude patterns in doxygen_options.json
2018-09-24 08:22:26 +02:00
Cruz Monrreal
1a638c7870
Merge pull request #8106 from c1728p9/macros_to_config
...
Replace macros with config options
2018-09-22 16:40:53 -05:00
Cruz Monrreal
c5f2d16e63
Merge pull request #8073 from jarlamsa/icetea_test_docs
...
Add documentation about icetea testcases
2018-09-22 16:36:17 -05:00
Cruz Monrreal
73a96a68cf
Merge pull request #8147 from AriParkkila/cell-auth
...
Fix authentication on a cellular network for Access Point Name (APN)
2018-09-22 16:25:35 -05:00
Steven
0f879adccd
Apply @kjbracey-arm's comments
2018-09-22 20:40:32 +02:00
Cruz Monrreal
5eb314f65f
Merge pull request #8164 from OpenNuvoton/nuvoton_iot_m487
...
Support Nuvoton's new target NUMAKER_IOT_M487
2018-09-21 21:31:22 -05:00
Cruz Monrreal
da0c5d9a71
Merge pull request #8182 from lorjala/fix_unittests
...
Unit tests: fix cellular athandler unit tests and wait() declaration conflict
2018-09-21 21:30:50 -05:00
Cruz Monrreal
caa4279244
Merge pull request #8023 from SiliconLabs/hotfix/nanostack-default-interface
...
Hotfix for PR #7778 on Silicon Labs targets
2018-09-21 12:50:43 -05:00
Martin Kojtal
ab882c3416
Merge pull request #8030 from OpenNuvoton/nuvoton_fix_common_tickers_fail
...
Nuvoton: Fix Greentea test common_tickers failed
2018-09-21 14:55:28 +02:00
Lari-Matias Orjala
b5adbf7521
add UNITTESTS folder to exclude patterns in doxygen_options.json
2018-09-21 15:31:04 +03:00
Seppo Takalo
b98e6b6c23
Use SocketAddr that actually has IP bytes in UDP test
2018-09-21 14:35:12 +03:00
Seppo Takalo
fa7547abd4
Fix TCPSocket::accept() unittest.
...
accept() is not anymore returning NULL pointer. It was a bug.
2018-09-21 14:23:06 +03:00
Michal Paszta
72233b01dd
unittests: Add tests for NetworkStack class.
...
Improved the stubs for event queue and nsapi_dns, to allow checking if callback are handled correctly. This involves some memory allocation and deallocation.
The NetworkStackWrapper is not covered as it seems to be deprecated code.
2018-09-21 14:23:06 +03:00
Michal Paszta
aa90f5bb78
unittests: Add TCPServer unit tests
...
TCPServer class only really implements attach method.
2018-09-21 14:23:06 +03:00
Michal Paszta
51dedfd873
unittests: Added NetworkInterface unit tests
...
Most functions are empty or simply return "UNSUPPORTED", but it is still worth covering this functions with unit tests to have better control of unwanted changes.
2018-09-21 14:23:06 +03:00
Michal Paszta
d740d698ba
unittests: InternetSocket class coverage improved.
...
Added more tests, improved the existing ones. setblocking tests were not checking anything, so they were removed and these functions are called in TCPSocket tests instead.
2018-09-21 14:23:06 +03:00
Michal Paszta
e609e2fc5e
unittests: Check NULL pointer scenario in TCPSocket::recvfrom
2018-09-21 14:23:05 +03:00
Michal Paszta
5a74481a2a
unittests: improved coverage for UDPSocket and TCPSocket
...
Add functional and line coverage for UDPSocket and TCPSocket. The EventFlagsstub and NetworkStackstub classes are allowed to store multiple return values to allow running internal loops multiple times.
2018-09-21 14:23:05 +03:00
Martin Kojtal
54afd1cd92
Merge pull request #8187 from bcostm/fix_serial_lse
...
STM32: fix wrong LSE config in serial_baud function
2018-09-21 12:54:01 +02:00
Lari-Matias Orjala
60bb9b7678
replace missing types
2018-09-21 13:00:47 +03:00
Lari-Matias Orjala
e1f22e4982
update UNITTESTS/README.md
2018-09-21 11:55:08 +03:00
Jarkko Paso
a3ec9f3982
platform timer: Call timer start in enable
...
This timer was never started and therefore read_us returned always 0 causing bad timings.
2018-09-21 11:53:56 +03:00
Martin Kojtal
082ba151ac
Merge pull request #8112 from studavekar/update_doc_unittest
...
specify mbed-cli version requirement
2018-09-21 09:48:26 +02:00
Martin Kojtal
0c8aa2823d
Merge pull request #8096 from kivaisan/fix_mac_command_retransmission
...
Lora: Fix sticky MAC command retransmissions
2018-09-21 09:47:47 +02:00
Martin Kojtal
cbb676ccbd
Merge pull request #8060 from SeppoTakalo/documentation_update
...
Clarify test configuration in Socket/Networking test document
2018-09-21 09:40:59 +02:00
Martin Kojtal
6a34251b07
Merge pull request #7925 from maciejbocianski/qspi_hal_test_refactoring
...
Qspi hal test refactoring/update
2018-09-21 09:40:10 +02:00
Cruz Monrreal
8f7c0ae18d
Merge pull request #8181 from OPpuolitaival/py3_support
...
Py3 support
2018-09-20 18:13:44 -05:00
Cruz Monrreal
c005ba24ff
Merge pull request #8171 from SeppoTakalo/skip-dns-test
...
Skip the unstable SYNCHRONOUS_DNS_CACHE testcase
2018-09-20 13:59:17 -05:00
Cruz Monrreal
7d54df66b1
Merge pull request #7993 from evva-sfw/hotfix/efm32_hal_pwmout_set_period_fix
...
Fix EFM32 pwmout hal function pwmout_period
2018-09-20 13:42:04 -05:00
Cruz Monrreal
9f3437aaec
Merge pull request #7987 from OpenNuvoton/nuvoton_m2351_v1.3
...
M2351: Update to NuMaker-PFM-M2351 V1.3 board
2018-09-20 13:41:03 -05:00
Cruz Monrreal
9346a7e781
Merge pull request #7935 from kivaisan/fix_invalid_mac_command_case
...
LoRa: Stop processing MAC commands if command id is unknown
2018-09-20 10:14:59 -05:00
Cruz Monrreal
1cd9e916bd
Merge pull request #8160 from ARMmbed/i.8143-1
...
Update mbed-cloud-sdk in requirements.txt
2018-09-20 10:11:34 -05:00
Martin Kojtal
83fc2e2d20
Merge pull request #8176 from AnttiKauppila/ut_fix
...
CellularDevice_stub added
2018-09-20 15:14:35 +02:00
Martin Kojtal
b71f3409d7
Merge pull request #7921 from Wiznet/master
...
Fix Bug : IAR heap memory problem
2018-09-20 14:58:15 +02:00
Kevin Bracey
0e7eda0749
Remove IAR assembler macros containing quotes
...
IAR assembler 7.80 has some problems handling difficult macros, leading
to immediate exit with return value -11.
In particular, a URL string has been causing problems, presumably due to
the "//" resembling a comment.
A previous escaping workaround in 0d97803
seemed to work, but the crash
has still been seen with a particular target.
Previous creation of the extended command line file for the IAR
assembler was stripping quotes from macros. This rendered the resulting
definitions for string-containing macros incorrect, which means that we
can assume no assembler code is currently relying on them.
Therefore, as a precautionary measure to avoid the crash, simply remove
all macros containing strings when creating them for IAR. This
apparently clears the crashes seen during testing of
https://github.com/ARMmbed/mbed-os/pull/8023
2018-09-20 15:51:51 +03:00
Martin Kojtal
f3af8267c5
Merge pull request #8074 from hasnainvirk/compliance_testing
...
LoRaWAN: Refactoring compliance test code
2018-09-20 13:10:47 +02:00