Ver Fonte

move UT class to reasonable package (#2116)

gabry.wu há 5 anos atrás
pai
commit
0209cb7431

+ 1 - 2
dolphinscheduler-service/src/test/java/utils/PreconditionsTest.java

@@ -14,9 +14,8 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package utils;
+package org.apache.dolphinscheduler.common.utils;
 
-import org.apache.dolphinscheduler.common.utils.Preconditions;
 import org.junit.Assert;
 import org.junit.Test;
 import org.slf4j.Logger;

+ 1 - 2
dolphinscheduler-service/src/test/java/cron/CronUtilsTest.java

@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package cron;
+package org.apache.dolphinscheduler.service.quartz.cron;
 
 import com.cronutils.builder.CronBuilder;
 import com.cronutils.model.Cron;
@@ -25,7 +25,6 @@ import com.cronutils.model.field.CronFieldName;
 import com.cronutils.model.field.expression.*;
 import org.apache.dolphinscheduler.common.enums.CycleEnum;
 import org.apache.dolphinscheduler.common.utils.DateUtils;
-import org.apache.dolphinscheduler.service.quartz.cron.CronUtils;
 import org.junit.Assert;
 import org.junit.Test;
 import org.slf4j.Logger;

+ 1 - 1
dolphinscheduler-service/src/test/java/queue/BaseTaskQueueTest.java

@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package queue;
+package org.apache.dolphinscheduler.service.queue;
 
 import org.apache.dolphinscheduler.service.queue.ITaskQueue;
 import org.apache.dolphinscheduler.service.queue.TaskQueueFactory;

+ 1 - 1
dolphinscheduler-service/src/test/java/queue/TaskQueueZKImplTest.java

@@ -14,7 +14,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  */
-package queue;
+package org.apache.dolphinscheduler.service.queue;
 
 import org.apache.dolphinscheduler.common.Constants;
 import org.apache.dolphinscheduler.common.utils.IpUtils;