fix package path in strings

This commit is contained in:
金戟 2020-07-25 22:54:57 +08:00
parent 5a4c5d847e
commit a947939d08
3 changed files with 5 additions and 5 deletions

View File

@ -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";

View File

@ -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 {

View File

@ -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";
}