Tag mongodb and redis tests

This commit is contained in:
Janne Valkealahti
2020-11-22 14:08:49 +00:00
parent bb8d1b3014
commit 2297ee93d1
6 changed files with 17 additions and 5 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016-2019 the original author or authors.
* Copyright 2016-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,6 +15,7 @@
*/
package org.springframework.statemachine.buildtests.tck.mongodb;
import org.junit.jupiter.api.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.domain.EntityScan;
@@ -49,6 +50,7 @@ import org.springframework.statemachine.data.support.StateMachineJackson2Reposit
*
*/
@EnabledOnMongoDb
@Tag("mongodb")
public class MongoDbJsonTckTests extends AbstractTckTests {
@Override

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016-2019 the original author or authors.
* Copyright 2016-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,6 +18,7 @@ package org.springframework.statemachine.buildtests.tck.mongodb;
import java.util.Arrays;
import java.util.HashSet;
import org.junit.jupiter.api.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.domain.EntityScan;
@@ -54,6 +55,7 @@ import org.springframework.statemachine.transition.TransitionKind;
*
*/
@EnabledOnMongoDb
@Tag("mongodb")
public class MongoDbManualTckTests extends AbstractTckTests {
@Override

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016-2019 the original author or authors.
* Copyright 2016-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -15,6 +15,7 @@
*/
package org.springframework.statemachine.buildtests.tck.redis;
import org.junit.jupiter.api.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.domain.EntityScan;
@@ -49,6 +50,7 @@ import org.springframework.statemachine.data.support.StateMachineJackson2Reposit
*
*/
@EnabledOnRedis
@Tag("redis")
public class RedisJsonTckTests extends AbstractTckTests {
@Override

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016-2019 the original author or authors.
* Copyright 2016-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -18,6 +18,7 @@ package org.springframework.statemachine.buildtests.tck.redis;
import java.util.Arrays;
import java.util.HashSet;
import org.junit.jupiter.api.Tag;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
import org.springframework.boot.autoconfigure.domain.EntityScan;
@@ -54,6 +55,7 @@ import org.springframework.statemachine.transition.TransitionKind;
*
*/
@EnabledOnRedis
@Tag("redis")
public class RedisManualTckTests extends AbstractTckTests {
@Override

View File

@@ -25,6 +25,7 @@ import static org.springframework.statemachine.TestUtils.resolveMachine;
import java.util.ArrayList;
import java.util.List;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
@@ -48,6 +49,7 @@ import org.springframework.statemachine.transition.TransitionKind;
* @author Janne Valkealahti
*/
@EnabledOnMongoDb
@Tag("mongodb")
public class MongoDbRepositoryTests extends AbstractRepositoryTests {
@Override

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2016-2019 the original author or authors.
* Copyright 2016-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -25,6 +25,7 @@ import static org.springframework.statemachine.TestUtils.resolveMachine;
import java.util.ArrayList;
import java.util.List;
import org.junit.jupiter.api.Tag;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.autoconfigure.EnableAutoConfiguration;
@@ -48,6 +49,7 @@ import org.springframework.statemachine.transition.TransitionKind;
* @author Janne Valkealahti
*/
@EnabledOnRedis
@Tag("redis")
public class RedisRepositoryTests extends AbstractRepositoryTests {
@Override