[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
public static void DefaultFontType_READ_ONLY()
{
- /* TEST CODE */
- Assert.IsNotNull(Tizen.System.SystemSettings.DefaultFontType, "DefaultFontType_READ_ONLY: DefaultFontType is null");
- Assert.IsInstanceOf<string>(Tizen.System.SystemSettings.DefaultFontType, "DefaultFontType_READ_ONLY: DefaultFontType not an instance of string");
+ try
+ {
+ /* TEST CODE */
+ Assert.IsNotNull(Tizen.System.SystemSettings.DefaultFontType, "DefaultFontType_READ_ONLY: DefaultFontType is null");
+ Assert.IsInstanceOf<string>(Tizen.System.SystemSettings.DefaultFontType, "DefaultFontType_READ_ONLY: DefaultFontType not an instance of string");
+ } catch (NotSupportedException) {
+ bool isSupport = true;
+ Information.TryGetValue<bool>("tizen.org/feature/systemsetting.font", out isSupport);
+ Assert.IsTrue(isSupport == false, "Invalid NotSupportedException");
+ }
}
// LocaleCountry