Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[unit] Adopt to service.c and provider changes in service test. JB#48769
Remove use of the VPN dependency from the unit test. Remove connection.c
build dependency and replace functions with dummies.

Add provider family and VPN phy index dummies.

Use service_hash and add provider dummy to have the service_hash
supported within the test.
  • Loading branch information
LaakkonenJussi committed Mar 17, 2021
1 parent 7a2c437 commit 93f0a73
Show file tree
Hide file tree
Showing 2 changed files with 182 additions and 30 deletions.
2 changes: 1 addition & 1 deletion connman/Makefile.am
Expand Up @@ -370,7 +370,7 @@ unit_test_service_SOURCES = $(backtrace_sources) $(gdhcp_sources) \
$(gweb_sources) $(shared_sources) \
unit/test-service.c \
src/connman.h src/log.c src/error.c src/task.c \
src/device.c src/network.c src/connection.c \
src/device.c src/network.c \
src/manager.c src/agent-connman.c src/clock.c \
src/timezone.c src/agent.c src/notifier.c \
src/resolver.c src/ipconfig.c src/detect.c \
Expand Down

0 comments on commit 93f0a73

Please sign in to comment.