mirror of
https://github.com/alibaba/testable-mock.git
synced 2025-01-10 20:30:11 +08:00
fix package path in strings
This commit is contained in:
parent
5a4c5d847e
commit
a947939d08
@ -17,7 +17,7 @@ import java.util.Set;
|
||||
*/
|
||||
public class TestableClassTransformer implements ClassFileTransformer {
|
||||
|
||||
private static final String ENABLE_TESTABLE = "com.alibaba.testable.annotation.EnableTestable";
|
||||
private static final String ENABLE_TESTABLE = "com.alibaba.testable.core.annotation.EnableTestable";
|
||||
private static final String ENABLE_TESTABLE_INJECT = "com.alibaba.testable.annotation.EnableTestableInject";
|
||||
private static final String TEST_POSTFIX = "Test";
|
||||
|
||||
|
@ -22,7 +22,7 @@ import java.util.Set;
|
||||
/**
|
||||
* @author flin
|
||||
*/
|
||||
@SupportedAnnotationTypes("com.alibaba.testable.annotation.EnableTestable")
|
||||
@SupportedAnnotationTypes("com.alibaba.testable.core.annotation.EnableTestable")
|
||||
@SupportedSourceVersion(SourceVersion.RELEASE_7)
|
||||
public class EnableTestableProcessor extends BaseProcessor {
|
||||
|
||||
|
@ -5,15 +5,15 @@ package com.alibaba.testable.core.util;
|
||||
*/
|
||||
public final class ConstPool {
|
||||
|
||||
public static final String TYPE_UTIL = "com.alibaba.testable.util.TypeUtil";
|
||||
public static final String TYPE_UTIL = "com.alibaba.testable.core.util.TypeUtil";
|
||||
public static final String CLASS_SUBSTITUTION = TYPE_UTIL + ".TestableSubstitution";
|
||||
public static final String METHOD_ADD_TO_CON_POLL = TYPE_UTIL + ".addToConstructorPool";
|
||||
public static final String METHOD_ADD_TO_MEM_POOL = TYPE_UTIL + ".addToMemberMethodPool";
|
||||
public static final String CLASS_OF_TYPE = "class";
|
||||
public static final String TYPE_CLASS = "Class";
|
||||
public static final String REF_THIS = "this";
|
||||
public static final String TESTABLE_PRIVATE_ACCESSOR = "com.alibaba.testable.accessor.PrivateAccessor";
|
||||
public static final String ANNOTATION_TESTABLE_INJECT = "com.alibaba.testable.annotation.TestableInject";
|
||||
public static final String TESTABLE_PRIVATE_ACCESSOR = "com.alibaba.testable.core.accessor.PrivateAccessor";
|
||||
public static final String ANNOTATION_TESTABLE_INJECT = "com.alibaba.testable.core.annotation.TestableInject";
|
||||
public static final String TESTABLE_SETUP_METHOD_NAME = "testableSetup";
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user