Skip to content

Commit b1de37d

Browse files
author
Nakul Sabharwal
committed
Abstarct functions implemented in MockExecutors, MockBaseClient and GraphServiceClientTest. Built Successfully.
1 parent 6c71c39 commit b1de37d

File tree

3 files changed

+14
-0
lines changed

3 files changed

+14
-0
lines changed

src/test/java/com/microsoft/graph/concurrency/MockExecutors.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,4 +52,9 @@ public <Result> void performOnForeground(final ClientException exception,
5252
final ICallback<Result> callback) {
5353
callback.failure(exception);
5454
}
55+
56+
@Override
57+
public void shutdownBackgroundExecutors(){
58+
59+
}
5560
}

src/test/java/com/microsoft/graph/core/MockBaseClient.java

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,5 +78,9 @@ public void setHttpProvider(final IHttpProvider httpProvider) {
7878
public void setSerializer(final ISerializer serializer) {
7979
mSerializer = serializer;
8080
}
81+
82+
public void shutdown() {
83+
84+
}
8185

8286
}

src/test/java/com/microsoft/graph/requests/extensions/GraphServiceClientTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,11 @@ public <Result> void performOnForeground(ClientException exception,
111111
ICallback<Result> callback) {
112112
// do nothing
113113
}
114+
115+
@Override
116+
public void shutdownBackgroundExecutors() {
117+
118+
}
114119

115120
};
116121
IGraphServiceClient client = GraphServiceClient.builder() //

0 commit comments

Comments
 (0)