luodangjia
2024-12-10 ee7ce5d1cbf80bee0a15c1e5bc5eaa30858d812b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
package com.hollywood.applet;
 
import com.hollywood.common.redis.RedisAutoTemplate;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
 
import java.util.concurrent.locks.Lock;
import java.util.concurrent.locks.ReentrantLock;
 
/**
 * @Description
 * @Author xiaochen
 * @Date 2022/8/3/00310:01
 */
@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT, classes = AppletApplication.class)
public class AppletTest {
 
 
    private final Lock lock = new ReentrantLock();
 
    @Autowired
    private RedisAutoTemplate redisAutoTemplate;
 
    @Test
    void test() throws InterruptedException {
    }
 
 
}