File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -216,6 +216,20 @@ public function testSetGetDefaultFontName(): void
216
216
self ::assertEquals ('Times New Roman ' , Settings::getDefaultFontName ());
217
217
}
218
218
219
+ /**
220
+ * Test set/get default font name.
221
+ */
222
+ public function testSetGetDefaultAsianFontName (): void
223
+ {
224
+ self ::assertEquals (Settings::DEFAULT_FONT_NAME , Settings::getDefaultAsianFontName ());
225
+ self ::assertFalse (Settings::setDefaultAsianFontName (' ' ));
226
+ self ::assertEquals (Settings::DEFAULT_FONT_NAME , Settings::getDefaultAsianFontName ());
227
+ self ::assertTrue (Settings::setDefaultAsianFontName ('Times New Roman ' ));
228
+ self ::assertEquals ('Times New Roman ' , Settings::getDefaultAsianFontName ());
229
+ self ::assertFalse (Settings::setDefaultAsianFontName (' ' ));
230
+ self ::assertEquals ('Times New Roman ' , Settings::getDefaultAsianFontName ());
231
+ }
232
+
219
233
/**
220
234
* Test set/get default font size.
221
235
*/
You can’t perform that action at this time.
0 commit comments