BAEL-19988: Migrate spring-testing module to the com.baeldung package

This commit is contained in:
Krzysztof Woyke 2019-12-19 11:02:46 +01:00
parent 93b79e272d
commit f84ff448c5
9 changed files with 14 additions and 14 deletions

View File

@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.baeldung</groupId>
<groupId>com.baeldung</groupId>
<artifactId>spring-testing</artifactId>
<version>0.1-SNAPSHOT</version>
<name>spring-testing</name>

View File

@ -1,4 +1,4 @@
package org.baeldung.mockito.repository;
package com.baeldung.mockito.repository;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;

View File

@ -1,4 +1,4 @@
package org.baeldung.mockito.repository;
package com.baeldung.mockito.repository;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

View File

@ -1,4 +1,4 @@
package org.baeldung.reflectiontestutils.repository;
package com.baeldung.reflectiontestutils.repository;
public class Employee {
private Integer id;

View File

@ -1,4 +1,4 @@
package org.baeldung.reflectiontestutils.repository;
package com.baeldung.reflectiontestutils.repository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

View File

@ -1,4 +1,4 @@
package org.baeldung.reflectiontestutils.repository;
package com.baeldung.reflectiontestutils.repository;
import org.springframework.stereotype.Component;

View File

@ -1,6 +1,6 @@
package org.baeldung.mockito;
package com.baeldung.mockito;
import org.baeldung.mockito.repository.UserRepository;
import com.baeldung.mockito.repository.UserRepository;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;

View File

@ -1,6 +1,6 @@
package org.baeldung.mockito;
package com.baeldung.mockito;
import org.baeldung.mockito.repository.UserRepository;
import com.baeldung.mockito.repository.UserRepository;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;

View File

@ -1,11 +1,11 @@
package org.baeldung.reflectiontestutils;
package com.baeldung.reflectiontestutils;
import static org.junit.Assert.*;
import static org.mockito.Mockito.mock;
import org.baeldung.reflectiontestutils.repository.Employee;
import org.baeldung.reflectiontestutils.repository.EmployeeService;
import org.baeldung.reflectiontestutils.repository.HRService;
import com.baeldung.reflectiontestutils.repository.EmployeeService;
import com.baeldung.reflectiontestutils.repository.HRService;
import com.baeldung.reflectiontestutils.repository.Employee;
import org.junit.Test;
import org.springframework.test.util.ReflectionTestUtils;