Use native VisibleForTesting everywhere. (#1189)

This commit is contained in:
Andrzej Cichocki 2017-08-17 18:05:19 +01:00 committed by GitHub
parent 51ed943272
commit e49d3aa834
10 changed files with 10 additions and 10 deletions

View File

@ -1,6 +1,6 @@
package net.corda.core.internal.concurrent
import com.google.common.annotations.VisibleForTesting
import net.corda.core.internal.VisibleForTesting
import net.corda.core.concurrent.CordaFuture
import net.corda.core.concurrent.match
import net.corda.core.utilities.getOrThrow

View File

@ -1,6 +1,6 @@
package net.corda.contracts.asset
import com.google.common.annotations.VisibleForTesting
import net.corda.core.internal.VisibleForTesting
import net.corda.contracts.NetCommand
import net.corda.contracts.NetType
import net.corda.contracts.NettableState

View File

@ -1,7 +1,7 @@
package net.corda.node.internal
import com.codahale.metrics.MetricRegistry
import com.google.common.annotations.VisibleForTesting
import net.corda.core.internal.VisibleForTesting
import com.google.common.collect.Lists
import com.google.common.collect.MutableClassToInstanceMap
import com.google.common.util.concurrent.MoreExecutors

View File

@ -1,6 +1,6 @@
package net.corda.node.services.api
import com.google.common.annotations.VisibleForTesting
import net.corda.core.internal.VisibleForTesting
import net.corda.core.concurrent.CordaFuture
import net.corda.core.crypto.SecureHash
import net.corda.core.flows.FlowInitiator

View File

@ -1,6 +1,6 @@
package net.corda.node.services.network
import com.google.common.annotations.VisibleForTesting
import net.corda.core.internal.VisibleForTesting
import net.corda.core.concurrent.CordaFuture
import net.corda.core.internal.bufferUntilSubscribed
import net.corda.core.identity.AbstractParty

View File

@ -1,6 +1,6 @@
package net.corda.node.services.network
import com.google.common.annotations.VisibleForTesting
import net.corda.core.internal.VisibleForTesting
import net.corda.core.internal.ThreadBox
import net.corda.core.crypto.DigitalSignature
import net.corda.core.crypto.SignedData

View File

@ -1,6 +1,6 @@
package net.corda.node.services.persistence
import com.google.common.annotations.VisibleForTesting
import net.corda.core.internal.VisibleForTesting
import net.corda.core.internal.bufferUntilSubscribed
import net.corda.core.crypto.SecureHash
import net.corda.core.messaging.DataFeed

View File

@ -1,7 +1,7 @@
package net.corda.node.services.persistence
import com.codahale.metrics.MetricRegistry
import com.google.common.annotations.VisibleForTesting
import net.corda.core.internal.VisibleForTesting
import com.google.common.hash.HashCode
import com.google.common.hash.Hashing
import com.google.common.hash.HashingInputStream

View File

@ -1,6 +1,6 @@
package net.corda.node.services.statemachine
import com.google.common.annotations.VisibleForTesting
import net.corda.core.internal.VisibleForTesting
import com.google.common.primitives.Primitives
import net.corda.core.flows.*
import net.corda.core.serialization.CordaSerializable

View File

@ -2,7 +2,7 @@ package net.corda.node.services.vault
import co.paralleluniverse.fibers.Suspendable
import co.paralleluniverse.strands.Strand
import com.google.common.annotations.VisibleForTesting
import net.corda.core.internal.VisibleForTesting
import io.requery.PersistenceException
import io.requery.kotlin.eq
import io.requery.query.RowExpression