Uses of Enum Class
org.mongounit.LocationType
Packages that use LocationType
-
Uses of LocationType in org.mongounit
Methods in org.mongounit that return LocationTypeModifier and TypeMethodDescriptionstatic LocationTypeReturns the enum constant of this class with the specified name.static LocationType[]LocationType.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.mongounit with parameters of type LocationTypeModifier and TypeMethodDescriptionstatic voidMongoUnit.assertMatchesDataset(String[] locations, LocationType locationType, Class<?> relativePackageClass) 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.static List<MongoUnitCollection> MongoUnit.loadDatasetFromLocations(String[] locations, LocationType locationType, Class<?> relativePackageClass) Returns a list ofMongoUnitCollections that represent the JSON-based data pointed to by the provided 'locations' array of paths.static List<MongoUnitCollection> MongoUnitUtil.retrieveDatasetFromLocations(String[] fileLocations, LocationType locationType, Class<?> relativePackageClass, String testClassName) Returns List ofMongoUnitCollections based on the data pointed to by provided 'fileLocations'.static StringMongoUnitUtil.retrieveResourceFromFile(String location, LocationType locationType, Class<?> relativePackageClass, String testClassName) static List<MongoUnitCollection> MongoUnit.seedWithDataset(String[] locations, LocationType locationType, Class<?> relativePackageClass) Seeds the database with the JSON-based datasets pointed to by the provided 'locations' path array.