summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authoryojan@google.com <yojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-23 00:15:01 +0000
committeryojan@google.com <yojan@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2014-07-23 00:15:01 +0000
commita7c827ea2fe601f353017bc1a68f68e3db849c71 (patch)
treeedcf09f6ccb1004ed75190539665fe79651933f2 /base
parent59f1f923f5460dfbf4ad8e5881062fa00d2de996 (diff)
downloadchromium_src-a7c827ea2fe601f353017bc1a68f68e3db849c71.zip
chromium_src-a7c827ea2fe601f353017bc1a68f68e3db849c71.tar.gz
chromium_src-a7c827ea2fe601f353017bc1a68f68e3db849c71.tar.bz2
Added an annotation to label Integration tests.
An IntegrationTest label will be required for tests that may require a greater timeout value than LargeTest allows. These tests will run against real instances of other services (e.g. Search). They may use command-line flags to change the backends that are being tested against. BUG=None Review URL: https://codereview.chromium.org/407173002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@284821 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/test/android/javatests/src/org/chromium/base/test/util/IntegrationTest.java26
1 files changed, 26 insertions, 0 deletions
diff --git a/base/test/android/javatests/src/org/chromium/base/test/util/IntegrationTest.java b/base/test/android/javatests/src/org/chromium/base/test/util/IntegrationTest.java
new file mode 100644
index 0000000..8b6550d
--- /dev/null
+++ b/base/test/android/javatests/src/org/chromium/base/test/util/IntegrationTest.java
@@ -0,0 +1,26 @@
+// Copyright 2014 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.base.test.util;
+
+import java.lang.annotation.ElementType;
+import java.lang.annotation.Retention;
+import java.lang.annotation.RetentionPolicy;
+import java.lang.annotation.Target;
+
+/**
+ * This annotation is for integration tests.
+ * <p>
+ * Examples of integration tests are tests that rely on real instances of the
+ * application's services and components (e.g. Search) to test the system as
+ * a whole. These tests may use additional command-line flags to configure the
+ * existing backends to use.
+ * <p>
+ * Such tests are likely NOT reliable enough to run on tree closing bots and
+ * should only be run on FYI bots.
+ */
+@Target(ElementType.METHOD)
+@Retention(RetentionPolicy.RUNTIME)
+public @interface IntegrationTest {
+} \ No newline at end of file