Skip to content

Commit b24fc44

Browse files
Auto-update
1 parent 48629d5 commit b24fc44

File tree

5 files changed

+4
-84
lines changed

5 files changed

+4
-84
lines changed

Application/build.gradle

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,10 @@ repositories {
1414
jcenter()
1515
}
1616

17-
1817
dependencies {
19-
2018
compile "com.android.support:support-v4:21.0.2"
2119
compile "com.android.support:support-v13:21.0.2"
2220
compile "com.android.support:cardview-v7:21.0.2"
23-
2421
}
2522

2623
// The sample build uses multiple directories to
@@ -33,7 +30,7 @@ List<String> dirs = [
3330

3431
android {
3532
compileSdkVersion 21
36-
buildToolsVersion "21.1.1"
33+
buildToolsVersion "21.1.2"
3734

3835
defaultConfig {
3936
minSdkVersion 21

Application/src/main/res/layout/activity_main.xml

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

Application/tests/AndroidManifest.xml

Lines changed: 1 addition & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<!--
3-
Copyright 2013 The Android Open Source Project
4-
5-
Licensed under the Apache License, Version 2.0 (the "License");
6-
you may not use this file except in compliance with the License.
7-
You may obtain a copy of the License at
8-
9-
http://www.apache.org/licenses/LICENSE-2.0
10-
11-
Unless required by applicable law or agreed to in writing, software
12-
distributed under the License is distributed on an "AS IS" BASIS,
13-
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14-
See the License for the specific language governing permissions and
15-
limitations under the License.
16-
-->
17-
18-
19-
201
<?xml version="1.0" encoding="utf-8"?>
212
<!--
223
Copyright (C) 2013 The Android Open Source Project
@@ -56,4 +37,4 @@
5637
android:targetPackage="com.example.android.camera2basic"
5738
android:label="Tests for com.example.android.camera2basic" />
5839

59-
</manifest>
40+
</manifest>

Application/tests/src/com/example/android/camera2basic/tests/SampleTests.java

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,3 @@
1-
/*
2-
* Copyright 2013 The Android Open Source Project
3-
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
7-
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
15-
*/
16-
17-
18-
191
/*
202
* Copyright (C) 2013 The Android Open Source Project
213
*
@@ -43,7 +25,6 @@
4325
public class SampleTests extends ActivityInstrumentationTestCase2<CameraActivity> {
4426

4527
private CameraActivity mTestActivity;
46-
private Camera2BasicFragment mTestFragment;
4728

4829
public SampleTests() {
4930
super(CameraActivity.class);
@@ -58,8 +39,6 @@ protected void setUp() throws Exception {
5839
// flags = {@link Intent#FLAG_ACTIVITY_NEW_TASK}
5940
// All other fields are null or empty.
6041
mTestActivity = getActivity();
61-
mTestFragment = (Camera2BasicFragment)
62-
mTestActivity.getSupportFragmentManager().getFragments().get(1);
6342
}
6443

6544
/**
@@ -69,11 +48,10 @@ public void testPreconditions() {
6948
//Try to add a message to add context to your assertions. These messages will be shown if
7049
//a tests fails and make it easy to understand why a test failed
7150
assertNotNull("mTestActivity is null", mTestActivity);
72-
assertNotNull("mTestFragment is null", mTestFragment);
7351
}
7452

7553
/**
7654
* Add more tests below.
7755
*/
7856

79-
}
57+
}

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Pre-requisites
4242
--------------
4343

4444
- Android SDK v21
45-
- Android Build Tools v21.1.1
45+
- Android Build Tools v21.1.2
4646
- Android Support Repository
4747

4848
Screenshots

0 commit comments

Comments
 (0)