@@ -22,20 +22,20 @@ import org.domaframework.doma.intellij.inspection.sql.inspector.SqlBindVariableV
2222 * A test that inspects whether a bind variable's parameters are defined.
2323 */
2424class ParameterDefinedTest : DomaSqlTest () {
25- private val testDaoNema = " EmployeeSummaryDao"
25+ private val testDaoName = " EmployeeSummaryDao"
2626
2727 override fun setUp () {
2828 super .setUp()
2929 addDaoJavaFile(
30- " $testDaoNema .java" ,
30+ " $testDaoName .java" ,
3131 )
3232 addSqlFile(
33- " $testDaoNema /bindVariableForEntityAndNonEntityParentClass.sql" ,
34- " $testDaoNema /bindVariableForNonEntityClass.sql" ,
35- " $testDaoNema /accessStaticProperty.sql" ,
36- " $testDaoNema /batchAnnotationResolvesClassInList.sql" ,
37- " $testDaoNema /resolveDaoArgumentOfListType.sql" ,
38- " $testDaoNema /bindVariableInFunctionParameters.sql" ,
33+ " $testDaoName /bindVariableForEntityAndNonEntityParentClass.sql" ,
34+ " $testDaoName /bindVariableForNonEntityClass.sql" ,
35+ " $testDaoName /accessStaticProperty.sql" ,
36+ " $testDaoName /batchAnnotationResolvesClassInList.sql" ,
37+ " $testDaoName /resolveDaoArgumentOfListType.sql" ,
38+ " $testDaoName /bindVariableInFunctionParameters.sql" ,
3939 )
4040 myFixture.enableInspections(SqlBindVariableValidInspector ())
4141 }
@@ -45,23 +45,23 @@ class ParameterDefinedTest : DomaSqlTest() {
4545 * + Non-Entity parent class field, method reference test
4646 */
4747 fun testBindVariableForEntityAndNonEntityParentClass () {
48- val sqlFile = findSqlFile(" $testDaoNema /bindVariableForEntityAndNonEntityParentClass.sql" )
48+ val sqlFile = findSqlFile(" $testDaoName /bindVariableForEntityAndNonEntityParentClass.sql" )
4949 assertNotNull(" Not Found SQL File" , sqlFile)
5050 if (sqlFile == null ) return
5151
5252 myFixture.testHighlighting(false , false , false , sqlFile)
5353 }
5454
5555 fun testBindVariableForNonEntityClass () {
56- val sqlFile = findSqlFile(" $testDaoNema /bindVariableForNonEntityClass.sql" )
56+ val sqlFile = findSqlFile(" $testDaoName /bindVariableForNonEntityClass.sql" )
5757 assertNotNull(" Not Found SQL File" , sqlFile)
5858 if (sqlFile == null ) return
5959
6060 myFixture.testHighlighting(false , false , false , sqlFile)
6161 }
6262
6363 fun testAccessStaticProperty () {
64- val sqlFile = findSqlFile(" $testDaoNema /accessStaticProperty.sql" )
64+ val sqlFile = findSqlFile(" $testDaoName /accessStaticProperty.sql" )
6565 assertNotNull(" Not Found SQL File" , sqlFile)
6666 if (sqlFile == null ) return
6767
@@ -70,7 +70,7 @@ class ParameterDefinedTest : DomaSqlTest() {
7070
7171 fun testBatchAnnotationResolvesClassInList () {
7272 val sqlFile =
73- findSqlFile(" $testDaoNema /batchAnnotationResolvesClassInList.sql" )
73+ findSqlFile(" $testDaoName /batchAnnotationResolvesClassInList.sql" )
7474 assertNotNull(" Not Found SQL File" , sqlFile)
7575 if (sqlFile == null ) return
7676
@@ -79,7 +79,7 @@ class ParameterDefinedTest : DomaSqlTest() {
7979
8080 fun testResolveDaoArgumentOfListType () {
8181 val sqlFile =
82- findSqlFile(" $testDaoNema /resolveDaoArgumentOfListType.sql" )
82+ findSqlFile(" $testDaoName /resolveDaoArgumentOfListType.sql" )
8383 assertNotNull(" Not Found SQL File" , sqlFile)
8484 if (sqlFile == null ) return
8585
@@ -88,7 +88,7 @@ class ParameterDefinedTest : DomaSqlTest() {
8888
8989 fun testBindVariableInFunctionParameters () {
9090 val sqlFile =
91- findSqlFile(" $testDaoNema /bindVariableInFunctionParameters.sql" )
91+ findSqlFile(" $testDaoName /bindVariableInFunctionParameters.sql" )
9292 assertNotNull(" Not Found SQL File" , sqlFile)
9393 if (sqlFile == null ) return
9494
0 commit comments