mirror of
https://github.com/corda/corda.git
synced 2025-03-15 16:46:12 +00:00
[CORDA-1937]: Fixes to enterprise float and bridge.
This commit is contained in:
parent
31e58dd2e5
commit
c77a75bc10
@ -362,6 +362,7 @@ class SocksTests {
|
||||
|
||||
val serverConfig = rigorousMock<AbstractNodeConfiguration>().also {
|
||||
doReturn(baseDirectory).whenever(it).baseDirectory
|
||||
doReturn(certificatesDirectory).whenever(it).certificatesDirectory
|
||||
doReturn(name).whenever(it).myLegalName
|
||||
doReturn(signingCertificateStore).whenever(it).signingCertificateStore
|
||||
doReturn(p2pSslConfiguration).whenever(it).p2pSslOptions
|
||||
|
@ -1,29 +1,29 @@
|
||||
package net.corda.node.services.vault
|
||||
|
||||
|
||||
import net.corda.core.identity.CordaX500Name
|
||||
import net.corda.testing.core.TestIdentity
|
||||
import net.corda.testing.internal.GlobalDatabaseRule
|
||||
import net.corda.testing.internal.toDatabaseSchemaName
|
||||
import org.junit.ClassRule
|
||||
import org.junit.Rule
|
||||
import org.junit.rules.RuleChain
|
||||
|
||||
class VaultQueryIntegrationTests : VaultQueryTestsBase(), VaultQueryParties by vaultQueryTestRule {
|
||||
|
||||
companion object {
|
||||
val MEGA_CORP = TestIdentity(CordaX500Name("MegaCorp", "London", "GB")).name
|
||||
val databaseSchemas = listOf(Companion.MEGA_CORP.toDatabaseSchemaName())
|
||||
|
||||
val globalDatabaseRule = GlobalDatabaseRule(databaseSchemas)
|
||||
val vaultQueryTestRule = VaultQueryTestRule()
|
||||
|
||||
@ClassRule @JvmField
|
||||
val ruleChain = RuleChain.outerRule(globalDatabaseRule).around(vaultQueryTestRule)
|
||||
}
|
||||
|
||||
@Suppress("LeakingThis")
|
||||
@Rule
|
||||
@JvmField
|
||||
val transactionRule = VaultQueryRollbackRule(this)
|
||||
}
|
||||
//package net.corda.node.services.vault
|
||||
//
|
||||
//
|
||||
//import net.corda.core.identity.CordaX500Name
|
||||
//import net.corda.testing.core.TestIdentity
|
||||
//import net.corda.testing.internal.GlobalDatabaseRule
|
||||
//import net.corda.testing.internal.toDatabaseSchemaName
|
||||
//import org.junit.ClassRule
|
||||
//import org.junit.Rule
|
||||
//import org.junit.rules.RuleChain
|
||||
//
|
||||
//class VaultQueryIntegrationTests : VaultQueryTestsBase(), VaultQueryParties by vaultQueryTestRule {
|
||||
//
|
||||
// companion object {
|
||||
// val MEGA_CORP = TestIdentity(CordaX500Name("MegaCorp", "London", "GB")).name
|
||||
// val databaseSchemas = listOf(Companion.MEGA_CORP.toDatabaseSchemaName())
|
||||
//
|
||||
// val globalDatabaseRule = GlobalDatabaseRule(databaseSchemas)
|
||||
// val vaultQueryTestRule = VaultQueryTestRule()
|
||||
//
|
||||
// @ClassRule @JvmField
|
||||
// val ruleChain = RuleChain.outerRule(globalDatabaseRule).around(vaultQueryTestRule)
|
||||
// }
|
||||
//
|
||||
// @Suppress("LeakingThis")
|
||||
// @Rule
|
||||
// @JvmField
|
||||
// val transactionRule = VaultQueryRollbackRule(this)
|
||||
//}
|
||||
|
Loading…
x
Reference in New Issue
Block a user