Skip to content

Commit 6bd5271

Browse files
authored
Merge pull request #13335 from rajkan01/netsocket_dir_restructure
Restructure netsocket directory
2 parents 315b6bd + a4c1071 commit 6bd5271

File tree

289 files changed

+252
-285
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

289 files changed

+252
-285
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ matrix:
138138
- ./tools/test/travis-ci/doxy-spellchecker/spell.sh platform
139139
- ./tools/test/travis-ci/doxy-spellchecker/spell.sh events
140140
- ./tools/test/travis-ci/doxy-spellchecker/spell.sh rtos
141-
- ./tools/test/travis-ci/doxy-spellchecker/spell.sh features/netsocket
141+
- ./tools/test/travis-ci/doxy-spellchecker/spell.sh connectivity/netsocket
142142

143143
- <<: *docs-vm
144144
name: "doxygen"
@@ -249,7 +249,7 @@ matrix:
249249
- sed -n '/``` cpp/,/```/{/```$/Q;/```/d;p;}' ${EVENTS}/README.md > main.cpp
250250
- |
251251
rm -r rtos/source/TARGET_CORTEX drivers/source/usb connectivity/cellular connectivity/drivers/cellular \
252-
connectivity/libraries/ppp features/netsocket features/nanostack features/lwipstack features/frameworks/greentea-client \
252+
connectivity/libraries/ppp connectivity/netsocket features/nanostack features/lwipstack features/frameworks/greentea-client \
253253
features/frameworks/utest features/frameworks/unity components BUILD
254254
- python tools/make.py -t GCC_ARM -m NUCLEO_F103RB --source=. --build=BUILD/NUCLEO_F103RB/GCC_ARM -j0
255255
# Run local equeue tests

UNITTESTS/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,6 @@ set(unittest-includes-base
112112
"${PROJECT_SOURCE_DIR}/stubs"
113113
"${PROJECT_SOURCE_DIR}/.."
114114
"${PROJECT_SOURCE_DIR}/../features"
115-
"${PROJECT_SOURCE_DIR}/../features/netsocket"
116115
"${PROJECT_SOURCE_DIR}/../platform"
117116
"${PROJECT_SOURCE_DIR}/../storage/filesystem/littlefs/include"
118117
"${PROJECT_SOURCE_DIR}/../storage/filesystem/fat/include"
@@ -131,6 +130,7 @@ set(unittest-includes-base
131130
"${PROJECT_SOURCE_DIR}/../features/frameworks/mbed-trace"
132131
"${PROJECT_SOURCE_DIR}/../connectivity/libraries/nanostack-libservice"
133132
"${PROJECT_SOURCE_DIR}/../connectivity/libraries/nanostack-libservice/mbed-client-libservice"
133+
"${PROJECT_SOURCE_DIR}/../connectivity/netsocket/include"
134134
"${PROJECT_SOURCE_DIR}/../features/filesystem/fat"
135135
"${PROJECT_SOURCE_DIR}/../features/filesystem/fat/ChaN"
136136
"${PROJECT_SOURCE_DIR}/../features/filesystem/bd"

UNITTESTS/features/netsocket/DTLSSocket/unittest.cmake

Lines changed: 0 additions & 44 deletions
This file was deleted.

UNITTESTS/stubs/ATHandler_stub.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717

1818
#include <ctype.h>
19-
#include "nsapi_types.h"
19+
#include "netsocket/nsapi_types.h"
2020
#include "events/EventQueue.h"
2121
#include "ATHandler_stub.h"
2222

UNITTESTS/stubs/ATHandler_stub.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
#include "stdint.h"
1919
#include "stdbool.h"
2020
#include <cstddef>
21-
#include "nsapi_types.h"
21+
#include "netsocket/nsapi_types.h"
2222
#include "ATHandler.h"
2323
#include "FileHandle_stub.h"
2424
#include "Callback.h"

UNITTESTS/stubs/AT_CellularInformation_stub.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*/
1717

1818
#include "AT_CellularInformation.h"
19-
#include "nsapi_types.h"
19+
#include "netsocket/nsapi_types.h"
2020

2121
using namespace mbed;
2222

UNITTESTS/stubs/AT_CellularNetwork_stub.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
#include "CellularUtil.h"
2121
#include "CellularLog.h"
2222
#include "FileHandle.h"
23-
#include "nsapi_types.h"
23+
#include "netsocket/nsapi_types.h"
2424

2525
using namespace mbed;
2626
using namespace mbed_cellular_util;

UNITTESTS/stubs/CellularInterface_stub.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
#include "CellularInterface.h"
18+
#include "netsocket/CellularInterface.h"
1919

2020
MBED_WEAK CellularInterface *CellularInterface::get_target_default_instance()
2121
{

UNITTESTS/stubs/ControlPlane_netif_stub.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
* limitations under the License.
1616
*/
1717

18-
#include "ControlPlane_netif.h"
18+
#include "netsocket/ControlPlane_netif.h"
1919
#include <list>
2020

2121
namespace mbed {

UNITTESTS/stubs/EMAC_mock.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
#include "gtest/gtest.h"
2222
#include "gmock/gmock.h"
23-
#include "features/netsocket/EMAC.h"
23+
#include "netsocket/EMAC.h"
2424

2525
class MockEMAC : public EMAC {
2626
public:

0 commit comments

Comments
 (0)