- add sources.
[platform/framework/web/crosswalk.git] / src / base / test / android / javatests / src / org / chromium / base / test / util / TimeoutScale.java
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 package org.chromium.base.test.util;
6
7 import java.lang.annotation.ElementType;
8 import java.lang.annotation.Retention;
9 import java.lang.annotation.RetentionPolicy;
10 import java.lang.annotation.Target;
11
12 /**
13  * This annotation can be used to scale a specific test timeout.
14  */
15 @Target(ElementType.METHOD)
16 @Retention(RetentionPolicy.RUNTIME)
17 public @interface TimeoutScale {
18     /**
19      * @return A number to scale the test timeout.
20      */
21     public int value();
22 }