Skip to content

Commit 1596e39

Browse files
authored
Merge pull request #1168 from hazendaz/master
Fix test javadoc and adhere better to junit 5 style
2 parents 43e253c + 274c6fc commit 1596e39

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
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: 3 additions & 3 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.
@@ -24,9 +24,9 @@
2424
import org.springframework.context.support.ClassPathXmlApplicationContext;
2525

2626
/**
27-
* test the function of excludeFilters in <mybatis:scan/>
27+
* 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)