Packages

c

com.daml.ledger.api.testtool.infrastructure.participant

TimeoutParticipantTestContext

class TimeoutParticipantTestContext extends ParticipantTestContext

Annotations
@nowarn()
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TimeoutParticipantTestContext
  2. ParticipantTestContext
  3. UserManagementTestContext
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TimeoutParticipantTestContext(timeoutScaleFactor: Double, delegate: ParticipantTestContext)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def activeContracts(parties: Option[Seq[Party]], activeAtOffsetO: Option[Long], verbose: Boolean = true): Future[Vector[CreatedEvent]]
  5. def activeContracts(request: GetActiveContractsRequest): Future[Vector[CreatedEvent]]
  6. def activeContractsByTemplateId(templateIds: Seq[Identifier], parties: Option[Seq[Party]], activeAtOffsetO: Option[Long], verbose: Boolean = true): Future[Vector[CreatedEvent]]
  7. def activeContractsIds(request: GetActiveContractsRequest): Future[Vector[ContractId[Any]]]
    Definition Classes
    ParticipantTestContext
  8. def activeContractsRequest(parties: Option[Seq[Party]], activeAtOffset: Long, templateIds: Seq[Identifier], interfaceFilters: Seq[(Identifier, IncludeInterfaceView)] = Seq.empty, verbose: Boolean = true): GetActiveContractsRequest
  9. def adminEndpoint: ChannelEndpoint
  10. def allocateExternalParties(n: Int, minSynchronizers: Int): Future[Vector[ExternalParty]]
  11. def allocateExternalParty(partyIdHint: Option[String] = None, minSynchronizers: Int): Future[ExternalParty]
  12. def allocateParties(n: Int, minSynchronizers: Int): Future[Vector[Party]]
  13. def allocateParty(partyIdHint: Option[String] = None, localMetadata: Option[ObjectMeta] = None, identityProviderId: Option[String] = None, minSynchronizers: Option[Int] = None, userId: String = ""): Future[Party]

    Non managed version of party allocation.

    Non managed version of party allocation. Use exclusively when testing the party management service.

    Definition Classes
    TimeoutParticipantTestContextParticipantTestContext
  14. def allocateParty(req: AllocatePartyRequest, connectedSynchronizers: Int): Future[(AllocatePartyResponse, Seq[String])]
  15. 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
    TimeoutParticipantTestContextParticipantTestContext
  16. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  17. val begin: Long
    Definition Classes
    ParticipantTestContext
  18. def checkHealth(): Future[HealthCheckResponse]
  19. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  20. def completionStreamRequest(from: Long)(parties: Party*): CompletionStreamRequest
  21. def completions(within: NonNegativeFiniteDuration, request: CompletionStreamRequest): Future[Vector[CompletionResponse]]
  22. def connectedSynchronizers(): Future[Seq[String]]
  23. def create[TCid <: ContractId[T], T <: Template](actAs: List[Party], readAs: List[Party], template: T)(implicit companion: ContractCompanion[_, TCid, T]): Future[TCid]
  24. def create[TCid <: ContractId[T], T <: Template](party: Party, template: T)(implicit companion: ContractCompanion[_, TCid, T]): Future[TCid]
  25. def createAndGetTransactionId[TCid <: ContractId[T], T <: Template](party: Party, template: T)(implicit companion: ContractCompanion[_, TCid, T]): Future[(String, TCid)]
  26. def createIdentityProviderConfig(request: CreateIdentityProviderConfigRequest): Future[CreateIdentityProviderConfigResponse]
    Definition Classes
    UserManagementTestContext
  27. 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
  28. 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
  29. 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
    TimeoutParticipantTestContextParticipantTestContext
  30. def delayMechanism: DelayMechanism
  31. def deleteCreateIdentityProviders(): Future[Unit]
    Definition Classes
    UserManagementTestContext
  32. 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
  33. def deleteIdentityProviderConfig(request: DeleteIdentityProviderConfigRequest): Future[DeleteIdentityProviderConfigResponse]
    Definition Classes
    UserManagementTestContext
  34. 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
  35. val endpointId: String
  36. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  38. 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
    TimeoutParticipantTestContextParticipantTestContext
  39. def executeSubmission(executeSubmissionRequest: ExecuteSubmissionRequest): Future[ExecuteSubmissionResponse]
  40. def executeSubmissionAndWait(executeSubmissionAndWaitRequest: ExecuteSubmissionAndWaitRequest): Future[ExecuteSubmissionAndWaitResponse]
  41. def executeSubmissionAndWaitForTransaction(executeSubmissionAndWaitForTransactionRequest: ExecuteSubmissionAndWaitForTransactionRequest): Future[ExecuteSubmissionAndWaitForTransactionResponse]
  42. def executeSubmissionAndWaitForTransactionRequest(party: ExternalParty, preparedTx: PrepareSubmissionResponse, transactionFormat: Option[TransactionFormat]): ExecuteSubmissionAndWaitForTransactionRequest
  43. def executeSubmissionAndWaitRequest(party: ExternalParty, preparedTx: PrepareSubmissionResponse): ExecuteSubmissionAndWaitRequest
  44. def executeSubmissionRequest(party: ExternalParty, preparedTx: PrepareSubmissionResponse): ExecuteSubmissionRequest
  45. def exercise[T](actAs: List[Party], readAs: List[Party], exercise: Update[T]): Future[Transaction]
  46. def exercise[T](party: Party, exercise: Update[T], transactionShape: TransactionShape): Future[Transaction]
  47. def exerciseAndGetContract[TCid <: ContractId[T], T](party: Party, exercise: Update[Exercised[TCid]])(implicit companion: ContractCompanion[_, TCid, T]): Future[TCid]
  48. def exerciseAndGetContractNoDisclose[TCid <: ContractId[_]](party: Party, exercise: Update[Exercised[Unit]])(implicit companion: ContractCompanion[_, TCid, _]): Future[TCid]
  49. def exerciseByKey(party: Party, template: Identifier, key: Value, choice: String, argument: Value): Future[Transaction]
  50. def exerciseLegacy[T](party: Party, exercise: Update[T]): Future[TransactionTree]
  51. def features: Features
  52. def filters(templateIds: Seq[Identifier], interfaceFilters: Seq[(Identifier, IncludeInterfaceView)]): Filters
  53. def findCompletion(parties: Party*)(p: (Completion) => Boolean): Future[Option[Completion]]
  54. def findCompletion(request: CompletionStreamRequest)(p: (Completion) => Boolean): Future[Option[Completion]]
  55. def findCompletionAtOffset(offset: Long, p: (Completion) => Boolean)(parties: Party*): Future[Option[Completion]]
  56. def firstCompletions(parties: Party*): Future[Vector[Completion]]
  57. def firstCompletions(request: CompletionStreamRequest): Future[Vector[Completion]]
  58. 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
    TimeoutParticipantTestContextParticipantTestContext
  59. 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
    TimeoutParticipantTestContextParticipantTestContext
  60. def flatTransactionsByTemplateIdLegacy(templateId: Identifier, parties: Option[Seq[Party]]): Future[Vector[Transaction]]
  61. 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
    TimeoutParticipantTestContextParticipantTestContext
  62. 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
    TimeoutParticipantTestContextParticipantTestContext
  63. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  64. def getConnectedSynchronizers(party: Party, participantId: Option[String], identityProviderId: Option[String] = None): Future[Set[String]]
  65. def getEventsByContractId(request: GetEventsByContractIdRequest): Future[GetEventsByContractIdResponse]
  66. def getIdentityProviderConfig(request: GetIdentityProviderConfigRequest): Future[GetIdentityProviderConfigResponse]
    Definition Classes
    UserManagementTestContext
  67. def getPackage(packageId: String): Future[GetPackageResponse]
  68. def getPackageStatus(packageId: String): Future[PackageStatus]
  69. def getParticipantId(): Future[String]
  70. def getParties(parties: Seq[Party]): Future[Seq[PartyDetails]]
  71. def getParties(req: GetPartiesRequest): Future[GetPartiesResponse]
  72. def getPreferredPackageVersion(parties: Seq[Party], packageName: String, vettingValidAt: Option[Instant] = None, synchronizerIdO: Option[String] = None): Future[GetPreferredPackageVersionResponse]
  73. def getPreferredPackages(vettingRequirements: Map[String, Seq[Party]], vettingValidAt: Option[Instant] = None, synchronizerIdO: Option[String] = None): Future[GetPreferredPackagesResponse]
  74. 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
    TimeoutParticipantTestContextParticipantTestContext
  75. 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
    TimeoutParticipantTestContextParticipantTestContext
  76. def getTransactionsRequest(transactionFormat: TransactionFormat, begin: Long = referenceOffset): Future[GetUpdatesRequest]
  77. def getTransactionsRequestLegacy(transactionFilter: TransactionFilter, begin: Long): Future[GetUpdatesRequest]
  78. def getTransactionsRequestWithEnd(transactionFormat: TransactionFormat, begin: Long = referenceOffset, end: Option[Long]): GetUpdatesRequest
  79. def getTransactionsRequestWithEndLegacy(transactionFilter: TransactionFilter, begin: Long = referenceOffset, end: Option[Long]): GetUpdatesRequest
  80. def getUpdatesRequestWithEnd(transactionFormatO: Option[TransactionFormat] = None, reassignmentsFormatO: Option[EventFormat] = None, topologyFilterO: Option[Seq[Party]] = None, begin: Long = referenceOffset, end: Option[Long] = None): GetUpdatesRequest
  81. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  82. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  83. def latestPrunedOffsets(): Future[(Long, Long)]
  84. def ledgerEndpoint: Either[JsonApiEndpoint, ChannelEndpoint]
  85. def legacyActiveContracts(parties: Option[Seq[Party]], activeAtOffsetO: Option[Long]): Future[Vector[CreatedEvent]]
  86. def legacyActiveContractsByTemplateId(templateIds: Seq[Identifier], parties: Option[Seq[Party]], activeAtOffsetO: Option[Long]): Future[Vector[CreatedEvent]]
  87. def legacyActiveContractsRequest(parties: Option[Seq[Party]], activeAtOffset: Long, templateIds: Seq[Identifier], interfaceFilters: Seq[(Identifier, IncludeInterfaceView)] = Seq.empty): GetActiveContractsRequest
  88. def listIdentityProviderConfig(): Future[ListIdentityProviderConfigsResponse]
    Definition Classes
    UserManagementTestContext
  89. def listKnownPackages(): Future[Seq[PackageDetails]]
  90. def listKnownParties(): Future[ListKnownPartiesResponse]
  91. def listKnownParties(req: ListKnownPartiesRequest): Future[ListKnownPartiesResponse]
  92. def listKnownPartiesExpanded(): Future[Set[Party]]
  93. def listPackages(): Future[Seq[String]]
  94. def maxOffsetCheckpointEmissionDelay: NonNegativeFiniteDuration
  95. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  96. def nextIdentityProviderId: () => String
  97. def nextKeyId: () => String
  98. def nextPartyId: () => String
  99. def nextUserId: () => String
  100. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  101. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  102. 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
    TimeoutParticipantTestContextParticipantTestContext
  103. def offsets(n: Int, request: CompletionStreamRequest): Future[Vector[Long]]
  104. def participantAuthorizationTransaction(partyIdSubstring: String, begin: Option[Long] = None, end: Option[Long] = None): Future[TopologyTransaction]
    Definition Classes
    ParticipantTestContext
  105. def prepareSubmission(prepareSubmissionRequest: PrepareSubmissionRequest): Future[PrepareSubmissionResponse]
  106. def prepareSubmissionRequest(party: Party, commands: List[Command]): PrepareSubmissionRequest
  107. def prune(pruneUpTo: Long, attempts: Int): Future[PruneResponse]
  108. def pruneCantonSafe(pruneUpTo: Long, party: Party, dummyCommand: (Party) => List[Command])(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
    TimeoutParticipantTestContextParticipantTestContext
  109. def referenceOffset: Long
  110. def setTime(currentTime: Instant, newTime: Instant): Future[Unit]
  111. def submit(request: SubmitRequest): Future[Unit]
  112. def submitAndWait(request: SubmitAndWaitRequest): Future[SubmitAndWaitResponse]
  113. def submitAndWaitForTransaction(request: SubmitAndWaitForTransactionRequest): Future[SubmitAndWaitForTransactionResponse]
  114. def submitAndWaitForTransactionRequest(party: Party, commands: List[Command], transactionShape: TransactionShape, filterParties: Option[Seq[Party]], templateIds: Seq[Identifier], verbose: Boolean): SubmitAndWaitForTransactionRequest
  115. def submitAndWaitForTransactionRequest(party: Party, commands: List[Command]): SubmitAndWaitForTransactionRequest
  116. def submitAndWaitForTransactionRequest(actAs: List[Party], readAs: List[Party], commands: List[Command], transactionShape: TransactionShape): SubmitAndWaitForTransactionRequest
  117. def submitAndWaitForTransactionTree(request: SubmitAndWaitRequest): Future[SubmitAndWaitForTransactionTreeResponse]
  118. def submitAndWaitRequest(party: Party, commands: List[Command]): SubmitAndWaitRequest
  119. def submitAndWaitRequest(actAs: List[Party], readAs: List[Party], commands: List[Command]): SubmitAndWaitRequest
  120. def submitRequest(party: Party, commands: List[Command] = JList.of()): SubmitRequest
  121. def submitRequest(actAs: List[Party], readAs: List[Party], commands: List[Command]): SubmitRequest
  122. def submitRequestAndTolerateGrpcError[T](errorToTolerate: ErrorCode, submitAndWaitGeneric: (ParticipantTestContext) => Future[T]): Future[T]
  123. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  124. def time(): Future[Instant]
  125. def toString(): String
    Definition Classes
    AnyRef → Any
  126. 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
    TimeoutParticipantTestContextParticipantTestContext
  127. 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
    TimeoutParticipantTestContextParticipantTestContext
  128. def transactionById(updateId: String, parties: Seq[Party], transactionShape: TransactionShape, templateIds: Seq[Identifier]): 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
    TimeoutParticipantTestContextParticipantTestContext
  129. def transactionByIdLegacy(transactionId: String, parties: Seq[Party], transactionShape: TransactionShape, templateIds: Seq[Identifier]): 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
    TimeoutParticipantTestContextParticipantTestContext
  130. 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
    TimeoutParticipantTestContextParticipantTestContext
  131. def transactionByOffset(offset: Long, parties: Seq[Party], transactionShape: TransactionShape, templateIds: Seq[Identifier]): 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
    TimeoutParticipantTestContextParticipantTestContext
  132. 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
    TimeoutParticipantTestContextParticipantTestContext
  133. def transactionByOffsetLegacy(offset: Long, parties: Seq[Party], transactionShape: TransactionShape, templateIds: Seq[Identifier]): 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
    TimeoutParticipantTestContextParticipantTestContext
  134. def transactionFilter(parties: 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
    TimeoutParticipantTestContextParticipantTestContext
  135. def transactionFormat(parties: Option[Seq[Party]], templateIds: Seq[Identifier] = Seq.empty, interfaceFilters: Seq[(Identifier, IncludeInterfaceView)] = Seq.empty, transactionShape: TransactionShape = AcsDelta, verbose: Boolean = false): TransactionFormat

    Create a TransactionFormat with a set of Party objects.

    Create a TransactionFormat 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
    TimeoutParticipantTestContextParticipantTestContext
  136. 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
    TimeoutParticipantTestContextParticipantTestContext
  137. 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
    TimeoutParticipantTestContextParticipantTestContext
  138. 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
    TimeoutParticipantTestContextParticipantTestContext
  139. 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
    TimeoutParticipantTestContextParticipantTestContext
  140. 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
    TimeoutParticipantTestContextParticipantTestContext
  141. 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
    TimeoutParticipantTestContextParticipantTestContext
  142. 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
    TimeoutParticipantTestContextParticipantTestContext
  143. 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
    TimeoutParticipantTestContextParticipantTestContext
  144. def transactionTreesByTemplateId(templateId: Identifier, parties: Party*): Future[Vector[TransactionTree]]
  145. def transactions(take: Int, transactionShape: TransactionShape, parties: Party*): Future[Vector[Transaction]]
  146. 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
    TimeoutParticipantTestContextParticipantTestContext
  147. def transactions(transactionShape: TransactionShape, parties: Party*): Future[Vector[Transaction]]

    Managed version of transactions(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this unless you need to tweak the request (i.e.

    Managed version of transactions(request:com\.daml\.ledger\.api\.v2\.update_service\.GetUpdatesRequest):*, use this unless you need to tweak the request (i.e. to test low-level details)

    Definition Classes
    TimeoutParticipantTestContextParticipantTestContext
  148. 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
    TimeoutParticipantTestContextParticipantTestContext
  149. def transactionsByTemplateId(templateId: Identifier, parties: Option[Seq[Party]]): Future[Vector[Transaction]]
  150. 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
    TimeoutParticipantTestContextParticipantTestContext
  151. 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
    TimeoutParticipantTestContextParticipantTestContext
  152. def updateIdentityProviderConfig(request: UpdateIdentityProviderConfigRequest): Future[UpdateIdentityProviderConfigResponse]
    Definition Classes
    UserManagementTestContext
  153. 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
  154. def updatePartyDetails(req: UpdatePartyDetailsRequest): Future[UpdatePartyDetailsResponse]
  155. def updatePartyIdentityProviderId(request: UpdatePartyIdentityProviderIdRequest): Future[UpdatePartyIdentityProviderIdResponse]
  156. def updateTrees(within: NonNegativeFiniteDuration, request: GetUpdatesRequest): Future[Vector[Update]]
  157. def updateTrees(take: Int, request: GetUpdatesRequest, resultFilter: (GetUpdateTreesResponse) => Boolean): Future[Vector[Update]]
  158. def updateTrees(take: Int, request: GetUpdatesRequest): Future[Vector[Update]]
  159. def updates(within: NonNegativeFiniteDuration, request: GetUpdatesRequest): Future[Vector[Update]]
  160. def updates(take: Int, request: GetUpdatesRequest, resultFilter: (GetUpdatesResponse) => Boolean): Future[Vector[Update]]
  161. def updates(take: Int, request: GetUpdatesRequest): Future[Vector[Update]]
  162. def uploadDarFile(request: UploadDarFileRequest): Future[Unit]
  163. def uploadDarFile(bytes: ByteString): Future[Unit]
    Definition Classes
    ParticipantTestContext
  164. def uploadDarRequest(bytes: ByteString): UploadDarFileRequest
  165. val userId: String
  166. def userManagement: UserManagementService
    Definition Classes
    UserManagementTestContext
  167. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  168. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  169. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  170. 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
    TimeoutParticipantTestContextParticipantTestContext
  171. def watchHealth(): Future[Seq[HealthCheckResponse]]

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from ParticipantTestContext

Inherited from AnyRef

Inherited from Any

Ungrouped