BAEL-19988: Migrate spring-testing module to the com.baeldung package
This commit is contained in:
parent
93b79e272d
commit
f84ff448c5
|
@ -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>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.mockito.repository;
|
||||
package com.baeldung.mockito.repository;
|
||||
|
||||
import javax.persistence.Entity;
|
||||
import javax.persistence.GeneratedValue;
|
|
@ -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;
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.reflectiontestutils.repository;
|
||||
package com.baeldung.reflectiontestutils.repository;
|
||||
|
||||
public class Employee {
|
||||
private Integer id;
|
|
@ -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;
|
|
@ -1,4 +1,4 @@
|
|||
package org.baeldung.reflectiontestutils.repository;
|
||||
package com.baeldung.reflectiontestutils.repository;
|
||||
|
||||
import org.springframework.stereotype.Component;
|
||||
|
|
@ -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;
|
|
@ -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;
|
|
@ -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;
|
||||
|
Loading…
Reference in New Issue