Package | Description |
---|---|
io.sniffy |
Sniffy allows you to validate the number of SQL queries executed by a given block of code
Example usage:
|
io.sniffy.socket |
Modifier and Type | Method and Description |
---|---|
WrongNumberOfQueriesError |
Spy.getWrongNumberOfQueriesError() |
Modifier and Type | Method and Description |
---|---|
void |
Spy.verify()
Verifies all expectations added previously using
expect methods family |
C |
Spy.verify(int allowedStatements)
Deprecated.
|
C |
Spy.verify(int allowedStatements,
Query query)
Deprecated.
|
C |
Spy.verify(int allowedStatements,
Query query,
Threads threadMatcher)
Deprecated.
|
C |
Spy.verify(int allowedStatements,
Threads threadMatcher)
Deprecated.
|
C |
Spy.verify(int allowedStatements,
Threads threadMatcher,
Query query)
Deprecated.
|
C |
Spy.verifyAtLeast(int allowedStatements)
Deprecated.
|
C |
Spy.verifyAtLeast(int allowedStatements,
Query query)
Deprecated.
|
C |
Spy.verifyAtLeast(int allowedStatements,
Query query,
Threads threadMatcher)
Deprecated.
|
C |
Spy.verifyAtLeast(int allowedStatements,
Threads threadMatcher)
Deprecated.
|
C |
Spy.verifyAtLeast(int allowedStatements,
Threads threadMatcher,
Query query)
Deprecated.
|
C |
Spy.verifyAtMost(int allowedStatements)
Deprecated.
|
C |
Spy.verifyAtMost(int allowedStatements,
Query query)
Deprecated.
|
C |
Spy.verifyAtMost(int allowedStatements,
Query query,
Threads threadMatcher)
Deprecated.
|
C |
Spy.verifyAtMost(int allowedStatements,
Threads threadMatcher)
Deprecated.
|
C |
Spy.verifyAtMost(int allowedStatements,
Threads threadMatcher,
Query query)
Deprecated.
|
C |
Spy.verifyAtMostOnce()
Deprecated.
|
C |
Spy.verifyAtMostOnce(Query query)
Deprecated.
|
C |
Spy.verifyAtMostOnce(Query query,
Threads threadMatcher)
Deprecated.
|
C |
Spy.verifyAtMostOnce(Threads threadMatcher)
Deprecated.
|
C |
Spy.verifyAtMostOnce(Threads threadMatcher,
Query query)
Deprecated.
|
C |
Spy.verifyBetween(int minAllowedStatements,
int maxAllowedStatements)
Deprecated.
|
C |
Spy.verifyBetween(int minAllowedStatements,
int maxAllowedStatements,
Query query)
Deprecated.
|
C |
Spy.verifyBetween(int minAllowedStatements,
int maxAllowedStatements,
Query query,
Threads threadMatcher)
Deprecated.
|
C |
Spy.verifyBetween(int minAllowedStatements,
int maxAllowedStatements,
Threads threadMatcher)
Deprecated.
|
C |
Spy.verifyBetween(int minAllowedStatements,
int maxAllowedStatements,
Threads threadMatcher,
Query query)
Deprecated.
|
C |
Spy.verifyNever()
Deprecated.
|
C |
Spy.verifyNever(Query query)
Deprecated.
|
C |
Spy.verifyNever(Query query,
Threads threadMatcher)
Deprecated.
|
C |
Spy.verifyNever(Threads threadMatcher)
Deprecated.
|
C |
Spy.verifyNever(Threads threadMatcher,
Query query)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
<T extends Spy<T>> |
TcpConnections.TcpExpectation.verify(Spy<T> spy) |
Copyright © 2016. All rights reserved.