- ignoreWarnings() - Method in class com.alibaba.testable.core.compile.InMemoryJavaCompiler
-
Ignore non-critical compiler output, like unchecked/unsafe operation
warnings.
- INDEX_OF_MOCK_CLASS - Static variable in class com.alibaba.testable.core.util.MockAssociationUtil
-
[0]Thread → [1]MockAssociationUtil → [2]MockClass
- INDEX_OF_TEST_CLASS - Static variable in class com.alibaba.testable.core.util.InvokeRecordUtil
-
[0]Thread → [1]TestableUtil/TestableTool → [2]TestClass
- INDEX_OF_TEST_CLASS - Static variable in class com.alibaba.testable.core.util.MockContextUtil
-
[0]Thread → [1]MockContextUtil → [2]TestClass
- info(String, Object...) - Static method in class com.alibaba.testable.core.util.LogUtil
-
- init() - Static method in class com.alibaba.testable.core.util.MockContextUtil
-
Initialize mock context
should be invoked at the beginning of each test case method
- InMemoryJavaCompiler - Class in com.alibaba.testable.core.compile
-
Compile Java sources in-memory
- inOrder - Variable in class com.alibaba.testable.core.model.Verification
-
- InvocationMatcher - Class in com.alibaba.testable.core.matcher
-
- InvocationVerifier - Class in com.alibaba.testable.core.matcher
-
- invoke(Object, String, Object...) - Static method in class com.alibaba.testable.core.tool.PrivateAccessor
-
调用任意类的私有方法
- invokeOrigin(Class<?>, String, Object...) - Static method in class com.alibaba.testable.core.util.MockAssociationUtil
-
Note: this method will be invoked in transformed byte code
Invoke original method when mock class is not associated with current test case
- invokeRecord - Variable in class com.alibaba.testable.core.model.MockContext
-
invocation record of mock method and arguments
- 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.tool.PrivateAccessor
-
调用任意类的静态私有方法
- isAssociated() - Static method in class com.alibaba.testable.core.util.MockAssociationUtil
-
Note: this method will be invoked in transformed byte code
Check whether current mock method is invoked from its associated test class
should be invoked in mock method
- isBasicType(Class<?>) - Static method in class com.alibaba.testable.core.util.TypeUtil
-
whether class is a system basic type
- isNull() - Static method in class com.alibaba.testable.core.matcher.InvocationMatcher
-
- isVerboseEnabled() - Static method in class com.alibaba.testable.core.util.LogUtil
-
a pre-check method for reduce verbose parameter calculation