summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2020-06-06 08:46:52 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-06-06 08:46:52 +0000
commita6020be0ddea6af39636ad080b395c25d152d791 (patch)
tree6a7cc0e7c0e2243cc573d0a450af8353c5531bbc
parent333e87fa1181b2af82095616976922b6cd3c65f5 (diff)
parent976a9509ab562330f03f419a13a5bc0ba0913398 (diff)
Add a SkipPresubmit annotation am: 976a9509ab
Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/modules/NetworkStack/+/11746680 Change-Id: I5668cde981f91b91e49e09d207d70378a374ec80
-rw-r--r--tests/lib/multivariant/com/android/testutils/SkipPresubmit.kt24
1 files changed, 24 insertions, 0 deletions
diff --git a/tests/lib/multivariant/com/android/testutils/SkipPresubmit.kt b/tests/lib/multivariant/com/android/testutils/SkipPresubmit.kt
new file mode 100644
index 0000000..69ed048
--- /dev/null
+++ b/tests/lib/multivariant/com/android/testutils/SkipPresubmit.kt
@@ -0,0 +1,24 @@
+/*
+ * Copyright (C) 2020 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.testutils
+
+/**
+ * Skip the test in presubmit runs for the reason specified in [reason].
+ *
+ * This annotation is typically used to document hardware or test bench limitations.
+ */
+annotation class SkipPresubmit(val reason: String) \ No newline at end of file