Autopsy  4.19.3
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.TestingConfig Class Reference

Public Member Functions

 TestingConfig (@JsonProperty("excludeAllExcept") List< ParameterizedResourceConfig > excludeAllExcept,@JsonProperty("includeAllExcept") List< String > includeAllExcept)
Set< ParameterizedResourceConfiggetExcludeAllExcept ()
Set< String > getIncludeAllExcept ()
Map< String, Object > getParameters (String itemType)
boolean hasIncludedTest (String itemType)

Private Attributes

final Map< String, ParameterizedResourceConfigexcludeAllExcept
final Set< String > includeAllExcept

Detailed Description

Configuration for which integration test suites to run.

Definition at line 38 of file

Constructor & Destructor Documentation

org.sleuthkit.autopsy.integrationtesting.config.TestingConfig.TestingConfig ( @JsonProperty("excludeAllExcept") List< ParameterizedResourceConfig excludeAllExcept,
@JsonProperty("includeAllExcept") List< String >  includeAllExcept 

Main constructor for Integration tests to be run.

excludeAllExceptItems that should be run to the exclusion of all others.
includeAllExceptItems that should only be run.

Definition at line 51 of file

Member Function Documentation

Set<ParameterizedResourceConfig> org.sleuthkit.autopsy.integrationtesting.config.TestingConfig.getExcludeAllExcept ( )
The test suites to be run. If not specified, getIncludeAllExcept will be used. If that is not specified, all tests will be run.

Definition at line 83 of file

Set<String> org.sleuthkit.autopsy.integrationtesting.config.TestingConfig.getIncludeAllExcept ( )
The test suites explicitly to exclude. If not specified, getExcludeAllExcept will be used. If that is not specified, all tests will be run.

Definition at line 92 of file

Map<String, Object> org.sleuthkit.autopsy.integrationtesting.config.TestingConfig.getParameters ( String  itemType)

Retrieve parameters if any exist for a particular integration test group.

itemTypeThe identifier for the integration test group.
The map of fields to values for that test group or an empty map if no arguments are present.

Definition at line 103 of file

References org.sleuthkit.autopsy.integrationtesting.config.ParameterizedResourceConfig.getParameters().

Referenced by org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.runIntegrationTests().

boolean org.sleuthkit.autopsy.integrationtesting.config.TestingConfig.hasIncludedTest ( String  itemType)

Whether or not the current settings contain the current test.

itemTypeThe fully qualified name of the test suite.
True if this test should be run.

Definition at line 114 of file

Referenced by org.sleuthkit.autopsy.integrationtesting.IntegrationTestService.runIntegrationTests().

Member Data Documentation

final Map<String, ParameterizedResourceConfig> org.sleuthkit.autopsy.integrationtesting.config.TestingConfig.excludeAllExcept

Definition at line 40 of file

final Set<String> org.sleuthkit.autopsy.integrationtesting.config.TestingConfig.includeAllExcept

Definition at line 41 of file

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

Copyright © 2012-2022 Basis Technology. Generated on: Sat Sep 24 2022
This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.