Uses of Class
org.forgerock.util.annotations.VisibleForTesting
-
Packages that use VisibleForTesting Package Description org.forgerock.audit.util This package contains utility classes used in the audit service.org.forgerock.opendj.setup.cli Contains code of the setup command line interface tool.org.forgerock.opendj.setup.model Contains code of the opendj setup model.org.opends.server.api Contains a number of API declarations for use throughout the Directory Server.org.opends.server.backends.pluggable Contains the code for implementing Directory Server pluggable storage backends.org.opends.server.backup Classes related to backup and restore.org.opends.server.core Contains various classes that comprise the core of the Directory Server codebase.org.opends.server.extensions Contains various implementations of Directory Server APIs that are not appropriate for other packages.org.opends.server.loggers Contains implementations of Directory Server access, error, and debug loggers.org.opends.server.replication.plugin This package contains the part of the Multi-master replication code that works on the Directory Server side.org.opends.server.replication.protocol This package contains the code used by the replication server and by the code running on the Directory Server side to exchange their information.org.opends.server.replication.server This package contains the code for the Replication Server part of the Multimaster replication feature.org.opends.server.replication.server.changelog.file This package contains a file-based log implementation for the changelog database API.org.opends.server.replication.service This package contains the generic of the Multi-Master replication code that works on the Directory Server side.org.opends.server.tools.upgrade Defines the specific classes that are used by the upgrade tool.org.opends.server.util Contains implementations for various Directory Server utility classes and methods which may be used throughout the server but do not necessarily fit in elsewhere. -
-
Uses of VisibleForTesting in org.forgerock.audit.util
Fields in org.forgerock.audit.util with annotations of type VisibleForTesting Modifier and Type Field Description protected static String
ElasticsearchUtil. FIELD_NAMES_FIELD
JSON field-name of normalized field-names.protected static String
ElasticsearchUtil. NORMALIZED_FIELD
JSON field-name of metadata to assist in de-normalization.Methods in org.forgerock.audit.util with annotations of type VisibleForTesting Modifier and Type Method Description protected static String
ElasticsearchUtil. replaceKeyPeriodsWithUnderscores(String json)
Replaces all period-characters in JSON keys with underscore-characters [ref].protected static JsonValue
ElasticsearchUtil. restoreKeyPeriods(JsonValue value, JsonValue normalized)
Reverses the normalization steps preformed byElasticsearchUtil.replaceKeyPeriodsWithUnderscores(String)
. -
Uses of VisibleForTesting in org.forgerock.opendj.setup.cli
Methods in org.forgerock.opendj.setup.cli with annotations of type VisibleForTesting Modifier and Type Method Description static com.forgerock.opendj.cli.ReturnCode
SetupCli. runSetup(PrintStream outStream, PrintStream errStream, String... args)
The main method to be called by unit tests. -
Uses of VisibleForTesting in org.forgerock.opendj.setup.model
Fields in org.forgerock.opendj.setup.model with annotations of type VisibleForTesting Modifier and Type Field Description static String
Setup. JVM_TRUST_MANAGER_PROVIDER
The name of the JVM trust manager provider provided in the config template.static Path
SetupConstants. KEYSTORE_PIN_FILE_RELATIVE_PATH
Relative instance path of the generated deployment SSL keystore PIN file.static Path
SetupConstants. TRUSTSTORE_PIN_FILE_RELATIVE_PATH
Relative instance path of the generated SSL truststore PIN file.Methods in org.forgerock.opendj.setup.model with annotations of type VisibleForTesting Modifier and Type Method Description static void
SetupUtils. writeVersionsInConfigFile(Path configFile)
Writes server binary and upgrade version in the provided LDIF config file. -
Uses of VisibleForTesting in org.opends.server.api
Methods in org.opends.server.api with annotations of type VisibleForTesting Modifier and Type Method Description abstract String
EntryCache. toVerboseString()
Return a verbose string representation of the current cache maps. -
Uses of VisibleForTesting in org.opends.server.backends.pluggable
Methods in org.opends.server.backends.pluggable with annotations of type VisibleForTesting Modifier and Type Method Description void
BackendImpl. clearBackend()
Clears the contents of this backend, including any database files. -
Uses of VisibleForTesting in org.opends.server.backup
Classes in org.opends.server.backup with annotations of type VisibleForTesting Modifier and Type Class Description class
BackupFileManager
A backup file manager is responsible for securely and lazily saving backend files and metadata to its underlying backup storage.Methods in org.opends.server.backup with annotations of type VisibleForTesting Modifier and Type Method Description Set<BackupId>
BackupFileManager. getBackupIds()
Returns the set of metadata IDS found in the underlying backup storage.Backup
BackupFileManager. readBackup(BackupId backupId)
Reads the backup file with the provided ID from the underlying backup storage and converts it to a backup object.Constructors in org.opends.server.backup with annotations of type VisibleForTesting Constructor Description BackupManager(BackupFileManager backupFileManager, String serverId)
Constructor. -
Uses of VisibleForTesting in org.opends.server.core
Classes in org.opends.server.core with annotations of type VisibleForTesting Modifier and Type Class Description static class
EntryCacheConfigManager.EntryCacheDispatcher
This class defines the entry cache dispatcher which acts as an arbiter for every entry cache implementation configured and installed within the Directory Server or acts an an empty cache if no implementation specific entry cache is configured.Methods in org.opends.server.core with annotations of type VisibleForTesting Modifier and Type Method Description void
GroupManager. deregisterAllGroups()
Removes all group instances that might happen to be registered with the group manager.Set<ClientConnection>
AuthenticatedUsers. get(Dn userDN)
Retrieves the set of client connections authenticated as the specified user.protected boolean
BoundedWorkQueueStrategy. tryEnqueueRequest(Operation op)
Tries to add the provided operation to the work queue if not full so that it will be processed by one of the worker threads. -
Uses of VisibleForTesting in org.opends.server.extensions
Fields in org.opends.server.extensions with annotations of type VisibleForTesting Modifier and Type Field Description static byte
ExtensionsConstants. TYPE_PASSWORD_MODIFY_NEW_PASSWORD
The ASN.1 element type that will be used to encode the newPasswd component in a password modify extended request.static byte
ExtensionsConstants. TYPE_PASSWORD_MODIFY_OLD_PASSWORD
The ASN.1 element type that will be used to encode the oldPasswd component in a password modify extended request.static byte
ExtensionsConstants. TYPE_PASSWORD_MODIFY_USER_ID
The ASN.1 element type that will be used to encode the userIdentity component in a password modify extended request.Methods in org.opends.server.extensions with annotations of type VisibleForTesting Modifier and Type Method Description LdapUrl[]
DynamicGroup. getMemberURLs()
Retrieves the set of member URLs for this dynamic group. -
Uses of VisibleForTesting in org.opends.server.loggers
Constructors in org.opends.server.loggers with annotations of type VisibleForTesting Constructor Description TextAccessLogPublisher(TextWriter writer, ServerContext serverContext)
Prints all messages to the provided writer. -
Uses of VisibleForTesting in org.opends.server.replication.plugin
Methods in org.opends.server.replication.plugin with annotations of type VisibleForTesting Modifier and Type Method Description static Collection<Dn>
MultimasterReplication. getDomainDns()
Returns the DNs of the replication domains.static EntryHistorical
EntryHistorical. newInstanceFromEntry(Entry entry)
Construct an Historical object from the provided entry by reading the historical attribute.Constructors in org.opends.server.replication.plugin with annotations of type VisibleForTesting Constructor Description EntryHistoricalAttribute(EntryHistorical entryHistorical)
Creates a new ds-sync-hist attribute whose content is based on the provided historical information. -
Uses of VisibleForTesting in org.opends.server.replication.protocol
Methods in org.opends.server.replication.protocol with annotations of type VisibleForTesting Modifier and Type Method Description Map<Integer,ServerState>
MonitorMsg. getReplicaServerStates()
Returns the map of replica Ids to server states. -
Uses of VisibleForTesting in org.opends.server.replication.server
Methods in org.opends.server.replication.server with annotations of type VisibleForTesting Modifier and Type Method Description boolean
ReplicationServerDomain. hasDifferentGenerationIdThan(ReplicaId replicaId)
Returns whether the provided replica has a different generationId than this replication domain.void
ReplicationServerDomain. resetGenerationId()
Resets the generation id to its default value.static void
HeartbeatPublisher. setHeartbeatsDisabled(boolean heartbeatsDisabled)
For testing purposes only to simulate loss of heartbeats. -
Uses of VisibleForTesting in org.opends.server.replication.server.changelog.file
Methods in org.opends.server.replication.server.changelog.file with annotations of type VisibleForTesting Modifier and Type Method Description void
FileChangelogDB. clearDB()
Clears all records from the changelog (does not remove the changelog itself). -
Uses of VisibleForTesting in org.opends.server.replication.service
Methods in org.opends.server.replication.service with annotations of type VisibleForTesting Modifier and Type Method Description int
ReplicationDomain. getReplicationServerPort()
Get the port of the replicationServer to which this domain is currently connected.ReplicationMsg
ReplicationBroker. receive()
Receive a message. -
Uses of VisibleForTesting in org.opends.server.tools.upgrade
Fields in org.opends.server.tools.upgrade with annotations of type VisibleForTesting Modifier and Type Field Description static String
UpgradeCli. OPTION_LONG_FORCE_UPGRADE
The value for the long option force upgrade. -
Uses of VisibleForTesting in org.opends.server.util
Fields in org.opends.server.util with annotations of type VisibleForTesting Modifier and Type Field Description static ScheduledExecutorService
CronExecutorService. NULL_CRON_EXECUTOR
A Null CronExecutor, used during server shutdown.
-