@@ -113,19 +113,16 @@ public void BuildBasicApplicationReleaseProfiledAotWithoutDefaultProfile ()
113113 }
114114
115115 [ Test ]
116- [ TestCase ( "テスト" , true , false ) ]
117- [ TestCase ( "随机生成器" , true , false ) ]
118- [ TestCase ( "テスト" , true , true ) ]
119- [ TestCase ( "随机生成器" , true , true ) ]
120- [ TestCase ( "テスト" , false , false ) ]
121- [ TestCase ( "随机生成器" , false , false ) ]
122- [ TestCase ( "テスト" , false , true ) ]
123- [ TestCase ( "随机生成器" , false , true ) ]
124- [ TestCase ( "中国" , false , false ) ]
125- [ TestCase ( "中国" , false , true ) ]
126- [ TestCase ( "中国" , true , true ) ]
127- [ TestCase ( "中国" , true , false ) ]
128- public void BuildAotApplicationWithSpecialCharactersInProject ( string testName , bool isRelease , bool aot )
116+ [ TestCase ( "テスト" , false , false , true ) ]
117+ [ TestCase ( "テスト" , true , true , false ) ]
118+ [ TestCase ( "テスト" , true , false , true ) ]
119+ [ TestCase ( "随机生成器" , false , false , true ) ]
120+ [ TestCase ( "随机生成器" , true , true , false ) ]
121+ [ TestCase ( "随机生成器" , true , false , true ) ]
122+ [ TestCase ( "中国" , false , false , true ) ]
123+ [ TestCase ( "中国" , true , true , false ) ]
124+ [ TestCase ( "中国" , true , false , true ) ]
125+ public void BuildAotApplicationWithSpecialCharactersInProject ( string testName , bool isRelease , bool aot , bool expectedResult )
129126 {
130127 var rootPath = Path . Combine ( Root , "temp" , TestName ) ;
131128 var proj = new XamarinAndroidApplicationProject ( ) {
@@ -135,7 +132,7 @@ public void BuildAotApplicationWithSpecialCharactersInProject (string testName,
135132 } ;
136133 proj . SetAndroidSupportedAbis ( "armeabi-v7a" , "arm64-v8a" , "x86" , "x86_64" ) ;
137134 using ( var builder = CreateApkBuilder ( Path . Combine ( rootPath , proj . ProjectName ) ) ) {
138- Assert . IsTrue ( builder . Build ( proj ) , "Build should have succeeded." ) ;
135+ Assert . AreEqual ( expectedResult , builder . Build ( proj ) , "Build should have succeeded." ) ;
139136 }
140137 }
141138
0 commit comments