Autopsy  4.18.0
Graphical digital forensics platform for The Sleuth Kit and other tools.
Public Member Functions | Private Attributes | List of all members
org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig Class Reference

Public Member Functions

 TestSuiteConfig (@JsonProperty("name") String name,@JsonProperty("description") String description,@JsonProperty("dataSources") List< String > dataSources,@JsonProperty("configurationModules") List< ParameterizedResourceConfig > configurationModules,@JsonProperty("integrationTests") TestingConfig integrationTests,@JsonProperty("caseTypes") IntegrationCaseType caseTypes)
 
IntegrationCaseType getCaseTypes ()
 
List< ParameterizedResourceConfiggetConfigurationModules ()
 
List< String > getDataSources ()
 
String getDescription ()
 
TestingConfig getIntegrationTests ()
 
String getName ()
 
String getRelativeOutputPath ()
 
void setRelativeOutputPath (String relativeOutputPath)
 

Private Attributes

final IntegrationCaseType caseTypes
 
final List< ParameterizedResourceConfigconfigurationModules
 
final List< String > dataSources
 
final String description
 
final TestingConfig integrationTests
 
final String name
 
String relativeOutputPath
 

Detailed Description

Configuration per test suite.

Definition at line 31 of file TestSuiteConfig.java.

Constructor & Destructor Documentation

org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.TestSuiteConfig ( @JsonProperty("name") String  name,
@JsonProperty("description") String  description,
@JsonProperty("dataSources") List< String >  dataSources,
@JsonProperty("configurationModules") List< ParameterizedResourceConfig configurationModules,
@JsonProperty("integrationTests") TestingConfig  integrationTests,
@JsonProperty("caseTypes") IntegrationCaseType  caseTypes 
)

Main constructor.

Parameters
nameName of the test suite.
descriptionThe description for the test suite.
dataSourcesThe data sources to use.
configurationModulesThe modules in order to configure the autopsy environment.
integrationTestsThe integration tests to run.
caseTypesThe case types (single user, multi user, both).

Definition at line 53 of file TestSuiteConfig.java.

Member Function Documentation

IntegrationCaseType org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.getCaseTypes ( )
Returns
The case type (single user, multi user, both).

Definition at line 108 of file TestSuiteConfig.java.

Referenced by org.sleuthkit.autopsy.integrationtesting.config.ConfigDeserializer.validate().

List<ParameterizedResourceConfig> org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.getConfigurationModules ( )
Returns
The configuration modules to be run to set up the autopsy environment.

Definition at line 94 of file TestSuiteConfig.java.

List<String> org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.getDataSources ( )
Returns
The data sources to be ingested.

Definition at line 86 of file TestSuiteConfig.java.

Referenced by org.sleuthkit.autopsy.integrationtesting.config.ConfigDeserializer.validate().

String org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.getDescription ( )
Returns
The description of the test suite.

Definition at line 79 of file TestSuiteConfig.java.

TestingConfig org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.getIntegrationTests ( )
Returns
The configuration for integration tests to run for output.

Definition at line 101 of file TestSuiteConfig.java.

Referenced by org.sleuthkit.autopsy.integrationtesting.config.ConfigDeserializer.validate().

String org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.getName ( )
Returns
The name of the test suite.

Definition at line 72 of file TestSuiteConfig.java.

Referenced by org.sleuthkit.autopsy.integrationtesting.config.ConfigDeserializer.validate().

String org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.getRelativeOutputPath ( )
Returns
The relative output path used if EnvConfig.useRelativeOutputPath is true. If file is found at /testSuitePath/relPathX/fileY.json, and EnvConfig.useRelativeOutputPath is true, then output results will be located in /outputPath/relPathX/fileY/.

Definition at line 118 of file TestSuiteConfig.java.

Referenced by org.sleuthkit.autopsy.integrationtesting.config.ConfigDeserializer.validate().

void org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.setRelativeOutputPath ( String  relativeOutputPath)

Sets the relative output path.

Parameters
relativeOutputPathThe relative output path used if EnvConfig.useRelativeOutputPath is true. If file is found at /testSuitePath/relPathX/fileY.json, and EnvConfig.useRelativeOutputPath is true, then output results will be located in /outputPath/relPathX/fileY/.

Definition at line 131 of file TestSuiteConfig.java.

Referenced by org.sleuthkit.autopsy.integrationtesting.config.ConfigDeserializer.validate().

Member Data Documentation

final IntegrationCaseType org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.caseTypes
private

Definition at line 38 of file TestSuiteConfig.java.

final List<ParameterizedResourceConfig> org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.configurationModules
private

Definition at line 36 of file TestSuiteConfig.java.

final List<String> org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.dataSources
private

Definition at line 35 of file TestSuiteConfig.java.

final String org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.description
private

Definition at line 34 of file TestSuiteConfig.java.

final TestingConfig org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.integrationTests
private

Definition at line 37 of file TestSuiteConfig.java.

final String org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.name
private

Definition at line 33 of file TestSuiteConfig.java.

String org.sleuthkit.autopsy.integrationtesting.config.TestSuiteConfig.relativeOutputPath
private

Definition at line 39 of file TestSuiteConfig.java.


The documentation for this class was generated from the following file:

Copyright © 2012-2021 Basis Technology. Generated on: Thu Jul 8 2021
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.