Split DSL out of Acceptance Tests, and into TestSupport (#1926)

Signed-off-by: Adrian Sutton <adrian.sutton@consensys.net>
pull/2/head
Trent Mohay 5 years ago committed by GitHub
parent 53c7d6c2eb
commit d5eeaced25
  1. 88
      acceptance-tests/build.gradle
  2. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/AcceptanceTestBase.java
  3. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/BlockUtils.java
  4. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/StaticNodesUtils.java
  5. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/WaitUtils.java
  6. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/account/Account.java
  7. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/account/Accounts.java
  8. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/blockchain/Amount.java
  9. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/blockchain/Blockchain.java
  10. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/Condition.java
  11. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/account/ExpectAccountBalance.java
  12. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/account/ExpectAccountBalanceNotChanging.java
  13. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/admin/AdminConditions.java
  14. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/admin/ExpectPeerAdded.java
  15. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/blockchain/ExpectBeneficiary.java
  16. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/blockchain/ExpectBlockNotCreated.java
  17. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/blockchain/ExpectBlockNumberAbove.java
  18. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/blockchain/ExpectMinimumBlockNumber.java
  19. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/clique/AwaitSignerSetChange.java
  20. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/clique/CliqueConditions.java
  21. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/clique/ExpectNonceVote.java
  22. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/clique/ExpectProposals.java
  23. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/clique/ExpectValidators.java
  24. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/clique/ExpectValidatorsAtBlock.java
  25. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/clique/ExpectValidatorsAtBlockHash.java
  26. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/clique/ExpectedBlockHasProposer.java
  27. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/eth/EthConditions.java
  28. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/eth/ExpectEthAccountsException.java
  29. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/eth/ExpectEthGetTransactionReceiptIsAbsent.java
  30. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/eth/ExpectEthGetWorkException.java
  31. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/eth/ExpectEthSendRawTransactionException.java
  32. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/eth/ExpectSuccessfulEthGetTransactionReceipt.java
  33. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/eth/ExpectSuccessfulEthGetTransactionReceiptWithReason.java
  34. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/eth/ExpectSuccessfulEthGetTransactionReceiptWithoutReason.java
  35. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/eth/SanityCheckEthGetWorkValues.java
  36. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/ibft2/AwaitValidatorSetChange.java
  37. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/ibft2/ExpectProposals.java
  38. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/ibft2/ExpectValidators.java
  39. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/ibft2/Ibft2Conditions.java
  40. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/login/AwaitLoginResponse.java
  41. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/login/ExpectLoginSuccess.java
  42. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/login/ExpectLoginUnauthorized.java
  43. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/login/LoginConditions.java
  44. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/miner/MiningStatusCondition.java
  45. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/net/AwaitNetPeerCount.java
  46. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/net/AwaitNetPeerCountException.java
  47. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/net/ExpectNetServicesReturnsAllServicesAsActive.java
  48. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/net/ExpectNetServicesReturnsOnlyJsonRpcActive.java
  49. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/net/ExpectNetVersionConnectionException.java
  50. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/net/ExpectNetVersionConnectionExceptionWithCause.java
  51. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/net/ExpectNetVersionIsNotBlank.java
  52. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/net/ExpectNetVersionPermissionException.java
  53. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/net/ExpectNetVersionPermissionJsonRpcUnauthorizedResponse.java
  54. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/net/NetConditions.java
  55. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/perm/AccountSmartContractPermissioningConditions.java
  56. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/perm/AddAccountsToWhitelistSuccessfully.java
  57. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/perm/AddNodeSuccess.java
  58. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/perm/GetExpectedAccountsWhitelist.java
  59. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/perm/GetNodesWhitelistPopulated.java
  60. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/perm/NodeSmartContractPermissioningConditions.java
  61. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/perm/PermissioningConditions.java
  62. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/perm/RemoveAccountsFromWhitelistSuccessfully.java
  63. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/perm/RemoveNodeSuccess.java
  64. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/perm/WaitForFalseResponse.java
  65. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/perm/WaitForTrueResponse.java
  66. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/perm/WhiteListContainsKeyAndValue.java
  67. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/web3/ExpectWeb3Sha3Equals.java
  68. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/condition/web3/Web3Conditions.java
  69. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/contract/ContractVerifier.java
  70. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/contract/ExpectValidTransactionReceipt.java
  71. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/ethsigner/EthSignerClient.java
  72. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/ethsigner/EthSignerClientTest.java
  73. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/ethsigner/PrivateTransactionRequest.java
  74. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/ethsigner/testutil/EthSignerConfig.java
  75. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/ethsigner/testutil/EthSignerTestHarness.java
  76. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/ethsigner/testutil/EthSignerTestHarnessFactory.java
  77. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/Node.java
  78. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/PantheonNode.java
  79. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/PantheonNodeRunner.java
  80. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/ProcessPantheonNodeRunner.java
  81. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/RunnableNode.java
  82. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/ThreadPantheonNodeRunner.java
  83. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/cluster/Cluster.java
  84. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/cluster/ClusterConfiguration.java
  85. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/cluster/ClusterConfigurationBuilder.java
  86. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/configuration/NodeConfiguration.java
  87. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/configuration/NodeConfigurationFactory.java
  88. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/configuration/PantheonNodeConfiguration.java
  89. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/configuration/PantheonNodeConfigurationBuilder.java
  90. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/configuration/PantheonNodeFactory.java
  91. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/configuration/genesis/GenesisConfigurationFactory.java
  92. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/configuration/genesis/GenesisConfigurationProvider.java
  93. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/configuration/permissioning/PermissionedNodeBuilder.java
  94. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/configuration/privacy/PrivacyNodeConfiguration.java
  95. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/node/configuration/privacy/PrivacyNodeFactory.java
  96. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/privacy/PrivacyAcceptanceTestBase.java
  97. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/privacy/PrivacyCluster.java
  98. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/privacy/PrivacyNode.java
  99. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/privacy/account/PrivacyAccount.java
  100. 0
      acceptance-tests/src/test-support/java/tech/pegasys/pantheon/tests/acceptance/dsl/privacy/account/PrivacyAccountResolver.java
  101. Some files were not shown because too many files have changed in this diff Show More

@ -13,50 +13,68 @@
dependencies {
testRuntime 'org.apache.logging.log4j:log4j-core'
testRuntime 'org.apache.logging.log4j:log4j-slf4j-impl'
testSupportImplementation 'org.apache.logging.log4j:log4j-core'
testSupportImplementation 'org.apache.logging.log4j:log4j-slf4j-impl'
testSupportImplementation project(':config')
testSupportImplementation project(':consensus:clique')
testSupportImplementation project(':consensus:ibft')
testSupportImplementation project(':crypto')
testSupportImplementation project(':enclave')
testSupportImplementation project(':ethereum:blockcreation')
testSupportImplementation project(':ethereum:core')
testSupportImplementation project(path: ':ethereum:core', configuration: 'testSupportArtifacts')
testSupportImplementation project(':ethereum:eth')
testSupportImplementation project(':ethereum:graphql')
testSupportImplementation project(':ethereum:jsonrpc')
testSupportImplementation project(':ethereum:p2p')
testSupportImplementation project(':ethereum:permissioning')
testSupportImplementation project(':ethereum:rlp')
testSupportImplementation project(':metrics:core')
testSupportImplementation project(':pantheon')
testSupportImplementation project(':plugin-api')
testSupportImplementation project(':services:kvstore')
testSupportImplementation project(':testutil')
testSupportImplementation project(':util')
testSupportImplementation 'com.github.tomakehurst:wiremock-jre8'
testSupportImplementation 'com.google.guava:guava'
testSupportImplementation 'com.squareup.okhttp3:okhttp'
testSupportImplementation 'info.picocli:picocli'
testSupportImplementation 'io.reactivex.rxjava2:rxjava'
testSupportImplementation 'io.vertx:vertx-core'
testSupportImplementation 'junit:junit'
testSupportImplementation 'net.consensys:orion'
testSupportImplementation 'org.apache.logging.log4j:log4j-api'
testSupportImplementation 'org.assertj:assertj-core'
testSupportImplementation 'org.awaitility:awaitility'
testSupportImplementation 'org.java-websocket:Java-WebSocket'
testSupportImplementation 'org.web3j:abi'
testSupportImplementation 'org.web3j:pantheon'
testSupportImplementation 'org.web3j:crypto'
testSupportImplementation 'tech.pegasys.ethsigner.internal:core'
testSupportImplementation 'tech.pegasys.ethsigner.internal:file-based'
testSupportImplementation 'tech.pegasys.ethsigner.internal:signing-api'
testImplementation project(':config')
testImplementation project(':consensus:clique')
testImplementation project(':consensus:ibft')
testImplementation project(':crypto')
testImplementation project(':enclave')
testImplementation project(':ethereum:blockcreation')
testImplementation project(':ethereum:core')
testImplementation project(path: ':ethereum:core', configuration: 'testSupportArtifacts')
testImplementation project(':ethereum:eth')
testImplementation project(':ethereum:graphql')
testImplementation project(':ethereum:jsonrpc')
testImplementation project(':ethereum:p2p')
testImplementation project(':ethereum:permissioning')
testImplementation project(':ethereum:rlp')
testImplementation project(':metrics:core')
testImplementation project(':pantheon')
testImplementation project(path: ':pantheon', configuration: 'testArtifacts')
testImplementation project(':plugins:rocksdb')
testImplementation project(':plugin-api')
testImplementation project(':services:kvstore')
testImplementation project(':testutil')
testImplementation project(':util')
testImplementation 'com.github.tomakehurst:wiremock-jre8'
testImplementation 'com.google.guava:guava'
testImplementation 'com.squareup.okhttp3:okhttp'
testImplementation 'info.picocli:picocli'
testImplementation 'io.reactivex.rxjava2:rxjava'
testImplementation 'io.vertx:vertx-core'
testImplementation 'junit:junit'
testImplementation 'net.consensys:orion'
testImplementation 'org.apache.logging.log4j:log4j-api'
testImplementation 'org.assertj:assertj-core'
testImplementation 'org.awaitility:awaitility'
testImplementation 'org.java-websocket:Java-WebSocket'
testImplementation 'org.web3j:abi'
testImplementation 'org.web3j:pantheon'
testImplementation 'org.web3j:crypto'
testImplementation project(':ethereum:jsonrpc')
testImplementation project(':enclave')
testImplementation 'org.awaitility:awaitility'
testImplementation project(':consensus:clique')
testImplementation project(':ethereum:permissioning')
testImplementation project(':util')
testImplementation project(':plugin-api')
testImplementation project(':pantheon')
testImplementation project(':ethereum:core')
testImplementation project(path: ':ethereum:core', configuration: 'testSupportArtifacts')
testImplementation project(':testutil')
testImplementation 'tech.pegasys.ethsigner.internal:core'
testImplementation 'tech.pegasys.ethsigner.internal:file-based'
testImplementation 'tech.pegasys.ethsigner.internal:signing-api'
}
test.enabled = false

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save