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 allocateExternalParty(request: AllocateExternalPartyRequest, minSynchronizers: Option[Int] = None): Future[Party]
  10. def allocateExternalPartyRequest(partyIdHint: Option[String] = None, synchronizerId: String = ""): AllocateExternalPartyRequest
  11. def allocateParties(n: Int, minSynchronizers: Int): Future[Vector[Party]]
  12. 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
    TimeoutParticipantTestContextParticipantTestContext
  13. def allocateParty(req: AllocatePartyRequest, connectedSynchronizers: Int): Future[(AllocatePartyResponse, Seq[String])]
  14. 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
  15. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  16. val begin: Long
    Definition Classes
    ParticipantTestContext
  17. def checkHealth(): Future[HealthCheckResponse]
  18. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  19. def completionStreamRequest(from: Long)(parties: Party*): CompletionStreamRequest
  20. def completions(within: NonNegativeFiniteDuration, request: CompletionStreamRequest): Future[Vector[CompletionResponse]]
  21. def create[TCid <: ContractId[T], T <: Template](actAs: List[Party], readAs: List[Party], template: T)(implicit companion: ContractCompanion[_, TCid, T]): Future[TCid]
  22. def create[TCid <: ContractId[T], T <: Template](party: Party, template: T)(implicit companion: ContractCompanion[_, TCid, T]): Future[TCid]
  23. def createAndGetTransactionId[TCid <: ContractId[T], T <: Template](party: Party, template: T)(implicit companion: ContractCompanion[_, TCid, T]): Future[(String, TCid)]
  24. def createIdentityProviderConfig(request: CreateIdentityProviderConfigRequest): Future[CreateIdentityProviderConfigResponse]
    Definition Classes
    UserManagementTestContext
  25. 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
  26. 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
  27. 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
  28. def delayMechanism: DelayMechanism
  29. def deleteCreateIdentityProviders(): Future[Unit]
    Definition Classes
    UserManagementTestContext
  30. 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
  31. def deleteIdentityProviderConfig(request: DeleteIdentityProviderConfigRequest): Future[DeleteIdentityProviderConfigResponse]
    Definition Classes
    UserManagementTestContext
  32. 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
  33. val endpointId: String
  34. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  35. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  36. 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
  37. def exercise[T](actAs: List[Party], readAs: List[Party], exercise: Update[T]): Future[TransactionTree]
  38. def exercise[T](party: Party, exercise: Update[T]): Future[TransactionTree]
  39. def exerciseAndGetContract[TCid <: ContractId[T], T](party: Party, exercise: Update[Exercised[TCid]])(implicit companion: ContractCompanion[_, TCid, T]): Future[TCid]
  40. def exerciseAndGetContractNoDisclose[TCid <: ContractId[_]](party: Party, exercise: Update[Exercised[Unit]])(implicit companion: ContractCompanion[_, TCid, _]): Future[TCid]
  41. def exerciseByKey(party: Party, template: Identifier, key: Value, choice: String, argument: Value): Future[TransactionTree]
  42. def exerciseForTransaction[T](party: Party, exercise: Update[T]): Future[Transaction]
  43. def features: Features
  44. def filters(templateIds: Seq[Identifier], interfaceFilters: Seq[(Identifier, IncludeInterfaceView)]): Filters
  45. def findCompletion(parties: Party*)(p: (Completion) => Boolean): Future[Option[Completion]]
  46. def findCompletion(request: CompletionStreamRequest)(p: (Completion) => Boolean): Future[Option[Completion]]
  47. def findCompletionAtOffset(offset: Long, p: (Completion) => Boolean)(parties: Party*): Future[Option[Completion]]
  48. def firstCompletions(parties: Party*): Future[Vector[Completion]]
  49. def firstCompletions(request: CompletionStreamRequest): Future[Vector[Completion]]
  50. 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
  51. 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
  52. def flatTransactionsByTemplateId(templateId: Identifier, parties: Option[Seq[Party]]): Future[Vector[Transaction]]
  53. 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
  54. 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
  55. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  56. def getConnectedSynchronizers(party: Option[Party], participantId: Option[String]): Future[Set[String]]
  57. def getEventsByContractId(request: GetEventsByContractIdRequest): Future[GetEventsByContractIdResponse]
  58. def getIdentityProviderConfig(request: GetIdentityProviderConfigRequest): Future[GetIdentityProviderConfigResponse]
    Definition Classes
    UserManagementTestContext
  59. def getPackage(packageId: String): Future[GetPackageResponse]
  60. def getPackageStatus(packageId: String): Future[PackageStatus]
  61. def getParticipantId(): Future[String]
  62. def getParties(parties: Seq[Party]): Future[Seq[PartyDetails]]
  63. def getParties(req: GetPartiesRequest): Future[GetPartiesResponse]
  64. def getPreferredPackageVersion(parties: Seq[Party], packageName: String, vettingValidAt: Option[Instant] = None, synchronizerIdO: Option[String] = None): Future[GetPreferredPackageVersionResponse]
  65. def getPreferredPackages(vettingRequirements: Map[String, Seq[Party]], vettingValidAt: Option[Instant] = None, synchronizerIdO: Option[String] = None): Future[GetPreferredPackagesResponse]
  66. 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
  67. 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
  68. def getTransactionsRequest(transactionFilter: TransactionFilter, transactionShape: TransactionShape, begin: Long = referenceOffset): Future[GetUpdatesRequest]
  69. def getTransactionsRequestLegacy(transactionFilter: TransactionFilter, begin: Long): Future[GetUpdatesRequest]
  70. def getTransactionsRequestWithEnd(transactionFilter: TransactionFilter, transactionShape: TransactionShape, begin: Long = referenceOffset, end: Option[Long]): GetUpdatesRequest
  71. def getTransactionsRequestWithEndLegacy(transactionFilter: TransactionFilter, begin: Long = referenceOffset, end: Option[Long]): GetUpdatesRequest
  72. def getUpdatesRequestWithEnd(transactionFormatO: Option[(TransactionFilter, TransactionShape)] = None, reassignmentsFilterO: Option[TransactionFilter] = None, topologyFilterO: Option[Seq[Party]] = None, begin: Long = referenceOffset, end: Option[Long] = None): GetUpdatesRequest
  73. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  74. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  75. def latestPrunedOffsets(): Future[(Long, Long)]
  76. def ledgerEndpoint: Either[JsonApiEndpoint, ChannelEndpoint]
  77. def legacyActiveContracts(parties: Option[Seq[Party]], activeAtOffsetO: Option[Long]): Future[Vector[CreatedEvent]]
  78. def legacyActiveContractsByTemplateId(templateIds: Seq[Identifier], parties: Option[Seq[Party]], activeAtOffsetO: Option[Long]): Future[Vector[CreatedEvent]]
  79. def legacyActiveContractsRequest(parties: Option[Seq[Party]], activeAtOffset: Long, templateIds: Seq[Identifier], interfaceFilters: Seq[(Identifier, IncludeInterfaceView)] = Seq.empty): GetActiveContractsRequest
  80. def listIdentityProviderConfig(): Future[ListIdentityProviderConfigsResponse]
    Definition Classes
    UserManagementTestContext
  81. def listKnownPackages(): Future[Seq[PackageDetails]]
  82. def listKnownParties(): Future[ListKnownPartiesResponse]
  83. def listKnownParties(req: ListKnownPartiesRequest): Future[ListKnownPartiesResponse]
  84. def listKnownPartiesExpanded(): Future[Set[Party]]
  85. def listPackages(): Future[Seq[String]]
  86. def maxOffsetCheckpointEmissionDelay: NonNegativeFiniteDuration
  87. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  88. def nextIdentityProviderId: () => String
  89. def nextKeyId: () => String
  90. def nextPartyId: () => String
  91. def nextUserId: () => String
  92. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  93. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  94. 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
  95. def offsets(n: Int, request: CompletionStreamRequest): Future[Vector[Long]]
  96. def participantAuthorizationTransaction(partyIdSubstring: String, begin: Option[Long] = None, end: Option[Long] = None): Future[TopologyTransaction]
    Definition Classes
    ParticipantTestContext
  97. def prune(pruneUpTo: Long, attempts: Int, pruneAllDivulgedContracts: Boolean): Future[PruneResponse]
  98. 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
    TimeoutParticipantTestContextParticipantTestContext
  99. def referenceOffset: Long
  100. def setTime(currentTime: Instant, newTime: Instant): Future[Unit]
  101. def submit(request: SubmitRequest): Future[Unit]
  102. def submitAndWait(request: SubmitAndWaitRequest): Future[SubmitAndWaitResponse]
  103. def submitAndWaitForTransaction(request: SubmitAndWaitForTransactionRequest): Future[SubmitAndWaitForTransactionResponse]
  104. def submitAndWaitForTransactionRequest(party: Party, commands: List[Command], transactionShape: TransactionShape, filterParties: Option[Seq[Party]], templateIds: Option[Seq[Identifier]]): SubmitAndWaitForTransactionRequest
  105. def submitAndWaitForTransactionRequest(party: Party, commands: List[Command]): SubmitAndWaitForTransactionRequest
  106. def submitAndWaitForTransactionRequest(actAs: List[Party], readAs: List[Party], commands: List[Command]): SubmitAndWaitForTransactionRequest
  107. def submitAndWaitForTransactionTree(request: SubmitAndWaitRequest): Future[SubmitAndWaitForTransactionTreeResponse]
  108. def submitAndWaitRequest(party: Party, commands: List[Command]): SubmitAndWaitRequest
  109. def submitAndWaitRequest(actAs: List[Party], readAs: List[Party], commands: List[Command]): SubmitAndWaitRequest
  110. def submitRequest(party: Party, commands: List[Command] = JList.of()): SubmitRequest
  111. def submitRequest(actAs: List[Party], readAs: List[Party], commands: List[Command]): SubmitRequest
  112. def submitRequestAndTolerateGrpcError[T](errorToTolerate: ErrorCode, submitAndWaitGeneric: (ParticipantTestContext) => Future[T]): Future[T]
  113. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  114. def time(): Future[Instant]
  115. def toString(): String
    Definition Classes
    AnyRef → Any
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. 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
  123. 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
  124. 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
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. 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
  131. 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
  132. 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
  133. def transactionTreesByTemplateId(templateId: Identifier, parties: Party*): Future[Vector[TransactionTree]]
  134. def transactions(take: Int, parties: Party*): Future[Vector[Transaction]]
  135. 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
  136. 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
    TimeoutParticipantTestContextParticipantTestContext
  137. 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
  138. 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
  139. 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
  140. def updateIdentityProviderConfig(request: UpdateIdentityProviderConfigRequest): Future[UpdateIdentityProviderConfigResponse]
    Definition Classes
    UserManagementTestContext
  141. 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
  142. def updatePartyDetails(req: UpdatePartyDetailsRequest): Future[UpdatePartyDetailsResponse]
  143. def updatePartyIdentityProviderId(request: UpdatePartyIdentityProviderIdRequest): Future[UpdatePartyIdentityProviderIdResponse]
  144. def updateTrees(within: NonNegativeFiniteDuration, request: GetUpdatesRequest): Future[Vector[Update]]
  145. def updateTrees(take: Int, request: GetUpdatesRequest, resultFilter: (GetUpdateTreesResponse) => Boolean): Future[Vector[Update]]
  146. def updateTrees(take: Int, request: GetUpdatesRequest): Future[Vector[Update]]
  147. def updates(within: NonNegativeFiniteDuration, request: GetUpdatesRequest): Future[Vector[Update]]
  148. def updates(take: Int, request: GetUpdatesRequest, resultFilter: (GetUpdatesResponse) => Boolean): Future[Vector[Update]]
  149. def updates(take: Int, request: GetUpdatesRequest): Future[Vector[Update]]
  150. def uploadDarFile(request: UploadDarFileRequest): Future[Unit]
  151. def uploadDarFile(bytes: ByteString): Future[Unit]
    Definition Classes
    ParticipantTestContext
  152. def uploadDarRequest(bytes: ByteString): UploadDarFileRequest
  153. val userId: String
  154. def userManagement: UserManagementService
    Definition Classes
    UserManagementTestContext
  155. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  156. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  157. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  158. 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
  159. 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