Skip to content

Commit 21325e2

Browse files
committed
Update netsocket header and source reference in other libraries
1 parent b1a5e1b commit 21325e2

File tree

23 files changed

+24
-28
lines changed

23 files changed

+24
-28
lines changed

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"
@@ -128,6 +127,7 @@ set(unittest-includes-base
128127
"${PROJECT_SOURCE_DIR}/../features/frameworks/mbed-trace"
129128
"${PROJECT_SOURCE_DIR}/../connectivity/libraries/nanostack-libservice"
130129
"${PROJECT_SOURCE_DIR}/../connectivity/libraries/nanostack-libservice/mbed-client-libservice"
130+
"${PROJECT_SOURCE_DIR}/../connectivity/netsocket/include"
131131
"${PROJECT_SOURCE_DIR}/../features/filesystem/fat"
132132
"${PROJECT_SOURCE_DIR}/../features/filesystem/fat/ChaN"
133133
"${PROJECT_SOURCE_DIR}/../features/filesystem/bd"

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:

UNITTESTS/stubs/MeshInterface_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 "MeshInterface.h"
18+
#include "netsocket/MeshInterface.h"
1919

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

UNITTESTS/stubs/NetworkInterfaceDefaults_stub.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
* limitations under the License.
1616
*/
1717
#include "netsocket/NetworkInterface.h"
18-
#include "WiFiInterface.h"
19-
#include "CellularInterface.h"
20-
#include "MeshInterface.h"
18+
#include "netsocket/WiFiInterface.h"
19+
#include "netsocket/CellularInterface.h"
20+
#include "netsocket/MeshInterface.h"
2121

2222
MBED_WEAK WiFiInterface *WiFiInterface::get_default_instance()
2323
{

0 commit comments

Comments
 (0)