Skip to content
This repository was archived by the owner on Sep 4, 2020. It is now read-only.

Commit 0df94d1

Browse files
author
Peter Nied
committed
New unit tests to ensure no regression
1 parent 3ba4126 commit 0df94d1

2 files changed

Lines changed: 42 additions & 0 deletions

File tree

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
package com.microsoft.graph.extensions;
6+
7+
import android.test.AndroidTestCase;
8+
9+
import java.lang.reflect.Method;
10+
11+
/**
12+
* Created by pnied on 8/9/2016.
13+
*/
14+
public class IDriveItemRequestBuilderTests extends AndroidTestCase {
15+
16+
public void testGetItemWithPath() throws Exception {
17+
final Method getItemWithPath = IDriveItemRequestBuilder.class.getDeclaredMethod("getItemWithPath", String.class);
18+
assertNotNull(getItemWithPath);
19+
assertEquals(IDriveItemRequestBuilder.class, getItemWithPath.getReturnType());
20+
}
21+
}
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// ------------------------------------------------------------------------------
2+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
3+
// ------------------------------------------------------------------------------
4+
5+
package com.microsoft.graph.extensions;
6+
7+
import android.test.AndroidTestCase;
8+
9+
import java.lang.reflect.Method;
10+
11+
/**
12+
* Created by pnied on 8/9/2016.
13+
*/
14+
public class IThumbnailSetRequestBuilderTests extends AndroidTestCase {
15+
16+
public void testGetThumbnailSize() throws Exception {
17+
final Method getThumbnailSize = IThumbnailSetRequestBuilder.class.getDeclaredMethod("getThumbnailSize", String.class);
18+
assertNotNull(getThumbnailSize);
19+
assertEquals(IThumbnailRequestBuilder.class, getThumbnailSize.getReturnType());
20+
}
21+
}

0 commit comments

Comments
 (0)