diff options
author | Kevin Cheng <kevcheng@google.com> | 2017-06-01 21:29:24 +0000 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2017-06-01 21:29:24 +0000 |
commit | 392217b93121fa406e52b1a689e5ca50801ee3a2 (patch) | |
tree | 532028c0a402077560f757ab55d718a402a297f5 | |
parent | 0ae4083c082e3eae2155935e29af707a4987a5f8 (diff) | |
parent | 455af25d0aebc3578286af9ebf61733663b6e92c (diff) | |
download | contrib-392217b93121fa406e52b1a689e5ca50801ee3a2.tar.gz |
Actually remove prod-tests this time.
am: 455af25d0a
Change-Id: I6b6f64981bb3fef9e2d1ad458c82479d48f8fd49
-rw-r--r-- | prod-tests/Android.mk | 45 | ||||
-rw-r--r-- | prod-tests/MANIFEST.mf | 2 | ||||
-rw-r--r-- | prod-tests/res/config/example/example.xml | 28 | ||||
-rw-r--r-- | prod-tests/src/com/android/example_test/ExampleTest.java | 32 |
4 files changed, 0 insertions, 107 deletions
diff --git a/prod-tests/Android.mk b/prod-tests/Android.mk deleted file mode 100644 index c43b285..0000000 --- a/prod-tests/Android.mk +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright (C) 2017 The Android Open Source Project -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -LOCAL_PATH := $(call my-dir) - -include $(CLEAR_VARS) - -# Only compile source java files in this lib. -LOCAL_SRC_FILES := $(call all-java-files-under, src) - -LOCAL_JAVA_RESOURCE_DIRS := res - -LOCAL_JAVACFLAGS += -g -Xlint -Werror - -LOCAL_MODULE := tf-contrib-prod-tests - -LOCAL_MODULE_TAGS := optional -LOCAL_JAVA_LIBRARIES := tradefed tf-prod-tests - -LOCAL_JAR_MANIFEST := MANIFEST.mf - -include $(BUILD_HOST_JAVA_LIBRARY) - -# makefile rules to copy jars to HOST_OUT/tradefed -# so tradefed.sh can automatically add to classpath -DEST_JAR := $(HOST_OUT)/tradefed/$(LOCAL_MODULE).jar -$(DEST_JAR): $(LOCAL_BUILT_MODULE) - $(copy-file-to-new-target) - -# this dependency ensure the above rule will be executed if jar is built -$(LOCAL_INSTALLED_MODULE) : $(DEST_JAR) - -# Build all sub-directories -include $(call all-makefiles-under,$(LOCAL_PATH)) diff --git a/prod-tests/MANIFEST.mf b/prod-tests/MANIFEST.mf deleted file mode 100644 index 4bd2094..0000000 --- a/prod-tests/MANIFEST.mf +++ /dev/null @@ -1,2 +0,0 @@ -Manifest-Version: 1.0 -Implementation-Version: %BUILD_NUMBER% diff --git a/prod-tests/res/config/example/example.xml b/prod-tests/res/config/example/example.xml deleted file mode 100644 index 14d3378..0000000 --- a/prod-tests/res/config/example/example.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2017 The Android Open Source Project - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<!-- TODO: Delete when real configs make it here. --> -<configuration description="Example test config."> - <!-- Some option for the whole configuration. --> - <option name="test-tag" value="example-test" /> - - <!-- Example test that will be ran. --> - <test class="com.android.tradefed.ExampleTest" /> - - <!-- Example target preparer used. --> - <target_preparer class="com.android.tradefed.targetprep.ExampleTargetPreparer" /> - -</configuration> - diff --git a/prod-tests/src/com/android/example_test/ExampleTest.java b/prod-tests/src/com/android/example_test/ExampleTest.java deleted file mode 100644 index dd73be2..0000000 --- a/prod-tests/src/com/android/example_test/ExampleTest.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * Copyright (C) 2017 The Android Open Source Project - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.android.tradefed; - -import com.android.tradefed.device.DeviceNotAvailableException; -import com.android.tradefed.log.LogUtil.CLog; -import com.android.tradefed.result.ITestInvocationListener; -import com.android.tradefed.testtype.IRemoteTest; - -/** - * Example test to seed Trade Federation Contrib project. - */ -// TODO: Delete when real tests make it here. -public class ExampleTest implements IRemoteTest { - @Override - public void run(ITestInvocationListener listener) throws DeviceNotAvailableException { - CLog.i("AOSP example test says Hello!"); - } -} |