final class SingleParticipantTestContext extends ParticipantTestContext with ExternalPartyUtils
Exposes services running on some participant server in a test case.
Each time a test case is run it receives a fresh instance of SingleParticipantTestContext (one for every used participant server).
- Annotations
- @nowarn()
- Alphabetic
- By Inheritance
- SingleParticipantTestContext
- ExternalPartyUtils
- EitherValues
- Serializable
- FutureHelpers
- ScalaFuturesWithPatience
- ScalaFutures
- Futures
- PatienceConfiguration
- AbstractPatienceConfiguration
- ScaledTimeSpans
- Assertions
- TripleEquals
- TripleEqualsSupport
- ParticipantTestContext
- UserManagementTestContext
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- implicit class CheckedTFutureUnlessShutdownSyntax[A, N, R] extends AnyRef
- Definition Classes
- FutureHelpers
- class CheckingEqualizer[L] extends AnyRef
- Definition Classes
- TripleEqualsSupport
- implicit class EitherTFutureUnlessShutdownSyntax[E, A] extends AnyRef
- Definition Classes
- FutureHelpers
- implicit class EitherTTestSyntax[F[_], E, A] extends AnyRef
- Definition Classes
- FutureHelpers
- implicit class EitherTUnlessShutdownSyntax[E, A] extends AnyRef
- Definition Classes
- FutureHelpers
- implicit class EitherTestSyntax[E, A] extends AnyRef
- Definition Classes
- FutureHelpers
- class Equalizer[L] extends AnyRef
- Definition Classes
- TripleEqualsSupport
- trait FutureConcept[T] extends AnyRef
- Definition Classes
- Futures
- implicit class FutureUnlessShutdownSyntax[A] extends AnyRef
- Definition Classes
- FutureHelpers
- class LeftValuable[L, R] extends Serializable
- Definition Classes
- EitherValues
- implicit class OptionTestSyntax[A] extends AnyRef
- Definition Classes
- FutureHelpers
- final case class PatienceConfig extends Product with Serializable
- Definition Classes
- AbstractPatienceConfiguration
- class RightValuable[L, R] extends Serializable
- Definition Classes
- EitherValues
- implicit class UnlessShutdownSyntax[A] extends AnyRef
- Definition Classes
- FutureHelpers
- class Valuable[L, R] extends Serializable
- Definition Classes
- EitherValues
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def !==[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]
- Definition Classes
- TripleEqualsSupport
- def !==(right: Null): TripleEqualsInvocation[Null]
- Definition Classes
- TripleEqualsSupport
- def !==[T](right: T): TripleEqualsInvocation[T]
- Definition Classes
- TripleEqualsSupport
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ===[T](right: Spread[T]): TripleEqualsInvocationOnSpread[T]
- Definition Classes
- TripleEqualsSupport
- def ===(right: Null): TripleEqualsInvocation[Null]
- Definition Classes
- TripleEqualsSupport
- def ===[T](right: T): TripleEqualsInvocation[T]
- Definition Classes
- TripleEqualsSupport
- def activeContracts(parties: Option[Seq[Party]], activeAtOffsetO: Option[Long] = None, verbose: Boolean = true): Future[Vector[CreatedEvent]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def activeContracts(request: GetActiveContractsRequest): Future[Vector[CreatedEvent]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def activeContractsByTemplateId(templateIds: Seq[Identifier], parties: Option[Seq[Party]], activeAtOffsetO: Option[Long], verbose: Boolean = true): Future[Vector[CreatedEvent]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def activeContractsIds(request: GetActiveContractsRequest): Future[Vector[ContractId[Any]]]
- Definition Classes
- ParticipantTestContext
- def activeContractsRequest(parties: Option[Seq[Party]], activeAtOffset: Long, templateIds: Seq[Identifier] = Seq.empty, interfaceFilters: Seq[(Identifier, IncludeInterfaceView)] = Seq.empty, verbose: Boolean = true): GetActiveContractsRequest
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def allocateExternalParty(req: AllocateExternalPartyRequest, minSynchronizers: Option[Int] = None): Future[Party]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def allocateExternalPartyRequest(partyIdHint: Option[String] = None, synchronizerId: String = ""): AllocateExternalPartyRequest
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def allocateParties(partiesCount: Int, minSynchronizers: Int): Future[Vector[Party]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def allocateParty(req: AllocatePartyRequest, minSynchronizers: Int): Future[(AllocatePartyResponse, Seq[String])]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def allocateParty(partyIdHint: Option[String] = None, localMetadata: Option[ObjectMeta] = None, identityProviderId: Option[String] = None, minSynchronizers: Option[Int] = None): Future[Party]
Non managed version of party allocation.
Non managed version of party allocation. Use exclusively when testing the party management service.
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def allocateParty(): Future[Party]
Managed version of party allocation, should be used anywhere a party has to be allocated unless the party management service itself is under test
Managed version of party allocation, should be used anywhere a party has to be allocated unless the party management service itself is under test
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- macro def assert(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
- macro def assert(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
- macro def assertCompiles(code: String)(implicit pos: Position): Assertion
- Definition Classes
- Assertions
- macro def assertDoesNotCompile(code: String)(implicit pos: Position): Assertion
- Definition Classes
- Assertions
- def assertResult(expected: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
- def assertResult(expected: Any, clue: Any)(actual: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
- def assertThrows[T <: AnyRef](f: => Any)(implicit classTag: ClassTag[T], pos: Position): Assertion
- Definition Classes
- Assertions
- macro def assertTypeError(code: String)(implicit pos: Position): Assertion
- Definition Classes
- Assertions
- macro def assume(condition: Boolean, clue: Any)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
- macro def assume(condition: Boolean)(implicit prettifier: Prettifier, pos: Position): Assertion
- Definition Classes
- Assertions
- val begin: Long
- Definition Classes
- ParticipantTestContext
- def cancel(cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- def cancel(message: String, cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- def cancel(message: String)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- def cancel()(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- def checkHealth(): Future[HealthCheckResponse]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def completionStreamRequest(from: Long = referenceOffset)(parties: Party*): CompletionStreamRequest
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def completions(within: NonNegativeFiniteDuration, request: CompletionStreamRequest): Future[Vector[CompletionResponse]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- implicit def convertEitherToValuable[L, R](either: Either[L, R])(implicit pos: Position): Valuable[L, R]
- Definition Classes
- EitherValues
- def convertEquivalenceToAToBConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: <:<[A, B]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- def convertEquivalenceToBToAConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: <:<[B, A]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- implicit def convertLeftProjectionToValuable[L, R](leftProj: LeftProjection[L, R])(implicit pos: Position): LeftValuable[L, R]
- Definition Classes
- EitherValues
- implicit def convertScalaFuture[T](scalaFuture: Future[T]): FutureConcept[T]
- Definition Classes
- ScalaFutures
- def convertToCheckingEqualizer[T](left: T): CheckingEqualizer[T]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- implicit def convertToEqualizer[T](left: T): Equalizer[T]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- def create[TCid <: ContractId[T], T <: Template](actAs: List[Party], readAs: List[Party], template: T)(implicit companion: ContractCompanion[_, TCid, T]): Future[TCid]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def create[TCid <: ContractId[T], T <: Template](party: Party, template: T)(implicit companion: ContractCompanion[_, TCid, T]): Future[TCid]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def createAndGetTransactionId[TCid <: ContractId[T], T <: Template](party: Party, template: T)(implicit companion: ContractCompanion[_, TCid, T]): Future[(String, TCid)]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def createIdentityProviderConfig(request: CreateIdentityProviderConfigRequest): Future[CreateIdentityProviderConfigResponse]
- Definition Classes
- UserManagementTestContext
- def createIdentityProviderConfig(identityProviderId: String = UUID.randomUUID().toString, isDeactivated: Boolean = false, issuer: String = UUID.randomUUID().toString, jwksUrl: String = "http://daml.com/jwks.json"): Future[CreateIdentityProviderConfigResponse]
- Definition Classes
- UserManagementTestContext
- def createUser(createUserRequest: CreateUserRequest): Future[CreateUserResponse]
Creates a new user.
Creates a new user.
Additionally keeps track of the created users so that they can be cleaned up automatically when the test case ends.
- Definition Classes
- UserManagementTestContext
- lazy val crypto: Crypto
- Definition Classes
- ExternalPartyUtils
- def currentEnd(): Future[Long]
Gets the absolute offset of the ledger end at a point in time.
Gets the absolute offset of the ledger end at a point in time.
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def defaultEquality[A]: Equality[A]
- Definition Classes
- TripleEqualsSupport
- implicit val defaultPatience: PatienceConfig
- Definition Classes
- ScalaFuturesWithPatience
- lazy val delayMechanism: DelayMechanism
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def deleteCreateIdentityProviders(): Future[Unit]
- Definition Classes
- UserManagementTestContext
- def deleteCreatedUsers(): Future[Unit]
Intended to be called by the infrastructure code after a test case's execution has ended.
Intended to be called by the infrastructure code after a test case's execution has ended.
- Definition Classes
- UserManagementTestContext
- def deleteIdentityProviderConfig(request: DeleteIdentityProviderConfigRequest): Future[DeleteIdentityProviderConfigResponse]
- Definition Classes
- UserManagementTestContext
- def deleteUser(request: DeleteUserRequest): Future[DeleteUserResponse]
Deletes a user.
Deletes a user.
Additionally keeps track of the created users so that they can be cleaned up automatically when the test case ends.
- Definition Classes
- UserManagementTestContext
- implicit val ec: ExecutionContext
- Attributes
- protected[participant]
- Definition Classes
- SingleParticipantTestContext → UserManagementTestContext
- val endpointId: String
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def eventFormat(verbose: Boolean, partiesO: Option[Seq[Party]], templateIds: Seq[Identifier] = Seq.empty, interfaceFilters: Seq[(Identifier, IncludeInterfaceView)] = Seq.empty): EventFormat
Create an EventFormat with a set of Party objects.
Create an EventFormat with a set of Party objects.
You should use this only when you need to tweak the request of transactions(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, otherwise use the shortcut override that allows you to directly pass a set of Party
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def exercise[T](actAs: List[Party], readAs: List[Party], exercise: Update[T]): Future[TransactionTree]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def exercise[T](party: Party, exercise: Update[T]): Future[TransactionTree]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def exerciseAndGetContract[TCid <: ContractId[T], T](party: Party, exercise: Update[Exercised[TCid]])(implicit companion: ContractCompanion[_, TCid, T]): Future[TCid]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def exerciseAndGetContractNoDisclose[TCid <: ContractId[_]](party: Party, exercise: Update[Exercised[Unit]])(implicit companion: ContractCompanion[_, TCid, _]): Future[TCid]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def exerciseByKey(party: Party, template: Identifier, key: Value, choice: String, argument: Value): Future[TransactionTree]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def exerciseForTransaction[T](party: Party, exercise: Update[T]): Future[Transaction]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- val externalPartyExecutionContext: ExecutionContext
- Definition Classes
- SingleParticipantTestContext → ExternalPartyUtils
- def fail(cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- def fail(message: String, cause: Throwable)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- def fail(message: String)(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- def fail()(implicit pos: Position): Nothing
- Definition Classes
- Assertions
- val features: Features
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def filters(templateIds: Seq[Identifier] = Seq.empty, interfaceFilters: Seq[(Identifier, IncludeInterfaceView)] = Seq.empty): Filters
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def findCompletion(parties: Party*)(p: (Completion) => Boolean): Future[Option[Completion]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def findCompletion(request: CompletionStreamRequest)(p: (Completion) => Boolean): Future[Option[Completion]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def findCompletionAtOffset(offset: Long, p: (Completion) => Boolean)(parties: Party*): Future[Option[Completion]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def firstCompletions(parties: Party*): Future[Vector[Completion]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def firstCompletions(request: CompletionStreamRequest): Future[Vector[Completion]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def flatTransactionByIdLegacy(transactionId: String, parties: Party*): Future[Transaction]
Managed version of flatTransactionByIdLegacy(transactionId:String,parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e.
Managed version of flatTransactionByIdLegacy(transactionId:String,parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def flatTransactionByOffsetLegacy(offset: Long, parties: Party*): Future[Transaction]
Managed version of transactionByOffsetLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this unless you need to tweak the request (i.e.
Managed version of transactionByOffsetLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def flatTransactionsByTemplateId(templateId: Identifier, parties: Option[Seq[Party]]): Future[Vector[Transaction]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def flatTransactionsLegacy(take: Int, parties: Party*): Future[Vector[Transaction]]
Managed version of flatTransactionsLegacy(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e.
Managed version of flatTransactionsLegacy(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def flatTransactionsLegacy(parties: Party*): Future[Vector[Transaction]]
Managed version of flatTransactionsLegacy(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e.
Managed version of flatTransactionsLegacy(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- implicit def futureAssertionOfEitherTAssertion[A](eitherTAssertion: EitherT[Future, A, Assertion])(implicit ec: ExecutionContext, pos: Position): Future[Assertion]
- Definition Classes
- FutureHelpers
- implicit def futureAssertionOfOptionTAssertion(optionTAssertion: OptionT[Future, Assertion])(implicit ec: ExecutionContext, pos: Position): Future[Assertion]
- Definition Classes
- FutureHelpers
- implicit def futureConceptOfEitherTFuture[A, B](eitherTFuture: EitherT[Future, A, B])(implicit ec: ExecutionContext): FutureConcept[B]
- Definition Classes
- FutureHelpers
- val futureSupervisor: FutureSupervisor
- Definition Classes
- SingleParticipantTestContext → ExternalPartyUtils
- def generateExternalPartyOnboardingTransactions(name: String, confirming: ParticipantId, extraConfirming: Seq[ParticipantId], observing: Seq[ParticipantId], confirmationThreshold: PositiveInt, numberOfKeys: PositiveInt, keyThreshold: PositiveInt): (OnboardingTransactions, ExternalParty)
- Definition Classes
- ExternalPartyUtils
- def generateProtocolSigningKeys(numberOfKeys: PositiveInt): NonEmpty[Seq[SigningPublicKey]]
- Definition Classes
- ExternalPartyUtils
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def getConnectedSynchronizers(party: Option[Party], participantId: Option[String]): Future[Set[String]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def getEventsByContractId(request: GetEventsByContractIdRequest): Future[GetEventsByContractIdResponse]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def getIdentityProviderConfig(request: GetIdentityProviderConfigRequest): Future[GetIdentityProviderConfigResponse]
- Definition Classes
- UserManagementTestContext
- def getPackage(packageId: String): Future[GetPackageResponse]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def getPackageStatus(packageId: String): Future[PackageStatus]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def getParticipantId(): Future[String]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def getParties(parties: Seq[Party]): Future[Seq[PartyDetails]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def getParties(req: GetPartiesRequest): Future[GetPartiesResponse]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def getPreferredPackageVersion(parties: Seq[Party], packageName: String, vettingValidAt: Option[Instant] = None, synchronizerIdO: Option[String] = None): Future[GetPreferredPackageVersionResponse]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def getPreferredPackages(vettingRequirements: Map[String, Seq[Party]], vettingValidAt: Option[Instant] = None, synchronizerIdO: Option[String] = None): Future[GetPreferredPackagesResponse]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def getTransactionByIdRequestLegacy(transactionId: String, parties: Seq[Party]): GetTransactionByIdRequest
Create a GetTransactionByIdRequest with an identifier and a set of Party objects.
Create a GetTransactionByIdRequest with an identifier and a set of Party objects. You should use this only when you need to tweak the request of transactionTreeById or flatTransactionByIdLegacy, otherwise use the shortcut override that allows you to directly pass the identifier and parties.
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def getTransactionByOffsetRequestLegacy(offset: Long, parties: Seq[Party]): GetTransactionByOffsetRequest
Create a GetTransactionByOffsetRequest with an identifier and a set of Party objects.
Create a GetTransactionByOffsetRequest with an identifier and a set of Party objects. You should use this only when you need to tweak the request of transactionTreeByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):* or flatTransactionByOffsetLegacy(offset:Long,parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, otherwise use the shortcut override that allows you to directly pass the identifier and parties.
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def getTransactionsRequest(transactionFilter: TransactionFilter, transactionShape: TransactionShape, begin: Long = referenceOffset): Future[GetUpdatesRequest]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def getTransactionsRequestLegacy(transactionFilter: TransactionFilter, begin: Long = referenceOffset): Future[GetUpdatesRequest]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def getTransactionsRequestWithEnd(transactionFilter: TransactionFilter, transactionShape: TransactionShape, begin: Long = referenceOffset, end: Option[Long]): GetUpdatesRequest
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def getTransactionsRequestWithEndLegacy(transactionFilter: TransactionFilter, begin: Long = referenceOffset, end: Option[Long]): GetUpdatesRequest
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def getUpdatesRequestWithEnd(transactionFormatO: Option[(TransactionFilter, TransactionShape)] = None, reassignmentsFilterO: Option[TransactionFilter] = None, topologyFilterO: Option[Seq[Party]] = None, begin: Long = referenceOffset, end: Option[Long] = None): GetUpdatesRequest
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def intercept[T <: AnyRef](f: => Any)(implicit classTag: ClassTag[T], pos: Position): T
- Definition Classes
- Assertions
- def interval(value: Span): Interval
- Definition Classes
- PatienceConfiguration
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def latestPrunedOffsets(): Future[(Long, Long)]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- val ledgerEndpoint: Either[JsonApiEndpoint, ChannelEndpoint]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def leftOrFail[A, B](e: Either[A, B])(clue: String)(implicit position: Position): A
- Definition Classes
- FutureHelpers
- def leftOrFail[F[_], A, B](e: EitherT[F, A, B])(clue: String)(implicit position: Position, F: Functor[F]): F[A]
- Definition Classes
- FutureHelpers
- def leftOrFailShutdown[A, B](e: EitherT[FutureUnlessShutdown, A, B])(clue: String)(implicit ec: ExecutionContext, position: Position): Future[A]
- Definition Classes
- FutureHelpers
- def legacyActiveContracts(parties: Option[Seq[Party]], activeAtOffsetO: Option[Long] = None): Future[Vector[CreatedEvent]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def legacyActiveContractsByTemplateId(templateIds: Seq[Identifier], parties: Option[Seq[Party]], activeAtOffsetO: Option[Long]): Future[Vector[CreatedEvent]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def legacyActiveContractsRequest(parties: Option[Seq[Party]], activeAtOffset: Long, templateIds: Seq[Identifier] = Seq.empty, interfaceFilters: Seq[(Identifier, IncludeInterfaceView)] = Seq.empty): GetActiveContractsRequest
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def listIdentityProviderConfig(): Future[ListIdentityProviderConfigsResponse]
- Definition Classes
- UserManagementTestContext
- def listKnownPackages(): Future[Seq[PackageDetails]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def listKnownParties(): Future[ListKnownPartiesResponse]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def listKnownParties(req: ListKnownPartiesRequest): Future[ListKnownPartiesResponse]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def listKnownPartiesExpanded(): Future[Set[Party]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def listPackages(): Future[Seq[String]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- val loggerFactory: SuppressingLogger
- Definition Classes
- SingleParticipantTestContext → ExternalPartyUtils
- def lowPriorityTypeCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], ev: <:<[A, B]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- val maxOffsetCheckpointEmissionDelay: NonNegativeFiniteDuration
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- val nextIdentityProviderId: () => String
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- val nextKeyId: () => String
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- val nextPartyId: () => String
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- val nextUserId: () => String
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def noneOrFail[A](e: OptionT[Future, A])(clue: String)(implicit ec: ExecutionContext, position: Position): Future[Assertion]
- Definition Classes
- FutureHelpers
- def noneOrFailUS[A](e: OptionT[FutureUnlessShutdown, A])(clue: String)(implicit ec: ExecutionContext, position: Position): FutureUnlessShutdown[Assertion]
- Definition Classes
- FutureHelpers
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def offsetBeyondLedgerEnd(): Future[Long]
Returns an absolute offset (positive integer) that is beyond the current ledger end.
Returns an absolute offset (positive integer) that is beyond the current ledger end.
Note: the offset might not be valid for the underlying ledger. This method can therefore only be used for offsets that are only interpreted by the ledger API server and not sent to the ledger.
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def offsets(n: Int, request: CompletionStreamRequest): Future[Vector[Long]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def participantAuthorizationTransaction(partyIdSubstring: String, begin: Option[Long] = None, end: Option[Long] = None): Future[TopologyTransaction]
- Definition Classes
- ParticipantTestContext
- val participantId: String
- implicit def patienceConfig: PatienceConfig
- Definition Classes
- PatienceConfiguration → AbstractPatienceConfiguration
- def pending: Assertion with PendingStatement
- Definition Classes
- Assertions
- def pendingUntilFixed(f: => Unit)(implicit pos: Position): Assertion with PendingStatement
- Definition Classes
- Assertions
- def prune(pruneUpTo: Long, attempts: Int = 10, pruneAllDivulgedContracts: Boolean = false): Future[PruneResponse]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def pruneCantonSafe(pruneUpTo: Long, party: Party, dummyCommand: (Party) => List[Command], pruneAllDivulgedContracts: Boolean = false)(implicit ec: ExecutionContext): Future[Unit]
We are retrying a command submission + pruning to get a safe-to-prune offset for Canton.
We are retrying a command submission + pruning to get a safe-to-prune offset for Canton. That's because in Canton pruning will fail unless ACS commitments have been exchanged between participants. To this end, repeatedly submitting commands is prompting Canton to exchange ACS commitments and allows the pruning call to eventually succeed.
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- val referenceOffset: Long
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- final def scaled(span: Span): Span
- Definition Classes
- ScaledTimeSpans
- val services: LedgerServices
- Attributes
- protected[participant]
- Definition Classes
- SingleParticipantTestContext → UserManagementTestContext
- def setTime(currentTime: Instant, newTime: Instant): Future[Unit]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def signTopologyTransaction[Op <: TopologyChangeOp, M <: TopologyMapping](party: PartyId, topologyTransaction: TopologyTransaction[Op, M]): SignedTopologyTransaction[Op, M]
- Definition Classes
- ExternalPartyUtils
- def signTxAs(hash: ByteString, p: ExternalParty): Map[PartyId, Seq[Signature]]
- Definition Classes
- ExternalPartyUtils
- def spanScaleFactor: Double
- Definition Classes
- ScaledTimeSpans
- def submit(request: SubmitRequest): Future[Unit]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def submitAndWait(request: SubmitAndWaitRequest): Future[SubmitAndWaitResponse]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def submitAndWaitForTransaction(request: SubmitAndWaitForTransactionRequest): Future[SubmitAndWaitForTransactionResponse]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def submitAndWaitForTransactionRequest(party: Party, commands: List[Command], transactionShape: TransactionShape, filterParties: Option[Seq[Party]] = None, templateIds: Option[Seq[Identifier]] = None): SubmitAndWaitForTransactionRequest
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def submitAndWaitForTransactionRequest(party: Party, commands: List[Command]): SubmitAndWaitForTransactionRequest
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def submitAndWaitForTransactionRequest(actAs: List[Party], readAs: List[Party], commands: List[Command]): SubmitAndWaitForTransactionRequest
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def submitAndWaitForTransactionTree(request: SubmitAndWaitRequest): Future[SubmitAndWaitForTransactionTreeResponse]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def submitAndWaitRequest(party: Party, commands: List[Command]): SubmitAndWaitRequest
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def submitAndWaitRequest(actAs: List[Party], readAs: List[Party], commands: List[Command]): SubmitAndWaitRequest
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def submitRequest(party: Party, commands: List[Command] = JList.of()): SubmitRequest
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def submitRequest(actAs: List[Party], readAs: List[Party], commands: List[Command]): SubmitRequest
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def submitRequestAndTolerateGrpcError[T](errorCodeToTolerateOnce: ErrorCode, submitAndWaitGeneric: (ParticipantTestContext) => Future[T]): Future[T]
This addresses a narrow case in which we tolerate a single occurrence of a specific and transient (and rare) error by retrying only a single time.
This addresses a narrow case in which we tolerate a single occurrence of a specific and transient (and rare) error by retrying only a single time.
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- final val succeed: Assertion
- Definition Classes
- Assertions
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def time(): Future[Instant]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def timeout(value: Span): Timeout
- Definition Classes
- PatienceConfiguration
- def timeouts: ProcessingTimeout
- Attributes
- protected
- Definition Classes
- SingleParticipantTestContext → ExternalPartyUtils
- def toString(): String
- Definition Classes
- SingleParticipantTestContext → AnyRef → Any
- def topologyTransactionById(updateId: String, parties: Seq[Party]): Future[TopologyTransaction]
Managed version of updateById(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByIdRequest):* for topology transactions, use this unless you need to tweak the request (i.e.
Managed version of updateById(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByIdRequest):* for topology transactions, use this unless you need to tweak the request (i.e. to test low-level details). If the parties list is empty then no filtering is applied to the topology transactions.
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def topologyTransactionByOffset(offset: Long, parties: Seq[Party]): Future[TopologyTransaction]
Managed version of updateByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByOffsetRequest):* for topology transactions, use this unless you need to tweak the request (i.e.
Managed version of updateByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByOffsetRequest):* for topology transactions, use this unless you need to tweak the request (i.e. to test low-level details). If the parties list is empty then no filtering is applied to the topology transactions.
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- implicit val traceContext: TraceContext
- Attributes
- protected
- Definition Classes
- SingleParticipantTestContext → ExternalPartyUtils
- def transactionById(updateId: String, parties: Seq[Party], transactionShape: TransactionShape, templateIds: Seq[Identifier] = Seq.empty): Future[Transaction]
Managed version of updateById(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByIdRequest):* for transactions, use this unless you need to tweak the request (i.e.
Managed version of updateById(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByIdRequest):* for transactions, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactionByIdLegacy(transactionId: String, parties: Seq[Party], transactionShape: TransactionShape, templateIds: Seq[Identifier] = Seq.empty): Future[Transaction]
Managed version of transactionByIdLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByIdRequest):*, use this unless you need to tweak the request (i.e.
Managed version of transactionByIdLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByIdRequest):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactionByIdLegacy(request: GetTransactionByIdRequest): Future[Transaction]
Non-managed version of transactionByIdLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByIdRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of transactionByIdLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByIdRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactionByOffset(offset: Long, parties: Seq[Party], transactionShape: TransactionShape, templateIds: Seq[Identifier] = Seq.empty): Future[Transaction]
Managed version of updateByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByOffsetRequest):* for transactions, use this unless you need to tweak the request (i.e.
Managed version of updateByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByOffsetRequest):* for transactions, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactionByOffsetLegacy(offset: Long, parties: Seq[Party], transactionShape: TransactionShape, templateIds: Seq[Identifier] = Seq.empty): Future[Transaction]
Managed version of transactionByOffsetLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this unless you need to tweak the request (i.e.
Managed version of transactionByOffsetLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactionByOffsetLegacy(request: GetTransactionByOffsetRequest): Future[Transaction]
Non-managed version of transactionByOffsetLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of transactionByOffsetLegacy(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactionFilter(partiesO: Option[Seq[Party]], templateIds: Seq[Identifier] = Seq.empty, interfaceFilters: Seq[(Identifier, IncludeInterfaceView)] = Seq.empty): TransactionFilter
Create a TransactionFilter with a set of Party objects.
Create a TransactionFilter with a set of Party objects.
You should use this only when you need to tweak the request of transactions(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):* or transactionTrees(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, otherwise use the shortcut override that allows you to directly pass a set of Party
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactionTreeById(transactionId: String, parties: Party*): Future[TransactionTree]
Managed version of transactionTrees, use this unless you need to tweak the request (i.e.
Managed version of transactionTrees, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactionTreeById(request: GetTransactionByIdRequest): Future[TransactionTree]
Non-managed version of transactionTreeById, use this only if you need to tweak the request (i.e.
Non-managed version of transactionTreeById, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactionTreeByOffset(offset: Long, parties: Party*): Future[TransactionTree]
Managed version of transactionTreeByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this unless you need to tweak the request (i.e.
Managed version of transactionTreeByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactionTreeByOffset(request: GetTransactionByOffsetRequest): Future[TransactionTree]
Non-managed version of transactionTreeByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of transactionTreeByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetTransactionByOffsetRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactionTrees(take: Int, parties: Party*): Future[Vector[TransactionTree]]
Managed version of transactionTrees(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e.
Managed version of transactionTrees(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactionTrees(take: Int, request: GetUpdatesRequest): Future[Vector[TransactionTree]]
Non-managed version of transactionTrees(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of transactionTrees(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactionTrees(parties: Party*): Future[Vector[TransactionTree]]
Managed version of transactionTrees(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e.
Managed version of transactionTrees(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactionTrees(request: GetUpdatesRequest): Future[Vector[TransactionTree]]
Non-managed version of transactionTrees(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of transactionTrees(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactionTreesByTemplateId(templateId: Identifier, parties: Party*): Future[Vector[TransactionTree]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactions(take: Int, parties: Party*): Future[Vector[Transaction]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactions(take: Int, request: GetUpdatesRequest): Future[Vector[Transaction]]
Non-managed version of transactions(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of transactions(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactions(transactionShape: TransactionShape, parties: Party*): Future[Vector[Transaction]]
Managed version of flatTransactionsLegacy(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e.
Managed version of flatTransactionsLegacy(parties:com\.daml\.ledger\.api\.testtool\.infrastructure\.Party*):*, use this unless you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def transactions(request: GetUpdatesRequest): Future[Vector[Transaction]]
Non-managed version of transactions(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of transactions(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def typeCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], ev: <:<[B, A]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- implicit def unconstrainedEquality[A, B](implicit equalityOfA: Equality[A]): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- def updateById(request: GetUpdateByIdRequest): Future[GetUpdateResponse]
Non-managed version of updateById(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByIdRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of updateById(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByIdRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def updateByOffset(request: GetUpdateByOffsetRequest): Future[GetUpdateResponse]
Non-managed version of updateByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByOffsetRequest):*, use this only if you need to tweak the request (i.e.
Non-managed version of updateByOffset(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdateByOffsetRequest):*, use this only if you need to tweak the request (i.e. to test low-level details)
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def updateIdentityProviderConfig(request: UpdateIdentityProviderConfigRequest): Future[UpdateIdentityProviderConfigResponse]
- Definition Classes
- UserManagementTestContext
- def updateIdentityProviderConfig(identityProviderId: String = UUID.randomUUID().toString, isDeactivated: Boolean = false, issuer: String = UUID.randomUUID().toString, jwksUrl: String = "http://daml.com/jwks.json", updateMask: Option[FieldMask] = None): Future[UpdateIdentityProviderConfigResponse]
- Definition Classes
- UserManagementTestContext
- def updatePartyDetails(req: UpdatePartyDetailsRequest): Future[UpdatePartyDetailsResponse]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def updatePartyIdentityProviderId(request: UpdatePartyIdentityProviderIdRequest): Future[UpdatePartyIdentityProviderIdResponse]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def updateTrees(within: NonNegativeFiniteDuration, request: GetUpdatesRequest): Future[Vector[Update]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def updateTrees(take: Int, request: GetUpdatesRequest, resultFilter: (GetUpdateTreesResponse) => Boolean): Future[Vector[Update]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def updateTrees(take: Int, request: GetUpdatesRequest): Future[Vector[Update]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def updates(within: NonNegativeFiniteDuration, request: GetUpdatesRequest): Future[Vector[Update]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def updates(take: Int, request: GetUpdatesRequest, resultFilter: (GetUpdatesResponse) => Boolean): Future[Vector[Update]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def updates(take: Int, request: GetUpdatesRequest): Future[Vector[Update]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def uploadDarFile(request: UploadDarFileRequest): Future[Unit]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def uploadDarFile(bytes: ByteString): Future[Unit]
- Definition Classes
- ParticipantTestContext
- def uploadDarRequest(bytes: ByteString): UploadDarFileRequest
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- val userId: String
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- def userManagement: UserManagementService
- Definition Classes
- UserManagementTestContext
- def valueOrFail[A](o: Option[A])(clue: String)(implicit position: Position): A
- Definition Classes
- FutureHelpers
- def valueOrFail[A, B](e: Either[A, B])(clue: String)(implicit position: Position): B
- Definition Classes
- FutureHelpers
- def valueOrFail[A](e: OptionT[Future, A])(clue: String)(implicit ec: ExecutionContext, position: Position): Future[A]
- Definition Classes
- FutureHelpers
- def valueOrFail[F[_], A, N, R](c: CheckedT[F, A, N, R])(clue: String)(implicit position: Position, F: Functor[F]): F[R]
- Definition Classes
- FutureHelpers
- def valueOrFail[F[_], A, B](e: EitherT[F, A, B])(clue: String)(implicit position: Position, F: Functor[F]): F[B]
- Definition Classes
- FutureHelpers
- def valueOrFailUS[A](e: OptionT[FutureUnlessShutdown, A])(clue: String)(implicit ec: ExecutionContext, position: Position): FutureUnlessShutdown[A]
- Definition Classes
- FutureHelpers
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- def waitForPartiesOnOtherParticipants(otherParticipants: Iterable[ParticipantTestContext], expectedParties: Set[Party], connectedSynchronizers: Int): Future[Unit]
- returns
a future that completes when all the participants can list all the expected parties
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- val wallClock: WallClock
- Definition Classes
- SingleParticipantTestContext → ExternalPartyUtils
- def watchHealth(): Future[Seq[HealthCheckResponse]]
- Definition Classes
- SingleParticipantTestContext → ParticipantTestContext
- final def whenReady[T, U](future: FutureConcept[T])(fun: (T) => U)(implicit config: PatienceConfig, pos: Position): U
- Definition Classes
- Futures
- final def whenReady[T, U](future: FutureConcept[T], interval: Interval)(fun: (T) => U)(implicit config: PatienceConfig, pos: Position): U
- Definition Classes
- Futures
- final def whenReady[T, U](future: FutureConcept[T], timeout: Timeout)(fun: (T) => U)(implicit config: PatienceConfig, pos: Position): U
- Definition Classes
- Futures
- final def whenReady[T, U](future: FutureConcept[T], timeout: Timeout, interval: Interval)(fun: (T) => U)(implicit config: PatienceConfig, pos: Position): U
- Definition Classes
- Futures
- def withClue[T](clue: Any)(fun: => T): T
- Definition Classes
- Assertions
Deprecated Value Members
- def conversionCheckedConstraint[A, B](implicit equivalenceOfA: Equivalence[A], cnv: (B) => A): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- Annotations
- @deprecated
- Deprecated
(Since version 3.1.0) The conversionCheckedConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.
- def convertEquivalenceToAToBConversionConstraint[A, B](equivalenceOfB: Equivalence[B])(implicit ev: (A) => B): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- Annotations
- @deprecated
- Deprecated
(Since version 3.1.0) The convertEquivalenceToAToBConversionConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.
- def convertEquivalenceToBToAConversionConstraint[A, B](equivalenceOfA: Equivalence[A])(implicit ev: (B) => A): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- Annotations
- @deprecated
- Deprecated
(Since version 3.1.0) The convertEquivalenceToBToAConversionConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.
- implicit def convertRightProjectionToValuable[L, R](rightProj: RightProjection[L, R])(implicit pos: Position): RightValuable[L, R]
- Definition Classes
- EitherValues
- Annotations
- @deprecated
- Deprecated
The .right.value syntax on Either has been deprecated and will be removed in a future version of ScalaTest. Please use .value instead.
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def lowPriorityConversionCheckedConstraint[A, B](implicit equivalenceOfB: Equivalence[B], cnv: (A) => B): CanEqual[A, B]
- Definition Classes
- TripleEquals → TripleEqualsSupport
- Annotations
- @deprecated
- Deprecated
(Since version 3.1.0) The lowPriorityConversionCheckedConstraint method has been deprecated and will be removed in a future version of ScalaTest. It is no longer needed now that the deprecation period of ConversionCheckedTripleEquals has expired. It will not be replaced.