Skip to content

Commit d75e92d

Browse files
troferollerDmitriy Dulger
andauthored
Add annotations (#436)
* Annotations rework Signed-off-by: Dmitriy Dulger <[email protected]> * annotations rework Signed-off-by: Dmitriy Dulger <[email protected]> --------- Signed-off-by: Dmitriy Dulger <[email protected]> Co-authored-by: Dmitriy Dulger <[email protected]>
1 parent 021cbf6 commit d75e92d

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

modules/client/src/test/kotlin/jp/co/soramitsu/iroha2/InstructionsTest.kt

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -405,6 +405,10 @@ class InstructionsTest : IrohaTest<Iroha2Client>() {
405405
}
406406

407407
@Test
408+
@Feature("Accounts")
409+
@Story("Account sets key value pair")
410+
@Permission("CanSetKeyValueInDomain")
411+
@SdkTestId("set_key_value_pair_for_another_account_domain_defenition")
408412
@WithIroha([DefaultGenesis::class])
409413
fun `domain metadata set key value with permissions`(): Unit = runBlocking {
410414
val domainId = DomainId(randomAlphabetic(10).asName())
@@ -920,6 +924,10 @@ class InstructionsTest : IrohaTest<Iroha2Client>() {
920924
}
921925

922926
@Test
927+
@Permission("no_permission_required")
928+
@Feature("Сonfiguration")
929+
@Story("Initiator starts network with fat genesis")
930+
@SdkTestId("initiator_start_network_with_fat_genesis")
923931
@WithIroha([FatGenesis::class])
924932
fun `fat genesis apply`(): Unit = runBlocking {
925933
QueryBuilder.findAllAccounts()

modules/client/src/test/kotlin/jp/co/soramitsu/iroha2/QueriesTest.kt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -826,10 +826,9 @@ class QueriesTest : IrohaTest<Iroha2Client>() {
826826
}
827827

828828
@WithIroha([WithManyDomains::class])
829-
@Story(
830-
"Iroha2 returns 10 results per request. This test checks new internal implementation of cursor mechanism" +
831-
"that is also implemented in Iroha2. Without it this test would fail with only 10 results returned",
832-
)
829+
@Feature("Domains")
830+
@Query("FindAllDomains")
831+
@Story("Account queries all domains using cursor pagination")
833832
@SdkTestId("querying_multiple_domains_with_cursor_test")
834833
fun `find multiple domains with cursor test`(): Unit = runBlocking {
835834
val domains = QueryBuilder.findAllDomains()

0 commit comments

Comments
 (0)