public final class

TestStorageConstants

extends java.lang.Object

 java.lang.Object

↳androidx.test.services.storage.TestStorageConstants

Gradle dependencies

compile group: 'androidx.test.services', name: 'storage', version: '1.5.0'

  • groupId: androidx.test.services
  • artifactId: storage
  • version: 1.5.0

Artifact androidx.test.services:storage:1.5.0 it located at Google repository (https://maven.google.com/)

Overview

Holds constants that are shared between on-device and host-side testing infrastructure.

Summary

Fields
public static final java.lang.StringINTERNAL_USE_PROVIDER_AUTHORITY

The provider authority for internal use.

public static final java.lang.StringON_DEVICE_FIXTURE_SCRIPTS

The folder where the fixture test scripts are pushed on device.

public static final java.lang.StringON_DEVICE_PATH_INTERNAL_USE

The folder for internal use.

public static final java.lang.StringON_DEVICE_PATH_ROOT

The parent folder name for all the test related files.

public static final java.lang.StringON_DEVICE_PATH_TEST_OUTPUT

The folder where the test output files are written.

public static final java.lang.StringON_DEVICE_PATH_TEST_PROPERTIES

The folder for test properties that shall be exported to the testing infra.

public static final java.lang.StringON_DEVICE_TEST_RUNFILES

The folder where files needed in test runtime are pushed.

public static final java.lang.StringOUTPUT_PROPERTIES_PROVIDER_AUTHORITY

The provider authority for output properties.

public static final java.lang.StringTEST_ARGS_FILE_NAME

The name of the file where test arguments are stored.

public static final java.lang.StringTEST_ARGS_PROVIDER_AUTHORITY

The provider authority for test arguments.

public static final java.lang.StringTEST_OUTPUT_PROVIDER_AUTHORITY

The provider authority for test output files.

public static final java.lang.StringTEST_RUNFILES_PROVIDER_AUTHORITY

The provider authority for files needed in test runtime.

Methods
from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Fields

public static final java.lang.String ON_DEVICE_PATH_ROOT

The parent folder name for all the test related files.

public static final java.lang.String ON_DEVICE_PATH_INTERNAL_USE

The folder for internal use.

public static final java.lang.String INTERNAL_USE_PROVIDER_AUTHORITY

The provider authority for internal use.

public static final java.lang.String ON_DEVICE_PATH_TEST_OUTPUT

The folder where the test output files are written.

public static final java.lang.String TEST_OUTPUT_PROVIDER_AUTHORITY

The provider authority for test output files.

public static final java.lang.String ON_DEVICE_PATH_TEST_PROPERTIES

The folder for test properties that shall be exported to the testing infra.

public static final java.lang.String OUTPUT_PROPERTIES_PROVIDER_AUTHORITY

The provider authority for output properties.

public static final java.lang.String ON_DEVICE_FIXTURE_SCRIPTS

The folder where the fixture test scripts are pushed on device.

public static final java.lang.String ON_DEVICE_TEST_RUNFILES

The folder where files needed in test runtime are pushed.

public static final java.lang.String TEST_RUNFILES_PROVIDER_AUTHORITY

The provider authority for files needed in test runtime.

public static final java.lang.String TEST_ARGS_PROVIDER_AUTHORITY

The provider authority for test arguments.

public static final java.lang.String TEST_ARGS_FILE_NAME

The name of the file where test arguments are stored.

Source

/*
 * Copyright (C) 2019 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 androidx.test.services.storage;

import androidx.annotation.RestrictTo;
import androidx.annotation.RestrictTo.Scope;

/**
 * Holds constants that are shared between on-device and host-side testing infrastructure.
 *
 * @hide
 */
@RestrictTo(Scope.LIBRARY)
public final class TestStorageConstants {

  /** The parent folder name for all the test related files. */
  public static final String ON_DEVICE_PATH_ROOT = "googletest/";

  /** The folder for internal use. */
  public static final String ON_DEVICE_PATH_INTERNAL_USE = ON_DEVICE_PATH_ROOT + "internal_use/";

  /** The provider authority for internal use. */
  public static final String INTERNAL_USE_PROVIDER_AUTHORITY =
      "androidx.test.services.storage._internal_use_files";

  /** The folder where the test output files are written. */
  public static final String ON_DEVICE_PATH_TEST_OUTPUT = ON_DEVICE_PATH_ROOT + "test_outputfiles/";

  /** The provider authority for test output files. */
  public static final String TEST_OUTPUT_PROVIDER_AUTHORITY =
      "androidx.test.services.storage.outputfiles";

  /** The folder for test properties that shall be exported to the testing infra. */
  public static final String ON_DEVICE_PATH_TEST_PROPERTIES =
      ON_DEVICE_PATH_ROOT + "test_exportproperties/";

  /** The provider authority for output properties. */
  public static final String OUTPUT_PROPERTIES_PROVIDER_AUTHORITY =
      "androidx.test.services.storage.properties";

  /** The folder where the fixture test scripts are pushed on device. */
  public static final String ON_DEVICE_FIXTURE_SCRIPTS = ON_DEVICE_PATH_ROOT + "fixture_scripts/";

  /** The folder where files needed in test runtime are pushed. */
  public static final String ON_DEVICE_TEST_RUNFILES = ON_DEVICE_PATH_ROOT + "test_runfiles/";

  /** The provider authority for files needed in test runtime. */
  public static final String TEST_RUNFILES_PROVIDER_AUTHORITY =
      "androidx.test.services.storage.runfiles";

  /** The provider authority for test arguments. */
  public static final String TEST_ARGS_PROVIDER_AUTHORITY =
      "androidx.test.services.storage.testargs";

  /** The name of the file where test arguments are stored. */
  public static final String TEST_ARGS_FILE_NAME = "test_args.dat";

  private TestStorageConstants() {}
}