Skip navigation links
A C D E G I L M N P R S T V W 

A

any(MatchFunction) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
any() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
any(Class<?>) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyArray() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyArrayOf(Class<?>) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyBoolean() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyByte() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyChar() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyCollection() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyCollectionOf(Class<?>) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyDouble() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyFloat() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyInt() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyIterable() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyIterableOf(Class<?>) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyList() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyListOf(Class<?>) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyLong() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyMap() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyMapOf(Class<?>, Class<?>) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyNumber() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anySet() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anySetOf(Class<?>) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyShort() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyString() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
anyTypeOf(Class<?>...) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 

C

check(Object) - Method in interface com.alibaba.testable.core.function.MatchFunction
Judge whether real argument value match exception
com.alibaba.testable.core.accessor - package com.alibaba.testable.core.accessor
 
com.alibaba.testable.core.annotation - package com.alibaba.testable.core.annotation
 
com.alibaba.testable.core.error - package com.alibaba.testable.core.error
 
com.alibaba.testable.core.function - package com.alibaba.testable.core.function
 
com.alibaba.testable.core.matcher - package com.alibaba.testable.core.matcher
 
com.alibaba.testable.core.model - package com.alibaba.testable.core.model
 
com.alibaba.testable.core.tool - package com.alibaba.testable.core.tool
 
com.alibaba.testable.core.util - package com.alibaba.testable.core.util
 
contains(String) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
currentSourceMethodName() - Static method in class com.alibaba.testable.core.util.TestableUtil
Get the last visit method in source file
currentTestCaseName(String) - Static method in class com.alibaba.testable.core.util.TestableUtil
Get current test case method

D

diagnose(String, Object...) - Static method in class com.alibaba.testable.core.util.LogUtil
 

E

enableDiagnose(boolean) - Static method in class com.alibaba.testable.core.util.LogUtil
 
endsWith(String) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
eq(Object) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
error(String, Object...) - Static method in class com.alibaba.testable.core.util.LogUtil
 

G

get(Object, String) - Static method in class com.alibaba.testable.core.accessor.PrivateAccessor
 
getClassesFromObjects(Object[]) - Static method in class com.alibaba.testable.core.util.TypeUtil
get classes of parameter objects
getInvokeIdentify(String, String, String) - Static method in class com.alibaba.testable.core.util.InvokeRecordUtil
Get identify key for mock invocation record
getInvokeRecord(String) - Static method in class com.alibaba.testable.core.util.InvokeRecordUtil
Get mock method invoke count
getMethodByNameAndParameterTypes(Method[], String, Class<?>[]) - Static method in class com.alibaba.testable.core.util.TypeUtil
get method by name and parameter matching
getStatic(Class<?>, String) - Static method in class com.alibaba.testable.core.accessor.PrivateAccessor
 

I

INDEX_OF_TEST_CLASS - Static variable in class com.alibaba.testable.core.util.InvokeRecordUtil
[0]Thread → [1]TestableUtil/TestableTool → [2]TestClass
inOrder - Variable in class com.alibaba.testable.core.model.Verification
 
invoke(Object, String, Object...) - Static method in class com.alibaba.testable.core.accessor.PrivateAccessor
 
InvokeMatcher - Class in com.alibaba.testable.core.matcher
 
InvokeRecordUtil - Class in com.alibaba.testable.core.util
 
InvokeRecordUtil() - Constructor for class com.alibaba.testable.core.util.InvokeRecordUtil
 
invokeStatic(Class<?>, String, Object...) - Static method in class com.alibaba.testable.core.accessor.PrivateAccessor
 
InvokeVerifier - Class in com.alibaba.testable.core.matcher
 
isNull() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 

L

LogUtil - Class in com.alibaba.testable.core.util
 
LogUtil() - Constructor for class com.alibaba.testable.core.util.LogUtil
 
LogUtil.LogLevel - Enum in com.alibaba.testable.core.util
 

M

matches(String) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
MatchFunction - Interface in com.alibaba.testable.core.function
 
matchFunction - Variable in class com.alibaba.testable.core.matcher.InvokeMatcher
 
MOCK_CONTEXT - Static variable in class com.alibaba.testable.core.tool.TestableTool
Inject extra mock parameters
MockConstructor - Annotation Type in com.alibaba.testable.core.annotation
Mark method as mock constructor
MockDiagnose - Enum in com.alibaba.testable.core.model
 
MockMethod - Annotation Type in com.alibaba.testable.core.annotation
Mark method as mock method
MockWith - Annotation Type in com.alibaba.testable.core.annotation
Set extra mock parameter to test class

N

notNull() - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
nullable(Class<?>) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 

P

parameters - Variable in class com.alibaba.testable.core.model.Verification
 
previousStackLocation() - Static method in class com.alibaba.testable.core.util.TestableUtil
Get file name and line number of where current method was called
PrivateAccessor - Class in com.alibaba.testable.core.accessor
 
PrivateAccessor() - Constructor for class com.alibaba.testable.core.accessor.PrivateAccessor
 

R

recordMockInvoke(Object[], boolean) - Static method in class com.alibaba.testable.core.util.InvokeRecordUtil
Record mock method invoke event
refEq(Object) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 
resetLogLevel() - Static method in class com.alibaba.testable.core.util.LogUtil
 

S

set(Object, String, T) - Static method in class com.alibaba.testable.core.accessor.PrivateAccessor
 
setDefaultLevel(LogUtil.LogLevel) - Static method in class com.alibaba.testable.core.util.LogUtil
 
setStatic(Class<?>, String, T) - Static method in class com.alibaba.testable.core.accessor.PrivateAccessor
 
SOURCE_METHOD - Static variable in class com.alibaba.testable.core.tool.TestableTool
Name of the last visited method in source class
startsWith(String) - Static method in class com.alibaba.testable.core.matcher.InvokeMatcher
 

T

TEST_CASE - Static variable in class com.alibaba.testable.core.tool.TestableTool
Deprecated.
prefer using `MOCK_CONTEXT` to distinguish test cases
TestableMock - Annotation Type in com.alibaba.testable.core.annotation
Deprecated.
will be remove in v0.5.0, use @MockMethod or @MockConstructor instead
TestableTool - Class in com.alibaba.testable.core.tool
 
TestableTool() - Constructor for class com.alibaba.testable.core.tool.TestableTool
 
TestableUtil - Class in com.alibaba.testable.core.util
 
TestableUtil() - Constructor for class com.alibaba.testable.core.util.TestableUtil
 
times(int) - Method in class com.alibaba.testable.core.matcher.InvokeVerifier
Expect several consecutive invocations with the same parameters
TypeUtil - Class in com.alibaba.testable.core.util
 
TypeUtil() - Constructor for class com.alibaba.testable.core.util.TypeUtil
 

V

valueOf(String) - Static method in enum com.alibaba.testable.core.model.MockDiagnose
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.alibaba.testable.core.util.LogUtil.LogLevel
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.alibaba.testable.core.model.MockDiagnose
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.alibaba.testable.core.util.LogUtil.LogLevel
Returns an array containing the constants of this enum type, in the order they are declared.
verbose(String, Object...) - Static method in class com.alibaba.testable.core.util.LogUtil
 
Verification - Class in com.alibaba.testable.core.model
 
Verification(Object[], boolean) - Constructor for class com.alibaba.testable.core.model.Verification
 
verify(String) - Static method in class com.alibaba.testable.core.matcher.InvokeVerifier
Get counter to check whether specified mock method invoked
VerifyFailedError - Error in com.alibaba.testable.core.error
 
VerifyFailedError(String) - Constructor for error com.alibaba.testable.core.error.VerifyFailedError
 
VerifyFailedError(String, String) - Constructor for error com.alibaba.testable.core.error.VerifyFailedError
 
VerifyFailedError(String, String, String) - Constructor for error com.alibaba.testable.core.error.VerifyFailedError
 

W

warn(String, Object...) - Static method in class com.alibaba.testable.core.util.LogUtil
 
with(Object...) - Method in class com.alibaba.testable.core.matcher.InvokeVerifier
Expect mock method invoked with specified parameters
withInOrder(Object...) - Method in class com.alibaba.testable.core.matcher.InvokeVerifier
Expect next mock method call was invoked with specified parameters
without(Object...) - Method in class com.alibaba.testable.core.matcher.InvokeVerifier
Expect mock method had never invoked with specified parameters
withTimes(int) - Method in class com.alibaba.testable.core.matcher.InvokeVerifier
Expect mock method have been invoked specified times
A C D E G I L M N P R S T V W 
Skip navigation links

Copyright © 2020. All rights reserved.