Skip to content

Commit 7ec280c

Browse files
Refactored tests
1 parent a4f6034 commit 7ec280c

File tree

113 files changed

+235
-302
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

113 files changed

+235
-302
lines changed
Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,24 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.isolated;
17-
18-
import static org.springframework.test.annotation.DirtiesContext.ClassMode.BEFORE_EACH_TEST_METHOD;
16+
package software.xdev.spring.data.eclipse.store.repository;
1917

18+
import java.lang.annotation.Documented;
2019
import java.lang.annotation.ElementType;
2120
import java.lang.annotation.Retention;
2221
import java.lang.annotation.RetentionPolicy;
2322
import java.lang.annotation.Target;
2423

25-
import org.junit.jupiter.api.extension.ExtendWith;
26-
import org.springframework.test.annotation.DirtiesContext;
27-
import org.springframework.test.context.ContextConfiguration;
28-
import org.springframework.test.context.junit.jupiter.SpringExtension;
24+
import org.springframework.data.annotation.QueryAnnotation;
2925

3026

27+
/**
28+
* TODO
29+
*/
3130
@Retention(RetentionPolicy.RUNTIME)
32-
@Target(ElementType.TYPE)
33-
@ExtendWith(SpringExtension.class)
34-
@ContextConfiguration(classes = {IsolatedTestConfiguration.class})
35-
@DirtiesContext(classMode = BEFORE_EACH_TEST_METHOD)
36-
public @interface IsolatedTestAnnotations
31+
@Target({ElementType.FIELD, ElementType.ANNOTATION_TYPE})
32+
@Documented
33+
@QueryAnnotation
34+
public @interface Lazy
3735
{
3836
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared;
16+
package software.xdev.spring.data.eclipse.store.integration;
1717

1818
import static org.springframework.test.annotation.DirtiesContext.ClassMode.BEFORE_EACH_TEST_METHOD;
1919

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared;
16+
package software.xdev.spring.data.eclipse.store.integration;
1717

1818
import static org.eclipse.store.storage.embedded.types.EmbeddedStorage.Foundation;
1919

@@ -35,7 +35,7 @@
3535

3636
@Configuration
3737
@EnableEclipseStoreRepositories(
38-
value = "software.xdev.spring.data.eclipse.store.integration.shared",
38+
value = "software.xdev.spring.data.eclipse.store.integration",
3939
clientConfigurationClass = TestConfiguration.class)
4040
public class TestConfiguration extends EclipseStoreClientConfiguration
4141
{

spring-data-eclipse-store/src/test/java/software/xdev/spring/data/eclipse/store/integration/isolated/IsolatedTestConfiguration.java

Lines changed: 0 additions & 65 deletions
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.Objects;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
public class ChildCustomer extends ParentCustomer
1919
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import org.springframework.data.repository.CrudRepository;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.List;
1919
import java.util.Objects;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.List;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.Optional;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.Objects;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.List;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.List;
1919
import java.util.Optional;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import org.springframework.data.repository.CrudRepository;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import org.springframework.data.repository.CrudRepository;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.List;
1919
import java.util.Optional;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.List;
1919
import java.util.Objects;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.Optional;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.HashSet;
1919
import java.util.List;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.HashSet;
1919
import java.util.List;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.Objects;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.ArrayList;
1919
import java.util.List;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import org.springframework.data.repository.CrudRepository;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.List;
1919
import java.util.Objects;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import org.springframework.data.repository.CrudRepository;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import java.util.List;
1919
import java.util.Objects;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import org.springframework.data.repository.CrudRepository;
1919
import org.springframework.data.repository.PagingAndSortingRepository;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
public class SubCustomer extends Customer
1919
{
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories;
1717

1818
import org.springframework.data.repository.CrudRepository;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories.id;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories.id;
1717

1818
import java.util.List;
1919
import java.util.Objects;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories.id;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories.id;
1717

1818
import org.springframework.data.repository.CrudRepository;
1919

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories.id;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories.id;
1717

1818
import java.util.List;
1919
import java.util.Objects;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories.id;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories.id;
1717

1818
import java.util.List;
1919
import java.util.Objects;
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* See the License for the specific language governing permissions and
1414
* limitations under the License.
1515
*/
16-
package software.xdev.spring.data.eclipse.store.integration.shared.repositories.id;
16+
package software.xdev.spring.data.eclipse.store.integration.repositories.id;
1717

1818
import org.springframework.data.repository.CrudRepository;
1919

0 commit comments

Comments
 (0)