• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2010 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 package vogar;
18 
19 /**
20  * TestProperties is a common class of constants shared between the
21  * Vogar on the host and TestRunner classes potentially running
22  * on other devices.
23  */
24 final public class TestProperties {
25 
26     /**
27      * The name of the test properties file within the {@code .jar} file.
28      */
29     public static final String FILE = "test.properties";
30 
31     /**
32      * Name of the property giving the class name or package name of the test to be performed.
33      */
34     public static final String TEST_CLASS_OR_PACKAGE = "testClassOrPackage";
35 
36     /**
37      * Port to accept monitor connections on.
38      */
39     public static final String MONITOR_PORT = "monitorPort";
40 
41     /**
42      * Integer timeout in seconds
43      */
44     public static final String TIMEOUT = "timeout";
45 
46     /**
47      * The type of runner to use.
48      */
49     public static final String RUNNER_TYPE = "runnerType";
50 
TestProperties()51     private TestProperties() {}
52 }
53