Skip to content

Commit 274c6fc

Browse files
committed
[tests] Junit 5 stylings
1 parent 42192fd commit 274c6fc

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

src/test/java/org/mybatis/spring/SqlSessionTemplateTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2024 the original author or authors.
2+
* Copyright 2010-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -34,6 +34,7 @@
3434

3535
// tests basic usage and implementation only
3636
// MapperFactoryBeanTest handles testing the transactional functions in SqlSessionTemplate
37+
// Method is public as extended by other test classes outside this package
3738
public class SqlSessionTemplateTest extends AbstractMyBatisSpringTest {
3839

3940
private static SqlSession sqlSessionTemplate;

src/test/java/org/mybatis/spring/filter/ScanFilterTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2010-2024 the original author or authors.
2+
* Copyright 2010-2025 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -31,7 +31,7 @@
3131
/**
3232
* test the function of excludeFilters in @MapperScan
3333
*/
34-
public class ScanFilterTest {
34+
class ScanFilterTest {
3535

3636
private AnnotationConfigApplicationContext applicationContext;
3737

src/test/java/org/mybatis/spring/filter/xml/XmlScanFilterTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
/**
2727
* test the function of excludeFilters in <code><mybatis:scan/></code>.
2828
*/
29-
public class XmlScanFilterTest {
29+
class XmlScanFilterTest {
3030

3131
private ClassPathXmlApplicationContext applicationContext;
3232

0 commit comments

Comments
 (0)