Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ABSOLUTE - Enum constant in enum class org.mongounit.LocationType
-
Location value should be treated as an absolute file path.
- addAssertMatchesDatasetAnnotation(AssertMatchesDataset) - Method in class org.mongounit.model.MongoUnitAnnotations
-
Adds the provided 'assertMatchesDatasetAnnotation' to the list of
AssertMatchesDatasetannotations. - addAssertMatchesDatasetAnnotations(AssertMatchesDataset[]) - Method in class org.mongounit.model.MongoUnitAnnotations
-
Adds the provided 'assertMatchesDatasetAnnotations' to the list of
AssertMatchesDatasetannotations. - additionalDataset() - Element in annotation interface org.mongounit.AssertMatchesDataset
-
Returns true to indicate additional assertion dataset should be used for this assertion based on the 'value' or 'locations' pointed to by this annotation, false if no additional dataset should be loaded.
- addSeedWithDatasetAnnotation(SeedWithDataset) - Method in class org.mongounit.model.MongoUnitAnnotations
-
Adds the provided 'seedWithDatasetAnnotation' to the list of
SeedWithDatasetannotations. - addSeedWithDatasetAnnotations(SeedWithDataset[]) - Method in class org.mongounit.model.MongoUnitAnnotations
-
Adds the provided 'seedWithDatasetAnnotations' to the list of
SeedWithDatasetannotations. - afterAll(ExtensionContext) - Method in class org.mongounit.MongoUnitExtension
- afterEach(ExtensionContext) - Method in class org.mongounit.MongoUnitExtension
- afterPropertiesSet() - Method in class org.mongounit.config.MongoDatabaseFactoryBean
- ApplicationLifecycle() - Constructor for class org.mongounit.config.MongoUnitConfiguration.ApplicationLifecycle
- AssertionResult - Class in org.mongounit.model
-
AssertionResultclass represents internal assertion result. - AssertionResult() - Constructor for class org.mongounit.model.AssertionResult
-
Default constructor.
- AssertionResult(boolean, String) - Constructor for class org.mongounit.model.AssertionResult
-
Constructor.
- AssertionResult.AssertionResultBuilder - Class in org.mongounit.model
-
AssertionResult.AssertionResultBuilderclass is a builder pattern class for theAssertionResultclass. - assertMatches(List<MongoUnitCollection>, List<MongoUnitCollection>, MongoUnitProperties) - Static method in class org.mongounit.MongoUnitUtil
-
Returns An
AssertionResultwith a 'match' of 'true' if the provided 'expected' and 'actual' lists ofMongoUnitCollections match according to the MongoUnit framework rules, or with 'false' otherwise. - assertMatches(Map<String, Object>, Map<String, Object>, MongoUnitProperties) - Static method in class org.mongounit.MongoUnitUtil
-
Returns an
AssertionResultwith a 'match' of 'true' if the provided 'expectedDocument' and 'actualDocument' match according to the MongoUnit framework rules, or with 'false' otherwise. - assertMatches(MongoUnitCollection, MongoUnitCollection, MongoUnitProperties) - Static method in class org.mongounit.MongoUnitUtil
-
Returns An
AssertionResultwith a 'match' of 'true' if the provided 'expected' and 'actual'MongoUnitCollections match according to the MongoUnit framework rules, or with 'false' otherwise. - assertMatchesDataset(String[], Class<?>) - Static method in class org.mongounit.MongoUnit
-
Asserts that whatever is currently in the database connected to by the MongoUnit framework matches the JSON datasets contained in files pointed to by the provided 'locations' array of paths.
- assertMatchesDataset(String[], LocationType, Class<?>) - Static method in class org.mongounit.MongoUnit
-
Asserts that whatever is currently in the database connected to by the MongoUnit framework matches the JSON datasets contained in files pointed to by the provided 'locations' array of paths.
- assertMatchesDataset(String, Class<?>) - Static method in class org.mongounit.MongoUnit
-
Asserts that whatever is currently in the database connected to by the MongoUnit framework matches the JSON datasets contained in files pointed to by the provided 'location' path.
- assertMatchesDataset(List<MongoUnitCollection>) - Static method in class org.mongounit.MongoUnit
-
Asserts that whatever is currently in the database connected to by the MongoUnit framework matches the dataset collectively contained in the provided 'datasets'.
- AssertMatchesDataset - Annotation Interface in org.mongounit
-
AssertMatchesDatasetannotation specifies location(s) of a JSON-based file(s) with data to match the state of the database with. - AssertMatchesDatasets - Annotation Interface in org.mongounit
-
AssertMatchesDatasetsannotation enables theAssertMatchesDatasetannotation to be repeatable. - assertMatchesEmptyDataset() - Static method in class org.mongounit.MongoUnit
-
Assert database is empty.
- assertMatchesMongoUnitValue(Map<String, Object>, Object, String) - Static method in class org.mongounit.MongoUnitUtil
-
Returns
AssertionResultwith a 'match' of 'true' if the provided 'expectedValue' and 'actualValue' match according to the MongoUnit framework rules, or with 'false' otherwise. - assertMatchesValue(Object, Object, MongoUnitProperties) - Static method in class org.mongounit.MongoUnitUtil
B
- BASE_URI_KEEP_AS_IS_PROP_NAME - Static variable in class org.mongounit.config.MongoUnitProperties
-
'Base URI keep as is' property name that is looked for in mongounit.properties file.
- BASE_URI_PROP_NAME - Static variable in class org.mongounit.config.MongoUnitProperties
-
Base URI property name that is looked for in mongounit.properties file.
- beforeAll(ExtensionContext) - Method in class org.mongounit.MongoUnitExtension
- beforeEach(ExtensionContext) - Method in class org.mongounit.MongoUnitExtension
- bsonType(String) - Method in class org.mongounit.model.MongoUnitValue.MongoUnitValueBuilder
- build() - Method in class org.mongounit.DatasetGeneratorArguments.DatasetGeneratorArgumentsBuilder
- build() - Method in class org.mongounit.model.AssertionResult.AssertionResultBuilder
- build() - Method in class org.mongounit.model.MongoUnitCollection.MongoUnitCollectionBuilder
- build() - Method in class org.mongounit.model.MongoUnitValue.MongoUnitValueBuilder
- builder() - Static method in class org.mongounit.DatasetGeneratorArguments
- builder() - Static method in class org.mongounit.model.AssertionResult
- builder() - Static method in class org.mongounit.model.MongoUnitCollection
- builder() - Static method in class org.mongounit.model.MongoUnitValue
C
- canEqual(Object) - Method in class org.mongounit.model.MongoUnitValue
- CLASS - Enum constant in enum class org.mongounit.LocationType
-
Location should be interpreted relative to the classpath root plus the package structure along with class name (or 'name' specified by
MongoUnitTest), i.e., if the fully qualified name of the test class is 'com.mytest.MyIT' and this value is selected, the file will be searched for in the '/com/mytest/MyIT' folder relative to the root of the classpath. - CLASSPATH_ROOT - Enum constant in enum class org.mongounit.LocationType
-
Location should be interpreted relative to the root of the classpath.
- collectionName(String) - Method in class org.mongounit.model.MongoUnitCollection.MongoUnitCollectionBuilder
- collectionNames(List<String>) - Method in class org.mongounit.DatasetGeneratorArguments.DatasetGeneratorArgumentsBuilder
- combineDatasets(List<MongoUnitCollection>, List<MongoUnitCollection>) - Static method in class org.mongounit.MongoUnitUtil
- combineNoRepeatingCollections(List<MongoUnitCollection>) - Static method in class org.mongounit.MongoUnitUtil
- COMPARATOR_FIELD_NAME - Static variable in class org.mongounit.MongoUnitUtil
-
Field name to use when extracting the comparator field out of a special document which represents a MongoUnit value.
- comparatorValue(String) - Method in class org.mongounit.model.MongoUnitValue.MongoUnitValueBuilder
- compare(Comparable, Comparable) - Static method in class org.mongounit.MongoUnitUtil
- createDatabaseGuardConfiguration() - Static method in class org.mongounit.config.MongoUnitConfiguration
- CURRENT_MONGO_DATABASE - Static variable in class org.mongounit.MongoUnitExtension
-
Reference to the current Mongo database.
D
- DatasetGenerator - Class in org.mongounit
-
DatasetGeneratorclass is a standalone runnable program that can generate JSON-based starter dataset files which can later be used to seed and verify database tests. - DatasetGenerator() - Constructor for class org.mongounit.DatasetGenerator
- DatasetGeneratorArguments - Class in org.mongounit
-
DatasetGeneratorArgumentsclass represents all arguments passed into theDatasetGeneratorstandalone program. - DatasetGeneratorArguments() - Constructor for class org.mongounit.DatasetGeneratorArguments
-
Default constructor.
- DatasetGeneratorArguments(MongoClientURI, List<String>, String, List<String>, String) - Constructor for class org.mongounit.DatasetGeneratorArguments
-
Constructor.
- DatasetGeneratorArguments.DatasetGeneratorArgumentsBuilder - Class in org.mongounit
-
DatasetGeneratorArguments.DatasetGeneratorArgumentsBuilderclass is a builder pattern class for theDatasetGeneratorArgumentsclass. - DEFAULT_MONGO_UNIT_VALUE_INDICATOR_FIELD_NAME - Static variable in class org.mongounit.config.MongoUnitProperties
-
Default field name to use in developer JSON files to signify that a document is a representation of a special MongoUnit value.
- documents(List<Map<String, Object>>) - Method in class org.mongounit.model.MongoUnitCollection.MongoUnitCollectionBuilder
- DROP_DATABASE_PROP_NAME - Static variable in class org.mongounit.config.MongoUnitProperties
-
Name of the property that specifies if the test database should be dropped so there is no need for manual cleanup.
- dropAllCollectionsInDatabase() - Static method in class org.mongounit.MongoUnit
-
Finds and drops all of the collections in the database that the MongoUnit framework is configured to automatically connect to.
- dropAllCollectionsInDatabase(MongoDatabase) - Static method in class org.mongounit.MongoUnitUtil
-
Finds and drops all of the collections in the provided 'mongoDatabase'.
E
- equals(Object) - Method in class org.mongounit.DatasetGeneratorArguments
- equals(Object) - Method in class org.mongounit.model.AssertionResult
- equals(Object) - Method in class org.mongounit.model.MongoUnitCollection
- equals(Object) - Method in class org.mongounit.model.MongoUnitValue
- extractListArgumentValues(String) - Static method in class org.mongounit.DatasetGenerator
- extractMongoUnitDatasets(ExtensionContext, String, boolean) - Static method in class org.mongounit.MongoUnitUtil
-
Extracts MongoUnit datasets based on the potential class or method level MongoUnit annotations.
- extractMongoUnitValue(Map<String, Object>, String) - Static method in class org.mongounit.MongoUnitUtil
- extractTestClassName(Class<?>) - Static method in class org.mongounit.MongoUnitUtil
F
- fromDatabase(MongoDatabase, MongoUnitProperties, List<String>, String...) - Static method in class org.mongounit.MongoUnitUtil
-
Returns a list of
MongoUnitCollections that represents the dataset stored in the provided 'mongoDatabase'.
G
- generateMongoUnitValueDocument(String, String, Object) - Static method in class org.mongounit.MongoUnitUtil
- generateNewMongoClientURI(String, boolean, String) - Static method in class org.mongounit.config.MongoUnitConfigurationUtil
- generateNewMongoClientURI(Environment) - Static method in class org.mongounit.config.MongoUnitConfigurationUtil
-
Returns new
MongoClientURIinstance that contains newly generated URI, based on 'mongounit.properties'. - getAssertMatchesDatasetAnnotations() - Method in class org.mongounit.model.MongoUnitAnnotations
- getAssertMatchesDatasets() - Method in class org.mongounit.model.MongoUnitDatasets
- getBaseUri() - Method in class org.mongounit.config.MongoUnitProperties
- getBsonType() - Method in class org.mongounit.model.MongoUnitValue
- getCollectionName() - Method in class org.mongounit.model.MongoUnitCollection
- getCollectionNames() - Method in class org.mongounit.DatasetGeneratorArguments
- getComparatorValue() - Method in class org.mongounit.model.MongoUnitValue
- getDocuments() - Method in class org.mongounit.model.MongoUnitCollection
- getFileLocations(ExtensionContext, String[], String[], boolean, String, String) - Static method in class org.mongounit.MongoUnitUtil
- getMessage() - Method in class org.mongounit.model.AssertionResult
- getMongoClientURI() - Method in class org.mongounit.DatasetGeneratorArguments
- getMongoUnitValueFieldNameIndicator() - Method in class org.mongounit.config.MongoUnitProperties
-
Returns ield name to use as an indicator in developer JSON files to signify that a document is a representation of a special MongoUnit value.
- getMongoUnitValueFieldNameIndicator() - Method in class org.mongounit.DatasetGeneratorArguments
- getObject() - Method in class org.mongounit.config.MongoDatabaseFactoryBean
- getObjectType() - Method in class org.mongounit.config.MongoDatabaseFactoryBean
- getOutputPath() - Method in class org.mongounit.DatasetGeneratorArguments
- getPreserveBsonTypes() - Method in class org.mongounit.DatasetGeneratorArguments
- getSeedWithDatasetAnnotations() - Method in class org.mongounit.model.MongoUnitAnnotations
- getSeedWithDatasets() - Method in class org.mongounit.model.MongoUnitDatasets
- getTestClassNamePath(Class<?>) - Static method in class org.mongounit.MongoUnitUtil
- getTimeZoneId() - Method in class org.mongounit.config.MongoUnitProperties
- getValue() - Method in class org.mongounit.model.MongoUnitValue
H
- hashCode() - Method in class org.mongounit.DatasetGeneratorArguments
- hashCode() - Method in class org.mongounit.model.AssertionResult
- hashCode() - Method in class org.mongounit.model.MongoUnitCollection
- hashCode() - Method in class org.mongounit.model.MongoUnitValue
I
- isAssertAnnotationPresent() - Method in class org.mongounit.model.MongoUnitDatasets
- isBaseUriKeepAsIs() - Method in class org.mongounit.config.MongoUnitProperties
- isDropDatabase() - Method in class org.mongounit.config.MongoUnitProperties
- isMatch() - Method in class org.mongounit.model.AssertionResult
- isRunning() - Method in class org.mongounit.config.MongoUnitConfiguration.ApplicationLifecycle
- isSingleton() - Method in class org.mongounit.config.MongoDatabaseFactoryBean
L
- loadDatasetFromLocation(String, Class<?>) - Static method in class org.mongounit.MongoUnit
-
Returns a list of
MongoUnitCollections that represent the JSON-based data pointed to by the provided 'locations' array of paths. - loadDatasetFromLocations(String[], Class<?>) - Static method in class org.mongounit.MongoUnit
-
Returns a list of
MongoUnitCollections that represent the JSON-based data pointed to by the provided 'locations' array of paths. - loadDatasetFromLocations(String[], LocationType, Class<?>) - Static method in class org.mongounit.MongoUnit
-
Returns a list of
MongoUnitCollections that represent the JSON-based data pointed to by the provided 'locations' array of paths. - loadMongoUnitProperties() - Static method in class org.mongounit.config.MongoUnitConfigurationUtil
- locations() - Element in annotation interface org.mongounit.AssertMatchesDataset
-
List of locations of JSON files that contain the dataset to match the state the database with.
- locations() - Element in annotation interface org.mongounit.SeedWithDataset
-
List of locations of JSON files that contain the dataset to seed the database with.
- locationType() - Element in annotation interface org.mongounit.AssertMatchesDataset
- locationType() - Element in annotation interface org.mongounit.SeedWithDataset
- LocationType - Enum Class in org.mongounit
-
LocationTypeenum specifies how 'locations' values inSeedWithDatasetandAssertMatchesDatasetannotations should be interpreted.
M
- main(String[]) - Static method in class org.mongounit.DatasetGenerator
-
Main method for the
DatasetGenerator. - match(boolean) - Method in class org.mongounit.model.AssertionResult.AssertionResultBuilder
- message(String) - Method in class org.mongounit.model.AssertionResult.AssertionResultBuilder
- MONGO_UNIT_FIELD_NAME_PROP_NAME - Static variable in class org.mongounit.config.MongoUnitProperties
-
Name of the property that specifies the field name to indicate that a document represents a special MongoUnit field instead of a regular document.
- MONGO_UNIT_PROPERTIES_FILE_URI - Static variable in class org.mongounit.config.MongoUnitProperties
-
Classpath-based mongounit.properties URI.
- mongoClientURI(MongoClientURI) - Method in class org.mongounit.DatasetGeneratorArguments.DatasetGeneratorArgumentsBuilder
- MongoDatabaseFactoryBean - Class in org.mongounit.config
-
MongoDatabaseFactoryBeanclass is a definition of the MongoUnit specificMongoDatabaseFactorybean to be substituted for originally configured one in the Spring context. - MongoDatabaseFactoryBean() - Constructor for class org.mongounit.config.MongoDatabaseFactoryBean
- MongoDatabaseGuardConfiguration - Class in org.mongounit.config
-
MongoDatabaseGuardConfigurationconfiguration is a bean definition registry post processor that substitutes a customMongoDatabaseFactorythat modifies the database URI. - MongoDatabaseGuardConfiguration() - Constructor for class org.mongounit.config.MongoDatabaseGuardConfiguration
- MongoUnit - Class in org.mongounit
-
MongoUnitclass contains utilities for manually seeding and performing assertion matches. - MongoUnit() - Constructor for class org.mongounit.MongoUnit
- MongoUnitAnnotations - Class in org.mongounit.model
-
MongoUnitAnnotationsclass is a holder ofAssertMatchesDatasetandSeedWithDatasetannotations discovered on a test class or a test method. - MongoUnitAnnotations() - Constructor for class org.mongounit.model.MongoUnitAnnotations
-
Default constructor.
- MongoUnitAnnotations(List<SeedWithDataset>, List<AssertMatchesDataset>) - Constructor for class org.mongounit.model.MongoUnitAnnotations
-
Constructor.
- MongoUnitCollection - Class in org.mongounit.model
-
MongoUnitCollectionclass contains information needed to read or seed the database with for a single collection. - MongoUnitCollection() - Constructor for class org.mongounit.model.MongoUnitCollection
-
Default constructor.
- MongoUnitCollection(String, List<Map<String, Object>>) - Constructor for class org.mongounit.model.MongoUnitCollection
-
Constructor.
- MongoUnitCollection.MongoUnitCollectionBuilder - Class in org.mongounit.model
-
MongoUnitCollection.MongoUnitCollectionBuilderclass is a builder pattern class for theMongoUnitCollectionclass. - MongoUnitConfiguration - Class in org.mongounit.config
-
MongoUnitConfigurationis a configuration class that configures database protection post processor. - MongoUnitConfiguration() - Constructor for class org.mongounit.config.MongoUnitConfiguration
- MongoUnitConfiguration.ApplicationLifecycle - Class in org.mongounit.config
-
MongoUnitConfiguration.ApplicationLifecycleclass is a Spring component used to optionally drop the database once all the tests complete execution. - MongoUnitConfigurationUtil - Class in org.mongounit.config
-
MongoUnitConfigurationUtilclass provides utility methods to make accessing 'mongounit.properties' file and its property values easier. - MongoUnitConfigurationUtil() - Constructor for class org.mongounit.config.MongoUnitConfigurationUtil
- MongoUnitDatasets - Class in org.mongounit.model
-
MongoUnitDatasetsclass contains seed and assert datasets. - MongoUnitDatasets() - Constructor for class org.mongounit.model.MongoUnitDatasets
-
Default constructor.
- MongoUnitDatasets(List<MongoUnitCollection>, List<MongoUnitCollection>, boolean) - Constructor for class org.mongounit.model.MongoUnitDatasets
-
Constructor.
- MongoUnitException - Exception Class in org.mongounit
-
MongoUnitExceptionclass represents the root exception of any exceptions in the MongoUnit framework. - MongoUnitException() - Constructor for exception class org.mongounit.MongoUnitException
- MongoUnitException(String) - Constructor for exception class org.mongounit.MongoUnitException
- MongoUnitException(String, Throwable) - Constructor for exception class org.mongounit.MongoUnitException
- MongoUnitException(String, Throwable, boolean, boolean) - Constructor for exception class org.mongounit.MongoUnitException
- MongoUnitException(Throwable) - Constructor for exception class org.mongounit.MongoUnitException
- MongoUnitExtension - Class in org.mongounit
-
MongoUnitExtensionclass is a JUnit 5 extension which enables the MongoUnit framework features in a test target. - MongoUnitExtension() - Constructor for class org.mongounit.MongoUnitExtension
- MongoUnitProperties - Class in org.mongounit.config
-
MongoUnitPropertiesclass is a holder for mongounit.properties property values. - MongoUnitProperties() - Constructor for class org.mongounit.config.MongoUnitProperties
-
Default constructor.
- MongoUnitProperties(String, Boolean, String, Boolean, String) - Constructor for class org.mongounit.config.MongoUnitProperties
-
Constructor.
- MongoUnitTest - Annotation Interface in org.mongounit
-
MongoUnitTestis an annotation meant to be placed on JUnit classes to autoconfigure the Spring-based MongoDatabaseFactory to use a test database for the integration tests. - MongoUnitUtil - Class in org.mongounit
- MongoUnitUtil() - Constructor for class org.mongounit.MongoUnitUtil
- MongoUnitValue - Class in org.mongounit.model
-
MongoUnitValueclass represents the fields and values represented by the special format of the MongoUnit value. - MongoUnitValue() - Constructor for class org.mongounit.model.MongoUnitValue
-
Default constructor.
- MongoUnitValue(String, Object, String) - Constructor for class org.mongounit.model.MongoUnitValue
-
Constructor.
- MongoUnitValue.MongoUnitValueBuilder - Class in org.mongounit.model
-
MongoUnitValue.MongoUnitValueBuilderclass is a builder pattern class for theMongoUnitValueclass. - mongoUnitValueFieldNameIndicator(String) - Method in class org.mongounit.DatasetGeneratorArguments.DatasetGeneratorArgumentsBuilder
N
- name() - Element in annotation interface org.mongounit.MongoUnitTest
O
- org.mongounit - package org.mongounit
- org.mongounit.config - package org.mongounit.config
- org.mongounit.model - package org.mongounit.model
- outputPath(String) - Method in class org.mongounit.DatasetGeneratorArguments.DatasetGeneratorArgumentsBuilder
P
- postProcessBeanDefinitionRegistry(BeanDefinitionRegistry) - Method in class org.mongounit.config.MongoDatabaseGuardConfiguration
- postProcessBeanFactory(ConfigurableListableBeanFactory) - Method in class org.mongounit.config.MongoDatabaseGuardConfiguration
- preserveBsonTypes(List<String>) - Method in class org.mongounit.DatasetGeneratorArguments.DatasetGeneratorArgumentsBuilder
R
- retrieveDatasetFromLocations(String[], LocationType, Class<?>, String) - Static method in class org.mongounit.MongoUnitUtil
-
Returns List of
MongoUnitCollections based on the data pointed to by provided 'fileLocations'. - retrieveResourceFromFile(String, LocationType, Class<?>, String) - Static method in class org.mongounit.MongoUnitUtil
- reuseForAssertion() - Element in annotation interface org.mongounit.SeedWithDataset
-
Returns whether or not the dataset(s) of this annotation should also be used when building up the dataset(s) with which to assert.
S
- seedWithDataset(String[], Class<?>) - Static method in class org.mongounit.MongoUnit
-
Seeds the database with the JSON-based datasets pointed to by the provided 'locations' path array.
- seedWithDataset(String[], LocationType, Class<?>) - Static method in class org.mongounit.MongoUnit
-
Seeds the database with the JSON-based datasets pointed to by the provided 'locations' path array.
- seedWithDataset(String, Class<?>) - Static method in class org.mongounit.MongoUnit
-
Seeds the database with the JSON-based datasets pointed to by the provided 'locations' path array.
- SeedWithDataset - Annotation Interface in org.mongounit
-
SeedWithDatasetannotation specifies location(s) of a JSON-based file(s) with data to seed the database before a target test is executed. - SeedWithDatasets - Annotation Interface in org.mongounit
-
SeedWithDatasetsannotation enables theSeedWithDatasetannotation to be repeatable. - setAssertAnnotationPresent(boolean) - Method in class org.mongounit.model.MongoUnitDatasets
- setAssertMatchesDatasetAnnotations(List<AssertMatchesDataset>) - Method in class org.mongounit.model.MongoUnitAnnotations
- setAssertMatchesDatasets(List<MongoUnitCollection>) - Method in class org.mongounit.model.MongoUnitDatasets
- setBsonType(String) - Method in class org.mongounit.model.MongoUnitValue
- setCollectionName(String) - Method in class org.mongounit.model.MongoUnitCollection
- setCollectionNames(List<String>) - Method in class org.mongounit.DatasetGeneratorArguments
- setComparatorValue(String) - Method in class org.mongounit.model.MongoUnitValue
- setDocuments(List<Map<String, Object>>) - Method in class org.mongounit.model.MongoUnitCollection
- setEnvironment(Environment) - Method in class org.mongounit.config.MongoDatabaseFactoryBean
- setMatch(boolean) - Method in class org.mongounit.model.AssertionResult
- setMessage(String) - Method in class org.mongounit.model.AssertionResult
- setMongoClientURI(MongoClientURI) - Method in class org.mongounit.DatasetGeneratorArguments
- setMongoUnitValueFieldNameIndicator(String) - Method in class org.mongounit.DatasetGeneratorArguments
- setOutputPath(String) - Method in class org.mongounit.DatasetGeneratorArguments
- setPreserveBsonTypes(List<String>) - Method in class org.mongounit.DatasetGeneratorArguments
- setSeedWithDatasetAnnotations(List<SeedWithDataset>) - Method in class org.mongounit.model.MongoUnitAnnotations
- setSeedWithDatasets(List<MongoUnitCollection>) - Method in class org.mongounit.model.MongoUnitDatasets
- setValue(Object) - Method in class org.mongounit.model.MongoUnitValue
- start() - Method in class org.mongounit.config.MongoUnitConfiguration.ApplicationLifecycle
- stop() - Method in class org.mongounit.config.MongoUnitConfiguration.ApplicationLifecycle
T
- TIME_ZONE_ID_PROP_NAME - Static variable in class org.mongounit.config.MongoUnitProperties
-
Name of the property that specifies the time zone ID to use for the database name pad.
- toDatabase(List<MongoUnitCollection>, MongoDatabase, MongoUnitProperties) - Static method in class org.mongounit.MongoUnitUtil
-
Seeds an existing database provided by 'mongoDatabase' with dataset represented in the
MongoUnitCollections schema by the provided 'jsonMongoUnitCollections'. - toMongoUnitTypedCollectionsFromJson(String) - Static method in class org.mongounit.MongoUnitUtil
- toString() - Method in class org.mongounit.config.MongoUnitProperties
- toString() - Method in class org.mongounit.DatasetGeneratorArguments.DatasetGeneratorArgumentsBuilder
- toString() - Method in class org.mongounit.DatasetGeneratorArguments
- toString() - Method in class org.mongounit.model.AssertionResult.AssertionResultBuilder
- toString() - Method in class org.mongounit.model.AssertionResult
- toString() - Method in class org.mongounit.model.MongoUnitAnnotations
- toString() - Method in class org.mongounit.model.MongoUnitCollection.MongoUnitCollectionBuilder
- toString() - Method in class org.mongounit.model.MongoUnitCollection
- toString() - Method in class org.mongounit.model.MongoUnitDatasets
- toString() - Method in class org.mongounit.model.MongoUnitValue.MongoUnitValueBuilder
- toString() - Method in class org.mongounit.model.MongoUnitValue
V
- value() - Element in annotation interface org.mongounit.AssertMatchesDataset
-
List of locations of JSON files that contain the dataset to match the state the database with.
- value() - Element in annotation interface org.mongounit.AssertMatchesDatasets
- value() - Element in annotation interface org.mongounit.SeedWithDataset
-
List of locations of JSON files that contain the dataset to seed the database with.
- value() - Element in annotation interface org.mongounit.SeedWithDatasets
- value(Object) - Method in class org.mongounit.model.MongoUnitValue.MongoUnitValueBuilder
- valueOf(String) - Static method in enum class org.mongounit.LocationType
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class org.mongounit.LocationType
-
Returns an array containing the constants of this enum class, in the order they are declared.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form