[Description("Tizen.Account.AccountManager.Account Tests")]
public class AccountTests
{
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/account", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Song Jooseok, seogii.song@samsung.com")]
- public static void Account_INIT()
+ public void Account_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void UserName_PROPERTY_READ_WRITE()
+ public void UserName_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void AccountId_PROPERTY_READ_ONLY()
+ public void AccountId_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void DisplayName_PROPERTY_READ_WRITE()
+ public void DisplayName_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void IconPath_PROPERTY_READ_WRITE()
+ public void IconPath_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void DomainName_PROPERTY_READ_WRITE()
+ public void DomainName_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void EmailId_PROPERTY_READ_WRITE()
+ public void EmailId_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void PackageName_PROPERTY_READ_WRITE()
+ public void PackageName_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void AccessToken_PROPERTY_READ_WRITE()
+ public void AccessToken_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void AuthType_PROPERTY_READ_WRITE()
+ public void AuthType_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void SecrecyState_PROPERTY_READ_WRITE()
+ public void SecrecyState_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void SyncState_PROPERTY_READ_WRITE()
+ public void SyncState_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Source_PROPERTY_READ_WRITE()
+ public void Source_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Song Jooseok, seogii.song@samsung.com")]
- public static void SafeAccountHandle_PROPERTY_READ_ONLY()
+ public void SafeAccountHandle_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAllCapabilities_CHECK_RESULT()
+ public void GetAllCapabilities_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void SetCustomValue_CHECK_STATUS()
+ public void SetCustomValue_CHECK_STATUS()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void SetCustomValue_INVALID_ARGUMENT()
+ public void SetCustomValue_INVALID_ARGUMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetCapability_CHECK_RESULT()
+ public void GetCapability_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetCapability_INVALID_ARGUMENT()
+ public void GetCapability_INVALID_ARGUMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void SetCapability_CHECK_STATUS()
+ public void SetCapability_CHECK_STATUS()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void SetCapability_INVALID_ARGUMENT()
+ public void SetCapability_INVALID_ARGUMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void SetUserText_CHECK_STATUS()
+ public void SetUserText_CHECK_STATUS()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void SetUserText_BEYOND_RANGE_CHECK()
+ public void SetUserText_BEYOND_RANGE_CHECK()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetUserText_CHECK_RESULT()
+ public void GetUserText_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetUserText_INVALID_ARGUMENT()
+ public void GetUserText_INVALID_ARGUMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void SetUserInt_CHECK_STATUS()
+ public void SetUserInt_CHECK_STATUS()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetUserInt_CHECK_RESULT()
+ public void GetUserInt_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void SetUserInt_INVALID_ARGUMENT()
+ public void SetUserInt_INVALID_ARGUMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetUserInt_INVALID_ARGUMENT()
+ public void GetUserInt_INVALID_ARGUMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetCustomValue_CHECK_RESULT()
+ public void GetCustomValue_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetCustomValue_INVALID_ARGUMENT()
+ public void GetCustomValue_INVALID_ARGUMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAllCustomValues_CHECK_RESULT()
+ public void GetAllCustomValues_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void CreateAccount_CHECK_RESULT()
+ public void CreateAccount_CHECK_RESULT()
{
try
{
[Description("Tizen.Account.AccountManager.AccountProvider Tests")]
public class AccountProviderTests
{
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/account", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void AppId_PROPERTY_READ_ONLY()
+ public void AppId_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void ServiceProviderId_PROPERTY_READ_ONLY()
+ public void ServiceProviderId_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void IconPath_PROPERTY_READ_ONLY()
+ public void IconPath_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void SmallIconPath_PROPERTY_READ_ONLY()
+ public void SmallIconPath_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void MultipleAccountSupport_PROPERTY_READ_ONLY()
+ public void MultipleAccountSupport_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAllCapabilities_CHECK_RESULT()
+ public void GetAllCapabilities_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetLabel_CHECK_RESULT()
+ public void GetLabel_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetLabel_INVALID_OPERATION_EXCEPTION()
+ public void GetLabel_INVALID_OPERATION_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetLabelsByAppId_CHECK_RESULT()
+ public void GetLabelsByAppId_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetLabelsByAppId_INVALID_ARGUMENT()
+ public void GetLabelsByAppId_INVALID_ARGUMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetLabelsByAppId_INVALID_OPERATION_EXCEPTION()
+ public void GetLabelsByAppId_INVALID_OPERATION_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetLabels_CHECK_RESULT()
+ public void GetLabels_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void IsAppSupported_CHECK_RESULT()
+ public void IsAppSupported_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void IsFeatureSupportedByApp_CHECK_RESULT()
+ public void IsFeatureSupportedByApp_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void IsFeatureSupportedByApp_INVALID_ARGUMENT_NULL()
+ public void IsFeatureSupportedByApp_INVALID_ARGUMENT_NULL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void IsFeatureSupportedByApp_INVALID_ARGUMENT()
+ public void IsFeatureSupportedByApp_INVALID_ARGUMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetFeaturesByAppId_CHECK_RESULT()
+ public void GetFeaturesByAppId_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetFeaturesByAppId_INVALID_ARGUMENT()
+ public void GetFeaturesByAppId_INVALID_ARGUMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetFeaturesByAppId_INVALID_OPERATION_EXCEPTION()
+ public void GetFeaturesByAppId_INVALID_OPERATION_EXCEPTION()
{
try
{
[Description("Tizen.Account.AccountManager.AccountService Tests")]
public class AccountServiceTests
{
- private static string s_AppId = "Tizen.Accounts.Tests";
- private static bool isSupported = false;
+ private string s_AppId = "Tizen.Accounts.Tests";
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/account", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAccountsAsync_CHECK_RESULT()
+ public void GetAccountsAsync_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAccountById_CHECK_RESULT()
+ public void GetAccountById_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void AddAccount_CHECK_RESULT()
+ public void AddAccount_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void AddAccount_INVALID_ARGUMENT()
+ public void AddAccount_INVALID_ARGUMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void UpdateAccount_CHECK_RESULT()
+ public void UpdateAccount_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void UpdateAccount_INVALID_ARGUMENT()
+ public void UpdateAccount_INVALID_ARGUMENT()
{
try
{
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
[Property("COVPARAM", "Tizen.Account.AccountManager.Account")]
- public static void DeleteAccount_CHECK_RESULT()
+ public void DeleteAccount_CHECK_RESULT()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
[Property("COVPARAM", "Tizen.Account.AccountManager.Account")]
- public static void DeleteAccount_INVALID_ARGUMENT()
+ public void DeleteAccount_INVALID_ARGUMENT()
{
try
{
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
[Property("COVPARAM", "Tizen.Account.AccountManager.Account")]
- public static void DeleteAccount_BY_PACKAGE_CHECK_RESULT()
+ public void DeleteAccount_BY_PACKAGE_CHECK_RESULT()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
[Property("COVPARAM", "string")]
- public static void DeleteAccount_BY_INVALID_PACKAGE_NULL()
+ public void DeleteAccount_BY_INVALID_PACKAGE_NULL()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
[Property("COVPARAM", "string")]
- public static void DeleteAccount_BY_INVALID_PACKAGE()
+ public void DeleteAccount_BY_INVALID_PACKAGE()
{
try
{
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static void DeleteAccount_BY_USER_CHECK_RESULT()
+ public void DeleteAccount_BY_USER_CHECK_RESULT()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static void DeleteAccount_BY_INVALID_USER_NULL()
+ public void DeleteAccount_BY_INVALID_USER_NULL()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static void DeleteAccount_BY_INVALID_USER()
+ public void DeleteAccount_BY_INVALID_USER()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAccountsByUserName_CHECK_RESULT()
+ public void GetAccountsByUserName_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAccountsByUserName_INVALID_ARGUMENT_NULL()
+ public void GetAccountsByUserName_INVALID_ARGUMENT_NULL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAccountsByUserName_INVALID_ARGUMENT()
+ public void GetAccountsByUserName_INVALID_ARGUMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAccountsByPackageName_CHECK_RESULT()
+ public void GetAccountsByPackageName_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAccountsByPackageName_INVALID_ARGUMENT()
+ public void GetAccountsByPackageName_INVALID_ARGUMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAccountsByPackageName_INVALID_OPERTATION()
+ public void GetAccountsByPackageName_INVALID_OPERTATION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAccountsByCapabilityType_CHECK_RESULT()
+ public void GetAccountsByCapabilityType_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAccountsByCapabilityType_INVALID_ARGUMENT()
+ public void GetAccountsByCapabilityType_INVALID_ARGUMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAccountsByCapabilityType_INVALID_OPERATION()
+ public void GetAccountsByCapabilityType_INVALID_OPERATION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetCapabilitiesById_CHECK_RESULT()
+ public void GetCapabilitiesById_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetCapabilitiesById_INVALI_ARGUMENT()
+ public void GetCapabilitiesById_INVALI_ARGUMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAccountsCount_CHECK_RESULT()
+ public void GetAccountsCount_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void UpdateSyncStatusById_CHECK_RESULT()
+ public void UpdateSyncStatusById_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void CalendarCapability_READ_ONLY()
+ public void CalendarCapability_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void ContactCapability_READ_ONLY()
+ public void ContactCapability_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void EmailCapability_READ_ONLY()
+ public void EmailCapability_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void PhotoCapability_READ_ONLY()
+ public void PhotoCapability_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void VideoCapability_READ_ONLY()
+ public void VideoCapability_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void DocumentCapability_READ_ONLY()
+ public void DocumentCapability_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void MessageCapability_READ_ONLY()
+ public void MessageCapability_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GameCapability_READ_ONLY()
+ public void GameCapability_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void MusicCapability_READ_ONLY()
+ public void MusicCapability_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task AccountUpdated_CHECK_RESULT()
+ public async Task AccountUpdated_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAccountProviders_CHECK_RESULT()
+ public void GetAccountProviders_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAccountProviderByAppId_CHECK_RESULT()
+ public void GetAccountProviderByAppId_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetAccountProvidersByFeature_CHECK_RESULT()
+ public void GetAccountProvidersByFeature_CHECK_RESULT()
{
try
{
[Description("Tizen.Account.AccountManager.AccountSubscriberEventArgs Tests")]
public class AccountSubscriberEventArgsTests
{
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/account", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task EventType_PROPERTY_Update()
+ public async Task EventType_PROPERTY_Update()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task EventType_PROPERTY_Delete()
+ public async Task EventType_PROPERTY_Delete()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task AccountId_PROPERTY_CHECCK()
+ public async Task AccountId_PROPERTY_CHECCK()
{
try
{
[Description("Tizen.Account.AccountManager.Account Tests")]
public class SafeAccountHandleTests
{
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/account", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Song Jooseok, seogii.song@samsung.com")]
- public static void SafeAccountHandle_INIT()
+ public void SafeAccountHandle_INIT()
{
try
{
[Property("CRITERIA", "CONSTR")]
[Property("COVPARAM", "IntPtr, bool")]
[Property("AUTHOR", "Song Jooseok, seogii.song@samsung.com")]
- public static void SafeAccountHandle_INIT_WITH_PARAM()
+ public void SafeAccountHandle_INIT_WITH_PARAM()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Song Jooseok, seogii.song@samsung.com")]
- public static void IsInvalid_PROPERTY_READ_ONLY()
+ public void IsInvalid_PROPERTY_READ_ONLY()
{
try
{
public class AlarmTests
{
private const string MyAppId = "Tizen.Alarm.Tests";
- private static Alarm _alarm;
+ private Alarm _alarm;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Alarm TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
AlarmManager.CancelAll();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
- public static void AlarmId_READ_ONLY()
+ public void AlarmId_READ_ONLY()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
- public static void WeekFlag_RETURN_ENUM()
+ public void WeekFlag_RETURN_ENUM()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
var flag = AlarmWeekFlag.AllDays;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
- public static void ScheduledDate_READ_ONLY()
+ public void ScheduledDate_READ_ONLY()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
var now = DateTime.Now.AddSeconds(10);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
- public static void Period_READ_ONLY()
+ public void Period_READ_ONLY()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
int period = 10;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
- public static void AlarmAppControl_READ_ONLY()
+ public void AlarmAppControl_READ_ONLY()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
- public static void Global_PROPERTY_SET_GET()
+ public void Global_PROPERTY_SET_GET()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
- public static void Cancel_Alarm_RETURN_VALUE()
+ public void Cancel_Alarm_RETURN_VALUE()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
public class AlarmManagerTests
{
private const string MyAppId = "Tizen.Alarm.Tests";
- private static Alarm _alarm;
+ private Alarm _alarm;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Alarm TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
AlarmManager.CancelAll();
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
[Property("COVPARAM", "int, int, Tizen.Applications.AppControl")]
- public static void CreateAlarm_WITH_PERIOD_RETURN_VALUE()
+ public void CreateAlarm_WITH_PERIOD_RETURN_VALUE()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
[Property("COVPARAM", "int, int, Tizen.Applications.AppControl")]
- public static void CreateAlarm_WITH_PERIOD_INVALID_PARAMETER_EXEPTION()
+ public void CreateAlarm_WITH_PERIOD_INVALID_PARAMETER_EXEPTION()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
appControl.Operation = AppControlOperations.Default;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
[Property("COVPARAM", "int, Tizen.Applications.AppControl")]
- public static void CreateAlarm_WITH_DELAY_RETURN_VALUE()
+ public void CreateAlarm_WITH_DELAY_RETURN_VALUE()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
[Property("COVPARAM", "int, Tizen.Applications.AppControl")]
- public static void CreateAlarm_WITH_DELAY_INVALID_PARAMETER_EXCPTION()
+ public void CreateAlarm_WITH_DELAY_INVALID_PARAMETER_EXCPTION()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
appControl.Operation = AppControlOperations.Default;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
[Property("COVPARAM", "DateTime, Tizen.Applications.AppControl")]
- public static void CreateAlarm_WITH_DATETIME_RETURN_VALUE()
+ public void CreateAlarm_WITH_DATETIME_RETURN_VALUE()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
[Property("COVPARAM", "DateTime, Tizen.Applications.AppControl")]
- public static void CreateAlarm_WITH_DATETIME_INVALID_PARAMETER_EXCPTION()
+ public void CreateAlarm_WITH_DATETIME_INVALID_PARAMETER_EXCPTION()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
appControl.Operation = AppControlOperations.Default;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
[Property("COVPARAM", "DateTime, Tizen.Applications.AlarmWeekFlag, Tizen.Applications.AppControl")]
- public static void CreateAlarm_WITH_WEEKFLAG_RETURN_VALUE()
+ public void CreateAlarm_WITH_WEEKFLAG_RETURN_VALUE()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
var date = DateTime.Now.AddSeconds(10);
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
[Property("COVPARAM", "DateTime, Tizen.Applications.AlarmWeekFlag, Tizen.Applications.AppControl")]
- public static void CreateAlarm_WITH_WEEKFLAG_INVALID_PARAMETER_EXCPTION()
+ public void CreateAlarm_WITH_WEEKFLAG_INVALID_PARAMETER_EXCPTION()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
appControl.Operation = AppControlOperations.Default;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
[Property("COVPARAM", "DateTime, Tizen.Applications.Notifications.Notification")]
- public static void CreateAlarm_WITH_NOTIFICATION_AND_DATETIME_RETURN_VALUE()
+ public void CreateAlarm_WITH_NOTIFICATION_AND_DATETIME_RETURN_VALUE()
{
Notifications.Notification noti;
noti = new Notifications.Notification
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
[Property("COVPARAM", "DateTime, Tizen.Applications.Notifications.Notification")]
- public static void CreateAlarm_WITH_NOTIFICATION_AND_DATETIME_INVALID_PARAMETER_EXCPTION()
+ public void CreateAlarm_WITH_NOTIFICATION_AND_DATETIME_INVALID_PARAMETER_EXCPTION()
{
Notifications.Notification noti = null;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
[Property("COVPARAM", "Int, Int, Tizen.Applications.Notifications.Notification")]
- public static void CreateAlarm_WITH_NOTIFICATION_AND_PERIOD_RETURN_VALUE()
+ public void CreateAlarm_WITH_NOTIFICATION_AND_PERIOD_RETURN_VALUE()
{
Notifications.Notification noti;
noti = new Notifications.Notification
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
[Property("COVPARAM", "Int, Int, Tizen.Applications.Notifications.Notification")]
- public static void CreateAlarm_WITH_NOTIFICATION_AND_PERIOD_INVALID_PARAMETER_EXCPTION()
+ public void CreateAlarm_WITH_NOTIFICATION_AND_PERIOD_INVALID_PARAMETER_EXCPTION()
{
Notifications.Notification noti = null;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
[Property("COVPARAM", "DateTime, Tizen.Applications.AlarmWeekFlag, Tizen.Applications.Notifications.Notification")]
- public static void CreateAlarm_WITH_NOTIFICATION_AND_WEEKFLAG_RETURN_VALUE()
+ public void CreateAlarm_WITH_NOTIFICATION_AND_WEEKFLAG_RETURN_VALUE()
{
Notifications.Notification noti;
noti = new Notifications.Notification
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
[Property("COVPARAM", "DateTime, Tizen.Applications.AlarmWeekFlag, Tizen.Applications.Notifications.Notification")]
- public static void CreateAlarm_WITH_NOTIFICATION_AND_WEEKFLAG_INVALID_PARAMETER_EXCPTION()
+ public void CreateAlarm_WITH_NOTIFICATION_AND_WEEKFLAG_INVALID_PARAMETER_EXCPTION()
{
Notifications.Notification noti = null;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
[Property("COVPARAM", "Int, Tizen.Applications.Notifications.Notification")]
- public static void CreateAlarm_WITH_NOTIFICATION_AND_DELAY_RETURN_VALUE()
+ public void CreateAlarm_WITH_NOTIFICATION_AND_DELAY_RETURN_VALUE()
{
Notifications.Notification noti;
noti = new Notifications.Notification
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
[Property("COVPARAM", "Int, Tizen.Applications.Notifications.Notification")]
- public static void CreateAlarm_WITH_NOTIFICATION_AND_DELAY_INVALID_PARAMETER_EXCPTION()
+ public void CreateAlarm_WITH_NOTIFICATION_AND_DELAY_INVALID_PARAMETER_EXCPTION()
{
Notifications.Notification noti = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
- public static void GetAllScheduledAlarms_RETURN_VALUE()
+ public void GetAllScheduledAlarms_RETURN_VALUE()
{
List<Alarm> alarms;
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
- public static void CancelAll_Alarms_RETURN_VALUE()
+ public void CancelAll_Alarms_RETURN_VALUE()
{
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
- public static void CancelAll_Alarms_RETURN_VALUE_AND_CHECK_STATUS()
+ public void CancelAll_Alarms_RETURN_VALUE_AND_CHECK_STATUS()
{
List<Alarm> alarms;
Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jiwoong Im, jiwoong.im@samsung.com")]
- public static void GetCurrentTime_RETURN_VALUE()
+ public void GetCurrentTime_RETURN_VALUE()
{
var time = AlarmManager.GetCurrentTime();
[Description("AppControlReceivedEventArgs test")]
public class AppControlReceivedEventArgsTests {
- private static Tizen.Applications.AppControl appCtrl;
+ private Tizen.Applications.AppControl appCtrl;
[SetUp]
public void Init() {
[Step(2, "Check if log show \"[TestCase][Test_Properties] ReceivedAppControl properties is not null\".")]
[Step(3, "Check if log show \"[TestCase][Test_Properties] ReceivedAppControl Type: Tizen.Applications.ReceivedAppControl\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task ReceivedAppControl_GET_TEST()
+ public async Task ReceivedAppControl_GET_TEST()
{
/*Preconditions: Launch org.tizen.ApplicationManual.Tizen*/
AppControl myAppControl = new AppControl();
[Step(3, "Check if log show \"[EventDisabled] ApplicationDisabled\".")]
[Step(4, "Check if log show \"[EventDisabled] ApplicationId: org.tizen.example.HelloTizen.Tizen\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task ApplicationId_GET_TEST()
+ public async Task ApplicationId_GET_TEST()
{
/* Preconditions: Launch org.tizen.example.EventListener.Tizen */
AppControl myAppControl = new AppControl();
[Step(4, "Check if log show \"[EventDisabled] EventState: Started\".")]
[Step(4, "Check if log show \"[EventDisabled] EventState: Completed\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task EventState_GET_TEST()
+ public async Task EventState_GET_TEST()
{
/* Preconditions: Launch org.tizen.example.EventListener.Tizen */
AppControl myAppControl = new AppControl();
[Step(3, "Check if log show \"[EventEnabled] ApplicationEnabled\".")]
[Step(4, "Check if log show \"[EventEnabled] ApplicationId: org.tizen.example.HelloTizen.Tizen\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task ApplicationId_GET_TEST()
+ public async Task ApplicationId_GET_TEST()
{
/* Preconditions: Launch org.tizen.example.EventListener.Tizen */
AppControl myAppControl = new AppControl();
[Step(4, "Check if log show \"[EventEnabled] EventState: Started\".")]
[Step(4, "Check if log show \"[EventEnabled] EventState: Completed\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task EventState_GET_TEST()
+ public async Task EventState_GET_TEST()
{
/* Preconditions: Launch org.tizen.example.EventListener.Tizen */
AppControl myAppControl = new AppControl();
[Step(3, "Check if log show \"[EventEnabled] ApplicationEnabled\".")]
[Step(4, "Check if log show \"[EventEnabled] ApplicationId: org.tizen.example.HelloTizen.Tizen\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task ApplicationEnabled_LISTEN_EVENT()
+ public async Task ApplicationEnabled_LISTEN_EVENT()
{
/* Preconditions: Launch org.tizen.example.EventListener.Tizen */
AppControl myAppControl = new AppControl();
[Step(3, "Check if log show \"[EventDisabled] ApplicationDisabled\".")]
[Step(4, "Check if log show \"[EventDisabled] ApplicationId: org.tizen.example.HelloTizen.Tizen\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task ApplicationDisabled_LISTEN_EVENT()
+ public async Task ApplicationDisabled_LISTEN_EVENT()
{
/* Preconditions: Launch org.tizen.example.EventListener.Tizen */
AppControl myAppControl = new AppControl();
[Description("Application init test")]
public class CoreApplicationTests
{
- private static bool isMobile = false;
- private static bool isWearable = false;
- private static bool isEmulator = false;
+ private bool isMobile = false;
+ private bool isWearable = false;
+ private bool isEmulator = false;
[SetUp]
public void Init()
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"[TestCase][Run][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Run_MANUAL_TEST() {
+ public async Task Run_MANUAL_TEST() {
/* TEST CODE */
await ManualTest.WaitForConfirm();
}
- private static void Confirm()
+ private void Confirm()
{
TestPage.GetInstance().UnlockUIButton();
ManualTest.Confirm();
[Step(5, "Select Hard Warning button")]
[Step(6, "Check if log show \"[TestCase][LowMemory_Event_Test][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task LowMemory_EVENT_TEST() {
+ public async Task LowMemory_EVENT_TEST() {
if (!isMobile || !isEmulator)
{
Confirm();
[Step(5, "Select Hard Warning button")]
[Step(6, "Check if log show \"[TestCase][OnLowMemory][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnLowMemory_MANUAL_TEST() {
+ public async Task OnLowMemory_MANUAL_TEST() {
if (!isMobile || !isEmulator)
{
Confirm();
[Step(3, "Click level bar to make it under 5%")]
[Step(4, "Check if log show \"[TestCase][LowBattery_Event_Test][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task LowBattery_EVENT_TEST()
+ public async Task LowBattery_EVENT_TEST()
{
if (!isMobile || !isEmulator)
{
[Step(3, "Click level bar to make it under 5%")]
[Step(4, "Check if log show \"[TestCase][OnLowBattery][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnLowBattery_MANUAL_TEST()
+ public async Task OnLowBattery_MANUAL_TEST()
{
if (!isMobile || !isEmulator)
{
[Step(2, "Rotate the device or find 3-Axis in Emulator Control Panel and change device orientation")]
[Step(3, "Check if log show \"[TestCase][OnDeviceOrientationChanged][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnDeviceOrientationChanged_MANUAL_TEST()
+ public async Task OnDeviceOrientationChanged_MANUAL_TEST()
{
if (!isMobile)
{
[Step(2, "Rotate the device or find 3-Axis in Emulator Control Panel and change device orientation")]
[Step(3, "Check if log show \"[TestCase][DeviceOrientationChanged_Event_Test][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task DeviceOrientationChanged_EVENT_TEST()
+ public async Task DeviceOrientationChanged_EVENT_TEST()
{
if (!isMobile)
{
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"[TestCase][Created_Event_Test][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Created_EVENT_TEST() {
+ public async Task Created_EVENT_TEST() {
/* TEST CODE */
await ManualTest.WaitForConfirm();
}
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"[TestCase][OnCreate][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnCreate_MANUAL_TEST() {
+ public async Task OnCreate_MANUAL_TEST() {
/* TEST CODE */
await ManualTest.WaitForConfirm();
}
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"[TestCase][OnAppControlReceived][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnAppControlReceived_MANUAL_TEST() {
+ public async Task OnAppControlReceived_MANUAL_TEST() {
/* TEST CODE */
await ManualTest.WaitForConfirm();
}
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"[TestCase][AppControlReceived_Event_Test][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task AppControlReceived_EVENT_TEST() {
+ public async Task AppControlReceived_EVENT_TEST() {
/* TEST CODE */
await ManualTest.WaitForConfirm();
}
[Step(3, "Press Home hardkey -> Setting app -> change language -> return to app test -> wait in 20s")]
[Step(4, "Check if log show \"[TestCase][OnLocaleChanged][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnLocaleChanged_MANUAL_TEST() {
+ public async Task OnLocaleChanged_MANUAL_TEST() {
/* TEST CODE */
await ManualTest.WaitForConfirm();
}
[Step(3, "Press Home hardkey -> Setting app -> change language -> return to app test -> wait in 20s")]
[Step(4, "Check if log show \"[TestCase][LocaleChanged_Event_Test][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task LocaleChanged_EVENT_TEST() {
+ public async Task LocaleChanged_EVENT_TEST() {
/* TEST CODE */
await ManualTest.WaitForConfirm();
}
[Step(4, "[TV profile] if there is no \"Location\" menu, this test can not be tested. Please click \"Pass\" button if \"Location\" menu doesn't exist.")]
[Step(5, "Check if log show \"[TestCase][OnRegionFormatChanged][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnRegionFormatChanged_MANUAL_TEST()
+ public async Task OnRegionFormatChanged_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
[Step(4, "[TV profile] if there is no \"Location\" menu, this test can not be tested. Please click \"Pass\" button if \"Location\" menu doesn't exist.")]
[Step(5, "Check if log show \"[TestCase][RegionFormatChanged_Event_Test][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task RegionFormatChanged_EVENT_TEST()
+ public async Task RegionFormatChanged_EVENT_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
[Step(2, "Click Exit button")]
[Step(3, "Check if log show \"[TestCase][Exit][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Exit_MANUAL_TEST() {
+ public async Task Exit_MANUAL_TEST() {
/* TEST CODE */
await ManualTest.WaitForConfirm();
}
[Step(2, "Click Exit button")]
[Step(3, "Check if log show \"[TestCase][OnTerminate][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnTerminate_MANUAL_TEST() {
+ public async Task OnTerminate_MANUAL_TEST() {
/* TEST CODE */
await ManualTest.WaitForConfirm();
}
[Step(2, "Click Exit button")]
[Step(3, "Check if log show \"[TestCase][Terminated_Event_Test][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Terminated_MANUAL_TEST() {
+ public async Task Terminated_MANUAL_TEST() {
/* TEST CODE */
await ManualTest.WaitForConfirm();
}
[Description("UIApplication init test")]
public class CoreUIApplicationTests {
- private static bool s_appIsLaunch = false;
+ private bool s_appIsLaunch = false;
[SetUp]
public void Init()
}
[TearDown]
- public static void Destroy() {
+ public void Destroy() {
Log.Info("TCT", "Postconditions for each TEST");
}
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"[TestCase][Run][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Run_MANUAL_TEST() {
+ public async Task Run_MANUAL_TEST() {
await ManualTest.WaitForConfirm();
}
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"[TestCase][OnPreCreate][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnPreCreate_MANUAL_TEST()
+ public async Task OnPreCreate_MANUAL_TEST()
{
await ManualTest.WaitForConfirm();
}
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"[TestCase][OnResume][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnResume_MANUAL_TEST() {
+ public async Task OnResume_MANUAL_TEST() {
await ManualTest.WaitForConfirm();
}
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"[TestCase][EventHandlerResumed][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Resumed_MANUAL_TEST() {
+ public async Task Resumed_MANUAL_TEST() {
await ManualTest.WaitForConfirm();
}
[Step(2, "Press Home hard button")]
[Step(3, "Check if log show \"[TestCase][OnPause][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnPause_MANUAL_TEST() {
+ public async Task OnPause_MANUAL_TEST() {
await ManualTest.WaitForConfirm();
}
[Step(2, "Press Home hard button")]
[Step(3, "Check if log show \"[TestCase][EventHandlerPaused][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Paused_MANUAL_TEST() {
+ public async Task Paused_MANUAL_TEST() {
await ManualTest.WaitForConfirm();
}
[Step(2, "Click Exit button")]
[Step(3, "Check if log show \"[TestCase][Exit][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Exit_MANUAL_TEST() {
+ public async Task Exit_MANUAL_TEST() {
await ManualTest.WaitForConfirm();
}
}
[Description("Tizen.Applications.DeviceOrientationEventArgs Tests")]
class DeviceOrientationEventArgsTests
{
- private static bool isMobile = false;
- private static bool isWearable = false;
+ private bool isMobile = false;
+ private bool isWearable = false;
[SetUp]
public void Init()
Log.Info("TCT", "Postconditions for each TEST");
}
- private static void Confirm()
+ private void Confirm()
{
TestPage.GetInstance().UnlockUIButton();
ManualTest.Confirm();
[Step(5, "Check if log show \"[Test_Properties] Current value of DeviceOrientation : [current orientation]\".")]
[Step(6, "Check if log show \"[Test_Properties] DeviceOrientation type: Tizen.Applications.DeviceOrientation\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task DeviceOrientation_GET_TEST()
+ public async Task DeviceOrientation_GET_TEST()
{
if (!isMobile)
{
[Step(4, "Check if log show \"[Test_Properties] Locale properties is not null\".")]
[Step(5, "Check if log show \"[Test_Properties] Locale type: System.String\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Locale_GET_TEST()
+ public async Task Locale_GET_TEST()
{
/*Preconditions: Launch org.tizen.ApplicationManual.Tizen*/
AppControl myAppControl = new AppControl();
[Description("Tizen.Applications.LowBatteryEventArgs Tests")]
class LowBatteryEventArgsTests
{
- private static bool isMobile = false;
- private static bool isEmulator = false;
+ private bool isMobile = false;
+ private bool isEmulator = false;
[SetUp]
public void Init()
Log.Info("TCT", "Postconditions for each TEST");
}
- private static void Confirm()
+ private void Confirm()
{
TestPage.GetInstance().UnlockUIButton();
ManualTest.Confirm();
[Step(5, "Check if log show \"[Test_Properties] Current value of LowBatteryStatus : CriticalLow\".")]
[Step(6, "Check if log show \"[Test_Properties] LowBatteryStatus type: Tizen.Applications.LowBatteryStatus\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task LowBatteryStatus_GET_TEST()
+ public async Task LowBatteryStatus_GET_TEST()
{
if (!isMobile || !isEmulator)
{
[Description("Tizen.Applications.LowMemoryEventArgs Tests")]
class LowMemoryEventArgsTests
{
- private static bool isMobile = false;
- private static bool isEmulator = false;
+ private bool isMobile = false;
+ private bool isEmulator = false;
[SetUp]
public void Init()
Log.Info("TCT", "Postconditions for each TEST");
}
- private static async Task Confirm()
+ private async Task Confirm()
{
TestPage.GetInstance().UnlockUIButton();
ManualTest.Confirm();
[Step(9, "Check if log show \"[Test_Properties] Current value of LowMemoryStatus : HardWarning\".")]
[Step(10, "Check if log show \"[Test_Properties] LowMemoryStatus type: Tizen.Applications.LowMemoryStatus\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task LowMemoryStatus_GET_TEST() {
+ public async Task LowMemoryStatus_GET_TEST() {
if (!isMobile || !isEmulator)
{
Confirm();
class RegionFormatChangedEventArgs
{
private const string _testAppId = "org.tizen.ApplicationManual.Tizen";
- private static bool _flag;
+ private bool _flag;
[SetUp]
public void Init()
Log.Info("TCT", "Postconditions for each TEST");
}
- public static async Task waitFlag()
+ public async Task waitFlag()
{
int count = 0;
while (true)
}
}
- static void AppControlReplyReceivedCallback(Tizen.Applications.AppControl launchRequest, Tizen.Applications.AppControl replyRequest, AppControlReplyResult result)
+ void AppControlReplyReceivedCallback(Tizen.Applications.AppControl launchRequest, Tizen.Applications.AppControl replyRequest, AppControlReplyResult result)
{
if (result >= 0)
_flag = true;
[Step(4, "[TV profile] if there is no \"Location\" menu, this test can not be tested. Please click \"Pass\" button if the \"Location\" menu doesn't exist.")]
[Step(5, "Check if log show \"[Test_Properties] Region properties is not null\".")]
[Step(6, "Check if log show \"[Test_Properties] Region type: System.String\".")]
- public static async Task Region_GET_TEST()
+ public async Task Region_GET_TEST()
{
/* TEST CODE */
AppControl myAppControl = new Tizen.Applications.AppControl(true);
[Description("Tizen.Applications.ServiceApplication test")]
public class ServiceApplicationTests {
- private static bool s_appIsLaunch = false;
+ private bool s_appIsLaunch = false;
[SetUp]
public void Init() {
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"[TestCase][Run][ServiceApplication] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Run_MANUAL_TEST() {
+ public async Task Run_MANUAL_TEST() {
/**/
await ManualTest.WaitForConfirm();
}
[Step(2, "Wait 20 seconds")]
[Step(3, "Check if log show \"[TestCase][Exit][ServiceApplication] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Exit_MANUAL_TEST() {
+ public async Task Exit_MANUAL_TEST() {
/**/
await ManualTest.WaitForConfirm();
}
[Description("Testing: Provides a synchronization context for the Tizen application model")]
public class TizenSynchronizationContextTests {
- public static Object mState;
- public static SendOrPostCallback mySend;
- public static SendOrPostCallback myPost;
+ public Object mState;
+ public SendOrPostCallback mySend;
+ public SendOrPostCallback myPost;
public const string sPost = "posted";
public const string sSend = "sended";
/*delegatee function*/
- static void mySend_CB(object state) {
+ void mySend_CB(object state) {
state = sSend;
Task.Delay(2000);
Log.Info("TCT", "send: " + state.ToString());
}
/*delegatee function*/
- static void myPost_CB(object state) {
+ void myPost_CB(object state) {
state = sPost;
Log.Info("TCT", "post: " + state.ToString());
}
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"post: posted\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Post_A_CONTEXT_POST_ASYNCHRONOUS_MSG_MANUAL_TEST() {
+ public async Task Post_A_CONTEXT_POST_ASYNCHRONOUS_MSG_MANUAL_TEST() {
/*
*Scenario:
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Thao, nguyen.tthao@samsung.com")]
- public static async Task Send_A_CONTEXT_SEND_SYNCHRONOUS_MSG_MANUAL_TEST() {
+ public async Task Send_A_CONTEXT_SEND_SYNCHRONOUS_MSG_MANUAL_TEST() {
/*
*Scenario:
[Description("Tizen.Applications.AppControl.ExtraDataCollection Test")]
public class ExtraDataCollectionTests
{
- public static Tizen.Applications.AppControl _appCtrl;
- public static Tizen.Applications.AppControl.ExtraDataCollection _extraDataSet;
+ public Tizen.Applications.AppControl _appCtrl;
+ public Tizen.Applications.AppControl.ExtraDataCollection _extraDataSet;
public const string Key = "key";
public const string ExtraKey = "extra_key";
public const string Value = "value";
- public static IEnumerable<string> mIEnumerableValue = new string[] { "value1", "value2", "value3" };
+ public IEnumerable<string> mIEnumerableValue = new string[] { "value1", "value2", "value3" };
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_appCtrl = new AppControl();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_appCtrl = null;
_extraDataSet = null;
}
- public static void mySetup()
+ public void mySetup()
{
_extraDataSet.Add(Key, Value);
_extraDataSet.Add(ExtraKey, mIEnumerableValue);
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static void Add_STRING_VALUE_PARAM()
+ public void Add_STRING_VALUE_PARAM()
{
/* SCENARIO
* - Assume that Get() method work correctly
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
[Property("COVPARAM", "string, IEnumerable<string>")]
- public static void Add_IENUM_VALUE_PARAM()
+ public void Add_IENUM_VALUE_PARAM()
{
/* SCENARIO
* Assume that Get() method work correctly
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void Get_RETURNED_VALUE()
+ public void Get_RETURNED_VALUE()
{
/* SCENARIO
* Assume that Add() method works correctly
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void Get_NON_EXISTENCE_KEY()
+ public void Get_NON_EXISTENCE_KEY()
{
/*
* Assume that Add() method works correctly
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void Count_NUMBER_ELEMENT()
+ public void Count_NUMBER_ELEMENT()
{
/* SCENARIO
* Add 2 elements to ExtraData
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void Get_TEMPLATE_PARAM()
+ public void Get_TEMPLATE_PARAM()
{
/* SCENARIO
* Add 2 elements to ExtraData
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void GetKeys_LIST_OF_KEY()
+ public void GetKeys_LIST_OF_KEY()
{
/* SCENARIO
* Add 2 elements to ExtraData
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void IsCollection_CHECK_TYPEOF_VALUE()
+ public void IsCollection_CHECK_TYPEOF_VALUE()
{
/* SCENARIO
* Add 2 elements to ExtraData
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void IsCollection_NON_EXISTENCE_KEY()
+ public void IsCollection_NON_EXISTENCE_KEY()
{
mySetup();
bool isCollection = _extraDataSet.IsCollection("invalid_key");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void Remove_EXISTED_KEY()
+ public void Remove_EXISTED_KEY()
{
/* SCENARIO
* Add 2 elements to ExtraData
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void Remove_NON_EXISTENCE_KEY()
+ public void Remove_NON_EXISTENCE_KEY()
{
/*
* test count and collection after remove with input parameter is a non-existed key
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
[Property("COVPARAM", "string, out string")]
- public static void TryGet_STRING_VALUE_PARAM()
+ public void TryGet_STRING_VALUE_PARAM()
{
/* SCENARIO
* Add 2 elements to ExtraData
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
[Property("COVPARAM", "string, out IEnumerable<string>")]
- public static void TryGet_IENUM_VALUE_PARAM()
+ public void TryGet_IENUM_VALUE_PARAM()
{
/* SCENARIO
* Add 2 elements to ExtraData
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void TryGet_NON_EXIST_KEY()
+ public void TryGet_NON_EXIST_KEY()
{
mySetup();
string GettedValue = "";
[Description("Tizen.Applications.AppControl Test launch other application or an actor or a service")]
public class AppControlTests
{
- private static Tizen.Applications.AppControl _appControl;
- private static Task<IEnumerable<ApplicationRunningContext>> _runningApps;
- private static IEnumerable<ApplicationRunningContext> _list;
+ private Tizen.Applications.AppControl _appControl;
+ private Task<IEnumerable<ApplicationRunningContext>> _runningApps;
+ private IEnumerable<ApplicationRunningContext> _list;
private const string MyAppId = "org.tizen.SampleServiceApp.Tizen";
private const string MyAppId1 = "org.tizen.SampleServiceApp2.Tizen";
private const string MyUIAppId = "org.tizen.example.UIApp.Tizen";
- private static bool _flag;
- private static bool _replyFlag = false;
+ private bool _flag;
+ private bool _replyFlag = false;
[SetUp]
- public static void Init()
+ public void Init()
{
_flag = false;
_appControl = new Tizen.Applications.AppControl();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_appControl = null;
_flag = false;
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- public static async Task waitFlag()
+ public async Task waitFlag()
{
int count = 0;
while (true)
}
}
- static void AppControlReplyReceivedCallback(Tizen.Applications.AppControl launchRequest, Tizen.Applications.AppControl replyRequest, AppControlReplyResult result)
+ void AppControlReplyReceivedCallback(Tizen.Applications.AppControl launchRequest, Tizen.Applications.AppControl replyRequest, AppControlReplyResult result)
{
if (result >= 0)
_flag = true;
[Property("CRITERIA", "CONSTR")]
[Property("API", "AppControlReplyCallback(int, string)")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void AppControl_INIT()
+ public void AppControl_INIT()
{
/* TEST CODE */
var MyAppControl = new Tizen.Applications.AppControl();
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
[Property("COVPARAM", "bool")]
- public static void AppControl_INIT_WITH_PARAMETER()
+ public void AppControl_INIT_WITH_PARAMETER()
{
/* TEST CODE */
AppControl MyAppControl = new Tizen.Applications.AppControl(true);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void ApplicationId_PROPERTY_SET_GET()
+ public void ApplicationId_PROPERTY_SET_GET()
{
var appId = "org.tizen.HereMap";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void Category_PROPERTY_SET_GET()
+ public void Category_PROPERTY_SET_GET()
{
var category = "location";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void ExtraData_PROPERTY_GET()
+ public void ExtraData_PROPERTY_GET()
{
/* TEST CODE */
Assert.IsInstanceOf<Tizen.Applications.AppControl.ExtraDataCollection>(_appControl.ExtraData);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void LaunchMode_PROPERTY_SET_GET()
+ public void LaunchMode_PROPERTY_SET_GET()
{
var singleMode = AppControlLaunchMode.Single;
var groupMode = AppControlLaunchMode.Group;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void Mime_PROPERTY_SET_GET()
+ public void Mime_PROPERTY_SET_GET()
{
var mine = "image/*";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void Operation_PROPERTY_SET_GET()
+ public void Operation_PROPERTY_SET_GET()
{
var composeOprt = AppControlOperations.Compose;
var pickOprt = AppControlOperations.Pick;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void Uri_PROPERTY_SET_GET()
+ public void Uri_PROPERTY_SET_GET()
{
var uri = "geo:50.1, -50.1";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void SafeAppControlHandle_PROPERTY_GET()
+ public void SafeAppControlHandle_PROPERTY_GET()
{
/* TEST CODE */
SafeAppControlHandle _gettedSafeAppControlHandle = _appControl.SafeAppControlHandle;
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.SafeAppControlHandle")]
- public static void AppControl_INIT_SAFE_APPCONTROL_HANDLE()
+ public void AppControl_INIT_SAFE_APPCONTROL_HANDLE()
{
/* PRECONDITION:
* Initialize a SafeAppControlHandle object
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void GetMatchedApplicationIds_RETURN_LIST()
+ public void GetMatchedApplicationIds_RETURN_LIST()
{
/* PRECONDITION */
Assert.IsNotNull(_appControl, "Object should not be null after initializing");
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.AppControl, Tizen.Applications.AppControlReplyCallback")]
- public static async Task SendLaunchRequest_TO_A_SERVICE_APP()
+ public async Task SendLaunchRequest_TO_A_SERVICE_APP()
{
/* PRECONDITION
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.AppControl")]
- public static async Task SendLaunchRequest_TO_A_SERVICE_APP_WITHOUT_CB()
+ public async Task SendLaunchRequest_TO_A_SERVICE_APP_WITHOUT_CB()
{
/* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static async Task SendTerminateRequest_TO_A_UI_APP()
+ public async Task SendTerminateRequest_TO_A_UI_APP()
{
/* PRECONDITION
* Install org.tizen.example.UIApp.Tizen.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void SendTerminateRequest_NULL_ARGUMENT()
+ public void SendTerminateRequest_NULL_ARGUMENT()
{
Assert.Throws<ArgumentNullException>(() => Tizen.Applications.AppControl.SendTerminateRequest(null));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void SendTerminateRequest_INVALID_ARGUMENT()
+ public void SendTerminateRequest_INVALID_ARGUMENT()
{
AppControl MyAppControl = new AppControl();
Assert.Throws<ArgumentException>(() => Tizen.Applications.AppControl.SendTerminateRequest(MyAppControl));
}
- static void ReplyReceivedCallback(Tizen.Applications.AppControl launchRequest, Tizen.Applications.AppControl replyRequest, AppControlReplyResult result)
+ void ReplyReceivedCallback(Tizen.Applications.AppControl launchRequest, Tizen.Applications.AppControl replyRequest, AppControlReplyResult result)
{
if (result == AppControlReplyResult.Succeeded)
_replyFlag = true;
private const string SettingWifi = "http://tizen.org/appcontrol/operation/setting/wifi";
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("CRITERIA", "PRO")]
[Property("API", "Main")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void Main_PROPERTY_READ()
+ public void Main_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.Main;
[Property("CRITERIA", "PRO")]
[Property("API", "Default")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void Default_PROPERTY_READ()
+ public void Default_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.Default;
[Property("CRITERIA", "PRO")]
[Property("API", "Edit")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void Edit_PROPERTY_READ()
+ public void Edit_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.Edit;
[Property("CRITERIA", "PRO")]
[Property("API", "View")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void View_PROPERTY_READ()
+ public void View_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.View;
[Property("CRITERIA", "PRO")]
[Property("API", "Pick")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void Pick_PROPERTY_READ()
+ public void Pick_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.Pick;
[Property("CRITERIA", "PRO")]
[Property("API", "CreateContent")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void CreateContent_PROPERTY_READ()
+ public void CreateContent_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.CreateContent;
[Property("CRITERIA", "PRO")]
[Property("API", "Call")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void Call_PROPERTY_READ()
+ public void Call_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.Call;
[Property("CRITERIA", "PRO")]
[Property("API", "Send")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void Send_PROPERTY_READ()
+ public void Send_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.Send;
[Property("CRITERIA", "PRO")]
[Property("API", "SendText")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void SendText_PROPERTY_READ()
+ public void SendText_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.SendText;
[Property("CRITERIA", "PRO")]
[Property("API", "Share")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void Share_PROPERTY_READ()
+ public void Share_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.Share;
[Property("CRITERIA", "PRO")]
[Property("API", "MultiShare")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void MultiShare_PROPERTY_READ()
+ public void MultiShare_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.MultiShare;
[Property("CRITERIA", "PRO")]
[Property("API", "ShareText")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void ShareText_PROPERTY_READ()
+ public void ShareText_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.ShareText;
[Property("CRITERIA", "PRO")]
[Property("API", "Dial")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void Dial_PROPERTY_READ()
+ public void Dial_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.Dial;
[Property("CRITERIA", "PRO")]
[Property("API", "Search")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void Search_PROPERTY_READ()
+ public void Search_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.Search;
[Property("CRITERIA", "PRO")]
[Property("API", "Download")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void Download_PROPERTY_READ()
+ public void Download_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.Download;
[Property("CRITERIA", "PRO")]
[Property("API", "Print")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void Print_PROPERTY_READ()
+ public void Print_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.Print;
[Property("CRITERIA", "PRO")]
[Property("API", "Compose")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void Compose_PROPERTY_READ()
+ public void Compose_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.Compose;
[Property("CRITERIA", "PRO")]
[Property("API", "LaunchOnEvent")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void LaunchOnEvent_PROPERTY_READ()
+ public void LaunchOnEvent_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.LaunchOnEvent;
[Property("CRITERIA", "PRO")]
[Property("API", "Add")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void Add_PROPERTY_READ()
+ public void Add_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.Add;
[Property("CRITERIA", "PRO")]
[Property("API", "ImageCapture")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void ImageCapture_PROPERTY_READ()
+ public void ImageCapture_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.ImageCapture;
[Property("CRITERIA", "PRO")]
[Property("API", "VideoCapture")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void VideoCapture_PROPERTY_READ()
+ public void VideoCapture_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.VideoCapture;
[Property("CRITERIA", "PRO")]
[Property("API", "Setting")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void Setting_PROPERTY_READ()
+ public void Setting_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.Setting;
[Property("CRITERIA", "PRO")]
[Property("API", "SettingBluetoothEnable")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void SettingBluetoothEnable_PROPERTY_READ()
+ public void SettingBluetoothEnable_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.SettingBluetoothEnable;
[Property("CRITERIA", "PRO")]
[Property("API", "SettingBluetoothVisibility")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void SettingBluetoothVisibility_PROPERTY_READ()
+ public void SettingBluetoothVisibility_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.SettingBluetoothVisibility;
[Property("CRITERIA", "PRO")]
[Property("API", "SettingLocation")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void SettingLocation_PROPERTY_READ()
+ public void SettingLocation_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.SettingLocation;
[Property("CRITERIA", "PRO")]
[Property("API", "SettingNfc")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void SettingNfc_PROPERTY_READ()
+ public void SettingNfc_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.SettingNfc;
[Property("CRITERIA", "PRO")]
[Property("API", "SettingWifi")]
[Property("AUTHOR", "Sanghoon Lee, shooney.lee@samsung.com")]
- public static void SettingWifi_PROPERTY_READ()
+ public void SettingWifi_PROPERTY_READ()
{
/* TEST CODE */
var getValue = AppControlOperations.SettingWifi;
public class AppControlReceivedEventArgsTests
{
- //private static Tizen.Applications.AppControl appCtrl;
+ //private Tizen.Applications.AppControl appCtrl;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void AppControlReceivedEventArgs_INIT()
+ public void AppControlReceivedEventArgs_INIT()
{
/* TEST CODE */
AppControl MyAppControl = new AppControl();
public class AppControlReplyCallbackTests
{
- private static Tizen.Applications.AppControl _appCtrl;
+ private Tizen.Applications.AppControl _appCtrl;
private const string MyAppId2 = "org.tizen.ServiceAppTest.Tizen";
- private static bool _flag;
+ private bool _flag;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_appCtrl = new Tizen.Applications.AppControl();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_appCtrl = null;
_flag = false;
}
- public static async Task waitMe()
+ public async Task waitMe()
{
int count = 0;
while (true)
}
}
- static void AppControlReplyReceivedCallback(Tizen.Applications.AppControl launchRequest, Tizen.Applications.AppControl replyRequest, AppControlReplyResult result)
+ void AppControlReplyReceivedCallback(Tizen.Applications.AppControl launchRequest, Tizen.Applications.AppControl replyRequest, AppControlReplyResult result)
{
if (result >= 0)
_flag = true;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static async Task AppControlReplyCallback_CHECK_CB()
+ public async Task AppControlReplyCallback_CHECK_CB()
{
/* PRECONDITION
* Install org.tizen._appCtrlSample2.tpk <in folder res/>
public class ApplicationTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng.d@samsung.com")]
- public static void Application_INIT()
+ public void Application_INIT()
{
/* TEST CODE */
Application app = new SubApplication();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void Current_GET_TEST()
+ public void Current_GET_TEST()
{
/* TEST CODE */
var _currentApp = Tizen.Applications.Application.Current;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void ApplicationInfo_GET_TEST()
+ public void ApplicationInfo_GET_TEST()
{
string _appID = "Tizen.Applications.Tests";
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void DirectoryInfo_GET_TEST()
+ public void DirectoryInfo_GET_TEST()
{
string _cachePath = "/opt/usr/home/owner/apps_rw/Tizen.Applications.Tests/cache/";
string _dataPath = "/opt/usr/home/owner/apps_rw/Tizen.Applications.Tests/data/";
[Description("Tizen.Tizen.Application.ApplicationInfo Tests ")]
public class ApplicationInfoTests
{
- public static ApplicationInfo _appInfor;
+ public ApplicationInfo _appInfor;
private const string AppId = "0pOuHwKNsr.BasicWebApp01";
private const string AppLocalLabel = "BasicWebApp01";
private const string MetaKey = "myMetaDataKey1";
private const string PackgeId = "0pOuHwKNsr";
private const string SharedResourcePath = "/shared/res/";
private const string SharedTrustedPath = "/shared/trusted/";
- private static bool _flag;
+ private bool _flag;
private const int ProcessId = 0;
//need update property SharedDataPath
[SetUp]
- public static void Init()
+ public void Init()
{
_appInfor = new ApplicationInfo(AppId);
_flag = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void ApplicationInfo_INIT()
+ public void ApplicationInfo_INIT()
{
var _appInfor = new ApplicationInfo(AppId);
Assert.IsInstanceOf<ApplicationInfo>(_appInfor);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void ApplicationId_GET()
+ public void ApplicationId_GET()
{
Assert.AreEqual(AppId, _appInfor.ApplicationId, "Application ID is not correct");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void ExecutablePath_GET()
+ public void ExecutablePath_GET()
{
Assert.IsTrue(_appInfor.ExecutablePath.Contains(ExecutablePath), "Excutable path of " + AppId + " is not correct");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void Label_GET()
+ public void Label_GET()
{
Assert.AreEqual(AppLabel, _appInfor.Label, "Label of " + AppId + " is not correct");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void Metadata_GET()
+ public void Metadata_GET()
{
Assert.Greater(_appInfor.Metadata.Count, 0, "Metadata of " + AppId + " is not exist");
foreach (var item in _appInfor.Metadata)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void IconPath_GET()
+ public void IconPath_GET()
{
Assert.IsTrue(_appInfor.IconPath.Contains(IconPath), "Icon path of " + AppId + " is not correct");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void PackageId_GET()
+ public void PackageId_GET()
{
Assert.AreEqual(PackgeId, _appInfor.PackageId, "Package ID of " + AppId + " is not correct");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void ApplicationType_GET()
+ public void ApplicationType_GET()
{
Assert.AreEqual(AppType, _appInfor.ApplicationType, "Application type of " + AppId + " is not correct");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void SharedDataPath_GET()
+ public void SharedDataPath_GET()
{
Assert.IsNotNull(_appInfor.SharedDataPath, "SharedResourceData should not be null");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void SharedResourcePath_GET()
+ public void SharedResourcePath_GET()
{
Assert.IsTrue(_appInfor.SharedResourcePath.Contains(SharedResourcePath), "SharedResourcePath is not correct");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void SharedTrustedPath_GET()
+ public void SharedTrustedPath_GET()
{
Assert.IsTrue(_appInfor.SharedTrustedPath.Contains(SharedTrustedPath), "SharedTrustedPath is not correct");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void ExternalSharedDataPath_GET()
+ public void ExternalSharedDataPath_GET()
{
Assert.AreNotEqual("", _appInfor.ExternalSharedDataPath, "ExternalSharedDataPath is null");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void IsNoDisplay_GET()
+ public void IsNoDisplay_GET()
{
Assert.True(!_appInfor.IsNoDisplay, "Application has no display");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void IsOnBoot_GET()
+ public void IsOnBoot_GET()
{
Assert.True(!_appInfor.IsOnBoot, "Application must not start on boot");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void IsPreload_GET()
+ public void IsPreload_GET()
{
Assert.True(!_appInfor.IsPreload, "Application is not preloaded");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void GetLocalizedLabel_RETURN_VALUE()
+ public void GetLocalizedLabel_RETURN_VALUE()
{
/* TEST CODE */
Assert.AreEqual(AppLabel, _appInfor.Label, "Label of " + AppId + " is not correct");
public const string Value = "org.tizen.message";
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void ApplicationInfoFilter_INIT()
+ public void ApplicationInfoFilter_INIT()
{
var MyAppInforFilter = new ApplicationInfoFilter();
Assert.IsInstanceOf<ApplicationInfoFilter>(MyAppInforFilter);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void Filter_GET_SET()
+ public void Filter_GET_SET()
{
var MyAppInforFilter = new ApplicationInfoFilter();
var MyFilter = MyAppInforFilter.Filter;
public class ApplicationInfoMetadataFilterTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void ApplicationInfoMetadataFilter_INIT()
+ public void ApplicationInfoMetadataFilter_INIT()
{
var MyAppInforMetaDataFilter = new ApplicationInfoMetadataFilter();
Assert.IsInstanceOf<ApplicationInfoMetadataFilter>(MyAppInforMetaDataFilter);
[Description("Tizen.Application.ApplicationLaunchedEventArgs Tests")]
public class ApplicationLaunchedEventArgsTests
{
- private static int _processId;
- private static bool _needUnsubscribe;
- private static bool _isLaunched;
- private static string _argAppId;
+ private int _processId;
+ private bool _needUnsubscribe;
+ private bool _isLaunched;
+ private string _argAppId;
private const string AppId = "org.tizen.example.UIApp.Tizen";
[SetUp]
- public static void Init()
+ public void Init()
{
_isLaunched = false;
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_needUnsubscribe == true)
ApplicationManager.ApplicationLaunched -= Eventlaunched;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void ApplicationLaunchedEventArgs_INIT()
+ public void ApplicationLaunchedEventArgs_INIT()
{
var LaunchedEventArgs = new ApplicationLaunchedEventArgs();
Assert.IsInstanceOf<ApplicationLaunchedEventArgs>(LaunchedEventArgs);
Assert.IsNotNull(LaunchedEventArgs, "ApplicationLaunchedEventArgs should be not null after innit.");
}
- public static void Eventlaunched(object sender, ApplicationLaunchedEventArgs Args)
+ public void Eventlaunched(object sender, ApplicationLaunchedEventArgs Args)
{
if (string.Equals(Args.ApplicationRunningContext.ApplicationId, AppId))
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sangyoon Jang, s89.jang@samsung.com")]
- public static async Task ApplicationRunningContext_ATTR()
+ public async Task ApplicationRunningContext_ATTR()
{
var IsRunning = false;
ApplicationManager.ApplicationLaunched += Eventlaunched;
[Description("Tizen.Tizen.Application.ApplicationManager Test class for managing all applications")]
public class ApplicationManagerTests
{
- private static IEnumerable<ApplicationInfo> _listApp;
- private static IEnumerable<ApplicationRunningContext> _listAppRun;
- private static ApplicationInfoFilter _appFilter;
- private static ApplicationInfoMetadataFilter _dataAppFilter;
- private static int _processId;
- private static bool _flag;
- private static bool _needUnsubscribe1;
- private static bool _needUnsubscribe2;
- private static bool _needUnsubscribe3;
- private static bool _isLaunched;
- private static bool _isTerminated;
- private static string _argAppId;
+ private IEnumerable<ApplicationInfo> _listApp;
+ private IEnumerable<ApplicationRunningContext> _listAppRun;
+ private ApplicationInfoFilter _appFilter;
+ private ApplicationInfoMetadataFilter _dataAppFilter;
+ private int _processId;
+ private bool _flag;
+ private bool _needUnsubscribe1;
+ private bool _needUnsubscribe2;
+ private bool _needUnsubscribe3;
+ private bool _isLaunched;
+ private bool _isTerminated;
+ private string _argAppId;
private const string AppId = "org.tizen.example.UIApp.Tizen";
private const string AppServiceId = "org.tizen.ServiceAppTest.Tizen";
private const string MyAppId = "Tizen.Applications.Tests";
/*This app_type of "org.tizen.message" app is difference between each binary so we provide 2 options "capp" and "c++app"*/
[SetUp]
- public static void Init()
+ public void Init()
{
_flag = false;
_needUnsubscribe1 = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_needUnsubscribe1 == true)
ApplicationManager.ApplicationLaunched -= Eventlaunched;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void GetInstalledApplication_RETURN_TYPE_VALUE()
+ public void GetInstalledApplication_RETURN_TYPE_VALUE()
{
/* TEST CODE */
var apps = ApplicationManager.GetInstalledApplication(AppId);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static async Task GetInstalledApplicationsAsync_ALL_APP()
+ public async Task GetInstalledApplicationsAsync_ALL_APP()
{
/* TEST CODE */
_listApp = await ApplicationManager.GetInstalledApplicationsAsync();
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.ApplicationInfoFilter")]
- public static async Task GetInstalledApplicationsAsync_FILTER_APP()
+ public async Task GetInstalledApplicationsAsync_FILTER_APP()
{
/*
* PRECONDITION
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.ApplicationInfoMetadataFilter")]
- public static async Task GetInstalledApplicationsAsync_MDATA_FILTER_APP()
+ public async Task GetInstalledApplicationsAsync_MDATA_FILTER_APP()
{
/*
* Scenario:
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static async Task GetRunningApplicationsAsync_ALL_RUNNING_APP()
+ public async Task GetRunningApplicationsAsync_ALL_RUNNING_APP()
{
/* TEST CODE */
_listAppRun = await ApplicationManager.GetRunningApplicationsAsync();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Sangyoon Jang, s89.jang@samsung.com")]
- public static async Task GetAllRunningApplicationsAsync_ALL_RUNNING_APP()
+ public async Task GetAllRunningApplicationsAsync_ALL_RUNNING_APP()
{
/* TEST CODE */
_listAppRun = await ApplicationManager.GetAllRunningApplicationsAsync();
Assert.True(_flag, "The given app should be in the list of running app.");
}
- public static void Eventlaunched(object sender, ApplicationLaunchedEventArgs Args)
+ public void Eventlaunched(object sender, ApplicationLaunchedEventArgs Args)
{
if (string.Equals(Args.ApplicationRunningContext.ApplicationId, AppId))\r
{\r
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static async Task ApplicationLaunched_CB()
+ public async Task ApplicationLaunched_CB()
{
var IsRunning = false;
ApplicationManager.ApplicationLaunched += Eventlaunched;
}
}
- public static void EventTerminated(object sender, ApplicationTerminatedEventArgs Args)
+ public void EventTerminated(object sender, ApplicationTerminatedEventArgs Args)
{
Log.Debug("TCT", Args.ApplicationRunningContext.ApplicationId + " Terminated");
if (string.Equals(Args.ApplicationRunningContext.ApplicationId, TermAppId))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static async Task ApplicationTerminated_CB()
+ public async Task ApplicationTerminated_CB()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
- public static void GetRecentApplications_RETURN_TYPE_VALUE()
+ public void GetRecentApplications_RETURN_TYPE_VALUE()
{
var appList = ApplicationManager.GetRecentApplications();
Assert.IsTrue(appList is IEnumerable<RecentApplicationInfo>, "GetRecentApplications should return IEnumerable<RecentApplicationInfo>");
Assert.True(IsRunning, "MyApp should be included in RecentApplications");
}
- public static void EventServiceAppTerminated(object sender, ApplicationTerminatedEventArgs Args)
+ public void EventServiceAppTerminated(object sender, ApplicationTerminatedEventArgs Args)
{
Log.Debug("TCT", Args.ApplicationRunningContext.ApplicationId + " Terminated");
if (string.Equals(Args.ApplicationRunningContext.ApplicationId, AppServiceId))
[Description("Tizen.Tizen.Application.ApplicationRunningContext Tests ")]
public class ApplicationRunningContextTests
{
- public static ApplicationRunningContext _context;
+ public ApplicationRunningContext _context;
private const string AppId = "org.tizen.example.UIApp.Tizen";
private const string PackgeId = "UIApp.Tizen";
private const int ProcessId = 0;
private const string AppServiceId = "org.tizen.ServiceAppTest.Tizen";
[SetUp]
- public static void Init()
+ public void Init()
{
bool isRunning = ApplicationManager.IsRunning(AppId);
if (!isRunning)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_context = null;
}
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Sangyoon Jang, s89.jang@samsung.com")]
[Property("COVPARAM", "string")]
- public static void ApplicationRunningContext_INIT()
+ public void ApplicationRunningContext_INIT()
{
var context = new ApplicationRunningContext(AppId);
Assert.AreNotEqual(context, null, "Should return ApplicationRunningContext instance.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sangyoon Jang, s89.jang@samsung.com")]
- public static void ApplicationId_GET()
+ public void ApplicationId_GET()
{
Assert.AreEqual(AppId, _context.ApplicationId, "Application ID is not correct");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sangyoon Jang, s89.jang@samsung.com")]
- public static void PackageId_GET()
+ public void PackageId_GET()
{
Assert.AreEqual(PackgeId, _context.PackageId, "Package ID of " + AppId + " is not correct");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sangyoon Jang, s89.jang@samsung.com")]
- public static void ProcessId_GET()
+ public void ProcessId_GET()
{
Assert.Greater(_context.ProcessId, 0, "ProcessId should be greater than 0");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Sangyoon Jang, s89.jang@samsung.com")]
- public static void State_GET_ENUM_FOREGROUND_OR_BACKGROUND()
+ public void State_GET_ENUM_FOREGROUND_OR_BACKGROUND()
{
bool flag = false;
if (_context.State == ApplicationRunningContext.AppState.Foreground || _context.State == ApplicationRunningContext.AppState.Background)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sangyoon Jang, s89.jang@samsung.com")]
- public static void IsSubApp_Get()
+ public void IsSubApp_Get()
{
Assert.AreEqual(false, _context.IsSubApp, "SubApp of " + AppId + " is not correct");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void Resume_UIApp()
+ public void Resume_UIApp()
{
try
{
public class ApplicationTerminatedEventArgsTests
{
private const string TermAppId = "org.tizen.example.TermApp.Tizen";
- private static bool _needUnsubscribe;
- private static bool _isTerminated;
+ private bool _needUnsubscribe;
+ private bool _isTerminated;
- public static async Task waitFlag()
+ public async Task waitFlag()
{
int count = 0;
while (true)
}
[SetUp]
- public static void Init()
+ public void Init()
{
_isTerminated = false;
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_needUnsubscribe == true)
ApplicationManager.ApplicationTerminated -= EventTerminated;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void ApplicationTerminatedEventArgs_INIT()
+ public void ApplicationTerminatedEventArgs_INIT()
{
var MyTerminatedEvent = new ApplicationTerminatedEventArgs();
Assert.IsInstanceOf<ApplicationTerminatedEventArgs>(MyTerminatedEvent);
Assert.IsNotNull(MyTerminatedEvent, "ApplicationLaunchedEventArgs should be not null after innit.");
}
- public static void EventTerminated(object sender, ApplicationTerminatedEventArgs Args)
+ public void EventTerminated(object sender, ApplicationTerminatedEventArgs Args)
{
Log.Debug("TCT", Args.ApplicationRunningContext.ApplicationId + " Terminated");
if (string.Equals(Args.ApplicationRunningContext.ApplicationId, TermAppId))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sangyoon Jang, s89.jang@samsung.com")]
- public static async Task ApplicationRunningContext_ATTR()
+ public async Task ApplicationRunningContext_ATTR()
{
AppControl MyAppControl = new AppControl();
{
private const string Key = "key";
private const string StringValue = "string_value";
- private static string[] _stringArrayValue = { "a", "b", "c" };
- private static byte[] _byteArrayValue = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
- private static IEnumerable<string> _stringIEnumValue = new string[] { "1", "2", "3" };
- private static Bundle _bundle = null;
+ private string[] _stringArrayValue = { "a", "b", "c" };
+ private byte[] _byteArrayValue = { 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
+ private IEnumerable<string> _stringIEnumValue = new string[] { "1", "2", "3" };
+ private Bundle _bundle = null;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_bundle = new Bundle();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_bundle = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng@samsung.com")]
- public static void Bundle_INIT()
+ public void Bundle_INIT()
{
Bundle MyBundle = null;
MyBundle = new Bundle();
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
[Property("COVPARAM", "SafeBundleHandle")]
- public static void Bundle_INIT_WITH_ARGUMENT()
+ public void Bundle_INIT_WITH_ARGUMENT()
{
Bundle myBundle = new Bundle(_bundle.SafeBundleHandle);
Assert.IsNotNull(myBundle, "Bundle object should not be null after construction");
[Property("CRITERIA", "CONSTRN")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
[Property("COVPARAM", "SafeBundleHandle")]
- public static void Bundle_INIT_WITH_NULL_ARGUMENT()
+ public void Bundle_INIT_WITH_NULL_ARGUMENT()
{
Bundle myBundle = null;
Assert.Throws<ArgumentNullException>(() => myBundle = new Bundle(null));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void SafeBundleHandle_PROPERTY_GET()
+ public void SafeBundleHandle_PROPERTY_GET()
{
/* TEST CODE */
Bundle myBundle = new Bundle();
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng@samsung.com")]
[Property("COVPARAM", "string")]
- public static void GetItem_RETURN_VALUE()
+ public void GetItem_RETURN_VALUE()
{
Bundle MyBundle = new Bundle();
MyBundle.AddItem(Key, StringValue);
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng@samsung.com")]
[Property("COVPARAM", "string")]
- public static void GetItem_TYPE_RETURN_VALUE()
+ public void GetItem_TYPE_RETURN_VALUE()
{
Bundle MyBundle = new Bundle();
MyBundle.AddItem(Key, StringValue);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng@samsung.com")]
- public static void Is_CHECK_BUNDLE_TYPE()
+ public void Is_CHECK_BUNDLE_TYPE()
{
Bundle MyBundle = new Bundle();
MyBundle.AddItem(Key, _stringArrayValue);
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static void AddItem_STRING_STRING()
+ public void AddItem_STRING_STRING()
{
Bundle MyBundle = new Bundle();
MyBundle.AddItem(Key, StringValue);
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng@samsung.com")]
[Property("COVPARAM", "string, byte[]")]
- public static void AddItem_STRING_BYTE_ARRAY()
+ public void AddItem_STRING_BYTE_ARRAY()
{
Bundle MyBundle = new Bundle();
MyBundle.AddItem(Key, _stringArrayValue);
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng@samsung.com")]
[Property("COVPARAM", "string, byte[], int, int")]
- public static void AddItem_STRING_BYTE_ARRAY_INT()
+ public void AddItem_STRING_BYTE_ARRAY_INT()
{
Bundle MyBundle = new Bundle();
MyBundle.AddItem(Key, _byteArrayValue, 2, 3);
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng@samsung.com")]
[Property("COVPARAM", "string, System.Collections.Generic.IEnumerable<string>")]
- public static void AddItem_STRING_IENUMERABLE_STRING()
+ public void AddItem_STRING_IENUMERABLE_STRING()
{
Bundle MyBundle = new Bundle();
MyBundle.AddItem(Key, _stringIEnumValue);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng@samsung.com")]
- public static void Contains_CHECK_KEY_EXIST()
+ public void Contains_CHECK_KEY_EXIST()
{
Bundle MyBundle = new Bundle();
MyBundle.AddItem(Key, _stringArrayValue);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng@samsung.com")]
- public static void RemoveItem_CHECK_ITEMS_COUNT()
+ public void RemoveItem_CHECK_ITEMS_COUNT()
{
Bundle MyBundle = new Bundle();
MyBundle.AddItem(Key, _byteArrayValue, 2, 3);
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng@samsung.com")]
[Property("COVPARAM", "string, out string")]
- public static void TryGetItem_STRING()
+ public void TryGetItem_STRING()
{
Bundle MyBundle = new Bundle();
MyBundle.AddItem(Key, StringValue);
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng@samsung.com")]
[Property("COVPARAM", "string, out byte[]")]
- public static void TryGetItem_BYTE_ARRAY()
+ public void TryGetItem_BYTE_ARRAY()
{
Bundle MyBundle = new Bundle();
MyBundle.AddItem(Key, _byteArrayValue, 2, 3);
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng@samsung.com")]
[Property("COVPARAM", "string, out IEnumerable<string>")]
- public static void TryGetItem_IENUMERABLE_STRING()
+ public void TryGetItem_IENUMERABLE_STRING()
{
Bundle MyBundle = new Bundle();
MyBundle.AddItem(Key, _stringIEnumValue);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void Count_READONLY()
+ public void Count_READONLY()
{
Bundle MyBundle = new Bundle();
Assert.IsNotNull(MyBundle, "Bundle should be not null after initializing");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void Keys_READONLY()
+ public void Keys_READONLY()
{
Bundle MyBundle = new Bundle();
Assert.IsNotNull(MyBundle, "Bundle should be not null after initializing");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Encode_STRING()
+ public void Encode_STRING()
{
Bundle myBundle = new Bundle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Decode_BUNDLE()
+ public void Decode_BUNDLE()
{
Bundle myBundle = new Bundle();
Bundle decodedBundle;
public class CoreUIApplicationTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng.d@samsung.com")]
- public static void CoreUIApplication_INIT()
+ public void CoreUIApplication_INIT()
{
/* TEST CODE */
Application app = new CoreUIApplication();
public class DeviceOrientationEventArgsTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.DeviceOrientation")]
- public static void DeviceOrientationEventArgs_INIT_WITH_PARAMETER()
+ public void DeviceOrientationEventArgs_INIT_WITH_PARAMETER()
{
var myDeviceOrientationEventArgs = new DeviceOrientationEventArgs(DeviceOrientation.Orientation_0);
Assert.IsInstanceOf<DeviceOrientationEventArgs>(myDeviceOrientationEventArgs);
[Description("Tizen.Applications.DirectoryInfo Tests")]
public class DirectoryInfoTests
{
- private static DirectoryInfo s_currentApp;
+ private DirectoryInfo s_currentApp;
private const string Cache = "/cache/";
private const string Data = "/data/";
private const string ExpansionPackage = "/tep/mount/";
//need update test property SharedData;
[SetUp]
- public static void Init()
+ public void Init()
{
s_currentApp = Application.Current.DirectoryInfo;
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void Cache_GET()
+ public void Cache_GET()
{
Assert.IsTrue(s_currentApp.Cache.Contains(Cache), "Cache of DirectoryInfo is not correct");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void ExpansionPackageResource_GET()
+ public void ExpansionPackageResource_GET()
{
Assert.IsTrue(s_currentApp.ExpansionPackageResource.Contains(ExpansionPackage), "ExpansionPackageResource of DirectoryInfo is not correct");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void ExternalData_GET()
+ public void ExternalData_GET()
{
Assert.AreNotEqual("", s_currentApp.ExternalData, "ExternalData of DirectoryInfo is null");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void ExternalCache_GET()
+ public void ExternalCache_GET()
{
Assert.AreNotEqual("", s_currentApp.ExternalCache, "ExternalCache of DirectoryInfo is null");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void Data_GET()
+ public void Data_GET()
{
Assert.IsTrue(s_currentApp.Data.Contains(Data), "Data of DirectoryInfo is not correct");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void ExternalSharedData_GET()
+ public void ExternalSharedData_GET()
{
Assert.AreNotEqual("", s_currentApp.ExternalSharedData, "ExternalSharedData of DirectoryInfo is null");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void Resource_GET()
+ public void Resource_GET()
{
Assert.IsTrue(s_currentApp.Resource.Contains(Resource), "Resource of DirectoryInfo is not correct");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void SharedData_GET()
+ public void SharedData_GET()
{
Assert.IsNotNull(s_currentApp.SharedData, "SharedData of DirectoryInfo should not null");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void SharedResource_GET()
+ public void SharedResource_GET()
{
Assert.IsTrue(s_currentApp.SharedResource.Contains(ShareResource), "SharedResource of DirectoryInfo is not correct");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Phuong Dong, dong.phuong@samsung.com")]
- public static void SharedTrusted_GET()
+ public void SharedTrusted_GET()
{
Assert.IsTrue(s_currentApp.SharedTrusted.Contains(ShareTrusted), "SharedTrusted of DirectoryInfo is not correct");
}
public class AppNotFoundExceptionTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void AppNotFoundException_INIT()
+ public void AppNotFoundException_INIT()
{
Exceptions.AppNotFoundException appNotFoundException = new Exceptions.AppNotFoundException("App not found");
Assert.IsInstanceOf<Exceptions.AppNotFoundException>(appNotFoundException);
public class LaunchFailedExceptionTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void LaunchFailedException_INIT()
+ public void LaunchFailedException_INIT()
{
Exceptions.LaunchFailedException launchFailedException = new Exceptions.LaunchFailedException("Launch failed");
Assert.IsInstanceOf<Exceptions.LaunchFailedException>(launchFailedException);
public class LaunchRejectedExceptionTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void LaunchRejectedException_INIT()
+ public void LaunchRejectedException_INIT()
{
Exceptions.LaunchRejectedException launchRejectedException = new Exceptions.LaunchRejectedException("Launch rejected");
Assert.IsInstanceOf<Exceptions.LaunchRejectedException>(launchRejectedException);
public class OutOfMemoryExceptionTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void OutOfMemoryException_INIT()
+ public void OutOfMemoryException_INIT()
{
Exceptions.OutOfMemoryException outOfMemoryException = new Exceptions.OutOfMemoryException("Out of memory");
Assert.IsInstanceOf<Exceptions.OutOfMemoryException>(outOfMemoryException);
public class PermissionDeniedExceptionTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void PermissionDeniedException_INIT()
+ public void PermissionDeniedException_INIT()
{
var permissionDeniedException = new Exceptions.PermissionDeniedException("Permission denied");
Assert.IsInstanceOf<Exceptions.PermissionDeniedException>(permissionDeniedException);
public class LocaleChangedEventArgsTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void LocaleChangedEventArgs_INIT()
+ public void LocaleChangedEventArgs_INIT()
{
/* TEST CODE */
string locale = "146.4465466,161.411666565";
public class LowBatteryEventArgsTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang.d@samsung.com")]
- public static void LowBatteryEventArgs_INIT()
+ public void LowBatteryEventArgs_INIT()
{
var myLowBatteryEventArgs = new LowBatteryEventArgs(LowBatteryStatus.None);
Assert.IsInstanceOf<LowBatteryEventArgs>(myLowBatteryEventArgs);
class LowMemoryEventArgsTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void LowMemoryEventArgs_INIT()
+ public void LowMemoryEventArgs_INIT()
{
/* TEST CODE */
Tizen.Applications.LowMemoryEventArgs lowMemoryArg = new Tizen.Applications.LowMemoryEventArgs(Tizen.Applications.LowMemoryStatus.None);
[Description("Tizen.Applications.Messages.MessagePort Test : send and receive messages between applications through MessagePort")]
public class MessagePortTests
{
- protected static readonly string LogTag = typeof(Program).Namespace;
- private static Tizen.Applications.Messages.MessagePort _messagePort;
- private static Task<IEnumerable<ApplicationRunningContext>> _runningApps;
- private static Bundle _message;
- private static RemoteValues _remote;
- private static IEnumerable<ApplicationRunningContext> _list;
+ protected readonly string LogTag = typeof(Program).Namespace;
+ private Tizen.Applications.Messages.MessagePort _messagePort;
+ private Task<IEnumerable<ApplicationRunningContext>> _runningApps;
+ private Bundle _message;
+ private RemoteValues _remote;
+ private IEnumerable<ApplicationRunningContext> _list;
private const string PortName = "LocalPort";
private const string MyRemoteAppId = "org.tizen.MsgPortApp.Tizen";
private const string MyRemoteAppId1 = "org.tizen.MsgPortApp1.Tizen";
- private static bool _flag;
+ private bool _flag;
[SetUp]
- public static void Init()
+ public void Init()
{
_messagePort = null;
_flag = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_message = null;
_remote = null;
}
}
- static void MessageReceivedCallback(object sender, MessageReceivedEventArgs e)
+ void MessageReceivedCallback(object sender, MessageReceivedEventArgs e)
{
Log.Debug(LogTag, "receive !! ");
_message = e.Message;
}
}
- static void AppControlReplyCallback(Tizen.Applications.AppControl launchRequest, Tizen.Applications.AppControl replyRequest, AppControlReplyResult result)
+ void AppControlReplyCallback(Tizen.Applications.AppControl launchRequest, Tizen.Applications.AppControl replyRequest, AppControlReplyResult result)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void MessagePort_INIT()
+ public void MessagePort_INIT()
{
_messagePort = new Tizen.Applications.Messages.MessagePort(PortName, false);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void PortName_PROPERTY_SET_GET()
+ public void PortName_PROPERTY_SET_GET()
{
_messagePort = new Tizen.Applications.Messages.MessagePort(PortName, false);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void Trusted_PROPERTY_SET_GET()
+ public void Trusted_PROPERTY_SET_GET()
{
_messagePort = new Tizen.Applications.Messages.MessagePort(PortName, false);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void Listening_PROPERTY_GET()
+ public void Listening_PROPERTY_GET()
{
/* PRECONDITION
* Init MessagePort
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void Listen_FROM_A_PORT()
+ public void Listen_FROM_A_PORT()
{
/* PRECONDITION
* Init MessagePort
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void StopListening_FROM_A_PORT()
+ public void StopListening_FROM_A_PORT()
{
/* PRECONDITION
* Init MessagePort
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Bundle, string, string")]
- public static async Task Send_A_MESSAGE_TO_A_REMOTE_APP()
+ public async Task Send_A_MESSAGE_TO_A_REMOTE_APP()
{
/* PRECONDITION
* 1)Install org.tizen.MsgPortApp.tpk <in folder res/> and run it
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Bundle, string, string, bool")]
- public static async Task Send_A_TRUSTED_MESSAGE_TO_A_REMOTE_APP()
+ public async Task Send_A_TRUSTED_MESSAGE_TO_A_REMOTE_APP()
{
/* PRECONDITION
* 1)Install org.tizen.MsgPortApp.tpk <in folder res/> and run it
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static async Task MessageReceived_CHECK_EVENT()
+ public async Task MessageReceived_CHECK_EVENT()
{
/* PRECONDITION
* 1)Install org.tizen.MsgPortApp.tpk <in folder res/> and run it
//[Property("SPEC_URL", "-")]
//[Property("CRITERIA", "PRO")]
//[Property("AUTHOR", "Pham Phuong Dong, dong.phuong@samsung.com")]
- //public static async Task Message_GET() {
+ //public async Task Message_GET() {
// /* PRECONDITION
// * 1)Install org.tizen.MsgPortApp.tpk <in folder res/> and run it
// * 2)Init MessagePort -> Start listening -> Send a message to remoteApp and wait for callback message to check event
//[Property("SPEC_URL", "-")]
//[Property("CRITERIA", "PRO")]
//[Property("AUTHOR", "Pham Phuong Dong, dong.phuong@samsung.com")]
- //public static async Task Remote_GET() {
+ //public async Task Remote_GET() {
// /* PRECONDITION
// * 1)Install org.tizen.MsgPortApp.tpk <in folder res/> and run it
// * 2)Init MessagePort -> Start listening -> Send a message to remoteApp and wait for callback message to check event
[Description("Test : argument of Received Message ")]
class MessageReceivedEventArgsTests
{
- protected static readonly string LogTag = typeof(Program).Namespace;
- private static Tizen.Applications.Messages.MessagePort _messagePort;
- private static Bundle _message;
- private static RemoteValues _remote;
- private static IEnumerable<ApplicationRunningContext> _list;
+ protected readonly string LogTag = typeof(Program).Namespace;
+ private Tizen.Applications.Messages.MessagePort _messagePort;
+ private Bundle _message;
+ private RemoteValues _remote;
+ private IEnumerable<ApplicationRunningContext> _list;
private const string PortName = "LocalPort";
private const string MyRemoteAppId = "org.tizen.MsgPortApp.Tizen";
private const string MyRemoteAppId1 = "org.tizen.MsgPortApp1.Tizen";
- private static bool _flag;
+ private bool _flag;
[SetUp]
- public static void Init()
+ public void Init()
{
_messagePort = null;
_flag = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_messagePort != null)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void MessageReceivedEventArgs_INIT()
+ public void MessageReceivedEventArgs_INIT()
{
/* TEST CODE */
MessageReceivedEventArgs msgReceivedArgs = new MessageReceivedEventArgs();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Pham Phuong Dong, dong.phuong@samsung.com")]
- public static async Task Message_GET()
+ public async Task Message_GET()
{
/* PRECONDITION
* 1)Install org.tizen.MsgPortApp.tpk <in folder res/> and run it
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Pham Phuong Dong, dong.phuong@samsung.com")]
- public static async Task Remote_GET()
+ public async Task Remote_GET()
{
/* PRECONDITION
* 1)Install org.tizen.MsgPortApp.tpk <in folder res/> and run it
_remote = null;
}
- static void MessageReceivedCallback(object sender, MessageReceivedEventArgs e)
+ void MessageReceivedCallback(object sender, MessageReceivedEventArgs e)
{
Log.Debug(LogTag, "receive !! ");
_message = e.Message;
[Description("Tizen.Applications.Preference.EventContext test case")]
public class EventContextTests
{
- private static bool _callbackIsCalled;
- private static PreferenceChangedEventArgs _preferChEvent;
+ private bool _callbackIsCalled;
+ private PreferenceChangedEventArgs _preferChEvent;
[SetUp]
- public static void Init()
+ public void Init()
{
_callbackIsCalled = false;
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- private static void PreferenceChangedCallback(object sender, PreferenceChangedEventArgs preEv)
+ private void PreferenceChangedCallback(object sender, PreferenceChangedEventArgs preEv)
{
Log.Debug("PREF", "@@## PreferenceChangedCallback");
_preferChEvent = preEv;
_callbackIsCalled = true;
}
- public static async Task WaitCallback()
+ public async Task WaitCallback()
{
int count = 0;
while (true)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static async Task Changed_CALLBACK()
+ public async Task Changed_CALLBACK()
{
Log.Debug("PREF", "@@## EventContext Changed_CALLBACK");
public class PreferenceTest
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Set_INT_TYPE()
+ public void Set_INT_TYPE()
{
Log.Debug("PREF", "@@## Preference set int value");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Get_INT_TYPE()
+ public void Get_INT_TYPE()
{
Log.Debug("PREF", "@@## Preference get int value ");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Remove_INT_TYPE()
+ public void Remove_INT_TYPE()
{
Log.Debug("PREF", "@@## Preference remove int value");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Set_DOUBLE_TYPE()
+ public void Set_DOUBLE_TYPE()
{
Log.Debug("PREF", "@@## Preference set double value");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Get_DOUBLE_TYPE()
+ public void Get_DOUBLE_TYPE()
{
Log.Debug("PREF", "@@## Preference get double value");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Remove_DOUBLE_TYPE()
+ public void Remove_DOUBLE_TYPE()
{
Log.Debug("PREF", "@@## Preference get double value");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Set_STRING_TYPE()
+ public void Set_STRING_TYPE()
{
Log.Debug("PREF", "@@## Preference set string value");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Get_STRING_TYPE()
+ public void Get_STRING_TYPE()
{
Log.Debug("PREF", "@@## Preference get string value");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Remove_STRING_TYPE()
+ public void Remove_STRING_TYPE()
{
Log.Debug("PREF", "@@## Preference remove string value");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Set_BOOL_TYPE()
+ public void Set_BOOL_TYPE()
{
Log.Debug("PREF", "@@## Preference set bool value");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Get_BOOL_TYPE()
+ public void Get_BOOL_TYPE()
{
Log.Debug("PREF", "@@## Preference get bool value");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Remove_BOOL_TYPE()
+ public void Remove_BOOL_TYPE()
{
Log.Debug("PREF", "@@## Preference remove bool value");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Set_EXCEPTION_CASE()
+ public void Set_EXCEPTION_CASE()
{
Log.Debug("PREF", "@@## Preference set exception");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Get_EXCEPTION_CASE()
+ public void Get_EXCEPTION_CASE()
{
Log.Debug("PREF", "@@## Preference get exception");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Remove_EXCEPTION_CASE()
+ public void Remove_EXCEPTION_CASE()
{
Log.Debug("PREF", "@@## Preference remove exception");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Contains_RETURN_TYPE_BOOL()
+ public void Contains_RETURN_TYPE_BOOL()
{
Log.Debug("PREF", "@@## Preference contains test");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Contains_EXCEPTION()
+ public void Contains_EXCEPTION()
{
Log.Debug("PREF", "@@## Preference contains exception test");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void RemoveAll_CHECK_WITHOUT_EXCEPTION()
+ public void RemoveAll_CHECK_WITHOUT_EXCEPTION()
{
Log.Debug("PREF", "@@## Preference removeall");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Keys_RETURN_TYPE_LIST()
+ public void Keys_RETURN_TYPE_LIST()
{
Log.Debug("PREF", "@@## Preference keys");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void GetEventContext_EXCEPTION()
+ public void GetEventContext_EXCEPTION()
{
Log.Debug("PREF", "@@## Preference GetEventContext exception case");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void GetEventContext_CHECK_WITHOUT_EXCEPTION()
+ public void GetEventContext_CHECK_WITHOUT_EXCEPTION()
{
Log.Debug("PREF", "@@## Preference GetEventContext");
[Description("Tizen.Application.PreferenceChangedEventArgs Tests")]
public class PreferenceChangedEventArgsTests
{
- private static bool _callbackIsCalled;
- private static PreferenceChangedEventArgs _preferChEvent;
+ private bool _callbackIsCalled;
+ private PreferenceChangedEventArgs _preferChEvent;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void PreferenceChangedEventArgs_INIT()
+ public void PreferenceChangedEventArgs_INIT()
{
var myPreferenceChangedEventArgs = new PreferenceChangedEventArgs();
Assert.IsInstanceOf<PreferenceChangedEventArgs>(myPreferenceChangedEventArgs);
Assert.IsNotNull(myPreferenceChangedEventArgs, "PreferenceChangedEventArgs should be not null after init.");
}
- private static void PreferenceChangedCallback(object sender, PreferenceChangedEventArgs preEv)
+ private void PreferenceChangedCallback(object sender, PreferenceChangedEventArgs preEv)
{
Log.Debug("PREF", "@@## PreferenceChangedCallback");
_preferChEvent = preEv;
_callbackIsCalled = true;
}
- public static async Task WaitCallback()
+ public async Task WaitCallback()
{
int count = 0;
while (true)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static async Task Key_PROPERTY_GET()
+ public async Task Key_PROPERTY_GET()
{
Log.Debug("PREF", "@@## PreferenceChangedEventArgs Key_PROPERTY_GET");
public class ExceptionTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void InvalidIOException_INIT()
+ public void InvalidIOException_INIT()
{
/* TEST CODE */
var e = new InvalidIOException();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void InvalidIDException_INIT()
+ public void InvalidIDException_INIT()
{
/* TEST CODE */
var e = new InvalidIDException();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void PermissionDeniedException_INIT()
+ public void PermissionDeniedException_INIT()
{
/* TEST CODE */
var e = new PermissionDeniedException();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void InvalidProtocolException_INIT()
+ public void InvalidProtocolException_INIT()
{
/* TEST CODE */
var e = new InvalidProtocolException();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void NotConnectedSocketException_INIT()
+ public void NotConnectedSocketException_INIT()
{
/* TEST CODE */
var e = new NotConnectedSocketException();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void InvalidCallbackException_INIT()
+ public void InvalidCallbackException_INIT()
{
/* TEST CODE */
var e = new InvalidCallbackException();
[Description("Tizen.Application.RPCPort.Parcel Tests")]
public class ParcelTests
{
- private static Proxy _proxy;
+ private Proxy _proxy;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_proxy = new Proxy();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_proxy.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void Parcel_INIT()
+ public void Parcel_INIT()
{
/* TEST CODE */
using (var p = new Parcel())
[Property("CRITERIA", "CONSTR")]
[Property("COVPARAM", "Port")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task Parcel_INIT_WITH_PARAMETER()
+ public async Task Parcel_INIT_WITH_PARAMETER()
{
/* PRECONDITION
* */
[Property("CRITERIA", "CONSTN")]
[Property("COVPARAM", "Port")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void Parcel_NULL_ARGUMENTS()
+ public void Parcel_NULL_ARGUMENTS()
{
/* PRECONDITION */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task Send_CHECK_WITHOUT_EXCEPTION()
+ public async Task Send_CHECK_WITHOUT_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void Send_WITH_NULL_ARGUMENTS()
+ public void Send_WITH_NULL_ARGUMENTS()
{
/* PRECONDITION */
using (var p = new Parcel())
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void ReadByte_RETURN()
+ public void ReadByte_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void ReadShort_RETURN()
+ public void ReadShort_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void ReadInt_RETURN()
+ public void ReadInt_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void ReadLong_RETURN()
+ public void ReadLong_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void ReadFloat_RETURN()
+ public void ReadFloat_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void ReadDouble_RETURN()
+ public void ReadDouble_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void ReadString_RETURN()
+ public void ReadString_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void ReadBool_RETURN()
+ public void ReadBool_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void ReadBundle_RETURN()
+ public void ReadBundle_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void ReadArrayCount_RETURN()
+ public void ReadArrayCount_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void Read_RETURN()
+ public void Read_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void WriteByte_RETURN()
+ public void WriteByte_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void WriteShort_RETURN()
+ public void WriteShort_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void WriteInt_RETURN()
+ public void WriteInt_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void WriteLong_RETURN()
+ public void WriteLong_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void WriteFloat_RETURN()
+ public void WriteFloat_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void WriteDouble_RETURN()
+ public void WriteDouble_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void WriteString_RETURN()
+ public void WriteString_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void WriteBool_RETURN()
+ public void WriteBool_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void WriteBundle_RETURN()
+ public void WriteBundle_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void WriteArrayCount_RETURN()
+ public void WriteArrayCount_RETURN()
{
using (var p = new Parcel())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void Write_RETURN()
+ public void Write_RETURN()
{
using (var p = new Parcel())
{
[Description("Tizen.Application.RPCPort.ProxyBase Tests")]
public class ProxyBaseTests
{
- private static Proxy _proxy;
+ private Proxy _proxy;
public class Proxy : ProxyBase
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_proxy = new Proxy();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_proxy.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void ProxyBase_INIT()
+ public void ProxyBase_INIT()
{
var p = new Proxy();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task Connect_RETURN()
+ public async Task Connect_RETURN()
{
/* PRECONDITION */
await Task.Delay(4000);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task Connect_CHECK_INVALID_ID_EXCEPTION()
+ public async Task Connect_CHECK_INVALID_ID_EXCEPTION()
{
/* PRECONDITION */
await Task.Delay(4000);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void Connect_CHECK_INVALID_IO_EXCEPTION()
+ public void Connect_CHECK_INVALID_IO_EXCEPTION()
{
/* PRECONDITION */
_proxy?.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task Connect_CHECK_PERMISSION_DENIED_EXCEPTION()
+ public async Task Connect_CHECK_PERMISSION_DENIED_EXCEPTION()
{
/* PRECONDITION */
_proxy?.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task OnConnectedEvent_CHECK_CB()
+ public async Task OnConnectedEvent_CHECK_CB()
{
/* PRECONDITION */
await Task.Delay(4000);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task OnDisconnectedEvent_CHECK_CB()
+ public async Task OnDisconnectedEvent_CHECK_CB()
{
/* PRECONDITION */
await Task.Delay(4000);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task OnRejectedEvent_CHECK_CB()
+ public async Task OnRejectedEvent_CHECK_CB()
{
/* PRECONDITION */
_proxy?.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task OnReceivedEvent_CHECK_CB()
+ public async Task OnReceivedEvent_CHECK_CB()
{
/* PRECONDITION */
await Task.Delay(4000);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task GetPort_CHECK_EXCEPTION()
+ public async Task GetPort_CHECK_EXCEPTION()
{
/* PRECONDITION */
await Task.Delay(4000);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task GetPort_RETURN()
+ public async Task GetPort_RETURN()
{
/* PRECONDITION */
await Task.Delay(4000);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task Port_PROPERTY_GET()
+ public async Task Port_PROPERTY_GET()
{
/* PRECONDITION */
await Task.Delay(4000);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task CallbackPort_PROPERTY_GET()
+ public async Task CallbackPort_PROPERTY_GET()
{
/* PRECONDITION */
await Task.Delay(4000);
[Description("Tizen.Application.RPCPort.StubBase Tests")]
public class StubBaseTests
{
- private static Stub _stub;
+ private Stub _stub;
private static bool _disposed;
public class Stub : StubBase
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_stub = new Stub("Test");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_stub?.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void StubBase_INIT()
+ public void StubBase_INIT()
{
Assert.IsInstanceOf<StubBase>(_stub);
Assert.IsNotNull(_stub, "Stub shouldn't be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task Listen_CHECK_RETURN()
+ public async Task Listen_CHECK_RETURN()
{
/* PRECONDITION */
_stub.TestListen();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void Listen_CHECK_WITH_EXCEPTION()
+ public void Listen_CHECK_WITH_EXCEPTION()
{
/* PRECONDITION */
_stub?.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task OnConnectedEvent_CHECK_CB()
+ public async Task OnConnectedEvent_CHECK_CB()
{
/* PRECONDITION */
_stub.TestListen();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task OnDisconnectedEvent_CHECK_CB()
+ public async Task OnDisconnectedEvent_CHECK_CB()
{
/* PRECONDITION */
_stub.TestListen();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task OnReceivedEvent_CHECK_CB()
+ public async Task OnReceivedEvent_CHECK_CB()
{
/* PRECONDITION */
_stub.TestListen();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task OnTerminatedEvent_CHECK_CB()
+ public async Task OnTerminatedEvent_CHECK_CB()
{
/* PRECONDITION */
_stub.TestListen();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task GetPort_RETURN()
+ public async Task GetPort_RETURN()
{
/* PRECONDITION */
_stub.TestListen();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task GetPort_CHECK_INVALID_IO_EXCEPTION()
+ public async Task GetPort_CHECK_INVALID_IO_EXCEPTION()
{
/* PRECONDITION */
_stub.TestListen();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void GetPort_CHECK_INVALID_ID_EXCEPTION()
+ public void GetPort_CHECK_INVALID_ID_EXCEPTION()
{
/* PRECONDITION */
_stub.TestListen();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task AddPrivilege_RETURN()
+ public async Task AddPrivilege_RETURN()
{
/* PRECONDITION */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void AddPrivilege_CHECK_WITH_EXCEPTION()
+ public void AddPrivilege_CHECK_WITH_EXCEPTION()
{
/* PRECONDITION */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task SetTrusted_RETURN1()
+ public async Task SetTrusted_RETURN1()
{
/* PRECONDITION */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static async Task SetTrusted_RETURN2()
+ public async Task SetTrusted_RETURN2()
{
/* PRECONDITION */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void PortName_PROPERTY_GET()
+ public void PortName_PROPERTY_GET()
{
Assert.NotNull(_stub.PortName);
Assert.True(_stub.PortName.Equals("Test"));
[Description("Test : Replies to the launch request sent by the caller")]
public class ReceivedAppControlTests
{
- private static Tizen.Applications.AppControl _appCtrl;
+ private Tizen.Applications.AppControl _appCtrl;
private const string CallerAppId= "Tizen.Applications.Tests";
private const string SampleAppId = "org.tizen.ServiceAppTest.Tizen";
- private static Task<IEnumerable<ApplicationRunningContext>> _runningApps;
- private static IEnumerable<ApplicationRunningContext> _list;
- private static string _CallerAppId;
- private static string _IsReplyRequest;
- private static bool _flag;
+ private Task<IEnumerable<ApplicationRunningContext>> _runningApps;
+ private IEnumerable<ApplicationRunningContext> _list;
+ private string _CallerAppId;
+ private string _IsReplyRequest;
+ private bool _flag;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
//_appCtrl = Tizen.Applications.AppControl();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_appCtrl = null;
_IsReplyRequest = "";
}
- public static async Task waitMe()
+ public async Task waitMe()
{
int count = 0;
while (true)
}
}
- static void AppControlReplyCallback(Tizen.Applications.AppControl launchRequest, Tizen.Applications.AppControl replyRequest, AppControlReplyResult result)
+ void AppControlReplyCallback(Tizen.Applications.AppControl launchRequest, Tizen.Applications.AppControl replyRequest, AppControlReplyResult result)
{
const string LOG_TAG = "ACS3";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void ReceivedAppControl_INIT()
+ public void ReceivedAppControl_INIT()
{
AppControl control = new AppControl();
Assert.IsNotNull(control, "control should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void ReceivedAppControl_CHECK_EXCEPTION()
+ public void ReceivedAppControl_CHECK_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => new ReceivedAppControl(null));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static async Task ReplyToLaunchRequest_SENT_FROM_CALLER()
+ public async Task ReplyToLaunchRequest_SENT_FROM_CALLER()
{
/* PRECONDITION
* Install org.tizen.ServiceAppTest.Tizen.tpk <in Resource/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static async Task CallerApplicationId_TEST_PROPERTY()
+ public async Task CallerApplicationId_TEST_PROPERTY()
{
/* PRECONDITION
* Install org.tizen.ServiceAppTest.Tizen.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static async Task IsReplyRequest_TEST_PROPERTY()
+ public async Task IsReplyRequest_TEST_PROPERTY()
{
/* PRECONDITION
* Install org.tizen.ServiceAppTest.Tizen.tpk <in folder res/>
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
- public static void Delete_CHANGE_STATUS()
+ public void Delete_CHANGE_STATUS()
{
IEnumerable<RecentApplicationInfo> appList = ApplicationManager.GetRecentApplications();
const string testAppId = "Tizen.Applications.Tests";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
- public static void DeleteAll_CHANGE_STATUS()
+ public void DeleteAll_CHANGE_STATUS()
{
RecentApplicationControl.DeleteAll();
[Description("Tizen.Application.RecentApplicationInfo Tests")]
public class RecentApplicationInfoTests
{
- static IEnumerable<RecentApplicationInfo> infos;
+ IEnumerable<RecentApplicationInfo> infos;
const string testPkgId = "RecentApplicationInfo.Tizen";
- static RecentApplicationInfo _testApp;
+ RecentApplicationInfo _testApp;
private const string LogTag = "RecentApplicationInfo";
- static bool isRunningTestApp = false;
+ bool isRunningTestApp = false;
private const string MyAppId = "org.tizen.RecentApplicationInfo.Tizen";
[OneTimeSetUp]
- public static void OneTimeInit()
+ public void OneTimeInit()
{
/* PRECONDITION
* Install RecentApplicationInfo.Tizen.tpk <in folder res/>
}
[SetUp]
- public static void Init()
+ public void Init()
{
int count = 0;
while (true)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
- public static void InstanceId_GET()
+ public void InstanceId_GET()
{
Log.Debug(LogTag, "[DEBUG] instanceID :" + _testApp.InstanceId);
Assert.IsInstanceOf<string>(_testApp.InstanceId, "Type of Instance ID is not correct");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
- public static void InstanceName_GET()
+ public void InstanceName_GET()
{
Log.Debug(LogTag, "[DEBUG] InstanceName :" + _testApp.InstanceName);
Assert.IsInstanceOf<string>(_testApp.InstanceName, "Type of Instance Name is not correct");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
- public static void Arg_GET()
+ public void Arg_GET()
{
Log.Debug(LogTag, "[DEBUG] Arg :" + _testApp.Arg);
Assert.IsInstanceOf<string>(_testApp.Arg, "Type of Arguements is not correct");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
- public static void Uri_GET()
+ public void Uri_GET()
{
Log.Debug(LogTag, "[DEBUG] Uri :" + _testApp.Uri);
Assert.IsInstanceOf<string>(_testApp.Uri, "Type of Uri is not correct");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
- public static void LaunchTime_GET()
+ public void LaunchTime_GET()
{
Assert.IsInstanceOf<DateTime>(_testApp.LaunchTime, "Type of LaunchTime is not correct");
Assert.IsNotNull(_testApp.LaunchTime, "LaunchTime is not correct");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Inkyun Kil, inkyun.kil@samsung.com")]
- public static void Controller_GET()
+ public void Controller_GET()
{
Assert.IsInstanceOf<RecentApplicationControl>(_testApp.Controller, "Type of Controller is not correct");
Assert.IsNotNull(_testApp.Controller, "Controller is not correct");
[Description("Tizen.Application.RegionFormatChangedEventArgs Tests")]
public class RegionFormatChangedEventArgsTests
{
- private static string _region = "en_US.UTF-8";
- private static RegionFormatChangedEventArgs _regionFormatChangedEventArgs;
+ private string _region = "en_US.UTF-8";
+ private RegionFormatChangedEventArgs _regionFormatChangedEventArgs;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_regionFormatChangedEventArgs = new RegionFormatChangedEventArgs(_region);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_regionFormatChangedEventArgs = null;
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
[Property("COVPARAM", "string")]
- public static void RegionFormatChangedEventArgs_INIT_WITH_PARAMETER()
+ public void RegionFormatChangedEventArgs_INIT_WITH_PARAMETER()
{
var myRegionFormatChangedEventArgs = new RegionFormatChangedEventArgs(_region);
Assert.IsInstanceOf<RegionFormatChangedEventArgs>(myRegionFormatChangedEventArgs);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void Region_PROPERTY_GET()
+ public void Region_PROPERTY_GET()
{
string myRegion = _regionFormatChangedEventArgs.Region;
Assert.AreEqual(myRegion, _region, "Objects should be equal");
[Description("RemotePort information Test")]
class RemotePortTests
{
- public static RemotePort _remotePort;
- private static MessagePort _messagePort;
+ public RemotePort _remotePort;
+ private MessagePort _messagePort;
public const string remoteAppId = "org.tizen.MsgPortApp.Tizen";
public const string myRemotePort = "TestRemotePort";
- private static Task<IEnumerable<ApplicationRunningContext>> _runningApps;
- private static IEnumerable<ApplicationRunningContext> _list;
- private static bool _flag;
+ private Task<IEnumerable<ApplicationRunningContext>> _runningApps;
+ private IEnumerable<ApplicationRunningContext> _list;
+ private bool _flag;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_runningApps = null;
}
}
- private static void RemotePortStateChangedCallback(object sender, RemotePortStateChangedEventArgs e)
+ private void RemotePortStateChangedCallback(object sender, RemotePortStateChangedEventArgs e)
{
_flag = true;
Log.Debug("REMOTEPORT", "@@# RemotePortStateChangedCallback : " + _flag);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void RemotePort_INIT()
+ public void RemotePort_INIT()
{
Log.Debug("REMOTEPORT", "@@# RemotePort_INIT");
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void AppId_PROPERTY_GET()
+ public void AppId_PROPERTY_GET()
{
Log.Debug("REMOTEPORT", "@@# AppId_PROPERTY_GET");
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void PortName_PROPERTY_GET()
+ public void PortName_PROPERTY_GET()
{
Log.Debug("REMOTEPORT", "@@# PortName_PROPERTY_GET");
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Trusted_PROPERTY_GET()
+ public void Trusted_PROPERTY_GET()
{
Log.Debug("REMOTEPORT", "@@# Trusted_PROPERTY_GET");
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static async Task IsRunning_CHECK_VALUE()
+ public async Task IsRunning_CHECK_VALUE()
{
Log.Debug("REMOTEPORT", "@@# IsRunning_CHECK_VALUE");
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static async Task RemotePortStateChanged_EVENT()
+ public async Task RemotePortStateChanged_EVENT()
{
Log.Debug("REMOTEPORT", "@@# RemotePortStateChanged_EVENT");
bool isRunning = false;
[Description("RemotePortStateChangedEventArgs Test")]
class RemotePortStateChangedEventArgsTests
{
- public static RemotePort _remotePort;
- private static MessagePort _messagePort;
+ public RemotePort _remotePort;
+ private MessagePort _messagePort;
public const string remoteAppId = "org.tizen.MsgPortApp.Tizen";
public const string myRemotePort = "TestRemotePort";
- private static Task<IEnumerable<ApplicationRunningContext>> _runningApps;
- private static IEnumerable<ApplicationRunningContext> _list;
- private static RemotePortStateChangedEventArgs _changeState;
- private static bool _flag;
- private static State _state;
+ private Task<IEnumerable<ApplicationRunningContext>> _runningApps;
+ private IEnumerable<ApplicationRunningContext> _list;
+ private RemotePortStateChangedEventArgs _changeState;
+ private bool _flag;
+ private State _state;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void RemotePortStateChangedEventArgs_INIT()
+ public void RemotePortStateChangedEventArgs_INIT()
{
Log.Debug("REMOTEPORT", "@@# RemotePortStateChangedEventArgs_INIT");
/* TEST CODE */
Assert.IsInstanceOf<RemotePortStateChangedEventArgs>(_changeState, "_changeState object must be RemotePortStateChangedEventArgs instance");
}
- private static void RemotePortStateChangedCallback(object sender, RemotePortStateChangedEventArgs e)
+ private void RemotePortStateChangedCallback(object sender, RemotePortStateChangedEventArgs e)
{
_flag = true;
_state = e.Status;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static async Task Status_PROPERTY_GET()
+ public async Task Status_PROPERTY_GET()
{
Log.Debug("REMOTEPORT", "@@# Status_PROPERTY_GET");
bool isRunning = false;
[Description("Test : Remote Values ")]
class RemoteValuesTests
{
- public static Tizen.Applications.Messages.RemoteValues _remoteValue;
+ public Tizen.Applications.Messages.RemoteValues _remoteValue;
public const string MyRemoteAppId = "org.tizen.myRemoteAppId";
public const string MyRemotePortName = "myRemotePortName";
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void RemoteValues_INIT()
+ public void RemoteValues_INIT()
{
/* TEST CODE */
_remoteValue = new Tizen.Applications.Messages.RemoteValues();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void AppId_PROPERTY_SET_GET()
+ public void AppId_PROPERTY_SET_GET()
{
/* TEST CODE */
_remoteValue = new Tizen.Applications.Messages.RemoteValues();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void PortName_PROPERTY_SET_GET()
+ public void PortName_PROPERTY_SET_GET()
{
/* TEST CODE */
_remoteValue = new Tizen.Applications.Messages.RemoteValues();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Tien Dung, dung.nt5@samsung.com")]
- public static void Trusted_PROPERTY_SET_GET()
+ public void Trusted_PROPERTY_SET_GET()
{
/* TEST CODE */
_remoteValue = new Tizen.Applications.Messages.RemoteValues();
public class ResourceManagerTest
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void GetPath_RETURN()
+ public void GetPath_RETURN()
{
/* TEST CODE */
string str = ResourceManager.GetPath(ResourceManager.Category.Image, "Test.png");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void GetPath_ENUM_IMAGE()
+ public void GetPath_ENUM_IMAGE()
{
/* TEST CODE */
string str = ResourceManager.GetPath(ResourceManager.Category.Image, "Test.png");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void GetPath_ENUM_LAYOUT()
+ public void GetPath_ENUM_LAYOUT()
{
/* TEST CODE */
string str = ResourceManager.GetPath(ResourceManager.Category.Layout, "Test.edc");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void GetPath_ENUM_SOUND()
+ public void GetPath_ENUM_SOUND()
{
/* TEST CODE */
string str = ResourceManager.GetPath(ResourceManager.Category.Sound, "Test.wav");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void GetPath_ENUM_BINARY()
+ public void GetPath_ENUM_BINARY()
{
/* TEST CODE */
string str = ResourceManager.GetPath(ResourceManager.Category.Binary, "Test.bin");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void GetPath_EXCEPTION()
+ public void GetPath_EXCEPTION()
{
Assert.Throws<InvalidOperationException>(() => ResourceManager.GetPath(ResourceManager.Category.Image, "Invalid.png"));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void TryGetPath_RETURN()
+ public void TryGetPath_RETURN()
{
/* TEST CODE */
string str = ResourceManager.TryGetPath(ResourceManager.Category.Image, "Invalid.png");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void TryGetPath_ENUM_IMAGE()
+ public void TryGetPath_ENUM_IMAGE()
{
/* TEST CODE */
string str = ResourceManager.TryGetPath(ResourceManager.Category.Image, "Test.png");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void TryGetPath_ENUM_LAYOUT()
+ public void TryGetPath_ENUM_LAYOUT()
{
/* TEST CODE */
string str = ResourceManager.TryGetPath(ResourceManager.Category.Layout, "Test.edc");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void TryGetPath_ENUM_SOUND()
+ public void TryGetPath_ENUM_SOUND()
{
/* TEST CODE */
string str = ResourceManager.TryGetPath(ResourceManager.Category.Sound, "Test.wav");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void TryGetPath_ENUM_BINARY()
+ public void TryGetPath_ENUM_BINARY()
{
/* TEST CODE */
string str = ResourceManager.TryGetPath(ResourceManager.Category.Binary, "Test.bin");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void TryGetPath_EXCEPTION()
+ public void TryGetPath_EXCEPTION()
{
Assert.Throws<InvalidOperationException>(() => ResourceManager.GetPath(ResourceManager.Category.Image, null));
}
public class SafeAppControlHandleTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")]
- public static void SafeAppControlHandle_INIT()
+ public void SafeAppControlHandle_INIT()
{
/* TEST CODE */
var mySafeAppControlHandle = new SafeAppControlHandle();
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
[Property("COVPARAM", "IntPtr, bool")]
- public static void SafeAppControlHandle_INIT_WITH_ARGUMENTS()
+ public void SafeAppControlHandle_INIT_WITH_ARGUMENTS()
{
/* TEST CODE */
SafeAppControlHandle mySafeAppControlHandle = new SafeAppControlHandle(IntPtr.Zero, true);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void IsInvalid_PROPERTY_GET()
+ public void IsInvalid_PROPERTY_GET()
{
/* TEST CODE */
SafeAppControlHandle mySafeAppControlHandle = new SafeAppControlHandle();
public class SafeBundleHandleTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void SafeBundleHandle_INIT()
+ public void SafeBundleHandle_INIT()
{
/* TEST CODE */
SafeBundleHandle mySafeBundleHandle = new SafeBundleHandle();
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
[Property("COVPARAM", "IntPtr, bool")]
- public static void SafeBundleHandle_INIT_WITH_ARGUMENTS()
+ public void SafeBundleHandle_INIT_WITH_ARGUMENTS()
{
/* TEST CODE */
SafeBundleHandle mySafeBundleHandle = new SafeBundleHandle(IntPtr.Zero, true);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void IsInvalid_PROPERTY_GET()
+ public void IsInvalid_PROPERTY_GET()
{
/* TEST CODE */
SafeBundleHandle mySafeBundleHandle = new SafeBundleHandle();
public class ServiceApplicationTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Nguyen Duc Han, duchan.ng.d@samsung.com")]
- public static void ServiceApplication_INIT()
+ public void ServiceApplication_INIT()
{
/* TEST CODE */
Application App = new ServiceApplication();
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Thao, nguyen.tthao@samsung.com")]
- public static void TizenSynchronizationContext_INIT()
+ public void TizenSynchronizationContext_INIT()
{
/*Init new context object*/
var MyContext = new TizenSynchronizationContext();
[Description("Tizen.Applications.AttachPanel Manual test")]
public class TSAttachPanel
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static AttachPanel _attachPanel = null;
+ private TestPage _testPage = TestPage.GetInstance();
+ private AttachPanel _attachPanel = null;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
_attachPanel.Hide(true);
}
- private static void ResultCB(object sender, EventArgs e)
+ private void ResultCB(object sender, EventArgs e)
{
ManualTest.Confirm();
}
[Step(1, "Click Run a TC.")]
[Step(2, "Please select any image in AttachPanel")]
[Postcondition(1, "NA")]
- public static async Task ResultCallback_EVENT_TEST()
+ public async Task ResultCallback_EVENT_TEST()
{
if (AttachPanelUtils.Instance.CheckAPINotSupported())
{
_attachPanel.ResultCallback -= ResultCB;
}
- private static void EventCB(object sender, EventArgs e)
+ private void EventCB(object sender, EventArgs e)
{
StateEventArgs args = (StateEventArgs)e;
if (args.EventType == EventType.HideFinish)
[Step(1, "Click Run a TC.")]
[Step(2, "Please flick down (one finger swipe down) to hide the AttachPanel")]
[Postcondition(1, "NA")]
- public static async Task EventChanged_EVENT_TEST()
+ public async Task EventChanged_EVENT_TEST()
{
if (AttachPanelUtils.Instance.CheckAPINotSupported())
{
[Description("Tizen.Applications.AttachPanel Manual test")]
public class TSResultEventArgs
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static AttachPanel _attachPanel = null;
+ private TestPage _testPage = TestPage.GetInstance();
+ private AttachPanel _attachPanel = null;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
[Step(1, "Click Run a TC.")]
[Step(2, "Please select any image in AttachPanel")]
[Postcondition(1, "NA")]
- public static async Task ResultCallback_Category_TEST()
+ public async Task ResultCallback_Category_TEST()
{
if (AttachPanelUtils.Instance.CheckAPINotSupported())
{
[Step(1, "Click Run a TC.")]
[Step(2, "Please select any image in AttachPanel")]
[Postcondition(1, "NA")]
- public static async Task ResultCallback_Result_TEST()
+ public async Task ResultCallback_Result_TEST()
{
if (AttachPanelUtils.Instance.CheckAPINotSupported())
{
[Step(1, "Click Run a TC.")]
[Step(2, "Please select any image in AttachPanel")]
[Postcondition(1, "NA")]
- public static async Task ResultCallback_ResultCode_TEST()
+ public async Task ResultCallback_ResultCode_TEST()
{
if (AttachPanelUtils.Instance.CheckAPINotSupported())
{
[Description("Tizen.Applications.AttachPanel Manual test")]
public class TSStateEventArgs
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static AttachPanel _attachPanel = null;
+ private TestPage _testPage = TestPage.GetInstance();
+ private AttachPanel _attachPanel = null;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
_attachPanel = AttachPanelUtils.Instance.GetAttachPanel();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
[Step(2, "Wait for a one second.")]
[Step(3, "Please flick down (one finger swipe down) to hide the AttachPanel")]
[Postcondition(1, "NA")]
- public static async Task EventChanged_EventType_TEST()
+ public async Task EventChanged_EventType_TEST()
{
if (AttachPanelUtils.Instance.CheckAPINotSupported())
{
[Description("AttachPanel Tests")]
public class AttachPanelTests
{
- private static Conformant _conformant;
- private static AttachPanel _attachPanel;
- private static bool _isSupported = false;
+ private Conformant _conformant;
+ private AttachPanel _attachPanel;
+ private bool _isSupported = false;
public AttachPanelTests()
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
if (_conformant == IntPtr.Zero)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
[Property("CRITERIA", "CONSTR")]
[Property("COVPARAM", "ElmSharp.Conformant")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void AttachPanel_MAKE_INSTANCE_CONFORMANT()
+ public void AttachPanel_MAKE_INSTANCE_CONFORMANT()
{
if (_isSupported == false)
{
[Property("CRITERIA", "CONSTX")]
[Property("COVPARAM", "ElmSharp.Conformant")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void AttachPanel_CHECK_INSTANCE_ALREADY_EXISTS_WITH_CONFORMANT()
+ public void AttachPanel_CHECK_INSTANCE_ALREADY_EXISTS_WITH_CONFORMANT()
{
if (_isSupported == false)
{
[Property("CRITERIA", "CONSTX")]
[Property("COVPARAM", "ElmSharp.EvasObject")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void AttachPanel_CHECK_INSTANCE_ALREADY_EXISTS_WITH_EVAS_OBJECT()
+ public void AttachPanel_CHECK_INSTANCE_ALREADY_EXISTS_WITH_EVAS_OBJECT()
{
if (_isSupported == false)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void State_PROPERTY_GET()
+ public void State_PROPERTY_GET()
{
if (_isSupported == false)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void Visible_PROPERTY_GET()
+ public void Visible_PROPERTY_GET()
{
if (_isSupported == false)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void AddCategory_RETURN_TYPE()
+ public void AddCategory_RETURN_TYPE()
{
if (_isSupported == false)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void AddCategory_RETURN_EXCEPTION()
+ public void AddCategory_RETURN_EXCEPTION()
{
if (_isSupported == false)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void AddCategory_RETURN_OUT_OF_RANGE_EXCEPTION()
+ public void AddCategory_RETURN_OUT_OF_RANGE_EXCEPTION()
{
if (_isSupported == false)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void RemoveCategory_RETURN_TYPE()
+ public void RemoveCategory_RETURN_TYPE()
{
if (_isSupported == false)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void RemoveCategory_RETURN_NO_EXCEPTION()
+ public void RemoveCategory_RETURN_NO_EXCEPTION()
{
if (_isSupported == false)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void RemoveCategory_RETURN_OUT_OF_RANGE_EXCEPTION()
+ public void RemoveCategory_RETURN_OUT_OF_RANGE_EXCEPTION()
{
if (_isSupported == false)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void SetExtraData_RETURN_TYPE()
+ public void SetExtraData_RETURN_TYPE()
{
if (_isSupported == false)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void SetExtraData_RETURN_EXCEPTION()
+ public void SetExtraData_RETURN_EXCEPTION()
{
if (_isSupported == false)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void Show_RETURN_TYPE()
+ public void Show_RETURN_TYPE()
{
if (_isSupported == false)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void Hide_RETURN_TYPE()
+ public void Hide_RETURN_TYPE()
{
if (_isSupported == false)
{
[Property("CRITERIA", "MR")]
[Property("COVPARAM", "bool")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void Show_Without_Animation_RETURN_TYPE()
+ public void Show_Without_Animation_RETURN_TYPE()
{
if (_isSupported == false)
{
[Property("CRITERIA", "MR")]
[Property("COVPARAM", "bool")]
[Property("AUTHOR", "Moonkyoung Park, moon87.park@samsung.com")]
- public static void Hide_Without_Animation_RETURN_TYPE()
+ public void Hide_Without_Animation_RETURN_TYPE()
{
if (_isSupported == false)
{
public class AsyncAudioCaptureTests
{
public const string LogTag = "TizenTest.Multimedia.AsyncAudioCapture";
- private static AsyncAudioCapture AsyncCapture;
- private static bool _isMicrophoneAvail;
+ private AsyncAudioCapture AsyncCapture;
+ private bool _isMicrophoneAvail;
[OneTimeSetUp]
public void OneTimeSetup()
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static async Task DataAvailable_CHECK()
+ public async Task DataAvailable_CHECK()
{
if (_isMicrophoneAvail == false)
return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static async Task Pause_THROWS_IF_CALLED_IN_EVENT_HANDLER()
+ public async Task Pause_THROWS_IF_CALLED_IN_EVENT_HANDLER()
{
if (_isMicrophoneAvail == false)
return;
public class AudioCaptureTests
{
public const string LogTag = "TizenTest.Multimedia.AudioCapture";
- private static AudioCapture Capture;
- private static bool _isMicrophoneAvail;
+ private AudioCapture Capture;
+ private bool _isMicrophoneAvail;
[OneTimeSetUp]
public void OneTimeSetup()
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static async Task StateChanged_CHECK()
+ public async Task StateChanged_CHECK()
{
if (_isMicrophoneAvail == false)
return;
[Description("Manual Tests for BadgeControl method")]
public class BadgeControlTests
{
- private static string cert_app_id = "CertBadgeTest.Tizen";
+ private string cert_app_id = "CertBadgeTest.Tizen";
- private static int isSupport = 1;
+ private int isSupport = 1;
- private static TestPage _testPage = TestPage.GetInstance();
- private static Label _label;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Label _label;
- internal static void DisplayLabel(String msg)
+ internal void DisplayLabel(String msg)
{
ManualTest.DisplayLabel(msg);
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
try
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
try
[Step(1, "Click run TC")]
[Step(2, "Get out the app and Open menu screen")]
[Step(3, "Check if Badge appears on application named CertBadgeTest")]
- public static async Task Add_MANUAL_TEST_FOR_CERT_APP()
+ public async Task Add_MANUAL_TEST_FOR_CERT_APP()
{
bool value;
var result = Tizen.System.Information.TryGetValue<bool>("http://tizen.org/feature/badge", out value);
[Step(1, "Click run TC")]
[Step(2, "Get out the app and Open menu screen")]
[Step(3, "Wait 10 seconds and check if the badge's count is 3 on application named 'CertBadgeTest'")]
- public static async Task Update_MANUAL_TEST_FOR_COUNT()
+ public async Task Update_MANUAL_TEST_FOR_COUNT()
{
bool value;
var result = Tizen.System.Information.TryGetValue<bool>("http://tizen.org/feature/badge", out value);
[Step(1, "Click run TC")]
[Step(2, "Get out the app and Open menu screen")]
[Step(3, "Wait 10 seconds and check if the badge disappeared on application named CertBadgeTest")]
- public static async Task Update_MANUAL_TEST_FOR_VISIBLE()
+ public async Task Update_MANUAL_TEST_FOR_VISIBLE()
{
bool value;
var result = Tizen.System.Information.TryGetValue<bool>("http://tizen.org/feature/badge", out value);
[Step(1, "Click run TC")]
[Step(2, "Get out the app and Open menu screen")]
[Step(3, "Wait 10 seconds and check if the badge is removed on application named CertBadgeTest")]
- public static async Task REMOVE_MANUAL_TEST()
+ public async Task REMOVE_MANUAL_TEST()
{
bool value;
var result = Tizen.System.Information.TryGetValue<bool>("http://tizen.org/feature/badge", out value);
[Description("Tizen.Applications.Badge Tests")]
public class BadgeTests
{
- private static string test_app_id = "CertBadgeTest.Tizen";
+ private string test_app_id = "CertBadgeTest.Tizen";
- static bool isBadgeSupported = false;
+ bool isBadgeSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Badge Test");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each Badge TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Badge_INIT()
+ public void Badge_INIT()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Badge_INIT_FOR_INPUT_INVALID_PARAMETER()
+ public void Badge_INIT_FOR_INPUT_INVALID_PARAMETER()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void AppId_PROPERTY_READ_WRITE()
+ public void AppId_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Count_PROPERTY_READ_WRITE()
+ public void Count_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Count_PROPERTY_FOR_INPUT_INVALID_PARAMETER()
+ public void Count_PROPERTY_FOR_INPUT_INVALID_PARAMETER()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Visible_PROPERTY_READ_WRITE()
+ public void Visible_PROPERTY_READ_WRITE()
{
try
{
[Description("Tizen.Applications.BadgeControl Tests")]
public class BadgeControlTests
{
- private static string test_app_id = "CertBadgeTest.Tizen";
- private static string badge_non_cert_app_id = "NonCertBadgeTest.Tizen";
- private static bool bCaught = false;
+ private string test_app_id = "CertBadgeTest.Tizen";
+ private string badge_non_cert_app_id = "NonCertBadgeTest.Tizen";
+ private bool bCaught = false;
- static bool isBadgeSupported = false;
+ bool isBadgeSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for BadgeControl Test");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each BadgeControl TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Add_RETURN_VALUE()
+ public void Add_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Add_CHECK_INVAILD_PACKAGE_EXCEPTION()
+ public void Add_CHECK_INVAILD_PACKAGE_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Add_CHECK_STATUS()
+ public void Add_CHECK_STATUS()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
[Property("COVPARAM", "string")]
- public static void Remove_RETURN_VALUE_BY_APP_ID()
+ public void Remove_RETURN_VALUE_BY_APP_ID()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Badge")]
- public static void Remove_RETURN_VALUE_BY_BADGE()
+ public void Remove_RETURN_VALUE_BY_BADGE()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
[Property("COVPARAM", "string")]
- public static void Remove_CHECK_INVALID_PARAMETER_EXCEPTION()
+ public void Remove_CHECK_INVALID_PARAMETER_EXCEPTION()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Badge")]
- public static void Remove_CHECK_REMOVED_BADGE()
+ public void Remove_CHECK_REMOVED_BADGE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Update_RETURN_VALUE_WITH_COUNT()
+ public void Update_RETURN_VALUE_WITH_COUNT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Update_WITH_INVAILD_PARAMETER()
+ public void Update_WITH_INVAILD_PARAMETER()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Update_CHECK_STATUS_WITH_COUNT()
+ public void Update_CHECK_STATUS_WITH_COUNT()
{
int count = 0;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Update_RETURN_VALUE_WITH_VISIBLE()
+ public void Update_RETURN_VALUE_WITH_VISIBLE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Update_CHECK_STATUS_WITH_VISIBLE()
+ public void Update_CHECK_STATUS_WITH_VISIBLE()
{
bool visible = true;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Update_RETURN_VALUE_WITH_COUNT_AND_VISIBLE()
+ public void Update_RETURN_VALUE_WITH_COUNT_AND_VISIBLE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Update_CHECK_STATUS_WITH_COUNT_AND_VISIBLE()
+ public void Update_CHECK_STATUS_WITH_COUNT_AND_VISIBLE()
{
int count = 0;
bool visible = true;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Find_RETURN_VALUE()
+ public void Find_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Find_WITH_NULL_PARAMETER()
+ public void Find_WITH_NULL_PARAMETER()
{
Badge badge = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Find_WITH_INVAILID_PARAMETER()
+ public void Find_WITH_INVAILID_PARAMETER()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void GetBadges_RETURN_VALUE()
+ public void GetBadges_RETURN_VALUE()
{
IEnumerable<Badge> list = null;
try
}
}
- private static void OnBadgeChanged(object sender, BadgeEventArgs args)
+ private void OnBadgeChanged(object sender, BadgeEventArgs args)
{
bCaught = true;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static async Task Changed_CHECK_EVENT()
+ public async Task Changed_CHECK_EVENT()
{
try
{
[Description("Tizen.Applications.BadgeEventArgs Tests")]
public class BadgeEventArgsTests
{
- private static string test_app_id = "CertBadgeTest.Tizen";
- private static bool bCaught = false;
+ private string test_app_id = "CertBadgeTest.Tizen";
+ private bool bCaught = false;
- static bool isBadgeSupported = false;
+ bool isBadgeSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
Information.TryGetValue("http://tizen.org/feature/badge", out isBadgeSupported);
}
- private static void OnBadgeAddChanged(object sender, BadgeEventArgs args)
+ private void OnBadgeAddChanged(object sender, BadgeEventArgs args)
{
BadgeEventArgs.Action action;
action = BadgeEventArgs.Action.Add;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static async Task Reason_CHECK_AFTER_BADGE_ADD()
+ public async Task Reason_CHECK_AFTER_BADGE_ADD()
{
try
{
}
- private static void OnBadgeRemoveChanged(object sender, BadgeEventArgs args)
+ private void OnBadgeRemoveChanged(object sender, BadgeEventArgs args)
{
BadgeEventArgs.Action action;
action = BadgeEventArgs.Action.Remove;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static async Task Reason_CHECK_AFTER_BADGE_REMOVE()
+ public async Task Reason_CHECK_AFTER_BADGE_REMOVE()
{
try
{
}
- private static void OnBadgeUpdateChanged(object sender, BadgeEventArgs args)
+ private void OnBadgeUpdateChanged(object sender, BadgeEventArgs args)
{
BadgeEventArgs.Action action;
action = BadgeEventArgs.Action.Update;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static async Task Reason_CHECK_AFTER_BADGE_UPDATE()
+ public async Task Reason_CHECK_AFTER_BADGE_UPDATE()
{
try
{
}
- private static void OnBadgeArgsGetTest(object sender, BadgeEventArgs args)
+ private void OnBadgeArgsGetTest(object sender, BadgeEventArgs args)
{
Badge badge = null;
badge = args.Badge;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static async Task Badge_CHECK_AFTER_INVOKE_EVENT_HANDLER()
+ public async Task Badge_CHECK_AFTER_INVOKE_EVENT_HANDLER()
{
try
{
[Description("Tizen.Pims.Calendar.CalendarDatabase Tests")]
public class CalendarDatabaseTests
{
- static bool isCalendarSupported = false;
+ bool isCalendarSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug(Globals.LogTag, "Set up");
CalendarTestHelper.CleanDB(CalendarViews.Event.Uri, CalendarViews.Event.Id, 0, 0);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug(Globals.LogTag, "Tear Down");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Version_PROPERTY_READ_ONLY()
+ public void Version_PROPERTY_READ_ONLY()
{
Log.Debug(Globals.LogTag, "Version_PROPERTY_READ_ONLY");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void LastChangeVersion_PROPERTY_READ_ONLY()
+ public void LastChangeVersion_PROPERTY_READ_ONLY()
{
Log.Debug(Globals.LogTag, "LastChangeVersion_PROPERTY_READ_ONLY");
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Calendar.CalendarRecord")]
- public static void Insert_CHECK_RESULT()
+ public void Insert_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "Insert_CHECK_RESULT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Insert_CHECK_ArgumentException()
+ public void Insert_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "Insert_CHECK_ArgumentException");
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Calendar.CalendarList")]
- public static void Insert_CHECK_RESULT_WITH_LIST()
+ public void Insert_CHECK_RESULT_WITH_LIST()
{
Log.Debug(Globals.LogTag, "Insert_CHECK_RESULT_WITH_LIST");
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Calendar.CalendarList")]
- public static void Insert_CHECK_ArgumentException_WITH_LIST()
+ public void Insert_CHECK_ArgumentException_WITH_LIST()
{
Log.Debug(Globals.LogTag, "Insert_CHECK_ArgumentException_WITH_LIST");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Get_CHECK_RESULT()
+ public void Get_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "Get_CHECK_RESULT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Get_CHECK_ArgumentException()
+ public void Get_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "Get_CHECK_ArgumentException");
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Calendar.CalendarRecord")]
- public static void Update_CHECK_RESULT()
+ public void Update_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "Update_CHECK_RESULT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Update_CHECK_ArgumentException()
+ public void Update_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "Update_CHECK_ArgumentException");
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Calendar.CalendarList")]
- public static void Update_CHECK_RESULT_WITH_LIST()
+ public void Update_CHECK_RESULT_WITH_LIST()
{
Log.Debug(Globals.LogTag, "Update_CHECK_RESULT_WITH_LIST");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Update_CHECK_ArgumentException_WITH_LIST()
+ public void Update_CHECK_ArgumentException_WITH_LIST()
{
Log.Debug(Globals.LogTag, "Update_CHECK_ArgumentException_WITH_LIST");
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Calendar.CalendarRecord")]
[Property("COVPARAM", "string, int")]
- public static void Delete_CHECK_RESULT()
+ public void Delete_CHECK_RESULT()
{
CalendarManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Delete_CHECK_ArgumentException()
+ public void Delete_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "Delete_CHECK_RESULT");
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "string, int[]")]
- public static void Delete_CHECK_RESULT_WITH_IDS()
+ public void Delete_CHECK_RESULT_WITH_IDS()
{
CalendarManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Delete_CHECK_ArgumentException_WITH_IDS()
+ public void Delete_CHECK_ArgumentException_WITH_IDS()
{
Log.Debug(Globals.LogTag, "Delete_CHECK_ArgumentException_WITH_IDS");
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Calendar.CalendarList")]
- public static void Delete_CHECK_RESULT_WITH_LIST()
+ public void Delete_CHECK_RESULT_WITH_LIST()
{
CalendarManager manager = null;
try
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Calendar.CalendarRecord, int")]
- public static void Replace_CHECK_RESULT()
+ public void Replace_CHECK_RESULT()
{
CalendarManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Replace_CHECK_ArgumentException()
+ public void Replace_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "Replace_CHECK_ArgumentException");
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Calendar.CalendarList, int[]")]
- public static void Replace_CHECK_RESULT_WITH_IDS()
+ public void Replace_CHECK_RESULT_WITH_IDS()
{
CalendarManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Replace_CHECK_ArgumentException_WITH_IDS()
+ public void Replace_CHECK_ArgumentException_WITH_IDS()
{
Log.Debug(Globals.LogTag, "Replace_CHECK_ArgumentException_WITH_IDS");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void GetAll_CHECK_RESULT()
+ public void GetAll_CHECK_RESULT()
{
CalendarManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void GetAll_CHECK_ArgumentException()
+ public void GetAll_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "GetAll_CHECK_ArgumentException");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void GetRecordsWithQuery_CHECK_RESULT()
+ public void GetRecordsWithQuery_CHECK_RESULT()
{
CalendarManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void GetChangesByVersion_CHECK_RESULT()
+ public void GetChangesByVersion_CHECK_RESULT()
{
CalendarManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void GetChangesByVersion_CHECK_ArgumentException()
+ public void GetChangesByVersion_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "GetChangesByVersion_CHECK_ArgumentException");
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "string")]
- public static void GetCount_CHECK_RESULT()
+ public void GetCount_CHECK_RESULT()
{
CalendarManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Calendar.CalendarQuery")]
- public static void GetCount_CHECK_RESULT_WITH_QUERY()
+ public void GetCount_CHECK_RESULT_WITH_QUERY()
{
CalendarManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void AddDBChangedDelegate_CHECK_RESULT()
+ public void AddDBChangedDelegate_CHECK_RESULT()
{
CalendarManager manager = null;
try
}
}
- public static void DBChangedHandler(object sender, DBChangedEventArgs args)
+ public void DBChangedHandler(object sender, DBChangedEventArgs args)
{
Log.Debug(Globals.LogTag, "DBChangedHandler");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void AddDBChangedDelegate_CHECK_ArgumentException()
+ public void AddDBChangedDelegate_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "AddDBChangedDelegate_CHECK_ArgumentException");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void RemoveDBChangedDelegate_CHECK_RESULT()
+ public void RemoveDBChangedDelegate_CHECK_RESULT()
{
CalendarManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void LinkRecord_CHECK_RESULT()
+ public void LinkRecord_CHECK_RESULT()
{
CalendarManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void LinkRecord_CHECK_ArgumentException()
+ public void LinkRecord_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "LinkRecord_CHECK_ArgumentException");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void UnlinkRecord_CHECK_RESULT()
+ public void UnlinkRecord_CHECK_RESULT()
{
CalendarManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void UnlinkRecord_CHECK_ArgumentException()
+ public void UnlinkRecord_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "UnlinkRecord_CHECK_ArgumentException");
[Description("Tizen.Pims.Calendar.CalendarFilter Tests")]
public class CalendarFilterTests
{
- static bool isCalendarSupported = false;
+ bool isCalendarSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug(Globals.LogTag, "Set up");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug(Globals.LogTag, "Tear Down");
}
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "string, Uint, StringMatchType, string")]
- public static void CalendarFilter_INIT_WITH_STRING()
+ public void CalendarFilter_INIT_WITH_STRING()
{
Log.Debug(Globals.LogTag, "CalendarFilter_INIT_WITH_STRING");
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "string, Uint, IntegerMatchType, int")]
- public static void CalendarFilter_INIT_WITH_INTEGER()
+ public void CalendarFilter_INIT_WITH_INTEGER()
{
Log.Debug(Globals.LogTag, "CalendarFilter_INIT_WITH_INTEGER");
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "string, Uint, IntegerMatchType, Int64")]
- public static void CalendarFilter_INIT_WITH_LONG()
+ public void CalendarFilter_INIT_WITH_LONG()
{
Log.Debug(Globals.LogTag, "CalendarFilter_INIT_WITH_LONG");
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "string, Uint, IntegerMatchType, Double")]
- public static void CalendarFilter_INIT_WITH_DOUBLE()
+ public void CalendarFilter_INIT_WITH_DOUBLE()
{
Log.Debug(Globals.LogTag, "CalendarFilter_INIT_WITH_DOUBLE");
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "string, Uint, IntegerMatchType, Tizen.Pims.Calendar.CalendarTime")]
- public static void CalendarFilter_INIT_WITH_CALENDARTIME()
+ public void CalendarFilter_INIT_WITH_CALENDARTIME()
{
Log.Debug(Globals.LogTag, "CalendarFilter_INIT_WITH_CALENDARTIME");
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "string, Uint, IntegerMatchType, Tizen.Pims.Calendar.CalendarTime")]
- public static void CalendarFilter_CHECK_ArgumentException()
+ public void CalendarFilter_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "CalendarFilter_CHECK_ArgumentException");
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "LogicalOperator, Uint, StringMatchType, string")]
- public static void AddCondition_CHECK_RESULT_WITH_STRING()
+ public void AddCondition_CHECK_RESULT_WITH_STRING()
{
Log.Debug(Globals.LogTag, "AddCondition_CHECK_RESULT_WITH_STRING");
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "LogicalOperator, Uint, IntegerMatchType, int")]
- public static void AddCondition_CHECK_RESULT_WITH_INTEGER()
+ public void AddCondition_CHECK_RESULT_WITH_INTEGER()
{
Log.Debug(Globals.LogTag, "AddCondition_CHECK_RESULT_WITH_INTEGER");
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "LogicalOperator, Uint, IntegerMatchType, Int64")]
- public static void AddCondition_CHECK_RESULT_WITH_LONG()
+ public void AddCondition_CHECK_RESULT_WITH_LONG()
{
Log.Debug(Globals.LogTag, "AddCondition_CHECK_RESULT_WITH_LONG");
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "LogicalOperator, Uint, IntegerMatchType, Double")]
- public static void AddCondition_CHECK_RESULT_WITH_DOUBLE()
+ public void AddCondition_CHECK_RESULT_WITH_DOUBLE()
{
Log.Debug(Globals.LogTag, "AddCondition_CHECK_RESULT_WITH_DOUBLE");
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "LogicalOperator, Uint, IntegerMatchType, Tizen.Pims.Calendar.CalendarTime")]
- public static void AddCondition_CHECK_RESULT_WITH_CALENDARTIME()
+ public void AddCondition_CHECK_RESULT_WITH_CALENDARTIME()
{
Log.Debug(Globals.LogTag, "AddCondition_CHECK_RESULT_WITH_CALENDARTIME");
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "LogicalOperator, Uint, IntegerMatchType, Tizen.Pims.Calendar.CalendarTime")]
- public static void AddCondition_CHECK_ArgumentException()
+ public void AddCondition_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "AddCondition_CHECK_ArgumentException");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void AddFilter_CHECK_RESULT()
+ public void AddFilter_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "AddFilter_CHECK_RESULT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void AddFilter_CHECK_ArgumentException()
+ public void AddFilter_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "AddFilter_CHECK_ArgumentException");
[Description("Tizen.Pims.Calendar.CalendarList Tests")]
public class CalendarListTests
{
- static bool isCalendarSupported = false;
+ bool isCalendarSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug(Globals.LogTag, "Set up");
CalendarTestHelper.CleanDB(CalendarViews.Event.Uri, CalendarViews.Event.Id, 0, 0);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug(Globals.LogTag, "Tear Down");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void CalendarList_INIT()
+ public void CalendarList_INIT()
{
Log.Debug(Globals.LogTag, "CalendarList_INIT");
CalendarList list = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
Log.Debug(Globals.LogTag, "ListGetCount_CHECK_RESULT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void AddRecord_CHECK_RESULT()
+ public void AddRecord_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "ListAdd_CHECK_RESULT");
CalendarList list = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void RemoveRecord_CHECK_RESULT()
+ public void RemoveRecord_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "ListRemove_CHECK_RESULT");
CalendarList list = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void GetCurrentRecord_CHECK_RESULT()
+ public void GetCurrentRecord_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "ListGetCurrentRecord_CHECK_RESULT");
CalendarList list = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void MovePrevious_CHECK_RESULT()
+ public void MovePrevious_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "ListPrev_CHECK_RESULT");
CalendarList list = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void MoveNext_CHECK_RESULT()
+ public void MoveNext_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "ListNext_CHECK_RESULT");
CalendarList list = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void MoveFirst_CHECK_RESULT()
+ public void MoveFirst_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "ListFirst_CHECK_RESULT");
CalendarList list = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void MoveLast_CHECK_RESULT()
+ public void MoveLast_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "ListLast_CHECK_RESULT");
CalendarList list = null;
[Description("Tizen.Pims.Calendar.CalendarManager Tests")]
public class CalendarManagerTests
{
- static bool isCalendarSupported = false;
+ bool isCalendarSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug(Globals.LogTag, "Set up");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug(Globals.LogTag, "Tear Down");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Database_PROPERTY_READ_ONLY()
+ public void Database_PROPERTY_READ_ONLY()
{
Log.Debug(Globals.LogTag, "Database_PROPERTY_READ_ONLY");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void CalendarManager_INIT()
+ public void CalendarManager_INIT()
{
Log.Debug(Globals.LogTag, "CalendarManager_INIT");
[Description("Tizen.Pims.Calendar.CalendarQuery Tests")]
public class CalendarQueryTests
{
- static bool isCalendarSupported = false;
+ bool isCalendarSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug(Globals.LogTag, "Set up");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug(Globals.LogTag, "Tear Down");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void CalendarQuery_INIT()
+ public void CalendarQuery_INIT()
{
Log.Debug(Globals.LogTag, "CalendarQuery_INIT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void CalendarQuery_CHECK_ArgumentException()
+ public void CalendarQuery_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "CalendarQuery_CHECK_ArgumentException");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void SetProjection_CHECK_RESULT()
+ public void SetProjection_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "SetProjection_CHECK_RESULT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void SetProjection_CHECK_ArgumentException()
+ public void SetProjection_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "SetProjection_CHECK_ArgumentException");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void SetDistinct_CHECK_RESULT()
+ public void SetDistinct_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "SetDistinct_CHECK_RESULT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void SetFilter_CHECK_RESULT()
+ public void SetFilter_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "SetFilter_CHECK_RESULT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void SetFilter_CHECK_ArgumentException()
+ public void SetFilter_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "SetFilter_CHECK_ArgumentException");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void SetSort_CHECK_RESULT()
+ public void SetSort_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "SetSort_CHECK_RESULT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void SetSort_CHECK_ArgumentException()
+ public void SetSort_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "SetSort_CHECK_ArgumentException");
[Description("Tizen.Pims.Calendar.CalendarRecord Tests")]
public class CalendarRecordTests
{
- static bool isCalendarSupported = false;
+ bool isCalendarSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug(Globals.LogTag, "Set up");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug(Globals.LogTag, "Tear Down");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Uri_PROPERTY_READ_ONLY()
+ public void Uri_PROPERTY_READ_ONLY()
{
Log.Debug(Globals.LogTag, "Uri_PROPERTY_READ_ONLY");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void CalendarRecord_INIT()
+ public void CalendarRecord_INIT()
{
Log.Debug(Globals.LogTag, "CalendarRecord_INIT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void CalendarRecord_CHECK_ArgumentException()
+ public void CalendarRecord_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "CalendarRecord_CHECK_ArgumentException");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Clone_RETURN_VALUE()
+ public void Clone_RETURN_VALUE()
{
Log.Debug(Globals.LogTag, "Clone_RETURN_VALUE");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Get_RETURN_VALUE_STRING()
+ public void Get_RETURN_VALUE_STRING()
{
Log.Debug(Globals.LogTag, "Get_RETURN_VALUE_STRING");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Get_CHECK_ArgumentException()
+ public void Get_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "Get_CHECK_ArgumentException");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Get_RETURN_VALUE_INT()
+ public void Get_RETURN_VALUE_INT()
{
Log.Debug(Globals.LogTag, "Get_RETURN_VALUE_INT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Get_RETURN_VALUE_LONG()
+ public void Get_RETURN_VALUE_LONG()
{
Log.Debug(Globals.LogTag, "Get_RETURN_VALUE_LONG");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Get_RETURN_VALUE_DOUBLE()
+ public void Get_RETURN_VALUE_DOUBLE()
{
Log.Debug(Globals.LogTag, "Get_RETURN_VALUE_DOUBLE");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Get_RETURN_VALUE_CALENDARTIME()
+ public void Get_RETURN_VALUE_CALENDARTIME()
{
Log.Debug(Globals.LogTag, "Get_RETURN_VALUE_CALENDARTIME");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Set_CHANGE_PROPERTY_STRING()
+ public void Set_CHANGE_PROPERTY_STRING()
{
Log.Debug(Globals.LogTag, "Set_CHANGE_PROPERTY_STRING");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Set_CHANGE_PROPERTY_INT()
+ public void Set_CHANGE_PROPERTY_INT()
{
Log.Debug(Globals.LogTag, "Set_CHANGE_PROPERTY_INT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Set_CHANGE_PROPERTY_LONG()
+ public void Set_CHANGE_PROPERTY_LONG()
{
Log.Debug(Globals.LogTag, "Set_CHANGE_PROPERTY_LONG");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Set_CHANGE_PROPERTY_DOUBLE()
+ public void Set_CHANGE_PROPERTY_DOUBLE()
{
Log.Debug(Globals.LogTag, "Set_CHANGE_PROPERTY_DOUBLE");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Set_CHANGE_PROPERTY_CALENDARTIME()
+ public void Set_CHANGE_PROPERTY_CALENDARTIME()
{
Log.Debug(Globals.LogTag, "Set_CHANGE_PROPERTY_CALENDARTIME");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Set_CHECK_ArgumentException()
+ public void Set_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "Set_CHECK_ArgumentException");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void AddChildRecord_CHANGE_PROPERTY_RECORD()
+ public void AddChildRecord_CHANGE_PROPERTY_RECORD()
{
Log.Debug(Globals.LogTag, "AddChildRecord_CHANGE_PROPERTY_RECORD");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void AddChildRecord_CHECK_ArgumentException()
+ public void AddChildRecord_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "AddChildRecord_CHECK_ArgumentException");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void RemoveChildRecord_CHANGE_PROPERTY_RECORD()
+ public void RemoveChildRecord_CHANGE_PROPERTY_RECORD()
{
Log.Debug(Globals.LogTag, "RemoveChildRecord_CHANGE_PROPERTY_RECORD");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void RemoveChildRecord_CHANGE_ArgumentException()
+ public void RemoveChildRecord_CHANGE_ArgumentException()
{
Log.Debug(Globals.LogTag, "RemoveChildRecord_CHANGE_ArgumentException");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void GetChildRecordCount_RETURN_VALUE()
+ public void GetChildRecordCount_RETURN_VALUE()
{
Log.Debug(Globals.LogTag, "GetChildRecordCount_RETURN_VALUE");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void GetChildRecordCount_CHECK_ArgumentException()
+ public void GetChildRecordCount_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "GetChildRecordCount_CHECK_ArgumentException");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void GetChildRecord_RETURN_VALUE()
+ public void GetChildRecord_RETURN_VALUE()
{
Log.Debug(Globals.LogTag, "GetChildRecord_RETURN_VALUE");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void GetChildRecord_CHECK_ArgumentException()
+ public void GetChildRecord_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "GetChildRecord_CHECK_ArgumentException");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void CloneChildRecordList_RETURN_VALUE()
+ public void CloneChildRecordList_RETURN_VALUE()
{
Log.Debug(Globals.LogTag, "CloneChildRecordList_RETURN_VALUE");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void CloneChildRecordList_CHECK_ArgumentException()
+ public void CloneChildRecordList_CHECK_ArgumentException()
{
Log.Debug(Globals.LogTag, "CloneChildRecordList_CHECK_ArgumentException");
[Description("Calendar Class Tests")]
public class CalendarReminderTests
{
- static bool isCalendarSupported = false;
+ bool isCalendarSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug(Globals.LogTag, "Set up");
CalendarTestHelper.CleanDB(CalendarViews.Event.Uri, CalendarViews.Event.Id, 0, 0);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug(Globals.LogTag, "Tear Down");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static async Task ReminderAlerted_CHECK_RESULT()
+ public async Task ReminderAlerted_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "ReminderAlerted_CHECK_RESULT");
[Description("Tizen.Pims.Calendar.CalendarTime Tests")]
public class CalendarTimeTests
{
- static bool isCalendarSupported = false;
+ bool isCalendarSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug(Globals.LogTag, "Set up");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug(Globals.LogTag, "Tear Down");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void UtcTime_PROPERTY_READ_ONLY()
+ public void UtcTime_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void LocalTime_PROPERTY_READ_ONLY()
+ public void LocalTime_PROPERTY_READ_ONLY()
{
try
{
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "Int64")]
- public static void CalendarTime_INIT_UTCTIME()
+ public void CalendarTime_INIT_UTCTIME()
{
try
{
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
[Property("COVPARAM", "int, int, int, int, int, int")]
- public static void CalendarTime_INIT_LOCALTIME()
+ public void CalendarTime_INIT_LOCALTIME()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void CompareTo_CHECK_RESULT()
+ public void CompareTo_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Equals_CHECK_RESULT()
+ public void Equals_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void GetHashCode_CHECK_RESULT()
+ public void GetHashCode_CHECK_RESULT()
{
try
{
[Description("Tizen.Pims.Calendar.CalendarVcalendar Tests")]
public class CalendarVcalendarTests
{
- private static string icsPath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "cal-tc.ics");
- static bool isCalendarSupported = false;
+ private string icsPath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "cal-tc.ics");
+ bool isCalendarSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug(Globals.LogTag, "Set up");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug(Globals.LogTag, "Tear Down");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Compose_CHECK_RESULT()
+ public void Compose_CHECK_RESULT()
{
CalendarList list = null;;
CalendarRecord record = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Compose_CHECK_ArgumentException()
+ public void Compose_CHECK_ArgumentException()
{
CalendarList list = null;
CalendarRecord record = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Parse_CHECK_RESULT()
+ public void Parse_CHECK_RESULT()
{
CalendarList list = null;
CalendarRecord record = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void Parse_CHECK_ArgumentException()
+ public void Parse_CHECK_ArgumentException()
{
CalendarList list = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void ParseForEach_CHECK_RESULT()
+ public void ParseForEach_CHECK_RESULT()
{
Log.Debug(Globals.LogTag, "ics path[" + icsPath + "]");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void ParseForEach_CHECK_ArgumentException()
+ public void ParseForEach_CHECK_ArgumentException()
{
try
{
[Description("Tizen.Pims.Calendar.DBChangedEventArgs Tests")]
public class DBChangedEventArgsTests
{
- static bool isCalendarSupported = false;
+ bool isCalendarSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
Information.TryGetValue("http://tizen.org/feature/calendar", out isCalendarSupported);
}
- private static bool argsRead = false;
+ private bool argsRead = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
- public static void DBChangedHandler(object sender, DBChangedEventArgs args)
+ public void DBChangedHandler(object sender, DBChangedEventArgs args)
{
var viewUri = args.ViewUri;
if (viewUri == CalendarViews.Event.Uri)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static async Task ViewUri_READ_ONLY()
+ public async Task ViewUri_READ_ONLY()
{
CalendarManager manager = null;
CalendarRecord record = null;
public class ParseDelegateTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug(Globals.LogTag, "Set up");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug(Globals.LogTag, "Tear Down");
}
- static bool TestCallback(CalendarRecord record)
+ bool TestCallback(CalendarRecord record)
{
Assert.IsInstanceOf<CalendarRecord>(record, "Should return CalendarRecord instance.");
return true;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")]
- public static void ParseCallback_INIT()
+ public void ParseCallback_INIT()
{
try
{
[Description("Tizen.Pims.Calendar.ReminderAlertedEventArgs Tests")]
public class ReminderAlertedEventArgsTests
{
- static bool isCalendarSupported = false;
+ bool isCalendarSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug(Globals.LogTag, "Set up");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug(Globals.LogTag, "Tear Down");
}
public class ContactsDatabaseTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
- public static void EventHandlerDBStatusChanged(object sender, DBStatusChangedEventArgs e)
+ public void EventHandlerDBStatusChanged(object sender, DBStatusChangedEventArgs e)
{
Assert.True(true);
ManualTest.Confirm();
[Step(3, "Check test result")]
[Step(4, "If contact is not supported, then pass automatically.")]
[Postcondition(1, "Press Home hardkey -> Setting app -> select language menu -> Choose English(United States).")]
- public static async Task DBStatusChanged_CHECK_EVENT()
+ public async Task DBStatusChanged_CHECK_EVENT()
{
ContactsManager manager = null;
try
public class DBStatusChangedEventArgsTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
- public static void EventHandlerDBStatusChanged(object sender, DBStatusChangedEventArgs e)
+ public void EventHandlerDBStatusChanged(object sender, DBStatusChangedEventArgs e)
{
var status = e.Status;
Assert.NotNull(status, "Should be readable");
[Step(3, "Check test result")]
[Step(4, "If contact is not supported, then pass automatically.")]
[Postcondition(1, "Press Home hardkey -> Setting app -> select language menu -> Choose English(United States).")]
- public static async Task Status_READ_ONLY()
+ public async Task Status_READ_ONLY()
{
ContactsManager manager = null;
try
[TestFixture]
[Description("Tizen.Pims.Contacts.ContactsDatabase Tests")]
public class ContactsDatabaseTests {
- static bool isContactSupported = false;
+ bool isContactSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Version_PROPERTY_READ_ONLY()
+ public void Version_PROPERTY_READ_ONLY()
{
ContactsManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void LastChangeVersion_PROPERTY_READ_ONLY()
+ public void LastChangeVersion_PROPERTY_READ_ONLY()
{
ContactsManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Status_PROPERTY_READ_ONLY()
+ public void Status_PROPERTY_READ_ONLY()
{
ContactsManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static async Task DBStatusChanged_CHECK_EVENT()
+ public async Task DBStatusChanged_CHECK_EVENT()
{
ContactsManager manager = null;
var originalValue = System.SystemSettings.LocaleLanguage;
}
}
- public static void EventHandlerDBStatusChanged(object sender, DBStatusChangedEventArgs e)
+ public void EventHandlerDBStatusChanged(object sender, DBStatusChangedEventArgs e)
{
Caught = true;
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Contacts.ContactsRecord")]
- public static void Insert_CHECK_RESULT()
+ public void Insert_CHECK_RESULT()
{
ContactsManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Contacts.ContactsList")]
- public static void Insert_CHECK_RESULT_WITH_LIST()
+ public void Insert_CHECK_RESULT_WITH_LIST()
{
ContactsManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Get_CHECK_RESULT()
+ public void Get_CHECK_RESULT()
{
ContactsManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Contacts.ContactsRecord")]
- public static void Update_CHECK_RESULT()
+ public void Update_CHECK_RESULT()
{
ContactsManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Contacts.ContactsList")]
- public static void Update_CHECK_RESULT_WITH_LIST()
+ public void Update_CHECK_RESULT_WITH_LIST()
{
ContactsManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "string, int")]
- public static void Delete_CHECK_RESULT()
+ public void Delete_CHECK_RESULT()
{
ContactsManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "string, int[]")]
- public static void Delete_CHECK_RESULT_WITH_IDS()
+ public void Delete_CHECK_RESULT_WITH_IDS()
{
ContactsManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Contacts.ContactsRecord, int")]
- public static void Replace_CHECK_RESULT()
+ public void Replace_CHECK_RESULT()
{
ContactsManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Contacts.ContactsList, int[]")]
- public static void Replace_CHECK_RESULT_WITH_IDS()
+ public void Replace_CHECK_RESULT_WITH_IDS()
{
ContactsManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void GetAll_CHECK_RESULT()
+ public void GetAll_CHECK_RESULT()
{
ContactsManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void GetRecordsWithQuery_CHECK_RESULT()
+ public void GetRecordsWithQuery_CHECK_RESULT()
{
ContactsManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void GetChangesByVersion_CHECK_RESULT()
+ public void GetChangesByVersion_CHECK_RESULT()
{
ContactsManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "string, string, int, int")]
- public static void Search_CHECK_RESULT()
+ public void Search_CHECK_RESULT()
{
ContactsManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Contacts.ContactsQuery, string, int, int")]
- public static void Search_CHECK_RESULT_WITH_QUERY()
+ public void Search_CHECK_RESULT_WITH_QUERY()
{
ContactsManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "string, string, int, int, int")]
- public static void Search_CHECK_RESULT_WITH_RANGE()
+ public void Search_CHECK_RESULT_WITH_RANGE()
{
ContactsManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "string, string, int, int, string, string, int")]
- public static void Search_CHECK_RESULT_WITH_SNIPPET()
+ public void Search_CHECK_RESULT_WITH_SNIPPET()
{
ContactsManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Contacts.ContactsQuery, string, int, int, string, string, int")]
- public static void Search_CHECK_RESULT_WITH_QUERY_AND_SNIPPET()
+ public void Search_CHECK_RESULT_WITH_QUERY_AND_SNIPPET()
{
ContactsManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "string, string, int, int, int, string, string, int")]
- public static void Search_CHECK_RESULT_WITH_RANGE_AND_SNIPPET()
+ public void Search_CHECK_RESULT_WITH_RANGE_AND_SNIPPET()
{
ContactsManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "string")]
- public static void GetCount_CHECK_RESULT()
+ public void GetCount_CHECK_RESULT()
{
ContactsManager manager = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "Tizen.Pims.Contacts.ContactsQuery")]
- public static void GetCount_CHECK_RESULT_WITH_QUERY()
+ public void GetCount_CHECK_RESULT_WITH_QUERY()
{
ContactsManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void AddDBChangedEventHandler_CHECK_RESULT()
+ public void AddDBChangedEventHandler_CHECK_RESULT()
{
ContactsManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void RemoveDBChangedEventHandler_CHECK_RESULT()
+ public void RemoveDBChangedEventHandler_CHECK_RESULT()
{
ContactsManager manager = null;
try
[TestFixture]
[Description("Tizen.Pims.Contacts.ContactsFilter Tests")]
public class ContactsFilterTests {
- static bool isContactSupported = false;
+ bool isContactSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "string, Uint, StringMatchType, string")]
- public static void ContactsFilter_INIT_WITH_STRING()
+ public void ContactsFilter_INIT_WITH_STRING()
{
try
{
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "string, Uint, IntegerMatchType, int")]
- public static void ContactsFilter_INIT_WITH_INTEGER()
+ public void ContactsFilter_INIT_WITH_INTEGER()
{
try
{
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "string, Uint, IntegerMatchType, Int64")]
- public static void ContactsFilter_INIT_WITH_LONG()
+ public void ContactsFilter_INIT_WITH_LONG()
{
try
{
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "string, Uint, IntegerMatchType, Double")]
- public static void ContactsFilter_INIT_WITH_DOUBLE()
+ public void ContactsFilter_INIT_WITH_DOUBLE()
{
try
{
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "string, Uint, bool")]
- public static void ContactsFilter_INIT_WITH_BOOL()
+ public void ContactsFilter_INIT_WITH_BOOL()
{
try
{
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "string, Uint, bool")]
- public static void ContactsFilter_CHECK_ArgumentException()
+ public void ContactsFilter_CHECK_ArgumentException()
{
ContactsFilter filter = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "LogicalOperator, Uint, StringMatchType, string")]
- public static void AddCondition_CHECK_RESULT_WITH_STRING()
+ public void AddCondition_CHECK_RESULT_WITH_STRING()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "LogicalOperator, Uint, IntegerMatchType, int")]
- public static void AddCondition_CHECK_RESULT_WITH_INTEGER()
+ public void AddCondition_CHECK_RESULT_WITH_INTEGER()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "LogicalOperator, Uint, IntegerMatchType, Int64")]
- public static void AddCondition_CHECK_RESULT_WITH_LONG()
+ public void AddCondition_CHECK_RESULT_WITH_LONG()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "LogicalOperator, Uint, IntegerMatchType, Double")]
- public static void AddCondition_CHECK_RESULT_WITH_DOUBLE()
+ public void AddCondition_CHECK_RESULT_WITH_DOUBLE()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "LogicalOperator, Uint, bool")]
- public static void AddCondition_CHECK_RESULT_WITH_BOOL()
+ public void AddCondition_CHECK_RESULT_WITH_BOOL()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
[Property("COVPARAM", "LogicalOperator, Uint, IntegerMatchType, int")]
- public static void AddCondition_CHECK_ArgumentException()
+ public void AddCondition_CHECK_ArgumentException()
{
ContactsFilter filter = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void AddFilter_CHECK_RESULT()
+ public void AddFilter_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void AddFilter_CHECK_ArgumentException()
+ public void AddFilter_CHECK_ArgumentException()
{
ContactsFilter filter = null;
ContactsFilter filter2 = null;
[Description("Tizen.Pims.Contacts.ContactsList Tests")]
public class ContactsListTests
{
- static bool isContactSupported = false;
+ bool isContactSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void ContactsList_INIT()
+ public void ContactsList_INIT()
{
ContactsList list = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
ContactsList list = null;
ContactsRecord record = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void AddRecord_CHECK_RESULT()
+ public void AddRecord_CHECK_RESULT()
{
ContactsList list = null;
ContactsRecord record = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void AddRecord_CHECK_ArgumentException()
+ public void AddRecord_CHECK_ArgumentException()
{
ContactsList list = null;
ContactsRecord record = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void RemoveRecord_CHECK_RESULT()
+ public void RemoveRecord_CHECK_RESULT()
{
ContactsList list = null;
ContactsRecord record = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void RemoveRecord_CHECK_ArgumentException()
+ public void RemoveRecord_CHECK_ArgumentException()
{
ContactsList list = null;
ContactsRecord record = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void GetCurrentRecord_CHECK_RESULT()
+ public void GetCurrentRecord_CHECK_RESULT()
{
ContactsList list = null;
ContactsRecord record = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void MovePrevious_CHECK_RESULT()
+ public void MovePrevious_CHECK_RESULT()
{
ContactsList list = null;
ContactsRecord record = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void MoveNext_CHECK_RESULT()
+ public void MoveNext_CHECK_RESULT()
{
ContactsList list = null;
ContactsRecord record = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void MoveFirst_CHECK_RESULT()
+ public void MoveFirst_CHECK_RESULT()
{
ContactsList list = null;
ContactsRecord record = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void MoveLast_CHECK_RESULT()
+ public void MoveLast_CHECK_RESULT()
{
ContactsList list = null;
ContactsRecord record = null;
[TestFixture]
[Description("Tizen.Pims.Contacts.ContactsManager Tests")]
public class ContactsManagerTests {
- static bool isContactSupported = false;
+ bool isContactSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void ContactsManager_INIT()
+ public void ContactsManager_INIT()
{
ContactsManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Database_PROPERTY_READ_ONLY()
+ public void Database_PROPERTY_READ_ONLY()
{
ContactsManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void NameDisplayOrder_PROPERTY_READ_WRITE()
+ public void NameDisplayOrder_PROPERTY_READ_WRITE()
{
ContactsManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void NameSortingOrder_PROPERTY_READ_WRITE()
+ public void NameSortingOrder_PROPERTY_READ_WRITE()
{
ContactsManager manager = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static async Task NameDisplayOrderChanged_CHECK_EVENT()
+ public async Task NameDisplayOrderChanged_CHECK_EVENT()
{
ContactsManager manager = null;
EventHandler<NameDisplayOrderChangedEventArgs> handler = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static async Task NameSortingOrderChanged_CHECK_EVENT()
+ public async Task NameSortingOrderChanged_CHECK_EVENT()
{
ContactsManager manager = null;
EventHandler<NameSortingOrderChangedEventArgs> handler = null;
[TestFixture]
[Description("Tizen.Pims.Contacts.ContactsQuery Tests")]
public class ContactsQueryTests {
- static bool isContactSupported = false;
+ bool isContactSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void ContactsQuery_INIT()
+ public void ContactsQuery_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void ContactsQuery_CHECK_ArgumentException()
+ public void ContactsQuery_CHECK_ArgumentException()
{
ContactsQuery query = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void SetProjection_CHECK_RESULT()
+ public void SetProjection_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void SetProjection_CHECK_ArgumentException()
+ public void SetProjection_CHECK_ArgumentException()
{
ContactsQuery query = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void SetDistinct_CHECK_RESULT()
+ public void SetDistinct_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void SetFilter_CHECK_RESULT()
+ public void SetFilter_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void SetFilter_CHECK_ArgumentException()
+ public void SetFilter_CHECK_ArgumentException()
{
ContactsQuery query = null;
ContactsFilter filter = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void SetSort_CHECK_RESULT()
+ public void SetSort_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void SetSort_CHECK_ArgumentException()
+ public void SetSort_CHECK_ArgumentException()
{
ContactsQuery query = null;
try
[TestFixture]
[Description("Tizen.Pims.Contacts.ContactsRecord Tests")]
public class ContactsRecordTests {
- static bool isContactSupported = false;
+ bool isContactSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Uri_PROPERTY_READ_ONLY()
+ public void Uri_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void ContactsRecord_INIT()
+ public void ContactsRecord_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void ContactsRecord_CHECK_ArgumentException()
+ public void ContactsRecord_CHECK_ArgumentException()
{
ContactsRecord record = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Clone_RETURN_VALUE()
+ public void Clone_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Get_RETURN_VALUE_STRING()
+ public void Get_RETURN_VALUE_STRING()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Get_RETURN_VALUE_INT()
+ public void Get_RETURN_VALUE_INT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Get_RETURN_VALUE_BOOL()
+ public void Get_RETURN_VALUE_BOOL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Get_RETURN_VALUE_LONG()
+ public void Get_RETURN_VALUE_LONG()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Get_RETURN_VALUE_DOUBLE()
+ public void Get_RETURN_VALUE_DOUBLE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Get_CHECK_ArgumentException()
+ public void Get_CHECK_ArgumentException()
{
ContactsRecord record = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Set_CHANGE_PROPERTY_STRING()
+ public void Set_CHANGE_PROPERTY_STRING()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Set_CHANGE_PROPERTY_INT()
+ public void Set_CHANGE_PROPERTY_INT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Set_CHANGE_PROPERTY_BOOL()
+ public void Set_CHANGE_PROPERTY_BOOL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Set_CHANGE_PROPERTY_LONG()
+ public void Set_CHANGE_PROPERTY_LONG()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Set_CHANGE_PROPERTY_DOUBLE()
+ public void Set_CHANGE_PROPERTY_DOUBLE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Set_CHECK_ArgumentException()
+ public void Set_CHECK_ArgumentException()
{
ContactsRecord record = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void AddChildRecord_CHANGE_PROPERTY_RECORD()
+ public void AddChildRecord_CHANGE_PROPERTY_RECORD()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void AddChildRecord_CHECK_ArgumentException()
+ public void AddChildRecord_CHECK_ArgumentException()
{
ContactsRecord record = null;
ContactsRecord childRecord = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void RemoveChildRecord_CHANGE_PROPERTY_RECORD()
+ public void RemoveChildRecord_CHANGE_PROPERTY_RECORD()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void RemoveChildRecord_CHECK_ArgumentException()
+ public void RemoveChildRecord_CHECK_ArgumentException()
{
ContactsRecord record = null;
ContactsRecord childRecord = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void GetChildRecordCount_RETURN_VALUE()
+ public void GetChildRecordCount_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void GetChildRecordCount_CHECK_ArgumentException()
+ public void GetChildRecordCount_CHECK_ArgumentException()
{
ContactsRecord record = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void GetChildRecord_RETURN_VALUE()
+ public void GetChildRecord_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void GetChildRecord_CHECK_ArgumentException()
+ public void GetChildRecord_CHECK_ArgumentException()
{
ContactsRecord record = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void CloneChildRecordList_RETURN_VALUE()
+ public void CloneChildRecordList_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void CloneChildRecordList_CHECK_ArgumentException()
+ public void CloneChildRecordList_CHECK_ArgumentException()
{
ContactsRecord record = null;
try
[Description("Tizen.Pims.Contacts.ContactsVcard Tests")]
public class ContactsVcardTests
{
- static bool isContactSupported = false;
+ bool isContactSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Compose_CHECK_RESULT_WITH_CONTACT()
+ public void Compose_CHECK_RESULT_WITH_CONTACT()
{
ContactsRecord record = null;
string stream = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Compose_CHECK_RESULT_WITH_PERSON()
+ public void Compose_CHECK_RESULT_WITH_PERSON()
{
ContactsRecord record = null;
ContactsManager manager = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Compose_CHECK_ArgumentException()
+ public void Compose_CHECK_ArgumentException()
{
ContactsRecord record = null;
string stream = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Parse_CHECK_RESULT()
+ public void Parse_CHECK_RESULT()
{
ContactsList list = null;
ContactsRecord record = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void Parse_CHECK_ArgumentException()
+ public void Parse_CHECK_ArgumentException()
{
ContactsList list = null;
string stream = "vcard test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void ParseForEach_CHECK_RESULT()
+ public void ParseForEach_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void ParseForEach_CHECK_ArgumentException()
+ public void ParseForEach_CHECK_ArgumentException()
{
try
{
[Description("Tizen.Pims.Contacts.DBChangedEventArgs Tests")]
public class DBChangedEventArgsTests
{
- static bool isContactSupported = false;
+ bool isContactSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
Information.TryGetValue("http://tizen.org/feature/contact", out isContactSupported);
}
- private static bool argsRead = false;
+ private bool argsRead = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
- public static void DBChangedHandler(object sender, DBChangedEventArgs args)
+ public void DBChangedHandler(object sender, DBChangedEventArgs args)
{
var viewUri = args.ViewUri;
if (viewUri == ContactsViews.Contact.Uri)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static async Task ViewUri_READ_ONLY()
+ public async Task ViewUri_READ_ONLY()
{
ContactsManager manager = null;
ContactsRecord record = null;
[Description("Tizen.Pims.Contacts.DBStatusChangedEventArgs Tests")]
public class DBStatusChangedEventArgsTests
{
- static bool isContactSupported = false;
+ bool isContactSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
/* Cannot test DBStatusChanged event because TCT can't use platform level API for triggering the event
- public static void EventHandlerDBStatusChanged(object sender, DBStatusChangedEventArgs e)
+ public void EventHandlerDBStatusChanged(object sender, DBStatusChangedEventArgs e)
{
var status = e.Status;
Assert.NotNull(status, "Should be readable");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static async Task Status_READ_ONLY()
+ public async Task Status_READ_ONLY()
{
ContactsManager manager = null;
var originalValue = System.SystemSettings.LocaleLanguage;
[Description("Tizen.Pims.Contacts.NameDisplayOrderChangedEventArgs Tests")]
public class NameDisplayOrderChangedEventArgsTests
{
- static bool isContactSupported = false;
+ bool isContactSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static async Task NameDisplayOrder_GET_ENUM()
+ public async Task NameDisplayOrder_GET_ENUM()
{
ContactsManager manager = null;
EventHandler<NameDisplayOrderChangedEventArgs> handler = null;
[Description("Tizen.Pims.Contacts.NameSortingOrderChangedEventArgs Tests")]
public class NameSortingOrderChangedEventArgsTests
{
- static bool isContactSupported = false;
+ bool isContactSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static async Task NameSortingOrder_GET_ENUM()
+ public async Task NameSortingOrder_GET_ENUM()
{
ContactsManager manager = null;
EventHandler<NameSortingOrderChangedEventArgs> handler = null;
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
- static bool TestCallback(ContactsRecord record)
+ bool TestCallback(ContactsRecord record)
{
Assert.IsInstanceOf<ContactsRecord>(record, "Should return ContactsRecord instance.");
return true;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")]
- public static void ParseCallback_INIT()
+ public void ParseCallback_INIT()
{
try
{
[Description("Tizen.Context.AppHistory.AppStatisticsData Class Tests")]
public class AppStatisticsDataTests
{
- private static bool _isSupported = false;
- private static bool _isBatterySupported = false;
- private static UsageStatistics _usageStats;
- private static BatteryStatistics _batteryStats;
- private static IReadOnlyList<UsageStatisticsData> _usageResultList;
- private static IReadOnlyList<BatteryStatisticsData> _batteryResultList;
+ private bool _isSupported = false;
+ private bool _isBatterySupported = false;
+ private UsageStatistics _usageStats;
+ private BatteryStatistics _batteryStats;
+ private IReadOnlyList<UsageStatisticsData> _usageResultList;
+ private IReadOnlyList<BatteryStatisticsData> _batteryResultList;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void AppId_PROPERTY_READ_ONLY()
+ public void AppId_PROPERTY_READ_ONLY()
{
if (!_isSupported)
Assert.Pass("App history feature is not supported. Test skipped.");
public class BatteryStatisticsTests
{
public const string LogTag = "Tizen.Context.AppHistory";
- private static bool _isSupported = false;
- private static bool _isBatterySupported = false;
+ private bool _isSupported = false;
+ private bool _isBatterySupported = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/app_history", out _isSupported);
if (!_isSupported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void BatteryStatistics_INIT()
+ public void BatteryStatistics_INIT()
{
try
{
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
[Property("COVPARAM", "SortOrderType")]
- public static void BatteryStatistics_INIT_WITH_ALL_ENUM()
+ public void BatteryStatistics_INIT_WITH_ALL_ENUM()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void BatteryStatistics_CHECK_ARGUMENT_EXCEPTION()
+ public void BatteryStatistics_CHECK_ARGUMENT_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void SortOrder_PROPERTY_READ_ONLY()
+ public void SortOrder_PROPERTY_READ_ONLY()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
[Property("COVPARAM", "DateTime, DateTime")]
- public static void Query_CHECK_RESULT()
+ public void Query_CHECK_RESULT()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
[Property("COVPARAM", "DateTime, DateTime, int")]
- public static void Query_CHECK_RESULT_WITH_RESULT_SIZE()
+ public void Query_CHECK_RESULT_WITH_RESULT_SIZE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void GetLastFullyChargedTime_CHECK_RESULT()
+ public void GetLastFullyChargedTime_CHECK_RESULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void Query_THROWS_IF_TIMESPAN_INVALID()
+ public void Query_THROWS_IF_TIMESPAN_INVALID()
{
try
{
[Description("Tizen.Context.AppHistory.BatteryStatisticsData Class Tests")]
public class BatteryStatisticsDataTests
{
- private static bool _isSupported = false;
- private static bool _isBatterySupported = false;
- private static BatteryStatistics _stats;
- private static IReadOnlyList<BatteryStatisticsData> _resultList;
+ private bool _isSupported = false;
+ private bool _isBatterySupported = false;
+ private BatteryStatistics _stats;
+ private IReadOnlyList<BatteryStatisticsData> _resultList;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void AppId_PROPERTY_READ_ONLY()
+ public void AppId_PROPERTY_READ_ONLY()
{
if (!(_isSupported && _isBatterySupported))
Assert.Pass("Feature is not supported. Test skipped.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void Consumption_PROPERTY_READ_ONLY()
+ public void Consumption_PROPERTY_READ_ONLY()
{
if (!(_isSupported && _isBatterySupported))
Assert.Pass("Feature is not supported. Test skipped.");
[Description("Tizen.Context.AppHistory.UsageStatistics Class Tests")]
public class UsageStatisticsTests
{
- private static bool _isSupported = false;
+ private bool _isSupported = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/app_history", out _isSupported);
if (!_isSupported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void UsageStatistics_INIT()
+ public void UsageStatistics_INIT()
{
try
{
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
[Property("COVPARAM", "SortOrderType")]
- public static void UsageStatistics_INIT_WITH_ALL_ENUM()
+ public void UsageStatistics_INIT_WITH_ALL_ENUM()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void UsageStatistics_CHECK_ARGUMENT_EXCEPTION()
+ public void UsageStatistics_CHECK_ARGUMENT_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void SortOrder_PROPERTY_READ_ONLY()
+ public void SortOrder_PROPERTY_READ_ONLY()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
[Property("COVPARAM", "DateTime, DateTime")]
- public static void Query_CHECK_RESULT()
+ public void Query_CHECK_RESULT()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
[Property("COVPARAM", "DateTime, DateTime, int")]
- public static void Query_CHECK_RESULT_WITH_RESULT_SIZE()
+ public void Query_CHECK_RESULT_WITH_RESULT_SIZE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void Query_THROWS_IF_TIMESPAN_INVALID()
+ public void Query_THROWS_IF_TIMESPAN_INVALID()
{
try
{
[Description("Tizen.Context.AppHistory.UsageStatisticsData Class Tests")]
public class UsageStatisticsDataTests
{
- private static bool _isSupported = false;
- private static UsageStatistics _stats;
- private static IReadOnlyList<UsageStatisticsData> _resultList;
+ private bool _isSupported = false;
+ private UsageStatistics _stats;
+ private IReadOnlyList<UsageStatisticsData> _resultList;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void AppId_PROPERTY_READ_ONLY()
+ public void AppId_PROPERTY_READ_ONLY()
{
if (!_isSupported)
Assert.Pass("Feature is not supported. Test skipped.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void Duration_PROPERTY_READ_ONLY()
+ public void Duration_PROPERTY_READ_ONLY()
{
if (!_isSupported)
Assert.Pass("Feature is not supported. Test skipped.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void LaunchCount_PROPERTY_READ_ONLY()
+ public void LaunchCount_PROPERTY_READ_ONLY()
{
if (!_isSupported)
Assert.Pass("Feature is not supported. Test skipped.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")]
- public static void LastLaunchTime_PROPERTY_READ_ONLY()
+ public void LastLaunchTime_PROPERTY_READ_ONLY()
{
if (!_isSupported)
Assert.Pass("Feature is not supported. Test skipped.");
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void BulkData_INIT()
+ public void BulkData_INIT()
{
/* TEST CODE */
var data = new BulkData();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Add_RETURN_VALUE()
+ public void Add_RETURN_VALUE()
{
var data = new BulkData();
Assert.IsNotNull(data, "Object should not be null after initializing");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Add_METHOD_EXCEPTION()
+ public void Add_METHOD_EXCEPTION()
{
var data = new BulkData();
Assert.IsNotNull(data, "Object should not be null after initializing");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetCount_RETURN_VALUE()
+ public void GetCount_RETURN_VALUE()
{
var data = new BulkData();
var b = new Bundle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetData_RETURN_VALUE()
+ public void GetData_RETURN_VALUE()
{
var data = new BulkData();
var b = new Bundle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetData_METHOD_EXCEPTION()
+ public void GetData_METHOD_EXCEPTION()
{
var data = new BulkData();
Assert.IsNotNull(data, "Object should not be null after initializing");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Dispose_DISPOSED_OBJECT()
+ public void Dispose_DISPOSED_OBJECT()
{
var data = new BulkData();
data.Dispose();
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.DataControl.BulkResultData, bool")]
- public static void BulkInsertResult_INIT()
+ public void BulkInsertResult_INIT()
{
/* TEST CODE */
var data = new BulkResultData();
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.DataControl.BulkResultData, bool")]
- public static void BulkInsertResult_CHECK_CONSTRUCTOR_WITH_NULL_PARAMETER()
+ public void BulkInsertResult_CHECK_CONSTRUCTOR_WITH_NULL_PARAMETER()
{
Assert.Throws<ArgumentException>(() => new BulkInsertResult(null, true));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Result_GET()
+ public void Result_GET()
{
var data = new BulkResultData();
Assert.IsNotNull(data, "Object should not be null after initializing");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void BulkResultData_GET()
+ public void BulkResultData_GET()
{
var data = new BulkResultData();
Assert.IsNotNull(data, "Object should not be null after initializing");
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void BulkResultData_INIT()
+ public void BulkResultData_INIT()
{
/* TEST CODE */
var data = new BulkResultData();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR MCST")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Add_RETURN_VALUE()
+ public void Add_RETURN_VALUE()
{
var data = new BulkResultData();
Assert.IsNotNull(data, "Object should not be null after initializing");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetCount_RETURN_VALUE()
+ public void GetCount_RETURN_VALUE()
{
var data = new BulkData();
var b = new Bundle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetData_RETURN_VALUE()
+ public void GetData_RETURN_VALUE()
{
var data = new BulkResultData();
var b = new Bundle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetData_METHOD_EXCEPTION()
+ public void GetData_METHOD_EXCEPTION()
{
var data = new BulkResultData();
var b = new Bundle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetResult_RETURN_VALUE()
+ public void GetResult_RETURN_VALUE()
{
var data = new BulkResultData();
var b = new Bundle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetResult_METHOD_EXCEPTION()
+ public void GetResult_METHOD_EXCEPTION()
{
var data = new BulkResultData();
var b = new Bundle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Dispose_DISPOSED_OBJECT()
+ public void Dispose_DISPOSED_OBJECT()
{
var data = new BulkResultData();
data.Dispose();
private const string _providerId = "http://Tizen.DataControl.Tests.exe.com/datacontrol/provider/Tizen.DataControl.Tests.exe";
private const string _dataId = "ConsumerTest";
- private static MyProvider _myprovider = new MyProvider(_dataId);
+ private MyProvider _myprovider = new MyProvider(_dataId);
public class MyProvider : Provider
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
_myprovider.Run();
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_myprovider.Stop();
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Consumer_INIT()
+ public void Consumer_INIT()
{
/* TEST CODE */
var dc = new MyConsumer(_providerId, _dataId);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Insert_SEND_TO_PROVIDER()
+ public void Insert_SEND_TO_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Insert_METHOD_EXCEPTION()
+ public void Insert_METHOD_EXCEPTION()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Update_SEND_TO_PROVIDER()
+ public void Update_SEND_TO_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Update_METHOD_EXCEPTION()
+ public void Update_METHOD_EXCEPTION()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Select_SEND_TO_PROVIDER()
+ public void Select_SEND_TO_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Delete_SEND_TO_PROVIDER()
+ public void Delete_SEND_TO_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void BulkInsert_SEND_TO_PROVIDER()
+ public void BulkInsert_SEND_TO_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void DataChangeListen_SEND_LISTEN_REQUEST_TO_PROVIDER()
+ public void DataChangeListen_SEND_LISTEN_REQUEST_TO_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnInsertResult_RECEIVE_EVENT_FROM_PROVIDER()
+ public async Task OnInsertResult_RECEIVE_EVENT_FROM_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnUpdateResult_RECEIVE_EVENT_FROM_PROVIDER()
+ public async Task OnUpdateResult_RECEIVE_EVENT_FROM_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnSelectResult_RECEIVE_EVENT_FROM_PROVIDER()
+ public async Task OnSelectResult_RECEIVE_EVENT_FROM_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnDeleteResult_RECEIVE_EVENT_FROM_PROVIDER()
+ public async Task OnDeleteResult_RECEIVE_EVENT_FROM_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnBulkInsertResult_RECEIVE_EVENT_FROM_PROVIDER()
+ public async Task OnBulkInsertResult_RECEIVE_EVENT_FROM_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnDataChangeListenResult_RECEIVE_EVENT_FROM_PROVIDER()
+ public async Task OnDataChangeListenResult_RECEIVE_EVENT_FROM_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnDataChange_RECEIVE_EVENT_FROM_PROVIDER()
+ public async Task OnDataChange_RECEIVE_EVENT_FROM_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void MapAdd_SEND_TO_PROVIDER()
+ public void MapAdd_SEND_TO_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Bundle, string")]
- public static void MapSet_SEND_TO_PROVIDER()
+ public void MapSet_SEND_TO_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void MapGet_SEND_TO_PROVIDER()
+ public void MapGet_SEND_TO_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void MapRemove_SEND_TO_PROVIDER()
+ public void MapRemove_SEND_TO_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void MapBulkAdd_SEND_TO_PROVIDER()
+ public void MapBulkAdd_SEND_TO_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnMapAddResult_RECEIVE_EVENT_FROM_PROVIDER()
+ public async Task OnMapAddResult_RECEIVE_EVENT_FROM_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnMapSetResult_RECEIVE_EVENT_FROM_PROVIDER()
+ public async Task OnMapSetResult_RECEIVE_EVENT_FROM_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnMapGetResult_RECEIVE_EVENT_FROM_PROVIDER()
+ public async Task OnMapGetResult_RECEIVE_EVENT_FROM_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnMapRemoveResult_RECEIVE_EVENT_FROM_PROVIDER()
+ public async Task OnMapRemoveResult_RECEIVE_EVENT_FROM_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnMapBulkAddResult_RECEIVE_EVENT_FROM_PROVIDER()
+ public async Task OnMapBulkAddResult_RECEIVE_EVENT_FROM_PROVIDER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void DataChangeListenResult_INIT()
+ public void DataChangeListenResult_INIT()
{
/* TEST CODE */
var data = new DataChangeListenResult(ResultType.Success);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Result_GET()
+ public void Result_GET()
{
var data = new DataChangeListenResult(ResultType.Success);
Assert.IsNotNull(data, "Object should not be null after initializing");
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void DeleteResult_INIT()
+ public void DeleteResult_INIT()
{
/* TEST CODE */
var data = new DeleteResult(true);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Result_GET()
+ public void Result_GET()
{
var data = new DeleteResult(true);
Assert.IsNotNull(data, "Object should not be null after initializing");
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void InsertResult_INIT()
+ public void InsertResult_INIT()
{
/* TEST CODE */
var data = new InsertResult(1, true);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Result_GET()
+ public void Result_GET()
{
var data = new DeleteResult(true);
Assert.IsNotNull(data, "Object should not be null after initializing");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void RowID_GET()
+ public void RowID_GET()
{
var data = new InsertResult(1, true);
Assert.IsNotNull(data, "Object should not be null after initializing");
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void MapAddResult_INIT()
+ public void MapAddResult_INIT()
{
/* TEST CODE */
var data = new MapAddResult(true);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Result_GET()
+ public void Result_GET()
{
var data = new MapAddResult(true);
Assert.IsNotNull(data, "Object should not be null after initializing");
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void MapBulkAddResult_INIT()
+ public void MapBulkAddResult_INIT()
{
/* TEST CODE */
var data = new BulkResultData();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void MapBulkAddResult_CHECK_CONSTRUCTOR_WITH_NULL_PARAMETER()
+ public void MapBulkAddResult_CHECK_CONSTRUCTOR_WITH_NULL_PARAMETER()
{
Assert.Throws<ArgumentException>(() => new MapBulkAddResult(null, true));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Result_GET()
+ public void Result_GET()
{
var data = new BulkResultData();
Assert.IsNotNull(data, "Object should not be null after initializing");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void BulkResultData_GET()
+ public void BulkResultData_GET()
{
var data = new BulkResultData();
Assert.IsNotNull(data, "Object should not be null after initializing");
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void MapGetResult_INIT()
+ public void MapGetResult_INIT()
{
/* TEST CODE */
string[] resultStr = { "data" };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Result_GET()
+ public void Result_GET()
{
string[] resultStr = { "data" };
var data = new MapGetResult(resultStr, true);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void ValueList_GET()
+ public void ValueList_GET()
{
string[] resultStr = { "data" };
var data = new MapGetResult(resultStr, true);
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void MapRemoveResult_INIT()
+ public void MapRemoveResult_INIT()
{
/* TEST CODE */
var data = new MapRemoveResult(true);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Result_GET()
+ public void Result_GET()
{
var data = new MapRemoveResult(true);
Assert.IsNotNull(data, "Object should not be null after initializing");
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void MapSetResult_INIT()
+ public void MapSetResult_INIT()
{
/* TEST CODE */
var data = new MapSetResult(true);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Result_GET()
+ public void Result_GET()
{
var data = new MapSetResult(true);
Assert.IsNotNull(data, "Object should not be null after initializing");
private const string MyWidgetId1 = "org.tizen.WidgetCtrlSample1";
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void MatrixCursor_INIT()
+ public void MatrixCursor_INIT()
{
string[] name = new string[] { "qqq", "wwww", "eeeee", "gggggggggggggggggggggggggggggggggggggggggg" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void MatrixCursor_CHECK_CONSTRUCTOR_WITH_NULL_PARAMETER()
+ public void MatrixCursor_CHECK_CONSTRUCTOR_WITH_NULL_PARAMETER()
{
Assert.Throws<ArgumentException>(() => new MatrixCursor(null, null));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR MCST")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void AddRow_RETURN_VALUE()
+ public void AddRow_RETURN_VALUE()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void AddRow_NULL_ARGUMENTS()
+ public void AddRow_NULL_ARGUMENTS()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetBlobValue_RETURN_VALUE()
+ public void GetBlobValue_RETURN_VALUE()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetBlobValue_METHOD_EXCEPTION()
+ public void GetBlobValue_METHOD_EXCEPTION()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetColumnCount_RETURN_VALUE()
+ public void GetColumnCount_RETURN_VALUE()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetColumnName_RETURN_VALUE()
+ public void GetColumnName_RETURN_VALUE()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetColumnName_METHOD_EXCEPTION()
+ public void GetColumnName_METHOD_EXCEPTION()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetColumnType_RETURN_VALUE()
+ public void GetColumnType_RETURN_VALUE()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetColumnType_METHOD_EXCEPTION()
+ public void GetColumnType_METHOD_EXCEPTION()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetdoubleValue_RETURN_VALUE()
+ public void GetdoubleValue_RETURN_VALUE()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetDoubleValue_METHOD_EXCEPTION()
+ public void GetDoubleValue_METHOD_EXCEPTION()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetInt64Value_RETURN_VALUE()
+ public void GetInt64Value_RETURN_VALUE()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetInt64Value_METHOD_EXCEPTION()
+ public void GetInt64Value_METHOD_EXCEPTION()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetIntValue_RETURN_VALUE()
+ public void GetIntValue_RETURN_VALUE()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetIntValue_METHOD_EXCEPTION()
+ public void GetIntValue_METHOD_EXCEPTION()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetRowCount_RETURN_VALUE()
+ public void GetRowCount_RETURN_VALUE()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetStringValue_RETURN_VALUE()
+ public void GetStringValue_RETURN_VALUE()
{
string stringValue = "stringvalue";
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetStringValue_METHOD_EXCEPTION()
+ public void GetStringValue_METHOD_EXCEPTION()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Next_RETURN_VALUE()
+ public void Next_RETURN_VALUE()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Prev_RETURN_VALUE()
+ public void Prev_RETURN_VALUE()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Reset_RETURN_VALUE()
+ public void Reset_RETURN_VALUE()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
public class ProviderTests
{
private const string _testAppId = "org.tizen.example.XamarinConsumer.Tizen";
- private static bool _flag;
+ private bool _flag;
private const string _dataId = "ProviderTest";
private const string _providerId = "http://Tizen.DataControl.Tests.exe.com/datacontrol/provider/Tizen.DataControl.Tests.exe";
public class MyConsumer : Consumer
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Provider_INIT()
+ public void Provider_INIT()
{
/* TEST CODE */
var dc = new MyProvider(_dataId);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Run_PROVIDER_SERVICE()
+ public void Run_PROVIDER_SERVICE()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Stop_PROVIDER_SERVICE()
+ public void Stop_PROVIDER_SERVICE()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void DataID_GET()
+ public void DataID_GET()
{
string dataID;
var dc = new MyProvider(_dataId);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnSelect_RECEIVE_EVENT_FROM_CONSUMER()
+ public async Task OnSelect_RECEIVE_EVENT_FROM_CONSUMER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnInsert_RECEIVE_EVENT_FROM_CONSUMER()
+ public async Task OnInsert_RECEIVE_EVENT_FROM_CONSUMER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnUpdate_RECEIVE_EVENT_FROM_CONSUMER()
+ public async Task OnUpdate_RECEIVE_EVENT_FROM_CONSUMER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnDelete_RECEIVE_EVENT_FROM_CONSUMER()
+ public async Task OnDelete_RECEIVE_EVENT_FROM_CONSUMER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
Assert.IsTrue(dp.DeleteChecked, "OnDelete event is not received");
}
- static void AppControlReplyReceivedCallback(Tizen.Applications.AppControl launchRequest, Tizen.Applications.AppControl replyRequest, AppControlReplyResult result)
+ void AppControlReplyReceivedCallback(Tizen.Applications.AppControl launchRequest, Tizen.Applications.AppControl replyRequest, AppControlReplyResult result)
{
if (result >= 0)
_flag = true;
}
- public static async Task waitFlag()
+ public async Task waitFlag()
{
int count = 0;
while (true)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnDataChangeListenRequest_RECEIVE_EVENT_FROM_CONSUMER()
+ public async Task OnDataChangeListenRequest_RECEIVE_EVENT_FROM_CONSUMER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnBulkInsert_RECEIVE_EVENT_FROM_CONSUMER()
+ public async Task OnBulkInsert_RECEIVE_EVENT_FROM_CONSUMER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnMapAdd_RECEIVE_EVENT_FROM_CONSUMER()
+ public async Task OnMapAdd_RECEIVE_EVENT_FROM_CONSUMER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnMapGet_RECEIVE_EVENT_FROM_CONSUMER()
+ public async Task OnMapGet_RECEIVE_EVENT_FROM_CONSUMER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnMapSet_RECEIVE_EVENT_FROM_CONSUMER()
+ public async Task OnMapSet_RECEIVE_EVENT_FROM_CONSUMER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnMapRemove_RECEIVE_EVENT_FROM_CONSUMER()
+ public async Task OnMapRemove_RECEIVE_EVENT_FROM_CONSUMER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task OnMapBulkAdd_RECEIVE_EVENT_FROM_CONSUMER()
+ public async Task OnMapBulkAdd_RECEIVE_EVENT_FROM_CONSUMER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static async Task SendDataChange_SEND_TO_CONSUMER()
+ public async Task SendDataChange_SEND_TO_CONSUMER()
{
/* PRECONDITION
* 1)Install org.example.XamarinProvider.tpk <in folder res/>
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void SelectResult_INIT()
+ public void SelectResult_INIT()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.DataControl.SelectResult, bool")]
- public static void SelectResult_CHECK_CONSTRUCTOR_WITH_NULL_PARAMETER()
+ public void SelectResult_CHECK_CONSTRUCTOR_WITH_NULL_PARAMETER()
{
Assert.Throws<ArgumentException>(() => new SelectResult(null, true));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Result_GET()
+ public void Result_GET()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void ResultCursor_GET()
+ public void ResultCursor_GET()
{
string[] name = new string[] { "IntCol", "DoubleCol", "StrCol", "BlobCol" };
ColumnType[] type = new ColumnType[] { ColumnType.ColumnTypeInt, ColumnType.ColumnTypeDouble, ColumnType.ColumnTypeString, ColumnType.ColumnTypeBlob };
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void UpdateResult_INIT()
+ public void UpdateResult_INIT()
{
/* TEST CODE */
var data = new UpdateResult(true);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Result_GET()
+ public void Result_GET()
{
var data = new UpdateResult(true);
Assert.IsNotNull(data, "Object should not be null after initializing");
[Description("Tizen.System.Battery Tests")]
class BatteryTests
{
- private static int s_Percent = 1;
- private static int isSupport = 1;
+ private int s_Percent = 1;
+ private int isSupport = 1;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
bool ret_value;
}
}
- private static int PassForNotSuppot()
+ private int PassForNotSuppot()
{
if (isSupport == 0)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(2, "If you do not get pass, it is fail.")]
[Postcondition(1, "NA")]
- public static void IsCharging_PROPERTY_VALUE()
+ public void IsCharging_PROPERTY_VALUE()
{
/* TEST CODE */
string profile;
ManualTest.Confirm();
}
- public static void ChargingStateDisconnected(object sender, BatteryChargingStateChangedEventArgs args)
+ public void ChargingStateDisconnected(object sender, BatteryChargingStateChangedEventArgs args)
{
Assert.IsInstanceOf<bool>(args.IsCharging, "IsCharging should be valid type");
Assert.IsFalse(args.IsCharging, "IsCharging should be False when you disconnect cable");
[Step(5, "If you do not get pass, it is fail.")]
[Postcondition(1, "NA")]
- public static async Task ChargingStateChanged_EVENT_CHECK_DISCONNECTED()
+ public async Task ChargingStateChanged_EVENT_CHECK_DISCONNECTED()
{
if (PassForNotSuppot() == 1) return;
Battery.ChargingStateChanged += ChargingStateDisconnected;
Battery.ChargingStateChanged -= ChargingStateDisconnected; // should be remove event.
}
- public static void ChargingStateConnected(object sender, BatteryChargingStateChangedEventArgs args)
+ public void ChargingStateConnected(object sender, BatteryChargingStateChangedEventArgs args)
{
Assert.IsInstanceOf<bool>(args.IsCharging, "IsCharging should be valid type");
Assert.True(args.IsCharging, "IsCharging should be False when you disconnect cable");
[Step(3, "[Target] Connect the sdb cable.")]
[Step(4, "If you do not get pass, It is fail.")]
[Postcondition(1, "NA")]
- public static async Task ChargingStateChanged_EVENT_CHECK_CONNECTED()
+ public async Task ChargingStateChanged_EVENT_CHECK_CONNECTED()
{
if (PassForNotSuppot() == 1) return;
Battery.ChargingStateChanged += ChargingStateConnected;
Battery.ChargingStateChanged -= ChargingStateConnected; // should be remove event.
}
- public static void RecievedLevelStateChanged(object sender, BatteryLevelChangedEventArgs args)
+ public void RecievedLevelStateChanged(object sender, BatteryLevelChangedEventArgs args)
{
Assert.IsInstanceOf<BatteryLevelStatus>(args.Level, "Level should be valid type");
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Invoked Event :" + args.Level);
[Step(5, "[Target] If you do not get pass even after the battery level is changed, it is fail.")]
[Step(6, "[Target] Even after the battery becomes 100%, you need to wait \"Fully Charged\" for a while to get pass.")]
[Postcondition(1, "NA")]
- public static async Task LevelChanged_EVENT_CHECK()
+ public async Task LevelChanged_EVENT_CHECK()
{
if (PassForNotSuppot() == 1) return;
Battery.LevelChanged += RecievedLevelStateChanged;
Battery.LevelChanged -= RecievedLevelStateChanged;
}
- public static void PercentageIncreased(object sender, BatteryPercentChangedEventArgs args)
+ public void PercentageIncreased(object sender, BatteryPercentChangedEventArgs args)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Invoked Event :" + args.Percent);
Assert.IsInstanceOf<int>(args.Percent, "Percent should be valid type");
[Step(4, "[Target] Wait until the battery percentage is increased for a maximum of half an hour.")]
[Step(5, "[Target] If you do not get pass after the battery percentage is increased, it is fail.")]
[Postcondition(1, "NA")]
- public static async Task PercentChanged_EVENT_CHECK_INCREASED()
+ public async Task PercentChanged_EVENT_CHECK_INCREASED()
{
if (PassForNotSuppot() == 1) return;
s_Percent = Battery.Percent;
Battery.PercentChanged -= PercentageIncreased;
}
- public static void PercentageDecreased(object sender, BatteryPercentChangedEventArgs args)
+ public void PercentageDecreased(object sender, BatteryPercentChangedEventArgs args)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Invoked Event :" + args.Percent);
Assert.IsInstanceOf<int>(args.Percent, "Percent should be valid type");
[Step(4, "[Target] Wait until the battery percentage is decreased.")]
[Step(5, "[Target] If you do not get pass after the battery percentage is decreased, it is fail.")]
[Postcondition(1, "NA")]
- public static async Task PercentChanged_EVENT_CHECK_DECREASED()
+ public async Task PercentChanged_EVENT_CHECK_DECREASED()
{
if (PassForNotSuppot() == 1) return;
s_Percent = Battery.Percent;
[Description("Tizen.System.BatteryChargingStateChangedEventArgs Tests")]
class BatteryChargingStateChangedEventArgsTests
{
- private static int isSupport = 1;
+ private int isSupport = 1;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
bool ret_value;
}
}
- private static int PassForNotSuppot()
+ private int PassForNotSuppot()
{
if (isSupport == 0)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- public static void RecievedChargingStateChanged(object sender, BatteryChargingStateChangedEventArgs args)
+ public void RecievedChargingStateChanged(object sender, BatteryChargingStateChangedEventArgs args)
{
Assert.IsInstanceOf<bool>(args.IsCharging, "IsCharging should be valid type");
Assert.IsFalse(args.IsCharging, "IsCharging should be False when you disconnect cable");
[Step(1, "Click run TC")]
[Step(2, "Disconnect charging cable.")]
[Step(3, "If you don't get pass, It is fail.")]
- public static async Task IsCharging_PROPERTY_READ_ONLY()
+ public async Task IsCharging_PROPERTY_READ_ONLY()
{
if (PassForNotSuppot() == 1) return;
Battery.ChargingStateChanged += RecievedChargingStateChanged;
[Description("Tizen.System.BatteryLevelChangedEventArgs Tests")]
class BatteryLevelChangedEventArgsTests
{
- static BatteryLevelStatus s_Level = BatteryLevelStatus.Full;
- private static int isSupport = 1;
+ BatteryLevelStatus s_Level = BatteryLevelStatus.Full;
+ private int isSupport = 1;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
bool ret_value;
}
}
- private static int PassForNotSuppot()
+ private int PassForNotSuppot()
{
if (isSupport == 0)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- public static void RecievedLevelStateChanged(object sender, BatteryLevelChangedEventArgs args)
+ public void RecievedLevelStateChanged(object sender, BatteryLevelChangedEventArgs args)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Invoked Event :" + args.Level);
Assert.IsInstanceOf<BatteryLevelStatus>(args.Level, "Level should be valid type");
[Step(5, "[Target] If you do not get pass even after the battery level is changed, it is fail.")]
[Step(6, "[Target] Even after the battery becomes 100%, you need to wait \"Fully Charged\" for a while to get pass.")]
[Postcondition(1, "NA")]
- public static async Task Level_PROPERTY_READ_ONLY()
+ public async Task Level_PROPERTY_READ_ONLY()
{
if (PassForNotSuppot() == 1) return;
s_Level = Battery.Level;
[Description("Tizen.System.BatteryPercentChangedEventArgs Tests")]
class BatteryPercentChangedEventArgsTests
{
- private static int s_Percent = 1;
- private static int isSupport = 1;
+ private int s_Percent = 1;
+ private int isSupport = 1;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
bool ret_value;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- private static int PassForNotSuppot()
+ private int PassForNotSuppot()
{
if (isSupport == 0)
{
return 0;
}
- public static void RecievedPercentageChanged(object sender, BatteryPercentChangedEventArgs args)
+ public void RecievedPercentageChanged(object sender, BatteryPercentChangedEventArgs args)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Invoked Event :" + args.Percent);
Assert.IsInstanceOf<int>(args.Percent, "Percent should be valid type");
[Step(4, "[Target] Wait until the battery percentage is increased for a maximum of half an hour.")]
[Step(5, "[Target] If you do not get pass after the battery percentage is increased, it is fail.")]
[Postcondition(1, "NA")]
- public static async Task Percent_PROPERTY_READ_ONLY()
+ public async Task Percent_PROPERTY_READ_ONLY()
{
if (PassForNotSuppot() == 1) return;
s_Percent = Battery.Percent;
[Description("Tizen.System.Display Tests")]
class DisplayTests
{
- private static int isSupport = 1;
+ private int isSupport = 1;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
bool ret_value;
}
}
- private static int PassForNotSuppot()
+ private int PassForNotSuppot()
{
if (isSupport == 0)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- public static void RecievedDisplayStateChanged(object sender, DisplayStateChangedEventArgs args)
+ public void RecievedDisplayStateChanged(object sender, DisplayStateChangedEventArgs args)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Invoked Event :" + args.State);
ManualTest.Confirm(); // If you get recieve, set pass automatic.
[Step(2, "[Mobile Target] Press the powerkey button to turn off the display")]
[Step(3, "[Wearable Target] Wait until the display is turned off as much time as you set in the Precondition step")]
[Step(4, "If you do not get pass, it is failed.")]
- public static async Task StateChanged_EVENT_CHECK()
+ public async Task StateChanged_EVENT_CHECK()
{
if (PassForNotSuppot() == 1) return;
Display.StateChanged += RecievedDisplayStateChanged;
[Description("Tizen.System.DisplayStateChangedEventArgs Tests")]
class DisplayStateChangedEventArgsTests
{
- private static int isSupport = 1;
+ private int isSupport = 1;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
bool ret_value;
}
}
- private static int PassForNotSuppot()
+ private int PassForNotSuppot()
{
if (isSupport == 0)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(2, "[Mobile Target] Press the powerkey button to turn off the display")]
[Step(3, "[Wearable Target] Wait until the display is turned off as much time as you set in the Precondition step")]
[Step(4, "If you do not get pass, it is failed.")]
- public static async Task State_PROPERTY_READ_ONLY()
+ public async Task State_PROPERTY_READ_ONLY()
{
if (PassForNotSuppot() == 1) return;
Tizen.Log.Info("TCT", "Register event for display state: ");
Display.StateChanged -= onDisplayStateChanged;
}
- private static void onDisplayStateChanged(object sender, DisplayStateChangedEventArgs args)
+ private void onDisplayStateChanged(object sender, DisplayStateChangedEventArgs args)
{
Tizen.Log.Info("TCT", "State_GET_TEST Result: " + args.State);
Assert.IsInstanceOf<DisplayState>(args.State, "State should be valid type");
[Description("Tizen.System.IR tests")]
class IRTests
{
- private static int isSupport = 1;
+ private int isSupport = 1;
[SetUp]
- public static void Init()
+ public void Init()
{
bool ret_value;
bool value;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
- private static int PassForNotSuppot()
+ private int PassForNotSuppot()
{
if (isSupport == 0)
{
[Step(2, "Click run TC")]
[Step(3, "If TV Volume increases click on PASS.")]
[Step(4, "If TV Volume doesn't change click on FAIL.")]
- public static async Task Transmit_CHECK_RESULT()
+ public async Task Transmit_CHECK_RESULT()
{
/* TEST CODE */
//TODO: check how to validate for now TM1 devices.
[Description("Tizen.System.Led tests")]
class LedTests
{
- private static int isSupport = 1;
+ private int isSupport = 1;
[SetUp]
- public static void Init()
+ public void Init()
{
bool ret_value;
bool value;
}
}
- private static int PassForNotSuppot()
+ private int PassForNotSuppot()
{
if (isSupport == 0)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Step(3, "If Led is blicking for a while click on PASS.")]
[Step(4, "If Led is not blicking click on FAIL.")]
- public static async Task Play_STATUS_CHANGED()
+ public async Task Play_STATUS_CHANGED()
{
/* TEST CODE */
if (PassForNotSuppot() == 1) return;
[Step(3, "If Led blicking is stopped after 10 seconds click on PASS.")]
[Step(4, "If Led blicking is not stopped after 10 seconds click on FAIL.")]
[Step(5, "If Led blicking is stopped before 10 seconds click on FAIL.")]
- public static async Task Stop_STATUS_CHANGED()
+ public async Task Stop_STATUS_CHANGED()
{
/* TEST CODE */
if (PassForNotSuppot() == 1) return;
[Description("Tizen.System.LedBrightnessChangedEventArgs Tests")]
class LedBrightnessChangedEventArgsests
{
- private static int s_Brightness = 30;
- private static int isSupport = 1;
+ private int s_Brightness = 30;
+ private int isSupport = 1;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
bool ret_value;
}
}
- private static int PassForNotSuppot()
+ private int PassForNotSuppot()
{
if (isSupport == 0)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- public static void LedBrightnessChanged(object sender, LedBrightnessChangedEventArgs args)
+ public void LedBrightnessChanged(object sender, LedBrightnessChangedEventArgs args)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Invoked Event :" + args.Brightness);
Assert.IsInstanceOf<int>(args.Brightness, "Brightness should be valid type");
[Step(1, "Click run TC")]
[Step(2, "Led Brightness Shall be changed automatically.")]
[Step(3, "If you don't get pass, It is fail.")]
- public static async Task Brightness_GET_TEST()
+ public async Task Brightness_GET_TEST()
{
/* TEST CODE */
if (PassForNotSuppot() == 1) return;
[Description("Tizen.System.Vibrator tests")]
class VibratorTests
{
- private static int isSupport = 1;
+ private int isSupport = 1;
[SetUp]
- public static void Init()
+ public void Init()
{
bool ret_value, vib;
string value = null;
}
}
- private static int PassForNotSuppot()
+ private int PassForNotSuppot()
{
if (isSupport == 0)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Step(2, "Device will start vibrating automatically(for almost 5 sec)")]
[Step(3, "If Device Vibrates for 5 seconds click on PASS.")]
[Step(4, "If Device stops Vibrating before 5 seconds click on FAIL.")]
- public static async Task Vibrate_STATUS_CHANGE()
+ public async Task Vibrate_STATUS_CHANGE()
{
if (PassForNotSuppot() == 1) return;
Assert.IsTrue(Vibrator.Vibrators.Count > 0, "Number of vibratos can't be zero");
[Step(2, "Device will start vibrating automatically(for almost 5 sec)")]
[Step(3, "If Device stops vibrating in 2 seconds click on PASS")]
[Step(4, "If Device Vibrates for 5 seconds click on FAIL.")]
- public static async Task Stop_VIBRATE_STOP()
+ public async Task Stop_VIBRATE_STOP()
{
if (PassForNotSuppot() == 1) return;
Assert.IsTrue(Vibrator.Vibrators.Count > 0, "Number of vibratos can't be zero");
public class TSDotnetUtil
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Tizen.Common.DotnetUtil TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jongheon Choi, j-h.choi@samsung.com")]
- public static void TizenAPIVersion_PROPERTY_READ_ONLY()
+ public void TizenAPIVersion_PROPERTY_READ_ONLY()
{
Console.WriteLine("Tizen.NET API version : " + Common.DotnetUtil.TizenAPIVersion);
/* TEST CODE */
[Description("Tizen.Content.Download.Request manual Tests.")]
public class RequestTests
{
- public static Tizen.Content.Download.Request req;
- public static string url;
- public static string destinationPath;
- public static bool bFlag;
- public static Request request;
- public static async Task waitFlag()
+ public Tizen.Content.Download.Request req;
+ public string url;
+ public string destinationPath;
+ public bool bFlag;
+ public Request request;
+ public async Task waitFlag()
{
int count = 0;
while (true)
}
}
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "TCT";
}
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "Init() - Precondition");
url = "http://static.campaign.naver.com/0/hangeul/2011/img/img_family.gif";
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "Deinit() PostCondition");
url = null;
destinationPath = null;
}
- static void OnStateChanged(object sender, StateChangedEventArgs e)
+ void OnStateChanged(object sender, StateChangedEventArgs e)
{
Tizen.Log.Info(Globals.LogTag, "OnStateChanged"+e.State);
switch (e.State)
[Step(1, "Click run TC")]
[Step(2, "After 5 seconds, check the \"/opt/usr/home/owner/media/Downloads\" or \"/opt/usr/home/owner/content/Downloads\" path in your device.")]
[Step(3, "If \"img_family.gif\" file is exist, then click on Pass else Fail")]
- public static async Task DestinationPath_READ_WRITE()
+ public async Task DestinationPath_READ_WRITE()
{
/* TEST CODE */
req = new Tizen.Content.Download.Request(url);
namespace Tizen.Content.Download.Tests {
[TestFixture]
[Description("Tizen.Content.Download.Notification Tests.")]
- public static class NotificationTests {
+ public class NotificationTests {
- public static Tizen.Content.Download.Request req;
- public static string notificationUrl;
- public static string notificationTitle;
- public static string notificationDescription;
- public static Tizen.Content.Download.NotificationType notificationType;
- public static int sampleDownloadId;
- public static bool isDownloadSupported = false;
+ public Tizen.Content.Download.Request req;
+ public string notificationUrl;
+ public string notificationTitle;
+ public string notificationDescription;
+ public Tizen.Content.Download.NotificationType notificationType;
+ public int sampleDownloadId;
+ public bool isDownloadSupported = false;
[SetUp]
- public static void Init() {
+ public void Init() {
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG , "Preconditions for each Test");
notificationUrl = "http://www.sample-videos.com/video/mp4/720/big_buck_bunny_720p_5mb.mp4";
notificationTitle = "NotificationTitle";
}
[TearDown]
- public static void Destroy() {
+ public void Destroy() {
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG , "Postconditions for each Test");
notificationUrl = null;
notificationTitle = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void Title_READ_WRITE()
+ public void Title_READ_WRITE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void Description_READ_WRITE()
+ public void Description_READ_WRITE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void Type_All_READ_WRITE()
+ public void Type_All_READ_WRITE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void Type_CompleteOnly_READ_WRITE()
+ public void Type_CompleteOnly_READ_WRITE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void Type_None_READ_WRITE()
+ public void Type_None_READ_WRITE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void Type_Default_READ()
+ public void Type_Default_READ()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void AppControlOngoing_READ_WRITE()
+ public void AppControlOngoing_READ_WRITE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void AppControlOngoing_Default_READ()
+ public void AppControlOngoing_Default_READ()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void AppControlCompleted_READ_WRITE()
+ public void AppControlCompleted_READ_WRITE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void AppControlCompleted_Default_READ()
+ public void AppControlCompleted_Default_READ()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void AppControlFailed_READ_WRITE()
+ public void AppControlFailed_READ_WRITE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void AppControlFailed_Default_READ()
+ public void AppControlFailed_Default_READ()
{
/* TEST CODE */
try
[TestFixture]
[Description("Tizen.Content.Download.ProgressChangedEventArgs Tests.")]
- public static class ProgressChangedEventArgsTests {
- public static bool bFlag;
- public static bool isDownloadSupported = false;
- public static async Task waitFlag()
+ public class ProgressChangedEventArgsTests {
+ public bool bFlag;
+ public bool isDownloadSupported = false;
+ public async Task waitFlag()
{
int count = 0;
while (true)
}
[SetUp]
- public static void Init() {
+ public void Init() {
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG , "Preconditions for each Test");
bFlag = false;
Information.TryGetValue("http://tizen.org/feature/download", out isDownloadSupported);
}
[TearDown]
- public static void Destroy() {
+ public void Destroy() {
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG , "Postconditions for each Test");
}
- static void OnProgressChanged(object sender, ProgressChangedEventArgs e)
+ void OnProgressChanged(object sender, ProgressChangedEventArgs e)
{
Tizen.Log.Info("Tizen.Content.Download" , "OnProgressChanged");
Assert.IsInstanceOf<ulong>(e.ReceivedDataSize , "ReceivedDataSize is not of the type ulong");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static async Task ReceivedDataSize_READ_ONLY()
+ public async Task ReceivedDataSize_READ_ONLY()
{
/*
* PRECONDITION
[TestFixture]
[Description("Tizen.Content.Download.Request Tests.")]
- public static class RequestTests {
- public static Tizen.Content.Download.Request req;
- public static string url;
- public static string url2;
- public static string emptyString;
- public static string destinationPath;
- public static string fileName;
- public static Tizen.Content.Download.NetworkType type;
- public static IDictionary<string, string> httpHeaders;
- public static bool bCompletedFlag;
- public static bool bDownloadingFlag;
- public static bool isDownloadSupported = false;
- public static bool isWifiSupported = false;
- public static bool isWifiDirectSupported = false;
- public static bool isTelephonySupported = false;
- public static Request request;
- public static Request testRequest;
- public static async Task waitFlag()
+ public class RequestTests {
+ public Tizen.Content.Download.Request req;
+ public string url;
+ public string url2;
+ public string emptyString;
+ public string destinationPath;
+ public string fileName;
+ public Tizen.Content.Download.NetworkType type;
+ public IDictionary<string, string> httpHeaders;
+ public bool bCompletedFlag;
+ public bool bDownloadingFlag;
+ public bool isDownloadSupported = false;
+ public bool isWifiSupported = false;
+ public bool isWifiDirectSupported = false;
+ public bool isTelephonySupported = false;
+ public Request request;
+ public Request testRequest;
+ public async Task waitFlag()
{
int count = 0;
while (true)
}
[SetUp]
- public static void Init() {
+ public void Init() {
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG , "Preconditions for each Test");
url = "http://static.campaign.naver.com/0/hangeul/2011/img/img_family.gif";
url2 = "http://www.jschmidt-systemberatung.de/php-apps/RGraph/images/31120037-5mb.jpg";
}
[TearDown]
- public static void Destroy() {
+ public void Destroy() {
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG , "Postconditions for each Test");
req = null;
url = null;
httpHeaders = null;
}
- static void OnProgressChanged(object sender, ProgressChangedEventArgs e)
+ void OnProgressChanged(object sender, ProgressChangedEventArgs e)
{
Tizen.Log.Info("Tizen.Content.Download" , "OnProgressChanged");
bCompletedFlag = true;
}
- static void OnStateChanged(object sender, StateChangedEventArgs e)
+ void OnStateChanged(object sender, StateChangedEventArgs e)
{
Tizen.Log.Info("Tizen.Content.Download" , "OnStateChanged"+e.State);
switch (e.State)
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
[Property("COVPARAM", "string")]
- public static void Request_INIT_URL()
+ public void Request_INIT_URL()
{
/* TEST CODE */
try
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
[Property("COVPARAM", "string, string, string, Tizen.Content.Download.NetworkType")]
- public static void Request_INIT_URL_DESTPATH_FILENAME_NETWORKTYPE()
+ public void Request_INIT_URL_DESTPATH_FILENAME_NETWORKTYPE()
{
/* TEST CODE */
try
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
[Property("COVPARAM", "string, string, string, Tizen.Content.Download.NetworkType, System.Collections.Generic.IDictionary<string,string>")]
- public static void Request_INIT_URL_DESTPATH_FILENAME_NETWORKTYPE_HEADER()
+ public void Request_INIT_URL_DESTPATH_FILENAME_NETWORKTYPE_HEADER()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static async Task StateChanged_CB()
+ public async Task StateChanged_CB()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static async Task ProgressChanged_CB()
+ public async Task ProgressChanged_CB()
{
/*
* PRECONDITION
}
}
- public static void Utility_READ_ONLY()
+ public void Utility_READ_ONLY()
{
req = new Tizen.Content.Download.Request(url);
Assert.IsNotNull(req, "Request object should not be null after initializing");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static async Task DownloadedPath_READ_ONLY()
+ public async Task DownloadedPath_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void DownloadedPath_BEFORE_START()
+ public void DownloadedPath_BEFORE_START()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static async Task MimeType_READ_ONLY()
+ public async Task MimeType_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void MimeType_Default_READ()
+ public void MimeType_Default_READ()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static async Task State_READ_ONLY()
+ public async Task State_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static async Task ContentName_READ_ONLY()
+ public async Task ContentName_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void ContentName_Default_READ()
+ public void ContentName_Default_READ()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static async Task ContentSize_READ_ONLY()
+ public async Task ContentSize_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void ContentSize_Default_READ()
+ public void ContentSize_Default_READ()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static async Task HttpStatus_READ_ONLY()
+ public async Task HttpStatus_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void HttpStatus_Default_READ()
+ public void HttpStatus_Default_READ()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static async Task ETagValue_READ_ONLY()
+ public async Task ETagValue_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void ETagValue_Default_READ()
+ public void ETagValue_Default_READ()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void NotificationProperties_READ_ONLY()
+ public void NotificationProperties_READ_ONLY()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void Url_READ_WRITE()
+ public void Url_READ_WRITE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void AllowedNetworkType_All_READ_WRITE()
+ public void AllowedNetworkType_All_READ_WRITE()
{
try {
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void AllowedNetworkType_Wifi_READ_WRITE()
+ public void AllowedNetworkType_Wifi_READ_WRITE()
{
/* TEST CODE */
try {
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void AllowedNetworkType_WifiDirect_READ_WRITE()
+ public void AllowedNetworkType_WifiDirect_READ_WRITE()
{
/* TEST CODE */
try {
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void AllowedNetworkType_DataNetwork_READ_WRITE()
+ public void AllowedNetworkType_DataNetwork_READ_WRITE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void AllowedNetworkType_Default_READ()
+ public void AllowedNetworkType_Default_READ()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void DestinationPath_Default_READ()
+ public void DestinationPath_Default_READ()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void FileName_READ_WRITE()
+ public void FileName_READ_WRITE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void FileName_Default_READ()
+ public void FileName_Default_READ()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void AutoDownload_READ_WRITE()
+ public void AutoDownload_READ_WRITE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void AutoDownload_Default_READ()
+ public void AutoDownload_Default_READ()
{
/* TEST CODE */
try
}
}
- static void OnStateChangedTempPath(object sender, StateChangedEventArgs e)
+ void OnStateChangedTempPath(object sender, StateChangedEventArgs e)
{
Tizen.Log.Info("Tizen.Content.Download" , "OnStateChanged");
Request testRequest = (Request)sender;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static async Task TemporaryPath_READ()
+ public async Task TemporaryPath_READ()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void SetTemporaryFilePath_SET_TEMP_FILEPATH_OPERATION()
+ public void SetTemporaryFilePath_SET_TEMP_FILEPATH_OPERATION()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void TemporaryPath_Default_READ()
+ public void TemporaryPath_Default_READ()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void HttpHeaders_READ_WRITE()
+ public void HttpHeaders_READ_WRITE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void HttpHeaders_Default_READ()
+ public void HttpHeaders_Default_READ()
{
/* TEST CODE */
try
}
}
- static void OnStateChangedStart(object sender, StateChangedEventArgs e)
+ void OnStateChangedStart(object sender, StateChangedEventArgs e)
{
Tizen.Log.Info("Tizen.Content.Download" , "OnStateChanged");
switch (e.State)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static async Task Start_CHECK_START_OPERATION()
+ public async Task Start_CHECK_START_OPERATION()
{
/*
* PRECONDITION
Tizen.Log.Info("Tizen.Content.Download" , "TC Completed");
}
- static void OnStateChangedPause(object sender, StateChangedEventArgs e)
+ void OnStateChangedPause(object sender, StateChangedEventArgs e)
{
Tizen.Log.Info("Tizen.Content.Download" , "OnStateChanged");
Request testRequest = (Request)sender;
}
}
- static void OnStateChangedCancel(object sender, StateChangedEventArgs e)
+ void OnStateChangedCancel(object sender, StateChangedEventArgs e)
{
Tizen.Log.Info("Tizen.Content.Download" , "OnStateChanged"+e.State);
Request testRequest = (Request)sender;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static async Task Pause_CHECK_PAUSE_OPERATION()
+ public async Task Pause_CHECK_PAUSE_OPERATION()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static async Task Cancel_CHECK_CANCEL_OPERATION()
+ public async Task Cancel_CHECK_CANCEL_OPERATION()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static void Dispose_CHECK_DISPOSE_OPERATION()
+ public void Dispose_CHECK_DISPOSE_OPERATION()
{
/* TEST CODE */
try
[TestFixture]
[Description("Tizen.Content.Download.StateChangedEventArgs Tests.")]
- public static class StateChangedEventArgsTests {
- public static bool bFlag;
- public static bool isDownloadSupported = false;
- public static async Task waitFlag()
+ public class StateChangedEventArgsTests {
+ public bool bFlag;
+ public bool isDownloadSupported = false;
+ public async Task waitFlag()
{
int count = 0;
while (true)
}
[SetUp]
- public static void Init() {
+ public void Init() {
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG , "Preconditions for each Test");
bFlag = false;
Information.TryGetValue("http://tizen.org/feature/download", out isDownloadSupported);
}
[TearDown]
- public static void Destroy() {
+ public void Destroy() {
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG , "Postconditions for each Test");
}
- static void OnStateChanged(object sender, StateChangedEventArgs e)
+ void OnStateChanged(object sender, StateChangedEventArgs e)
{
Tizen.Log.Info("Tizen.Content.Download" , "OnStateChanged");
switch (e.State)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")]
- public static async Task State_EventArgs_READ_ONLY()
+ public async Task State_EventArgs_READ_ONLY()
{
/*
* PRECONDITION
[Description("Testing ElmSharp.Accessible.AccessibleObject class")]
public class AccessibleObjectTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Button _button;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Button _button;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_button != null)
}
}
- private static string AccessibleInfoProviderDelegate(AccessibleObject obj)
+ private string AccessibleInfoProviderDelegate(AccessibleObject obj)
{
return "Test AccessibleInfoProvider";
}
[Step(1, "Click run TC")]
[Step(2, "Click Pass if you can see the button is highlight and hear 'Highlight button', or click Fail.")]
[Postcondition(1, "Settings->Accessibility->Screen reader(TTS)->OFF")]
- public static async Task Highlight_LOOKS()
+ public async Task Highlight_LOOKS()
{
_button.Text = "Highlight";
((AccessibleObject)_button).Highlight();
[Step(1, "Click run TC")]
[Step(2, "Click Pass if you can see the button is unhighlight and hear nothing, or click Fail.")]
[Postcondition(1, "Settings->Accessibility->Screen reader(TTS)->OFF")]
- public static async Task Unhighlight_LOOKS()
+ public async Task Unhighlight_LOOKS()
{
_button.Text = "Unhighlight";
((AccessibleObject)_button).Unhighlight();
[Step(2, "Plz click AccessibleInfoProvider button.")]
[Step(3, "Click Pass if you can hear 'Test AccessibleInfoProvider button' when you click the button, or click Fail.")]
[Postcondition(1, "Settings->Accessibility->Screen reader(TTS)->OFF")]
- public static async Task AccessibleInfoProvider_LOOKS()
+ public async Task AccessibleInfoProvider_LOOKS()
{
_button.Text = "AccessibleInfoProvider";
((IAccessibleObject)_button).NameProvider = AccessibleInfoProviderDelegate;
[Description("Testing ElmSharp.Accessible.AccessibleUtil class")]
public class AccessibleUtilTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Button _button;
- private static Button _button2;
- private static Label _label;
- private static Box _box;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Button _button;
+ private Button _button2;
+ private Label _label;
+ private Box _box;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_box != null)
[Step(4, "Plz click 'Stop reading' button when you hear the number 5.")]
[Step(5, "Click Pass if the voice reading is not canceled and see the reading status is Stopped.")]
[Postcondition(1, "Settings->Accessibility->Screen reader(TTS)->OFF")]
- public static async Task Say_BEHAVIOR_FALSE()
+ public async Task Say_BEHAVIOR_FALSE()
{
_button.Text = "Say with false";
_button2.Text = "Stop reading";
[Step(4, "Plz click 'Stop reading' button when you hear the number 5.")]
[Step(5, "Click Pass if the voice reading is canceled and see the reading status is Stopped.")]
[Postcondition(1, "Settings->Accessibility->Screen reader(TTS)->OFF")]
- public static async Task Say_BEHAVIOR_TRUE()
+ public async Task Say_BEHAVIOR_TRUE()
{
_button.Text = "Say with true";
_button2.Text = "Stop reading";
[Description("Testing ElmSharp.Box class")]
public class BoxTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Box _box, _box2;
- private static Button _button, _button1, _button2;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Box _box, _box2;
+ private Button _button, _button1, _button2;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
_box = new Box(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_box != null)
}
}
- private static void OnClicked(object sender, EventArgs e)
+ private void OnClicked(object sender, EventArgs e)
{
_box.SetLayoutCallback(OnSetLayout);
var niviframe = _testPage.getNavigationPage();
niviframe.Pop();
}
- private static void OnClicked_UnPack(object sender, EventArgs e)
+ private void OnClicked_UnPack(object sender, EventArgs e)
{
_box.UnPack(_button2);
_box.Hide();
}
}
- private static void OnClicked_UnPackAll(object sender, EventArgs e)
+ private void OnClicked_UnPackAll(object sender, EventArgs e)
{
_box.UnPackAll();
_box.Hide();
}
}
- private static void CreateBoxPage()
+ private void CreateBoxPage()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_testPage.ExecuteTCByPage(_box2);
}
- private static Action OnSetLayout = () =>
+ private Action OnSetLayout = () =>
{
ManualTest.Confirm();
};
[Step(1, "Click run Button")]
[Step(2, "Click button in box page.")]
[Postcondition(1, "NA")]
- public static async Task SetLayoutCallback_CHECK()
+ public async Task SetLayoutCallback_CHECK()
{
CreateBoxPage();
_button.Clicked += OnClicked;
[Step(1, "Click run Button")]
[Step(2, "Click button in box page.")]
[Postcondition(1, "If button 1 disappeared and Button 2 didn't disappeared after clicking, return and click 'Pass' Button")]
- public static async Task UnPack_CHECK()
+ public async Task UnPack_CHECK()
{
CreateBoxPage();
_button.Clicked += OnClicked_UnPack;
[Step(1, "Click run Button")]
[Step(2, "Click button in box page.")]
[Postcondition(1, "If all buttons didn't disappeared after clicking, return and click 'Pass' Button")]
- public static async Task UnPackAll_CHECK()
+ public async Task UnPackAll_CHECK()
{
CreateBoxPage();
_button.Clicked += OnClicked_UnPackAll;
[Description("Testing ElmSharp.Button class")]
public class ButtonTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Button _button;
- private static Window _window = MainWindow.GetInstance();
- private static int _repeatTimes;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Button _button;
+ private Window _window = MainWindow.GetInstance();
+ private int _repeatTimes;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_button != null)
}
}
- private static void CreateButton(string buttonText)
+ private void CreateButton(string buttonText)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateButton");
_testPage.ExecuteTC(_button);
}
- private static void CreateButtonPage(string buttonText)
+ private void CreateButtonPage(string buttonText)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_testPage.ExecuteTCByPage(layout);
}
- private static void OnClick(object sender, EventArgs e)
+ private void OnClick(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- public static void OnPressed(object sender, EventArgs e)
+ public void OnPressed(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- public static void OnReleased(object sender, EventArgs e)
+ public void OnReleased(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- public static void OnRepeated(object sender, EventArgs e)
+ public void OnRepeated(object sender, EventArgs e)
{
_repeatTimes++;
if (_repeatTimes > 5) {
[Step(1, "Click run TC")]
[Step(2, "Click button")]
[Postcondition(1, "NA")]
- public static async Task Clicked_CB()
+ public async Task Clicked_CB()
{
CreateButton("Click me!! Test: Handle event click button");
_button.Clicked += OnClick;
[Step(1, "Click run TC")]
[Step(2, "Press button and don't release it.")]
[Postcondition(1, "NA")]
- public static async Task Pressed_CB()
+ public async Task Pressed_CB()
{
CreateButton("Press me!! Test: Handle event press button");
_button.Pressed += OnPressed;
[Step(1, "Click run TC")]
[Step(2, "Click button after new page shown")]
[Postcondition(1, "NA")]
- public static async Task Released_CB()
+ public async Task Released_CB()
{
CreateButton("Press and release me!! Test: Handle event released button");
_button.Released += OnReleased;
[Step(2, "Press and don't release button.")]
[Step(3, "Please, click pass button, if button text is chagned, ")]
[Postcondition(1, "NA")]
- public static async Task Repeated_CB()
+ public async Task Repeated_CB()
{
_repeatTimes = 0;
CreateButton("Press and don't release me!! Test: Handle event Repeated button");
[Description("Testing ElmSharp.Calendar class")]
public class CalendarTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Calendar _Calendar;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Calendar _Calendar;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_Calendar != null)
}
}
- private static void CreateCalendarPage(string CalendarText)
+ private void CreateCalendarPage(string CalendarText)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_testPage.ExecuteTCByPage(layout);
}
- private static string DateFormatDelegate(DateTime dateTime)
+ private string DateFormatDelegate(DateTime dateTime)
{
return dateTime.ToString("yyyy/M/d");
}
- private static void OnDateChanged(object sender, EventArgs e)
+ private void OnDateChanged(object sender, EventArgs e)
{
var niviframe = _testPage.getNavigationPage();
if (niviframe != null)
ManualTest.Confirm();
}
- public static void OnDisplayedMonthChanged(object sender, EventArgs e)
+ public void OnDisplayedMonthChanged(object sender, EventArgs e)
{
var niviframe = _testPage.getNavigationPage();
if (niviframe != null)
[Step(1, "Click run Button")]
[Step(2, "Choose another date.")]
[Postcondition(1, "NA")]
- public static async Task DateChanged_CB()
+ public async Task DateChanged_CB()
{
CreateCalendarPage("Click me!! Test: Handle event DateChanged");
// Waits for user confirmation.
[Step(1, "Click run Button")]
[Step(2, "Change Calendar's month.")]
[Postcondition(1, "NA")]
- public static async Task DisplayedMonthChanged_CB()
+ public async Task DisplayedMonthChanged_CB()
{
CreateCalendarPage("Press me!! Test: Handle event DisplayedMonthChanged");
_Calendar.DisplayedMonthChanged += OnDisplayedMonthChanged;
[Description("Testing ElmSharp.Check class")]
public class CheckTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Check _Check;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Check _Check;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_Check != null)
}
}
- private static void CreateCheck()
+ private void CreateCheck()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_Check = new Check(_window);
_Check.StateChanged -= OnStateChanged;
}
- private static void OnStateChanged(object sender, EventArgs e)
+ private void OnStateChanged(object sender, EventArgs e)
{
ManualTest.Confirm();
}
[Step(1, "Click run Button")]
[Step(2, "Chang Check's state.")]
[Postcondition(1, "NA")]
- public static async Task StateChanged_CB()
+ public async Task StateChanged_CB()
{
CreateCheck();
// Waits for user confirmation.
[Description("Testing ElmSharp.ContextPopup class")]
public class ContextPopupTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static ContextPopup _contextPopup;
- private static Button _button;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private ContextPopup _contextPopup;
+ private Button _button;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
_contextPopup = new ContextPopup(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_contextPopup != null)
}
}
- private static void OnClick(object sender, EventArgs e)
+ private void OnClick(object sender, EventArgs e)
{
_contextPopup.Dismiss();
}
- private static void CreateContextPopup()
+ private void CreateContextPopup()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_contextPopup = new ContextPopup(_window);
_testPage.ExecuteTCByPage(layout);
}
- private static void OnDismissed(object sender, EventArgs e)
+ private void OnDismissed(object sender, EventArgs e)
{
var niviframe = _testPage.getNavigationPage();
if (niviframe != null)
[Step(1, "Click run Button")]
[Step(2, "Click button to dismiss the ContextPopup.")]
[Postcondition(1, "NA")]
- public static async Task Dismissed_CB()
+ public async Task Dismissed_CB()
{
CreateContextPopup();
_contextPopup.Dismissed += OnDismissed;
[Description("Testing ElmSharp.ContextPopupItem class")]
public class ContextPopupItemTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static ContextPopup _contextPopup;
- private static ContextPopupItem _contextPopupItem;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private ContextPopup _contextPopup;
+ private ContextPopupItem _contextPopupItem;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
_contextPopup = new ContextPopup(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_contextPopup != null)
}
}
- private static void CreateContextPopupItem()
+ private void CreateContextPopupItem()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_contextPopup = new ContextPopup(_window);
}
- private static void OnSelected(object sender, EventArgs e)
+ private void OnSelected(object sender, EventArgs e)
{
var niviframe = _testPage.getNavigationPage();
if (niviframe != null)
[Step(1, "Click run Button")]
[Step(2, "Click button to select the ContextPopupItem.")]
[Postcondition(1, "NA")]
- public static async Task Selected_CB()
+ public async Task Selected_CB()
{
CreateContextPopupItem();
_contextPopupItem.Selected += OnSelected;
[Description("Testing ElmSharp.DateTimeSelector class")]
public class DateTimeSelectorTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static DateTimeSelector _dateTimeSelector;
- private static Window _window = MainWindow.GetInstance();
- private static DateTime _oldDateTime;
+ private TestPage _testPage = TestPage.GetInstance();
+ private DateTimeSelector _dateTimeSelector;
+ private Window _window = MainWindow.GetInstance();
+ private DateTime _oldDateTime;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_dateTimeSelector != null)
}
}
- private static void CreateDateTimeSelector()
+ private void CreateDateTimeSelector()
{
_dateTimeSelector = new DateTimeSelector(_window)
{
};
}
- private static void OnDateTimeChanged(object sender, EventArgs e)
+ private void OnDateTimeChanged(object sender, EventArgs e)
{
if (_dateTimeSelector.DateTime == _oldDateTime.AddDays(1))
{
[Step(2, "Plz change time to next day.")]
[Step(3, "Testcase result will show automatically.")]
[Postcondition(1, "NA")]
- public static async Task OnRealized_CB()
+ public async Task OnRealized_CB()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) != 0)
{
[Description("Testing ElmSharp.EcoreEvent<TEventArgs> class")]
public class EcoreEventTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static EcoreEvent<EcoreKeyEventArgs> _ecoreEvent;
- private static Box _box;
- private static Label _label;
- private static Button _btn;
- private static MainWindow _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private EcoreEvent<EcoreKeyEventArgs> _ecoreEvent;
+ private Box _box;
+ private Label _label;
+ private Button _btn;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) != 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_ecoreEvent != null)
}
}
- private static void CreateLayout()
+ private void CreateLayout()
{
_box = new Box(_window)
{
_box.PackEnd(_btn);
}
- private static EcoreKeyEventArgs EventInfoParserDelegate(IntPtr data, EcoreEventType type, IntPtr info)
+ private EcoreKeyEventArgs EventInfoParserDelegate(IntPtr data, EcoreEventType type, IntPtr info)
{
if (type == EcoreEventType.KeyDown)
{
return new EcoreKeyEventArgs();
}
- private static void OnKeyDown(object s, EcoreKeyEventArgs e)
+ private void OnKeyDown(object s, EcoreKeyEventArgs e)
{
if (e.KeyName == "XF86Menu")
{
}
}
- private static void OnMenuDown(object s, EcoreKeyEventArgs e)
+ private void OnMenuDown(object s, EcoreKeyEventArgs e)
{
_label.Text = e.KeyName + " trigger event";
}
- private static void OnClicked(object s, EventArgs e)
+ private void OnClicked(object s, EventArgs e)
{
_ecoreEvent.Dispose();
_label.Text = "After Dispose";
[Step(2, "Plz click menu key.")]
[Step(3, "Testcase result will show automatically.")]
[Postcondition(1, "NA")]
- public static async Task EventInfoParser_CHECK()
+ public async Task EventInfoParser_CHECK()
{
_ecoreEvent = new EcoreEvent<EcoreKeyEventArgs>(EcoreEventType.KeyDown, EventInfoParserDelegate);
_ecoreEvent.On += OnKeyDown;
[Step(4, "Plz click menu key, and it will not show 'XF86Menu trigger event'.")]
[Step(5, "If it is, plz click Pass, or Fail.")]
[Postcondition(1, "NA")]
- public static async Task Dispose_CHECK()
+ public async Task Dispose_CHECK()
{
CreateLayout();
_btn.Clicked += OnClicked;
[Description("Testing ElmSharp.EcoreEvent<TEventArgs> class")]
public class EcoreEventTemplateTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static MainWindow _window = MainWindow.GetInstance();
- private static EcoreEvent<EventArgs> _ecoreEventTemplate;
+ private TestPage _testPage = TestPage.GetInstance();
+ private MainWindow _window = MainWindow.GetInstance();
+ private EcoreEvent<EventArgs> _ecoreEventTemplate;
[SetUp]
- public static void Init()
+ public void Init()
{
_ecoreEventTemplate = new EcoreEvent<EventArgs>( EcoreEventType.MouseButtonDown);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_ecoreEventTemplate != null)
{
[Description("Testing ElmSharp.EcoreKeyEventArgs class")]
public class TSEcoreKeyEventArgs
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static EcoreEvent<EcoreKeyEventArgs> _ecoreEvent;
- private static MainWindow _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private EcoreEvent<EcoreKeyEventArgs> _ecoreEvent;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) != 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_ecoreEvent != null)
}
}
- private static void OnKeyDown_KeyName(object obj, EcoreKeyEventArgs e)
+ private void OnKeyDown_KeyName(object obj, EcoreKeyEventArgs e)
{
if (e.KeyName == "XF86Menu")
{
}
}
- private static void OnKeyDown_KeyCode(object obj, EcoreKeyEventArgs e)
+ private void OnKeyDown_KeyCode(object obj, EcoreKeyEventArgs e)
{
if (e.KeyCode == 177)
{
[Step(1, "Click Run TC")]
[Step(2, "Press menu key.")]
[Postcondition(1, "NA")]
- public static async Task KeyName_PROPERTY_GET()
+ public async Task KeyName_PROPERTY_GET()
{
_ecoreEvent = new EcoreEvent<EcoreKeyEventArgs>(EcoreEventType.KeyDown, EcoreKeyEventArgs.Create);
_ecoreEvent.On += OnKeyDown_KeyName;
[Step(1, "Click Run TC")]
[Step(2, "Press menu key.")]
[Postcondition(1, "NA")]
- public static async Task KeyCode_PROPERTY_GET()
+ public async Task KeyCode_PROPERTY_GET()
{
_ecoreEvent = new EcoreEvent<EcoreKeyEventArgs>(EcoreEventType.KeyDown, EcoreKeyEventArgs.Create);
_ecoreEvent.On += OnKeyDown_KeyCode;
[Description("Testing ElmSharp.EcoreTimelineAnimator class")]
public class EcoreTimelineAnimatorTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Window _window = MainWindow.GetInstance();
- private static EcoreTimelineAnimator _timelineAnimator;
- private static MyEcoreTimelineAnimator _myTimelineAnimator;
- private static Rectangle _square;
- private static Rect _rect;
- private static Box _box;
- private static Label _label;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Window _window = MainWindow.GetInstance();
+ private EcoreTimelineAnimator _timelineAnimator;
+ private MyEcoreTimelineAnimator _myTimelineAnimator;
+ private Rectangle _square;
+ private Rect _rect;
+ private Box _box;
+ private Label _label;
public class MyEcoreTimelineAnimator : EcoreTimelineAnimator
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_box != null)
return square;
}
- private static void OnTimeline()
+ private void OnTimeline()
{
int X1 = _rect.X;
int Y1 = _rect.Y;
_square.Move(x, y);
}
- private static void MyOnTimeline()
+ private void MyOnTimeline()
{
_square.Color = Color.Blue;
_label.Text = "OnTimeline() called";
}
- private static void OnClickedByMyOnTimeline(object sender, EventArgs e)
+ private void OnClickedByMyOnTimeline(object sender, EventArgs e)
{
((Button)sender).IsEnabled = false;
_myTimelineAnimator.MyOnTimeline();
}
- private static void OnClickedByCheckRunning(object sender, EventArgs e)
+ private void OnClickedByCheckRunning(object sender, EventArgs e)
{
if (_timelineAnimator.IsRunning)
{
}
}
- private static void OnFinished(object sender, EventArgs e)
+ private void OnFinished(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- private static void OnClickedByStart(object sender, EventArgs e)
+ private void OnClickedByStart(object sender, EventArgs e)
{
_rect = _square.Geometry;
((Button)sender).IsEnabled = false;
_timelineAnimator.Start();
}
- private static void OnClickedByFreeze(object sender, EventArgs e)
+ private void OnClickedByFreeze(object sender, EventArgs e)
{
((Button)sender).IsEnabled = false;
_timelineAnimator.Freeze();
}
- private static void OnClickedByStop(object sender, EventArgs e)
+ private void OnClickedByStop(object sender, EventArgs e)
{
((Button)sender).IsEnabled = false;
_timelineAnimator.Stop();
}
- private static void OnClickedByThaw(object sender, EventArgs e)
+ private void OnClickedByThaw(object sender, EventArgs e)
{
((Button)sender).IsEnabled = false;
_timelineAnimator.Thaw();
[Description("Testing ElmSharp.EffecBase class")]
public class EffectBaseTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Window _window = MainWindow.GetInstance();
- private static Transit _trans = null;
- private static Button _btn = null;
- private static RotationEffect _effect = null;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Window _window = MainWindow.GetInstance();
+ private Transit _trans = null;
+ private Button _btn = null;
+ private RotationEffect _effect = null;
- private static Box _box;
+ private Box _box;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_box != null)
niviframe.Pop();
}
- private static void CreateTransit()
+ private void CreateTransit()
{
_trans = new Transit();
_trans.Duration = 2;
}
- private static void CreateBtn(string text)
+ private void CreateBtn(string text)
{
_btn = new Button(_window)
{
}
- private static void _Confirm(object sender, EventArgs e)
+ private void _Confirm(object sender, EventArgs e)
{
ManualTest.Confirm();
}
[Step(1, "Click run TC")]
[Step(2, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task EffectEnded_CB()
+ public async Task EffectEnded_CB()
{
CreateTransit();
CreateBtn("Please wait");
[Description("Testing ElmSharp.Entry class")]
public class TSEntry
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Entry _entry;
- private static Box _layout;
- private static Button _button1, _button2;
- private static Label _label;
- private static MainWindow _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Entry _entry;
+ private Box _layout;
+ private Button _button1, _button2;
+ private Label _label;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_entry = new Entry(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_entry != null)
}
}
- private static void CreateLabel()
+ private void CreateLabel()
{
_label = new Label(_window)
{
_label.Show();
}
- private static void CreateEntry()
+ private void CreateEntry()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_layout = new Box(_window)
_testPage.ExecuteTC(_layout);
}
- private static void CreateEntryPage(string title)
+ private void CreateEntryPage(string title)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_layout = new Box(_window)
_testPage.ExecuteTC(_layout);
}
- private static void CreateEntryPage2(string title1, string title2)
+ private void CreateEntryPage2(string title1, string title2)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_layout = new Box(_window)
_testPage.ExecuteTC(_layout);
}
- public static string SetFilter(Entry entry, string text)
+ public string SetFilter(Entry entry, string text)
{
if (text.Equals("t"))
return "Tizen";
return text;
}
- private static void Confirm(object sender, EventArgs e)
+ private void Confirm(object sender, EventArgs e)
{
Assert.True(true);
ManualTest.Confirm();
}
- private static void SelectNone(object sender, EventArgs e)
+ private void SelectNone(object sender, EventArgs e)
{
_entry.SelectNone();
}
- private static void SelectAll(object sender, EventArgs e)
+ private void SelectAll(object sender, EventArgs e)
{
_entry.SelectAll();
}
- private static void OnClickedByAppendText(object sender, EventArgs e)
+ private void OnClickedByAppendText(object sender, EventArgs e)
{
_button1.IsEnabled = false;
_entry.AppendText("456");
}
- private static void OnClickedByBeginCursorSelection(object sender, EventArgs e)
+ private void OnClickedByBeginCursorSelection(object sender, EventArgs e)
{
_button1.IsEnabled = false;
_entry.CursorPosition = 1;
}
}
- private static void OnClickedByEndCursorSelection(object sender, EventArgs e)
+ private void OnClickedByEndCursorSelection(object sender, EventArgs e)
{
_button1.IsEnabled = false;
_entry.CursorPosition = 2;
}
}
- private static void OnClickedByCopySelection(object sender, EventArgs e)
+ private void OnClickedByCopySelection(object sender, EventArgs e)
{
_button1.IsEnabled = false;
_entry.SelectAll();
_entry.CopySelection();
}
- private static void OnClickedByCutSelection(object sender, EventArgs e)
+ private void OnClickedByCutSelection(object sender, EventArgs e)
{
_button1.IsEnabled = false;
_entry.SelectAll();
_entry.CutSelection();
}
- private static void OnClickedByDisableSelection(object sender, EventArgs e)
+ private void OnClickedByDisableSelection(object sender, EventArgs e)
{
_entry.SelectNone();
}
}
- private static void OnClickedByForceCalculation(object sender, EventArgs e)
+ private void OnClickedByForceCalculation(object sender, EventArgs e)
{
_button1.IsEnabled = false;
_entry.ForceCalculation();
}
- private static void OnClickedByGetCursorContent(object sender, EventArgs e)
+ private void OnClickedByGetCursorContent(object sender, EventArgs e)
{
if (_entry.Text.Substring(11, 1) == _entry.GetCursorContent())
{
}
}
- private static void OnClickedByGetSelection(object sender, EventArgs e)
+ private void OnClickedByGetSelection(object sender, EventArgs e)
{
_entry.SelectAll();
}
}
- private static void OnClickedByHideInputPanel(object sender, EventArgs e)
+ private void OnClickedByHideInputPanel(object sender, EventArgs e)
{
_entry.HideInputPanel();
}
- private static void OnClickedByShowInputPanel(object sender, EventArgs e)
+ private void OnClickedByShowInputPanel(object sender, EventArgs e)
{
_entry.ShowInputPanel();
}
- private static void OnClickedByInsertTextToCursor(object sender, EventArgs e)
+ private void OnClickedByInsertTextToCursor(object sender, EventArgs e)
{
_button1.IsEnabled = false;
_entry.InsertTextToCursor("InsertText");
}
- private static void OnClickedByPasteSelection(object sender, EventArgs e)
+ private void OnClickedByPasteSelection(object sender, EventArgs e)
{
_entry.PasteSelection();
}
- private static void OnClickedByRemoveMarkUpFilter(object sender, EventArgs e)
+ private void OnClickedByRemoveMarkUpFilter(object sender, EventArgs e)
{
_entry.RemoveMarkUpFilter(SetFilter);
_button1.IsEnabled = false;
}
- private static void OnClickedByExistsFile(object sender, EventArgs e)
+ private void OnClickedByExistsFile(object sender, EventArgs e)
{
if (File.Exists(@"/tmp/testfile.txt"))
{
}
}
- private static void OnClickedBySaveFile(object sender, EventArgs e)
+ private void OnClickedBySaveFile(object sender, EventArgs e)
{
_entry.SaveFile();
}
}
- private static EvasObject ItemProvider(string s)
+ private EvasObject ItemProvider(string s)
{
Image img = new Image(_window);
img.Show();
[Description("Testing ElmSharp.EvasCanvas class")]
public class EvasCanvasTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static EvasObject _evasObject;
- private static Button _button;
- private static Label _resultlabel;
- private static Image _image;
- private static MainWindow _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private EvasObject _evasObject;
+ private Button _button;
+ private Label _resultlabel;
+ private Image _image;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_evasObject = (EvasObject)new Polygon(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_button != null)
}
}
- private static void CreateResultLabel(string text)
+ private void CreateResultLabel(string text)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateEvasObject");
_resultlabel = new Label(_window)
_testPage.ExecuteTC(_resultlabel);
}
- private static void CreateResultButton(string text)
+ private void CreateResultButton(string text)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateEvasObject");
_button = new Button(_window)
_testPage.ExecuteTC(_button);
}
- private static void Confirm(object sender, EventArgs e)
+ private void Confirm(object sender, EventArgs e)
{
Assert.True(true);
ManualTest.Confirm();
}
- private static void OnDeleted(object sender, EventArgs e)
+ private void OnDeleted(object sender, EventArgs e)
{
_button.Text = "deleted event invoked";
}
- private static void OnPost(object sender, EventArgs e)
+ private void OnPost(object sender, EventArgs e)
{
Assert.True(true);
ManualTest.Confirm();
}
- private static void ToMove(object sender, EventArgs e)
+ private void ToMove(object sender, EventArgs e)
{
_evasObject.Move(2, 2);
}
- private static void OnAddEvent()
+ private void OnAddEvent()
{
ManualTest.Confirm();
}
- private static void OnDeleteEvent()
+ private void OnDeleteEvent()
{
_image.Resize(300, 300);
}
- private static void OnImageCacheSize()
+ private void OnImageCacheSize()
{
if (_image == null)
return;
}
}
- private static void OnPointer(object sender, EventArgs e)
+ private void OnPointer(object sender, EventArgs e)
{
if (_image == null)
return;
[Step(1, "Click Run TC")]
[Step(2, "Testcase result will show automatically.")]
[Postcondition(1, "NA")]
- public static async Task AddEventAction_CHECK()
+ public async Task AddEventAction_CHECK()
{
_image = new Image(_window)
{
[Step(1, "Click Run TC")]
[Step(2, "If there's no change after click the image, click Pass, or Fail.")]
[Postcondition(1, "NA")]
- public static async Task DeleteEventAction_CHECK()
+ public async Task DeleteEventAction_CHECK()
{
_image = new Image(_window)
{
[Step(1, "Click Run TC")]
[Step(2, "Testcase result will show automatically.")]
[Postcondition(1, "NA")]
- public static async Task ImageCacheSize_CHECK()
+ public async Task ImageCacheSize_CHECK()
{
_image = new Image(_window)
{
[Step(2, "Click the image.")]
[Step(3, "Testcase result will show automatically.")]
[Postcondition(1, "NA")]
- public static async Task Pointer_CHECK()
+ public async Task Pointer_CHECK()
{
_image = new Image(_window)
{
[Description("Testing ElmSharp.EvasImage class")]
public class EvasImageTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Box _box;
- private static Button _button;
- private static EvasImage _evasImage1;
- private static EvasImage _evasImage2;
- private static EvasImage _evasImage3;
- private static Image _img1;
- private static Image _img2;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Box _box;
+ private Button _button;
+ private EvasImage _evasImage1;
+ private EvasImage _evasImage2;
+ private EvasImage _evasImage3;
+ private Image _img1;
+ private Image _img2;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_box != null)
}
}
- private static Box CreateBox()
+ private Box CreateBox()
{
Box box = new Box(_window)
{
return box;
}
- private static EvasImage CreateEvasImage()
+ private EvasImage CreateEvasImage()
{
EvasImage evasImage = new EvasImage(_window)
{
return evasImage;
}
- private static Image CreateImage(String file)
+ private Image CreateImage(String file)
{
Image image = new Image(_window)
{
return image;
}
- private static void OnClicked(object sender, EventArgs e)
+ private void OnClicked(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- private static void OnClickedByVisible(object sender, EventArgs e)
+ private void OnClickedByVisible(object sender, EventArgs e)
{
_img1.Hide();
_evasImage2.IsSourceVisible = false;
}
- private static void OnClickedBySaveFile(object sender, EventArgs e)
+ private void OnClickedBySaveFile(object sender, EventArgs e)
{
_evasImage1.Save(@"/tmp/testfile.png", null, "quality=100 compress=0");
[Description("Testing ElmSharp.EvasKeyEventArgs class")]
public class TSEvasKeyEventArgs
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static EvasKeyEventArgs _evasKeyEventArgs;
- private static MainWindow _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private EvasKeyEventArgs _evasKeyEventArgs;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) != 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_evasKeyEventArgs != null)
}
}
- private static void OnMenuKeydown(object obj, EvasKeyEventArgs evs)
+ private void OnMenuKeydown(object obj, EvasKeyEventArgs evs)
{
_evasKeyEventArgs = evs;
if (evs.KeyName == "XF86Menu")
ManualTest.Confirm();
}
- private static void OnMenuKeydown2(object obj, EvasKeyEventArgs evs)
+ private void OnMenuKeydown2(object obj, EvasKeyEventArgs evs)
{
evs.Flags = EvasEventFlag.None;
Assert.AreEqual(EvasEventFlag.None, evs.Flags, "The Flags should be EvasEventFlag.None.");
[Step(1, "Click Run TC")]
[Step(2, "Press menu key.")]
[Postcondition(1, "NA")]
- public static async Task KeyName_PROPERTY_GET()
+ public async Task KeyName_PROPERTY_GET()
{
EvasObject evasObject = new Polygon(_window);
evasObject.KeyGrab(EvasKeyEventArgs.PlatformMenuButtonName, false);
[Step(1, "Click Run TC")]
[Step(2, "Press menu key.")]
[Postcondition(1, "NA")]
- public static async Task Flags_PROPERTY_SET_GET()
+ public async Task Flags_PROPERTY_SET_GET()
{
EvasObject evasObject = new Polygon(_window);
evasObject.KeyGrab(EvasKeyEventArgs.PlatformMenuButtonName, false);
[Description("Testing ElmSharp.EvasMap class")]
public class EvasMapTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Box _box;
- private static Box _group;
- private static Button _zoomBtn;
- private static Button _rotateBtn;
- private static Label _xLabel;
- private static Label _yLabel;
- private static double _angle = 0.0;
- private static double _x = 1.0;
- private static double _y = 1.0;
- private static MainWindow _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Box _box;
+ private Box _group;
+ private Button _zoomBtn;
+ private Button _rotateBtn;
+ private Label _xLabel;
+ private Label _yLabel;
+ private double _angle = 0.0;
+ private double _x = 1.0;
+ private double _y = 1.0;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_box != null)
}
}
- private static void CreateEvasMap()
+ private void CreateEvasMap()
{
_box = new Box(_window)
{
_testPage.ExecuteTC(_box);
}
- private static void OnClickedForPopulate1(object sender, EventArgs e)
+ private void OnClickedForPopulate1(object sender, EventArgs e)
{
_x += 0.5;
_y += 0.5;
_xLabel.IsMapEnabled = true;
}
- private static void OnClickedForPopulate2(object sender, EventArgs e)
+ private void OnClickedForPopulate2(object sender, EventArgs e)
{
_x += 0.5;
_y += 0.5;
_yLabel.IsMapEnabled = true;
}
- private static void OnClickedForPopulate3(object sender, EventArgs e)
+ private void OnClickedForPopulate3(object sender, EventArgs e)
{
_x += 0.5;
_y += 0.5;
_group.IsMapEnabled = true;
}
- private static void OnClickedForRotate1(object sender, EventArgs e)
+ private void OnClickedForRotate1(object sender, EventArgs e)
{
_angle += 45.0;
var map = new EvasMap(4);
_xLabel.IsMapEnabled = true;
}
- private static void OnClickedForRotate2(object sender, EventArgs e)
+ private void OnClickedForRotate2(object sender, EventArgs e)
{
_angle += 45.0;
var map = new EvasMap(4);
_group.IsMapEnabled = true;
}
- private static void OnClickedForZoom(object sender, EventArgs e)
+ private void OnClickedForZoom(object sender, EventArgs e)
{
_x += 0.5;
_y += 0.5;
[Step(2, "Click 'Zoom X' button")]
[Step(2, "Click Pass if zoom in on 'X', or click Fail.")]
[Postcondition(1, "NA")]
- public static async Task PopulatePoints_PARAM1()
+ public async Task PopulatePoints_PARAM1()
{
CreateEvasMap();
_rotateBtn.Hide();
[Step(2, "Click 'Zoom Y' button")]
[Step(2, "Click Pass if zoom in on 'Y', or click Fail.")]
[Postcondition(1, "NA")]
- public static async Task PopulatePoints_PARAM2()
+ public async Task PopulatePoints_PARAM2()
{
CreateEvasMap();
_rotateBtn.Hide();
[Step(2, "Click 'Zoom XYZ' button")]
[Step(2, "Click Pass if zoom in on 'XYZ', or click Fail.")]
[Postcondition(1, "NA")]
- public static async Task PopulatePoints_RECT()
+ public async Task PopulatePoints_RECT()
{
CreateEvasMap();
_rotateBtn.Hide();
[Step(2, "Click 'Rotate X' button")]
[Step(2, "Click Pass if rotate on 'X', or click Fail.")]
[Postcondition(1, "NA")]
- public static async Task Rotate_CHECK()
+ public async Task Rotate_CHECK()
{
CreateEvasMap();
_zoomBtn.Hide();
[Step(2, "Click 'Rotate XYZ' button")]
[Step(2, "Click Pass if rotate on 'XYZ', or click Fail.")]
[Postcondition(1, "NA")]
- public static async Task Rotate3D_CHECK()
+ public async Task Rotate3D_CHECK()
{
CreateEvasMap();
_zoomBtn.Hide();
[Step(2, "Click 'Zoom' button")]
[Step(2, "Click Pass if zoom in on 'XYZ', or click Fail.")]
[Postcondition(1, "NA")]
- public static async Task Zoom_CHECK()
+ public async Task Zoom_CHECK()
{
CreateEvasMap();
_rotateBtn.Hide();
[Description("Testing ElmSharp.EvasObject class")]
public class EvasObjectTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static EvasObject _evasObject;
- private static Button _button;
- private static Label _resultlabel;
- private static MainWindow _window = MainWindow.GetInstance();
- private static Box _box;
- private static Box _innerbox;
- private static MyButton _mybtn;
+ private TestPage _testPage = TestPage.GetInstance();
+ private EvasObject _evasObject;
+ private Button _button;
+ private Label _resultlabel;
+ private MainWindow _window = MainWindow.GetInstance();
+ private Box _box;
+ private Box _innerbox;
+ private MyButton _mybtn;
private static bool _isInvalidate = false;
public EvasObjectTests() : base()
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_evasObject = (EvasObject)new Polygon(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_box != null)
_isInvalidate = false;
}
- private static void CreateResultLabel(string text)
+ private void CreateResultLabel(string text)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateEvasObject");
_resultlabel = new Label(_window)
_testPage.ExecuteTC(_resultlabel);
}
- private static void CreateResultButton(string text)
+ private void CreateResultButton(string text)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateEvasObject");
_button = new Button(_window)
_testPage.ExecuteTC(_button);
}
- public static EvasObject GetTooltipContent()
+ public EvasObject GetTooltipContent()
{
var label = new Label(_window)
{
return label;
}
- private static void Confirm(object sender, EventArgs e)
+ private void Confirm(object sender, EventArgs e)
{
Assert.True(true);
ManualTest.Confirm();
}
- private static void DeleteMyParentBox(object sender, EventArgs e)
+ private void DeleteMyParentBox(object sender, EventArgs e)
{
_innerbox.Unrealize();
_innerbox = null;
}
- private static void OnDeleted(object sender, EventArgs e)
+ private void OnDeleted(object sender, EventArgs e)
{
Assert.True(true);
ManualTest.Confirm();
}
- private static void DeleteObject(object sender, EventArgs e)
+ private void DeleteObject(object sender, EventArgs e)
{
_evasObject.Unrealize();
}
- private static void OnPost(object sender, EventArgs e)
+ private void OnPost(object sender, EventArgs e)
{
Assert.True(true);
ManualTest.Confirm();
}
- private static void ToMove(object sender, EventArgs e)
+ private void ToMove(object sender, EventArgs e)
{
_evasObject.Move(2, 2);
}
- private static void OnCalculate(object sender, EventArgs e)
+ private void OnCalculate(object sender, EventArgs e)
{
_box.Calculate();
}
[Description("Testing ElmSharp.EvasObjectEvent class")]
public class TSEvasObjectEvent
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Box _box;
- private static EvasObject _evasObject;
- private static EvasObjectEvent _evasObjectEvent;
- private static EvasObjectEvent _evasObjectEvent2;
- private static EvasObjectEvent<EventArgs> _evasObjectEvent3;
- private static Button _button;
- private static Button _DisButton;
- private static MainWindow _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Box _box;
+ private EvasObject _evasObject;
+ private EvasObjectEvent _evasObjectEvent;
+ private EvasObjectEvent _evasObjectEvent2;
+ private EvasObjectEvent<EventArgs> _evasObjectEvent3;
+ private Button _button;
+ private Button _DisButton;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_evasObject = (EvasObject)new Polygon(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_box != null)
}
}
- private static void CreateResultButton(string text)
+ private void CreateResultButton(string text)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateEvasObject");
_button = new Button(_window)
_testPage.ExecuteTC(_button);
}
- private static void CreateLayout(string text1, string text2)
+ private void CreateLayout(string text1, string text2)
{
_box = new Box(_window)
{
_testPage.ExecuteTC(_box);
}
- private static EventArgs SmartEventInfoParserDelegate(IntPtr data, IntPtr obj, IntPtr info)
+ private EventArgs SmartEventInfoParserDelegate(IntPtr data, IntPtr obj, IntPtr info)
{
return new EventArgs();
}
- private static void On(object sender, EventArgs e)
+ private void On(object sender, EventArgs e)
{
_button.Text = "Success!";
}
- private static void On2(object sender, EventArgs e)
+ private void On2(object sender, EventArgs e)
{
_DisButton.Text += "+";
}
- private static void On3(object sender, EventArgs e)
+ private void On3(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- private static void ToResize(object sender, EventArgs e)
+ private void ToResize(object sender, EventArgs e)
{
_evasObject.Resize(2, 1);
}
- private static void ToDispose(object sender, EventArgs e)
+ private void ToDispose(object sender, EventArgs e)
{
_evasObjectEvent.Dispose();
_DisButton.IsEnabled = false;
_button.Text = "Check";
}
- private static void ToDispose2(object sender, EventArgs e)
+ private void ToDispose2(object sender, EventArgs e)
{
_evasObjectEvent2.Dispose();
_DisButton.IsEnabled = false;
_button.Show();
}
- private static void OnKeyDown(object sender, EvasKeyEventArgs e)
+ private void OnKeyDown(object sender, EvasKeyEventArgs e)
{
if (e.KeyName == "XF86Menu")
{
[Step(3, "If button's text is 'success!',press 'pass' button")]
[Step(4, "Otherwise press 'fail' button")]
[Postcondition(1, "NA")]
- public static async Task On_EVENT()
+ public async Task On_EVENT()
{
CreateResultButton("Click me !! Test On event");
_evasObjectEvent = new EvasObjectEvent(_evasObject, EvasObjectCallbackType.Resize);
[Step(4, "Click 'Check' button, and it will not change to 'Success!'.")]
[Step(5, "If it is, click Pass, or Fail.")]
[Postcondition(1, "NA")]
- public static async Task Dispose_CHECK()
+ public async Task Dispose_CHECK()
{
CreateLayout("Check", "Dispose");
_evasObjectEvent = new EvasObjectEvent(_evasObject, EvasObjectCallbackType.Resize);
[Step(4, "Click 'Check', and 'Dispose' button will not change.")]
[Step(5, "If it is, click Pass, or Fail.")]
[Postcondition(1, "NA")]
- public static async Task Dispose_EventArgs_CHECK()
+ public async Task Dispose_EventArgs_CHECK()
{
CreateLayout("Check", "Dispose");
//_button.IsEnabled = false;
[Step(2, "Click 'Check' Button")]
[Step(3, "Testcase result will show automatically.")]
[Postcondition(1, "NA")]
- public static async Task SmartEventInfoParser_CHECK()
+ public async Task SmartEventInfoParser_CHECK()
{
CreateLayout("Check", "Dispose");
EventHandler handler = null;
[Description("Testing ElmSharp.EvasObjectEvent<TEventArgs> class")]
public class TSEvasObjectEventTemplate
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static EvasObject _evasObject;
- private static EvasObjectEvent<EvasKeyEventArgs> _evasObjectEvent;
- private static Label _resultlabel;
- private static MainWindow _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private EvasObject _evasObject;
+ private EvasObjectEvent<EvasKeyEventArgs> _evasObjectEvent;
+ private Label _resultlabel;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_evasObject = (EvasObject)new Polygon(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_resultlabel != null)
}
}
- private static void CreateResultLabel(string text)
+ private void CreateResultLabel(string text)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateEvasObject");
_resultlabel = new Label(_window)
_testPage.ExecuteTC(_resultlabel);
}
- private static void On2(object sender, EventArgs e)
+ private void On2(object sender, EventArgs e)
{
_resultlabel.Text = "Success!";
}
[Step(3, "If Label's text is 'success!',press 'pass' button")]
[Step(4, "Otherwise press 'fail' button")]
[Postcondition(1, "NA")]
- public static async Task On_EVENT_WITH_EVENTARGS()
+ public async Task On_EVENT_WITH_EVENTARGS()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
{
[Description("Testing ElmSharp.FlipSelector class")]
public class TSFlipSelector
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static FlipSelector _flipSelector;
- private static MainWindow _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private FlipSelector _flipSelector;
+ private MainWindow _window = MainWindow.GetInstance();
public TSFlipSelector() : base()
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_flipSelector != null)
_flipSelector = null;
}
}
- private static void CreateFlipSelector()
+ private void CreateFlipSelector()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_flipSelector = new FlipSelector(_window);
_testPage.ExecuteTC(_flipSelector);
}
- private static void OnSelected(object sender, EventArgs e)
+ private void OnSelected(object sender, EventArgs e)
{
Assert.True(true);
ManualTest.Confirm();
}
- private static void OnUnderflowed(object sender, EventArgs e)
+ private void OnUnderflowed(object sender, EventArgs e)
{
Assert.True(true);
ManualTest.Confirm();
}
- private static void OnOverflowed(object sender, EventArgs e)
+ private void OnOverflowed(object sender, EventArgs e)
{
Assert.True(true);
ManualTest.Confirm();
[Step(1, "Click Run TC")]
[Step(2, "Click FlipSelector")]
[Postcondition(1, "NA")]
- public static async Task Selected_EVENT()
+ public async Task Selected_EVENT()
{
CreateFlipSelector();
_flipSelector.Selected += OnSelected;
[Step(2, "Click FlipSelector down key,switch to '3'.")]
[Step(3, "Click FlipSelector down key,switch to '1'.")]
[Postcondition(1, "NA")]
- public static async Task Underflowed_EVENT()
+ public async Task Underflowed_EVENT()
{
CreateFlipSelector();
_flipSelector.Underflowed += OnUnderflowed;
[Step(2, "Check current item shows '1'.")]
[Step(3, "Click FlipSelector up key,switch to '3'.")]
[Postcondition(1, "NA")]
- public static async Task Overflowed_EVENT()
+ public async Task Overflowed_EVENT()
{
CreateFlipSelector();
_flipSelector.Overflowed += OnOverflowed;
[Description("Testing ElmSharp.FlipSelectorItem class")]
public class TSFlipSelectorItem
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static FlipSelector _flipSelector;
- private static FlipSelectorItem _flipSelectorItem;
- private static MainWindow _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private FlipSelector _flipSelector;
+ private FlipSelectorItem _flipSelectorItem;
+ private MainWindow _window = MainWindow.GetInstance();
public TSFlipSelectorItem() : base()
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_flipSelectorItem != null)
_flipSelectorItem = null;
}
}
- private static void CreateFlipSelector(string flipSelectorText)
+ private void CreateFlipSelector(string flipSelectorText)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_flipSelector = new FlipSelector(_window);
_testPage.ExecuteTC(_flipSelector);
}
- private static void OnSelected(object sender, EventArgs e)
+ private void OnSelected(object sender, EventArgs e)
{
Assert.True(true);
ManualTest.Confirm();
[Step(2, "Click FlipSelector to switch flipSelectorItem is 'III'.")]
[Step(3, "Test case result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task Selected_EVENT()
+ public async Task Selected_EVENT()
{
CreateFlipSelector(" ");
_flipSelectorItem.Selected += OnSelected;
[Description("Testing ElmSharp.FloatingButton class")]
public class TSFloatingButton
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static FloatingButton _floatingButton;
- private static MainWindow _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private FloatingButton _floatingButton;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_floatingButton != null)
}
}
- private static void CreateFloatingButton()
+ private void CreateFloatingButton()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_floatingButton = new FloatingButton(_window)
_testPage.ExecuteTC(_floatingButton);
}
- private static void OnButtonClicked(object sender, EventArgs e)
+ private void OnButtonClicked(object sender, EventArgs e)
{
Assert.True(true);
ManualTest.Confirm();
[Description("Testing ElmSharp.GenGrid class")]
public class GenGridTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static MainWindow _window = MainWindow.GetInstance();
- private static GenGrid _genGrid;
- private static List<GenGridItem> _genGridItemList;
- private static GenItemClass _genItemClass;
- private static GenItemClass _genItemUpdateClass;
- private static List<Color> _colorList;
- private static List<MyColor> _myColorList;
- private static Button _button;
- private static Button _button2;
- private static Box _box;
+ private TestPage _testPage = TestPage.GetInstance();
+ private MainWindow _window = MainWindow.GetInstance();
+ private GenGrid _genGrid;
+ private List<GenGridItem> _genGridItemList;
+ private GenItemClass _genItemClass;
+ private GenItemClass _genItemUpdateClass;
+ private List<Color> _colorList;
+ private List<MyColor> _myColorList;
+ private Button _button;
+ private Button _button2;
+ private Box _box;
[SetUp]
- public static void Init()
+ public void Init()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.WearableProfile) == 0)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_genGridItemList != null)
{
}
}
- private static void InitGenGrid()
+ private void InitGenGrid()
{
_genGridItemList = new List<GenGridItem>();
[Description("Testing ElmSharp.GenGridItem class")]
public class GenGridItemTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static MainWindow _window = MainWindow.GetInstance();
- private static GenGrid _genGrid;
- private static List<GenGridItem> _genGridItemList;
- private static GenItemClass _genItemClass;
- private static GenItemClass _genItemUpdateClass;
- private static List<Color> _colorList;
- private static List<MyColor> _myColorList;
- private static Button _button;
- private static Box _box;
+ private TestPage _testPage = TestPage.GetInstance();
+ private MainWindow _window = MainWindow.GetInstance();
+ private GenGrid _genGrid;
+ private List<GenGridItem> _genGridItemList;
+ private GenItemClass _genItemClass;
+ private GenItemClass _genItemUpdateClass;
+ private List<Color> _colorList;
+ private List<MyColor> _myColorList;
+ private Button _button;
+ private Box _box;
class MyColor
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.WearableProfile) == 0)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_genGrid != null)
{
}
}
- private static void InitGenGrid()
+ private void InitGenGrid()
{
_genGridItemList = new List<GenGridItem>();
[Description("Testing ElmSharp.GenItem class")]
public class GenItemTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static MainWindow _window = MainWindow.GetInstance();
- private static GenGrid _genGrid;
- private static GenItemClass _genItemClass;
- private static GenItemClass _genItemUpdateClass;
- private static List<Color> _colorList;
- private static List<MyColor> _myColorList;
- private static GenList _genList;
- private static GenItemClass _defaultClass;
- private static GenListItem _selectedItem;
+ private TestPage _testPage = TestPage.GetInstance();
+ private MainWindow _window = MainWindow.GetInstance();
+ private GenGrid _genGrid;
+ private GenItemClass _genItemClass;
+ private GenItemClass _genItemUpdateClass;
+ private List<Color> _colorList;
+ private List<MyColor> _myColorList;
+ private GenList _genList;
+ private GenItemClass _defaultClass;
+ private GenListItem _selectedItem;
class MyColor
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
InitGenGrid();
InitGenList();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_genGrid != null)
{
}
}
- private static void InitGenGrid()
+ private void InitGenGrid()
{
_genGrid = new GenGrid(_window)
{
}
}
- private static void InitGenList()
+ private void InitGenList()
{
_genList = new GenList(_window)
{
[Description("Testing ElmSharp.GenList class")]
public class GenListTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static MainWindow _window = MainWindow.GetInstance();
- private static MyData[] _datas;
- private static List<GenListItem> _genListItemList;
- private static GenList _genList;
- private static GenItemClass _groupClass;
- private static GenItemClass _defaultClass;
- private static GenItemClass _updateClass;
- private static GenItemClass _fullClass;
- private static GenItemClass _selectClass;
- private static Button _button;
- private static Button _button2;
- private static Box _box;
- private static GenListItem _treeItem;
- private static string _resDir = Program.Current.DirectoryInfo.Resource;
+ private TestPage _testPage = TestPage.GetInstance();
+ private MainWindow _window = MainWindow.GetInstance();
+ private MyData[] _datas;
+ private List<GenListItem> _genListItemList;
+ private GenList _genList;
+ private GenItemClass _groupClass;
+ private GenItemClass _defaultClass;
+ private GenItemClass _updateClass;
+ private GenItemClass _fullClass;
+ private GenItemClass _selectClass;
+ private Button _button;
+ private Button _button2;
+ private Box _box;
+ private GenListItem _treeItem;
+ private string _resDir = Program.Current.DirectoryInfo.Resource;
class MyData
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
InitGenList();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_datas != null)
{
}
}
- private static void InitGenList()
+ private void InitGenList()
{
_genListItemList = new List<GenListItem>();
_genList = new GenList(_window)
[Description("Testing ElmSharp.GenListItem class")]
public class GenListItemTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static MainWindow _window = MainWindow.GetInstance();
- private static MyData[] _datas;
- private static List<GenListItem> _genListItemList;
- private static GenList _genList;
- private static GenItemClass _groupClass;
- private static GenItemClass _defaultClass;
- private static GenItemClass _updateClass;
- private static Button _button;
- private static Box _box;
- private static string _resDir = Program.Current.DirectoryInfo.Resource;
+ private TestPage _testPage = TestPage.GetInstance();
+ private MainWindow _window = MainWindow.GetInstance();
+ private MyData[] _datas;
+ private List<GenListItem> _genListItemList;
+ private GenList _genList;
+ private GenItemClass _groupClass;
+ private GenItemClass _defaultClass;
+ private GenItemClass _updateClass;
+ private Button _button;
+ private Box _box;
+ private string _resDir = Program.Current.DirectoryInfo.Resource;
class MyData
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
InitGenList();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_datas != null)
{
}
}
- private static void InitGenList()
+ private void InitGenList()
{
_genListItemList = new List<GenListItem>();
[Description("Testing ElmSharp.Hoversel class")]
public class TSHoversel
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Hoversel _hoversel;
- private static Button _button1, _button2;
- private static Box _layout1, _layout2;
- private static MainWindow _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Hoversel _hoversel;
+ private Button _button1, _button2;
+ private Box _layout1, _layout2;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.WearableProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_hoversel != null)
}
}
- private static void CreateHoversel()
+ private void CreateHoversel()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_layout1 = new Box(_window)
_testPage.ExecuteTC(_layout1);
}
- private static void CreateHoverselPage()
+ private void CreateHoverselPage()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_layout1 = new Box(_window)
_button2.Show();
_testPage.ExecuteTCByPage(_layout1);
}
- private static void CreateHoverselPageS()
+ private void CreateHoverselPageS()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_layout1 = new Box(_window)
_button2.Show();
_testPage.ExecuteTCByPage(_layout1);
}
- private static void Confirm(object sender, EventArgs e)
+ private void Confirm(object sender, EventArgs e)
{
_hoversel.HoverEnd();
Assert.True(true);
ManualTest.Confirm();
}
- private static void HoverBegin(object sender, EventArgs e)
+ private void HoverBegin(object sender, EventArgs e)
{
_hoversel.HoverBegin();
}
- private static void HoverEnd(object sender, EventArgs e)
+ private void HoverEnd(object sender, EventArgs e)
{
_hoversel.HoverEnd();
}
[Step(1, "Click Run TC")]
[Step(2, "Click Hoversel Item.")]
[Postcondition(1, "NA")]
- public static async Task ItemSelected_EVENT()
+ public async Task ItemSelected_EVENT()
{
CreateHoversel();
_hoversel.HoverBegin();
[Step(1, "Click Run TC")]
[Step(2, "Click Hoversel.")]
[Postcondition(1, "NA")]
- public static async Task Dismissed_EVENT()
+ public async Task Dismissed_EVENT()
{
CreateHoversel();
_hoversel.HoverBegin();
[Step(1, "Click Run TC")]
[Step(2, "Click Hoversel.")]
[Postcondition(1, "NA")]
- public static async Task Clicked_EVENT()
+ public async Task Clicked_EVENT()
{
CreateHoversel();
_hoversel.Clicked += Confirm;
[Step(1, "Click Run TC")]
[Step(2, "Click Hoversel.")]
[Postcondition(1, "NA")]
- public static async Task Expanded_EVENT()
+ public async Task Expanded_EVENT()
{
CreateHoversel();
_hoversel.Clicked += HoverBegin;
[Step(4, "Check Hoversel is clear or not")]
[Step(5, "Press 'Pass' when Hoversel is clear,otherwise,Press 'Fail'.")]
[Postcondition(1, "NA")]
- public static async Task Clear_METHOD()
+ public async Task Clear_METHOD()
{
CreateHoverselPage();
_button1.Clicked += AddItem;
[Step(6, "Click Hoversel to check Hoversel is added or not")]
[Step(7, "Press 'Pass' when Hoversel is add,otherwise,Press 'Fail'.")]
[Postcondition(1, "NA")]
- public static async Task AddItem_METHOD()
+ public async Task AddItem_METHOD()
{
CreateHoverselPage();
_button1.Clicked += AddItem;
_button1.Clicked -= AddItem;
_button2.Clicked -= ClearHoversel;
}
- private static void AddItem(object sender, EventArgs e)
+ private void AddItem(object sender, EventArgs e)
{
_hoversel.AddItem("Item");
}
- private static void ClearHoversel(object sender, EventArgs e)
+ private void ClearHoversel(object sender, EventArgs e)
{
_hoversel.Clear();
}
[Step(3, "Check Hoversel's Item is show.")]
[Step(4, "Press 'Pass' when Hoversel's Item is show,otherwise,Press 'Fail'.")]
[Postcondition(1, "NA")]
- public static async Task HoverBegin_METHOD()
+ public async Task HoverBegin_METHOD()
{
CreateHoverselPageS();
_button1.Clicked += HoverBegin;
[Step(4, "Check Hoversel's Item is hidden.")]
[Step(5, "Press 'Pass' when Hoversel's Item is hidden,otherwise,Press 'Fail'.")]
[Postcondition(1, "NA")]
- public static async Task HoverEnd_METHOD()
+ public async Task HoverEnd_METHOD()
{
CreateHoverselPageS();
_button1.Clicked += HoverBegin;
[Description("Testing ElmSharp.HoverselItem class")]
public class TSHoverselItem
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Hoversel _hoversel;
- private static Box _layout;
- private static HoverselItem _hoverselItem;
- private static MainWindow _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Hoversel _hoversel;
+ private Box _layout;
+ private HoverselItem _hoverselItem;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.WearableProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_hoversel != null)
_layout = null;
}
}
- private static void CreateHoversel()
+ private void CreateHoversel()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_layout = new Box(_window)
_testPage.ExecuteTC(_layout);
}
- private static void Confirm(object sender, EventArgs e)
+ private void Confirm(object sender, EventArgs e)
{
Assert.True(true);
ManualTest.Confirm();
[Step(2, "Tap Hoversel.")]
[Step(3, "Select Hoversel item.")]
[Postcondition(1, "NA")]
- public static async Task ItemSelected_EVENT()
+ public async Task ItemSelected_EVENT()
{
CreateHoversel();
_hoverselItem =_hoversel.AddItem("Item");
[Description("Testing ElmSharp.Accessible.IAccessibleObject class")]
public class IAccessibleObjectTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Button _button;
- private static Label _label;
- private static Box _box;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Button _button;
+ private Label _label;
+ private Box _box;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_box != null)
}
}
- private static void OnClickedButton(object sender, EventArgs e)
+ private void OnClickedButton(object sender, EventArgs e)
{
((IAccessibleObject)_button).RemoveRelation(new LabelledBy() { Target = _label });
((IAccessibleObject)_label).RemoveRelation(new LabelFor() { Target = _button });
[Step(2, "Plz click LabelledBy button.")]
[Step(3, "Click Pass if you can hear 'LabelledBy LabelFor button', or click Fail.")]
[Postcondition(1, "Settings->Accessibility->Screen reader(TTS)->OFF")]
- public static async Task AppendRelation_BEHAVIOR()
+ public async Task AppendRelation_BEHAVIOR()
{
_button.Text = "LabelledBy";
_label.Text = "LabelFor";
[Step(5, "Plz click LabelledBy button.")]
[Step(6, "Click Pass if you can hear 'LabelledBy LabelFor button' after step 2 and 'LabelledBy button' after step 5, or click Fail.")]
[Postcondition(1, "Settings->Accessibility->Screen reader(TTS)->OFF")]
- public static async Task RemoveRelation_BEHAVIOR()
+ public async Task RemoveRelation_BEHAVIOR()
{
_button.Text = "LabelledBy";
_label.Text = "LabelFor";
[Step(1, "Click run TC")]
[Step(2, "Click Pass if you can see the button is highlight and hear 'Highlight button', or click Fail.")]
[Postcondition(1, "Settings->Accessibility->Screen reader(TTS)->OFF")]
- public static async Task Highlight_LOOKS()
+ public async Task Highlight_LOOKS()
{
_button.Text = "Highlight";
((AccessibleObject)_button).Highlight();
[Step(1, "Click run TC")]
[Step(2, "Click Pass if you can see the button is unhighlight and hear nothing, or click Fail.")]
[Postcondition(1, "Settings->Accessibility->Screen reader(TTS)->OFF")]
- public static async Task Unhighlight_LOOKS()
+ public async Task Unhighlight_LOOKS()
{
_button.Text = "Unhighlight";
((AccessibleObject)_button).Unhighlight();
[Step(2, "Plz click NameProvider button.")]
[Step(3, "Click Pass if you can hear 'Test NameProvider button' when you click the button, or click Fail.")]
[Postcondition(1, "Settings->Accessibility->Screen reader(TTS)->OFF")]
- public static async Task NameProvider_BEHAVIOR()
+ public async Task NameProvider_BEHAVIOR()
{
_button.Text = "NameProvider";
((IAccessibleObject)_button).NameProvider = (obj) => "Test NameProvider";
[Step(2, "Plz click DescriptionProvider button.")]
[Step(3, "Click Pass if you can hear 'DescriptionProvider button Test DescriptionProvider' when you click the button, or click Fail.")]
[Postcondition(1, "Settings->Accessibility->Screen reader(TTS)->OFF")]
- public static async Task DescriptionProvider_BEHAVIOR()
+ public async Task DescriptionProvider_BEHAVIOR()
{
_button.Text = "DescriptionProvider";
((IAccessibleObject)_button).DescriptionProvider = (obj) => "Test DescriptionProvider";
[Description("Testing ElmSharp.Image class")]
public class ImageTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Image _image;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Image _image;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_image != null)
}
}
- private static void CreateImage()
+ private void CreateImage()
{
_image = new Image(_window)
{
_testPage.ExecuteTC(_image);
}
- private static void OnClicked(object sender, EventArgs e)
+ private void OnClicked(object sender, EventArgs e)
{
ManualTest.Confirm();
}
[Description("Testing ElmSharp.Index class")]
public class IndexTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) != 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
- private static void OnChanged(object sender, EventArgs e)
+ private void OnChanged(object sender, EventArgs e)
{
ManualTest.Confirm();
}
[Step(3, "click below index item")]
[Step(4, "click back button")]
[Postcondition(1, "NA")]
- public static async Task Changed_Check()
+ public async Task Changed_Check()
{
Index index = new Index(_window)
{
[Description("Testing ElmSharp.IndexItem class")]
public class IndexItemTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) != 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
- private static void OnSelected(object sender, EventArgs e)
+ private void OnSelected(object sender, EventArgs e)
{
ManualTest.Confirm();
}
[Step(2, "select index item")]
[Step(3, "click back button")]
[Postcondition(1, "NA")]
- public static async Task Selected_Check()
+ public async Task Selected_Check()
{
Index index = new Index(_window)
{
[Description("Testing ElmSharp.ItemObject class")]
public class ItemObjectTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Window _window = MainWindow.GetInstance();
- private static Naviframe _navi;
- private static Button _btn;
- private static Rectangle _rect;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Window _window = MainWindow.GetInstance();
+ private Naviframe _navi;
+ private Button _btn;
+ private Rectangle _rect;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_navi != null)
}
}
- private static void OnConfirm(object s, EventArgs e)
+ private void OnConfirm(object s, EventArgs e)
{
ManualTest.Confirm();
}
[Step(3, "Click navi back button")]
[Step(4, "The test result will show automatically.")]
[Postcondition(1, "NA")]
- public static async Task OnInvalidate_Check()
+ public async Task OnInvalidate_Check()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
{
[Description("Testing ElmSharp.Label class")]
public class LabelTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Label _label;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Label _label;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_label != null)
}
}
- private static void CreateLayout()
+ private void CreateLayout()
{
_label = new Label(_window)
{
_testPage.ExecuteTC(_label);
}
- private static void OnSlideCompleted(object sender, EventArgs e)
+ private void OnSlideCompleted(object sender, EventArgs e)
{
ManualTest.Confirm();
}
[Description("Testing ElmSharp.Layout class")]
public class LayoutTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Layout _Layout;
- private static Box _box;
- private static Button _button;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Layout _Layout;
+ private Box _box;
+ private Button _button;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_box != null)
}
}
- private static void CreateLayout()
+ private void CreateLayout()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateButton");
_testPage.ExecuteTC(_box);
}
- private static void OnLanguageChanged(object sender, EventArgs e)
+ private void OnLanguageChanged(object sender, EventArgs e)
{
ManualTest.Confirm();
}
[Step(1, "Click run TC")]
[Step(2, "Click change language button")]
[Postcondition(1, "NA")]
- public static async Task LanguageChanged_Check()
+ public async Task LanguageChanged_Check()
{
CreateLayout();
_Layout.LanguageChanged += OnLanguageChanged;
[Description("Testing ElmSharp.List class")]
public class ListTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static MainWindow _window = MainWindow.GetInstance();
- private static List _list;
- private static Button _button;
- private static Button _button2;
- private static Box _box;
- private static Icon _leftIcon;
- private static Image _rightIcon;
- private static string _resDir = Program.Current.DirectoryInfo.Resource;
+ private TestPage _testPage = TestPage.GetInstance();
+ private MainWindow _window = MainWindow.GetInstance();
+ private List _list;
+ private Button _button;
+ private Button _button2;
+ private Box _box;
+ private Icon _leftIcon;
+ private Image _rightIcon;
+ private string _resDir = Program.Current.DirectoryInfo.Resource;
[SetUp]
- public static void Init()
+ public void Init()
{
InitList();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_list != null)
{
}
}
- private static void InitList()
+ private void InitList()
{
_list = new List(_window)
{
[Description("Testing ElmSharp.MultiButtonEntry class")]
public class MultiButtonEntryTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static MultiButtonEntry _mButtonEntry;
- private static MultiButtonEntryItem _mButtonEntryItem1;
- private static Button _button;
- private static Box _box;
- private static bool _setCallback = true;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private MultiButtonEntry _mButtonEntry;
+ private MultiButtonEntryItem _mButtonEntryItem1;
+ private Button _button;
+ private Box _box;
+ private bool _setCallback = true;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_mButtonEntry != null)
}
}
- private static void OnEventConfirm(object sender, EventArgs e)
+ private void OnEventConfirm(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- private static void OnItemSelected(object sender, MultiButtonEntryItemEventArgs e)
+ private void OnItemSelected(object sender, MultiButtonEntryItemEventArgs e)
{
Assert.AreEqual(_mButtonEntryItem1, e.Item, "The selected item should be equal to _mButtonEntryItem1");
ManualTest.Confirm();
}
- private static void OnClickedAdd(object sender, EventArgs e)
+ private void OnClickedAdd(object sender, EventArgs e)
{
_mButtonEntry.Append("Add new item");
_button.IsEnabled = false;
}
- private static void OnClickedContract(object sender, EventArgs e)
+ private void OnClickedContract(object sender, EventArgs e)
{
_mButtonEntry.IsExpanded = false;
_button.IsEnabled = false;
}
- private static void OnClickedClear(object sender, EventArgs e)
+ private void OnClickedClear(object sender, EventArgs e)
{
_mButtonEntry.Clear();
_button.IsEnabled = false;
}
- private static void OnClickedFormat(object sender, EventArgs e)
+ private void OnClickedFormat(object sender, EventArgs e)
{
_mButtonEntry.IsExpanded = false;
[Step(1, "Click run TC")]
[Step(2, "Plz click this MultiButtonEntry.")]
[Postcondition(1, "NA")]
- public static async Task Clicked_CB()
+ public async Task Clicked_CB()
{
_mButtonEntry.Append("Append1");
_mButtonEntry.Append("Append2");
[Step(1, "Click run TC")]
[Step(2, "Plz click Contract button.")]
[Postcondition(1, "NA")]
- public static async Task Contracted_CB()
+ public async Task Contracted_CB()
{
for (int i=1; i<=30; i++)
{
[Precondition(1, "NA")]
[Step(1, "Click run TC")]
[Postcondition(1, "NA")]
- public static async Task Expanded_CB()
+ public async Task Expanded_CB()
{
_mButtonEntry.IsExpanded = true;
for (int i = 1; i <= 30; i++)
[Step(1, "Click run TC")]
[Step(2, "Plz click Contract button.")]
[Postcondition(1, "NA")]
- public static async Task ExpandedStateChanged_CB()
+ public async Task ExpandedStateChanged_CB()
{
_mButtonEntry.Append("Append1");
_mButtonEntry.Append("Append2");
[Step(1, "Click run TC")]
[Step(2, "Plz click Add button.")]
[Postcondition(1, "NA")]
- public static async Task ItemAdded_CB()
+ public async Task ItemAdded_CB()
{
_mButtonEntry.Append("Append1");
_mButtonEntry.Append("Append2");
[Step(1, "Click run TC")]
[Step(2, "Plz click any multibuttonentry item.")]
[Postcondition(1, "NA")]
- public static async Task ItemClicked_CB()
+ public async Task ItemClicked_CB()
{
_mButtonEntry.Append("Append1");
_mButtonEntry.Append("Append2");
[Step(1, "Click run TC")]
[Step(2, "Plz click Clear button.")]
[Postcondition(1, "NA")]
- public static async Task ItemDeleted_CB()
+ public async Task ItemDeleted_CB()
{
_mButtonEntry.Append("Append1");
_mButtonEntry.Append("Append2");
[Step(1, "Click run TC")]
[Step(2, "Plz press any multibuttonentry item long time.")]
[Postcondition(1, "NA")]
- public static async Task ItemLongPressed_CB()
+ public async Task ItemLongPressed_CB()
{
_mButtonEntry.Append("Append1");
_mButtonEntry.Append("Append2");
[Step(1, "Click run TC")]
[Step(2, "Plz select any multibuttonentry item.")]
[Postcondition(1, "NA")]
- public static async Task ItemSelected_CB()
+ public async Task ItemSelected_CB()
{
_mButtonEntry.Append("Append1");
_mButtonEntry.Append("Append2");
[Step(1, "Click run TC")]
[Step(2, "Plz select Append1 item.")]
[Postcondition(1, "NA")]
- public static async Task SelectedItem_GET()
+ public async Task SelectedItem_GET()
{
_mButtonEntryItem1 = _mButtonEntry.Append("Append1");
_mButtonEntry.ItemSelected += OnItemSelected;
[Step(3, "Plz click Format button again, then check the hidden count.")]
[Step(4, "Click Pass if you can see '+28' after step 2 and '(28)' after step 3, or click Fail.")]
[Postcondition(1, "NA")]
- public static async Task SetFormatCallback_CHECK()
+ public async Task SetFormatCallback_CHECK()
{
for (int i = 1; i <= 30; i++)
{
[Description("Testing ElmSharp.NaviItem class")]
public class NaviItemTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Window _window = MainWindow.GetInstance();
- private static Naviframe _navi;
- private static Button _btn;
- private static Rectangle _rect;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Window _window = MainWindow.GetInstance();
+ private Naviframe _navi;
+ private Button _btn;
+ private Rectangle _rect;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_navi != null)
}
}
- private static void OnConfirm(object s, EventArgs e)
+ private void OnConfirm(object s, EventArgs e)
{
ManualTest.Confirm();
}
[Description("Testing ElmSharp.Naviframe class")]
public class NaviframeTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(2, "Click navi back button")]
[Step(3, "The test result(pass) will show")]
[Postcondition(1, "NA")]
- public static async Task Popped_Check()
+ public async Task Popped_Check()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
{
[Step(3, "Click back button")]
[Step(4, "The test result(pass) will show")]
[Postcondition(1, "NA")]
- public static async Task AnimationFinished_Check()
+ public async Task AnimationFinished_Check()
{
Naviframe navi = new Naviframe(_window)
{
[Description("Testing ElmSharp.Panes class")]
public class PanesTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Panes _panes;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Panes _panes;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_panes != null)
}
- private static void CreatePanes()
+ private void CreatePanes()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreatePanes");
_panes = new Panes(_window);
}
- private static void _Confirm(object sender, EventArgs e)
+ private void _Confirm(object sender, EventArgs e)
{
ManualTest.Confirm();
}
[Step(1, "Click run TC")]
[Step(2, "Press the panes divider which will be highlight")]
[Postcondition(1, "NA")]
- public static async Task Pressed_CB()
+ public async Task Pressed_CB()
{
CreatePanes();
[Step(1, "Click run TC")]
[Step(2, "Press the panes divider which will be highlight, and then release it")]
[Postcondition(1, "NA")]
- public static async Task Unpressed_CB()
+ public async Task Unpressed_CB()
{
CreatePanes();
[Step(3, "If there are 80% space on left,click PASS; else FAIL")]
[Step(4, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task LeftMinimumRelativeSize_LOOK()
+ public async Task LeftMinimumRelativeSize_LOOK()
{
CreatePanes();
[Step(3, "If there are 80% space on right,click PASS; else FAIL")]
[Step(4, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task RightMinimumRelativeSize_LOOK()
+ public async Task RightMinimumRelativeSize_LOOK()
{
CreatePanes();
[Step(3, "If there are 600 length space PASS; else FAIL")]
[Step(4, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task LeftMinimumSize_LOOK()
+ public async Task LeftMinimumSize_LOOK()
{
CreatePanes();
[Step(3, "If there are 600 length space PASS; else FAIL")]
[Step(4, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task RightMinimumSize_LOOK()
+ public async Task RightMinimumSize_LOOK()
{
CreatePanes();
[Description("Testing ElmSharp.Polygon class")]
public class PolygonTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Polygon _polygon;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Polygon _polygon;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
CreatePolygon();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_polygon != null)
}
}
- private static void CreatePolygon()
+ private void CreatePolygon()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreatePolygon");
_polygon = new Polygon(_window);
[Step(2, "If shows pink triangle,press PASS; else FAIL")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task AddPoint_INT_LOOK()
+ public async Task AddPoint_INT_LOOK()
{
Color color = Color.FromRgb(255, 128, 128);
[Step(2, "If shows yellow triangle,press PASS; else FAIL")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task AddPoint_POINT_LOOK()
+ public async Task AddPoint_POINT_LOOK()
{
Color color = Color.FromRgb(255, 200, 0);
[Step(2, "If show pink pentagon,press PASS; else FAIL")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task ClearPoints_LOOK()
+ public async Task ClearPoints_LOOK()
{
Color color = Color.FromRgb(255, 128, 128);
[Description("Testing ElmSharp.Popup class")]
public class PopupTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Popup _popup;
- private static Button _close;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Popup _popup;
+ private Button _close;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
_popup = new Popup(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_popup != null)
}
}
- private static void CreateButton(Popup parent)
+ private void CreateButton(Popup parent)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreatePopup");
_close = new Button(_popup)
}
- private static void CreatePopup(string popupText)
+ private void CreatePopup(string popupText)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreatePopup");
_popup = new Popup(_window)
};
}
- private static void _Confirm(object sender, EventArgs e)
+ private void _Confirm(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- private static void _BtnClicked(object sender, EventArgs e)
+ private void _BtnClicked(object sender, EventArgs e)
{
_popup.Dismiss();
}
[Step(2, "Click close button to check dismissed callback")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task Dismissed_CB()
+ public async Task Dismissed_CB()
{
CreatePopup("Click close button!! Test: Handle event Dismissed");
CreateButton(_popup);
[Step(2, "Wait for 10 secondes to check whether the popup is hide or not")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task TimedOut_CB()
+ public async Task TimedOut_CB()
{
double time = 10.0;
CreatePopup("Wait for "+ (time).ToString() + " secondes!! Test: Check whether the popup is hide or not");
[Step(2, "Click the outside area of popup to check OutsideClicked event handler")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task OutsideClicked_CB()
+ public async Task OutsideClicked_CB()
{
CreatePopup("Click the outside area of popup to check OutsideClicked event handler");
_testPage.ExecuteTCByPage(_popup);
[Step(1, "Click run TC")]
[Step(2, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task ShowAnimationFinished_CB()
+ public async Task ShowAnimationFinished_CB()
{
CreatePopup("Check whether ShowAnimationFinished is called when popup show");
[Description("Testing ElmSharp.ProgressBar class")]
public class ProgressBarTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static ProgressBar _progressbar;
- private static Window _window = MainWindow.GetInstance();
- private static Box _box;
- private static Button _btn;
- private static Label _lab;
+ private TestPage _testPage = TestPage.GetInstance();
+ private ProgressBar _progressbar;
+ private Window _window = MainWindow.GetInstance();
+ private Box _box;
+ private Button _btn;
+ private Label _lab;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
_progressbar = new ProgressBar(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_progressbar != null)
}
}
- private static void CreateProgressBar()
+ private void CreateProgressBar()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateProgressBar");
_testPage.ExecuteTC(_box);
}
- private static void CreateButton(string text)
+ private void CreateButton(string text)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateButton");
_btn = new Button(_window)
_box.PackStart(_btn);
}
- private static void CreateLabel()
+ private void CreateLabel()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateLabel");
_lab = new Label(_window)
_box.PackStart(_lab);
}
- private static void _Confirm(object sender, EventArgs e)
+ private void _Confirm(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- private static void _PlayPulse(object sender, EventArgs e)
+ private void _PlayPulse(object sender, EventArgs e)
{
_progressbar.PlayPulse();
}
- private static void _StopPulse(object sender, EventArgs e)
+ private void _StopPulse(object sender, EventArgs e)
{
_progressbar.StopPulse();
}
- private static void _ChangeValue(object sender, EventArgs e)
+ private void _ChangeValue(object sender, EventArgs e)
{
_lab.Text = string.Format("PartValue Changed: {0}", _progressbar.GetPartValue("elm.cur.progressbar"));
_lab.EdjeObject["elm.text"].TextStyle = "DEFAULT='color=#ffffff'";
}
- private static void _ChangePartValue(object sender, EventArgs e)
+ private void _ChangePartValue(object sender, EventArgs e)
{
var val = _progressbar.GetPartValue("elm.cur.progressbar") + 0.1;
if (val <= 1.0)
[Step(2, "Press the button on the screen")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task ValueChanged_CB()
+ public async Task ValueChanged_CB()
{
CreateProgressBar();
CreateButton("Press the button");
[Step(2, "If ProgressBar's blue area appear at the right,press PASS; else FAIL")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task IsInverted_LOOK()
+ public async Task IsInverted_LOOK()
{
CreateProgressBar();
double value = 0.2;
[Step(2, "If the (80.00 meters) shows at the bottom of progressbar PASS; else FAIL")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task UnitFormat_LOOK()
+ public async Task UnitFormat_LOOK()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
{
[Step(3, "If progress move like clock rotation PASS; else FAIL")]
[Step(4, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task PlayPulse_BeHavior()
+ public async Task PlayPulse_BeHavior()
{
CreateProgressBar();
CreateButton("Press the button");
[Step(3, "If progress stop rotate PASS; else FAIL")]
[Step(4, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task StopPulse_BeHavior()
+ public async Task StopPulse_BeHavior()
{
CreateProgressBar();
CreateButton("Press the button");
[Step(2, "Press the button")]
[Step(3, "If the label show and it's content change when press button,press TRUE ; else FAIL")]
[Postcondition(1, "NA")]
- public static async Task GetPartValue_BeHavior()
+ public async Task GetPartValue_BeHavior()
{
CreateProgressBar();
CreateLabel();
[Step(2, "Press the button")]
[Step(3, "If progress value change when press button ,press TRUE; else FAIL")]
[Postcondition(1, "NA")]
- public static async Task SetPartValue_BeHavior()
+ public async Task SetPartValue_BeHavior()
{
CreateProgressBar();
CreateButton("Press the button");
[Description("Testing ElmSharp.Radio class")]
public class RadioTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Box _box;
- private static Radio _radio;
- private static Button _button;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Box _box;
+ private Radio _radio;
+ private Button _button;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
_box = new Box(_window)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_box != null)
}
}
- private static void CreateRadio()
+ private void CreateRadio()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateRadio");
_radio = new Radio(_window)
}
- private static void CreateButton(string text)
+ private void CreateButton(string text)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateButton");
_button = new Button(_window)
_box.PackStart(_button);
}
- private static void _Confirm(object sender, EventArgs e)
+ private void _Confirm(object sender, EventArgs e)
{
ManualTest.Confirm();
}
[Step(2, "Press Value1#1")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task ValueChanged_CB()
+ public async Task ValueChanged_CB()
{
CreateRadio();
[Description("Testing ElmSharp.Scroller class")]
public class ScrollerTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Scroller _scroller;
- private static Window _window = MainWindow.GetInstance();
- private static Label _currentLabel;
- private static Label _pageLabel;
- private static int _triggerScrolled;
- private static int _triggerDragStart;
- private static int _triggerDragStop;
- private static int _triggerPageScrolled;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Scroller _scroller;
+ private Window _window = MainWindow.GetInstance();
+ private Label _currentLabel;
+ private Label _pageLabel;
+ private int _triggerScrolled;
+ private int _triggerDragStart;
+ private int _triggerDragStop;
+ private int _triggerPageScrolled;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
_scroller = new Scroller(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_scroller != null)
}
}
- private static void CreateScroller(string Text)
+ private void CreateScroller(string Text)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateScroller");
_scroller = new Scroller(_window)
}
}
- private static Box CreateScroller2()
+ private Box CreateScroller2()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateScroller2");
return outterBox;
}
- private static Box CreateScroller3()
+ private Box CreateScroller3()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateScroller3");
return outterBox;
}
- private static Box CreateScroller4()
+ private Box CreateScroller4()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateScroller4");
return outterBox;
}
- private static void _Confirm(object sender, EventArgs e)
+ private void _Confirm(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- private static void _Check(object sender, EventArgs e)
+ private void _Check(object sender, EventArgs e)
{
if (_triggerScrolled + _triggerDragStart + _triggerDragStop + _triggerPageScrolled == 4)
{
}
}
- private static void _CheckScrolled(object sender, EventArgs e)
+ private void _CheckScrolled(object sender, EventArgs e)
{
_triggerScrolled = 1;
}
- private static void _CheckDragStart(object sender, EventArgs e)
+ private void _CheckDragStart(object sender, EventArgs e)
{
_triggerDragStart = 1;
}
- private static void _CheckDragStop(object sender, EventArgs e)
+ private void _CheckDragStop(object sender, EventArgs e)
{
_triggerDragStop = 1;
}
- private static void _CheckPageScrolled(object sender, EventArgs e)
+ private void _CheckPageScrolled(object sender, EventArgs e)
{
_triggerPageScrolled = 1;
}
- private static void _ChangeHorizontal(object sender, EventArgs e)
+ private void _ChangeHorizontal(object sender, EventArgs e)
{
_currentLabel.Text = string.Format("Current: {0}", _scroller.HorizontalPageIndex);
_pageLabel.Text = string.Format("Last Index: {0}", _scroller.LastHorizontalPageNumber);
}
- private static void _ChangeVertical(object sender, EventArgs e)
+ private void _ChangeVertical(object sender, EventArgs e)
{
_currentLabel.Text = string.Format("Current: {0}", _scroller.VerticalPageIndex);
_pageLabel.Text = string.Format("Last Index: {0}", _scroller.LastVerticalPageNumber);
}
- private static void _SetPageHeight(object sender, EventArgs e)
+ private void _SetPageHeight(object sender, EventArgs e)
{
_scroller.PageHeight = _scroller.Geometry.Height / 2;
}
- private static void _SetVerticalStep(object sender, EventArgs e)
+ private void _SetVerticalStep(object sender, EventArgs e)
{
_scroller.VerticalStepSize = _scroller.Geometry.Height / 2;
}
- private static void _ScrollerResizedWidth(object sender, EventArgs e)
+ private void _ScrollerResizedWidth(object sender, EventArgs e)
{
if (_scroller.ChildWidth > 0)
{
}
}
- private static void _ScrollerResizedHeight(object sender, EventArgs e)
+ private void _ScrollerResizedHeight(object sender, EventArgs e)
{
if (_scroller.ChildHeight > 0)
{
[Step(1, "Click run TC")]
[Step(2, "Press the prev/next button,if page scroll ,pres Pass,or fail")]
[Postcondition(1, "NA")]
- public static async Task VerticalPageIndex_CHECK()
+ public async Task VerticalPageIndex_CHECK()
{
Box box = CreateScroller3();
_scroller.SetPageSize(1.0, 1.0);
[Step(1, "Click run TC")]
[Step(2, "Press the prev/next button,if page scroll ,pres Pass,or fail")]
[Postcondition(1, "NA")]
- public static async Task HorizontalPageIndex_CHECK()
+ public async Task HorizontalPageIndex_CHECK()
{
Box box = CreateScroller2();
_scroller.SetPageSize(1.0, 1.0);
[Step(2, "Scroll it")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task Scrolled_CB()
+ public async Task Scrolled_CB()
{
CreateScroller("Scroll it !! Test: Handle event Scrolled");
_scroller.SetPageSize(1, 1);
[Step(2, "Scroll it")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task DragStart_CB()
+ public async Task DragStart_CB()
{
CreateScroller("Scroll it !! Test: Handle event DragStart");
_scroller.SetPageSize(1, 1);
[Step(2, "Drag the page to scroll")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task DragStop_CB()
+ public async Task DragStop_CB()
{
CreateScroller("Scroll it !! Test: Handle event DragStop");
_scroller.SetPageSize(1, 1);
[Step(2, "Scroll it")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task PageScrolled_CB()
+ public async Task PageScrolled_CB()
{
CreateScroller("Scroll it !! Test: Handle event PageScrolled");
_scroller.SetPageSize(1, 1);
[Step(2, "Scroll the page")]
[Step(3, "If there is no Bounce effect PASS; else FAIL")]
[Postcondition(1, "NA")]
- public static async Task VerticalBounce_BeHavior()
+ public async Task VerticalBounce_BeHavior()
{
Box box = CreateScroller3();
_scroller.SetPageSize(1.0, 1.0);
[Step(2, "Scroll the page")]
[Step(3, "If there is no Bounce effect Pass; else Fail")]
[Postcondition(1, "NA")]
- public static async Task HorizontalBounce_BeHavior()
+ public async Task HorizontalBounce_BeHavior()
{
Box box = CreateScroller2();
_scroller.SetPageSize(1.0, 1.0);
[Step(2, "Tap on Next button until the current index is not changed.")]
[Step(3, "If the crrent index is same as the last index, Press Pass; else Fail")]
[Postcondition(1, "NA")]
- public static async Task LastHorizontalPageNumber_LOOK()
+ public async Task LastHorizontalPageNumber_LOOK()
{
Box box = CreateScroller2();
_scroller.SetPageSize(1.0, 1.0);
[Step(2, "Tap on Next button until the current index is not changed.")]
[Step(3, "If the crrent index is same as the last index, Press Pass; else Fail")]
[Postcondition(1, "NA")]
- public static async Task LastVerticalPageNumber_LOOK()
+ public async Task LastVerticalPageNumber_LOOK()
{
Box box = CreateScroller3();
_scroller.SetPageSize(1.0, 1.0);
[Step(1, "Tap on the Run button")]
[Step(2, "If scroller loop in vertical direction Pass; else Fail")]
[Postcondition(1, "NA")]
- public static async Task VerticalLoop_BeHavior()
+ public async Task VerticalLoop_BeHavior()
{
Box box = CreateScroller3();
_scroller.SetPageSize(1.0, 1.0);
[Step(1, "Tap on the Run button")]
[Step(2, "If scroller loop in horizontal direction Pass; else Fail")]
[Postcondition(1, "NA")]
- public static async Task HorizontalLoop_BeHavior()
+ public async Task HorizontalLoop_BeHavior()
{
Box box = CreateScroller2();
_scroller.SetPageSize(1.0, 1.0);
[Step(1, "Tap on the Run button")]
[Step(2, "If page scroll when use mouse wheel Pass; else Fail")]
[Postcondition(1, "NA")]
- public static void WheelDisabled_BeHavior()
+ public void WheelDisabled_BeHavior()
{
// There is not profile that supports mouse wheel in .NET Tizen at present.
_testPage.UnlockUIButton();
[Step(2, "Press right/left on keyboard to scroll page")]
[Step(3, "If half page each time Pass; else Fail")]
[Postcondition(1, "NA")]
- public static async Task HorizontalStepSize_BeHavior()
+ public async Task HorizontalStepSize_BeHavior()
{
_testPage.UnlockUIButton();
Assert.Pass("Not Supported to keyboard");
[Step(2, "Press up/down on keyboard to scroll page")]
[Step(3, "If half page each time Pass; else Fail")]
[Postcondition(1, "NA")]
- public static async Task VerticalStepSize_BeHavior()
+ public async Task VerticalStepSize_BeHavior()
{
_testPage.UnlockUIButton();
Assert.Pass("Not Supported to keyboard");
[Step(1, "Tap on the Run button")]
[Step(2, "If scroll half page when press next button,Pass. else Fail")]
[Postcondition(1, "NA")]
- public static async Task HorizontalRelativePageSize_BeHavior()
+ public async Task HorizontalRelativePageSize_BeHavior()
{
Box box = CreateScroller2();
_scroller.HorizontalRelativePageSize = 0.5;
[Step(1, "Tap on the Run button")]
[Step(2, "If scroll half page when press next button,Pass. else Fail")]
[Postcondition(1, "NA")]
- public static async Task VerticalRelativePageSize_BeHavior()
+ public async Task VerticalRelativePageSize_BeHavior()
{
Box box = CreateScroller3();
_scroller.VerticalRelativePageSize = 0.5;
[Step(2, "Press next button to reach the end")]
[Step(3, "If scroll half page when press next button,Pass; else Fail")]
[Postcondition(1, "NA")]
- public static async Task PageWidth_BeHavior()
+ public async Task PageWidth_BeHavior()
{
Box box = CreateScroller2();
_scroller.PageWidth = _window.ScreenSize.Width / 2;
[Step(1, "Tap on the Run button")]
[Step(2, "If scroll half page when press next button,Pass; else Fail")]
[Postcondition(1, "NA")]
- public static async Task PageHeight_BeHavior()
+ public async Task PageHeight_BeHavior()
{
Box box = CreateScroller3();
_scroller.Resized += _SetPageHeight;
[Step(1, "Tap on the Run button")]
[Step(2, "If there is snapping behavior in vertical direction when scroll the page,Pass; else Fail")]
[Postcondition(1, "NA")]
- public static async Task VerticalSnap_BeHavior()
+ public async Task VerticalSnap_BeHavior()
{
Box box = CreateScroller3();
_scroller.VerticalSnap = true;
[Step(1, "Tap on the Run button")]
[Step(2, "If there is snapping behavior in horizontal direction when scroll the page,Pass; else Fail")]
[Postcondition(1, "NA")]
- public static async Task HorizontalSnap_BeHavior()
+ public async Task HorizontalSnap_BeHavior()
{
Box box = CreateScroller2();
_scroller.HorizontalSnap = true;
[Step(3, "If you can see empty screen, please press back button")]
[Step(4, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task ChildWidth_BeHavior()
+ public async Task ChildWidth_BeHavior()
{
var box = CreateScroller4();
_scroller.SetPageSize(1.0, 1.0);
[Step(3, "If you can see empty screen, please press back button")]
[Step(4, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task ChildHeight_BeHavior()
+ public async Task ChildHeight_BeHavior()
{
var box = CreateScroller4();
_scroller.SetPageSize(1.0, 1.0);
[Step(1, "Tap on the Run button")]
[Step(2, "The scroller will not scroll, click Pass, or Fail.")]
[Postcondition(1, "NA")]
- public static async Task MinimumLimit_BeHavior()
+ public async Task MinimumLimit_BeHavior()
{
CreateScroller("Test MinimumLimit");
_scroller.SetPageSize(1, 1);
[Step(2, "Scroll it")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task OnRealized_CB()
+ public async Task OnRealized_CB()
{
_triggerScrolled = 0;
_triggerDragStart = 0;
[Step(2, "Scroll it")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task ScrollAnimationStarted_EVENT()
+ public async Task ScrollAnimationStarted_EVENT()
{
CreateScroller("Scroll it !!");
_scroller.SetPageSize(1, 1);
[Step(2, "Scroll it")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task ScrollAnimationStopped_EVENT()
+ public async Task ScrollAnimationStopped_EVENT()
{
CreateScroller("Scroll it !!");
_scroller.SetPageSize(1, 1);
[Description("Testing ElmSharp.Slider class")]
public class SliderTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Slider _slider;
- private static Button _btn;
- private static Window _window = MainWindow.GetInstance();
- private static Box _box;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Slider _slider;
+ private Button _btn;
+ private Window _window = MainWindow.GetInstance();
+ private Box _box;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
_slider = new Slider(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_slider != null)
}
}
- private static void CreateSlider()
+ private void CreateSlider()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateSlider");
_testPage.ExecuteTC(_box);
}
- private static void CreateButton(string text)
+ private void CreateButton(string text)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateButton");
_btn = new Button(_window)
_box.PackStart(_btn);
}
- private static void _Confirm(object sender, EventArgs e)
+ private void _Confirm(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- private static void _ChangeValue(object sender, EventArgs e)
+ private void _ChangeValue(object sender, EventArgs e)
{
double value = 20.0;
[Step(2, "Scroll it")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task ValueChanged_CB()
+ public async Task ValueChanged_CB()
{
CreateSlider();
[Step(2, "Scroll it")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task DragStarted_CB()
+ public async Task DragStarted_CB()
{
CreateSlider();
[Step(2, "Scroll it")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task DragStopped_CB()
+ public async Task DragStopped_CB()
{
CreateSlider();
[Step(2, "Scroll it")]
[Step(3, "Testcase result will be shown automatically")]
[Postcondition(1, "NA")]
- public static async Task DelayedValueChanged_CB()
+ public async Task DelayedValueChanged_CB()
{
CreateSlider();
[Step(2, "Press the moveable block,if Slider shows Indicator(when focus,it will enlarge), PASS; else FAIL")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task IsIndicatorVisible_LOOK()
+ public async Task IsIndicatorVisible_LOOK()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
{
[Step(2, "Press Up/Down key on the keyboard to change focus,if indicator enlarge when get focus,select PASS; else FAIL")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task IsIndicatorFocusable_LOOK()
+ public async Task IsIndicatorFocusable_LOOK()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
{
[Step(2, "Press the detailed button,if slider's block move PASS; else FAIL")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task Value_LOOK()
+ public async Task Value_LOOK()
{
CreateSlider();
CreateButton("Press the button,and check the indicatior movement");
[Step(2, "If indicator bar appears at the most right and you can move it to left, PASS; else FAIL")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task IsInverted_LOOK()
+ public async Task IsInverted_LOOK()
{
CreateSlider();
[Step(3, "Press 'Right' key on the keyboard,if slider move,press Pass,or Fail")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task Step_LOOK()
+ public async Task Step_LOOK()
{
_testPage.UnlockUIButton();
Assert.Pass("Not Supported to keyboard");
[Step(2, "If slider shows horizontally PASS; else FAIL")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task IsHorizontal_LOOK()
+ public async Task IsHorizontal_LOOK()
{
CreateSlider();
[Step(2, "Press the moveable object,if shows number at the moveable object of slider PASS; else FAIL")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task IndicatorFormat_LOOK()
+ public async Task IndicatorFormat_LOOK()
{
CreateSlider();
_slider.AlignmentX = -1;
[Step(2, "Check whether the Indicator show when change value ,if show select PASS; else FAIL")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task IndicatorVisibleMode_DEFAULT_LOOK()
+ public async Task IndicatorVisibleMode_DEFAULT_LOOK()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
{
[Step(2, "Check whether the Indicator always enlarge ,if always show select PASS; else FAIL")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task IndicatorVisibleMode_ALWAYS_LOOK()
+ public async Task IndicatorVisibleMode_ALWAYS_LOOK()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
{
[Step(2, "Check whether the Indicator enlarge when press key up/down to get focus ,if show select PASS; else FAIL")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task IndicatorVisibleMode_ONFOCUS_LOOK()
+ public async Task IndicatorVisibleMode_ONFOCUS_LOOK()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
{
[Step(2, "if indicator never enlarge when focus on or move, select PASS; else FAIL")]
[Step(3, "Tap on the Pass button or the Fail button")]
[Postcondition(1, "NA")]
- public static async Task IndicatorVisibleMode_NONE_LOOK()
+ public async Task IndicatorVisibleMode_NONE_LOOK()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
{
[Description("Testing ElmSharp.SmartEvent class")]
public class SmartEventTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static MainWindow _window = MainWindow.GetInstance();
- private static Box _box;
- private static Label _label;
- private static Button _btn;
- private static ColorSelector _colorSel;
- private static SmartEvent _smartEvent;
+ private TestPage _testPage = TestPage.GetInstance();
+ private MainWindow _window = MainWindow.GetInstance();
+ private Box _box;
+ private Label _label;
+ private Button _btn;
+ private ColorSelector _colorSel;
+ private SmartEvent _smartEvent;
[SetUp]
- public static void Init()
+ public void Init()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.WearableProfile) == 0)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_smartEvent != null)
{
}
}
- private static void CreateLayout()
+ private void CreateLayout()
{
_box = new Box(_window)
{
_box.PackEnd(_colorSel);
}
- private static void OnClicked(object s, EventArgs e)
+ private void OnClicked(object s, EventArgs e)
{
_smartEvent.Dispose();
_label.Text = "After Dispose";
_btn.IsEnabled = false;
}
- private static void OnSelected(object s, EventArgs e)
+ private void OnSelected(object s, EventArgs e)
{
_label.Text = "Selected trigger event";
}
[Step(4, "Plz select any color item, and it will not show 'Selected trigger event'.")]
[Step(5, "If it is, plz click Pass, or Fail.")]
[Postcondition(1, "NA")]
- public static async Task Dispose_CHECK()
+ public async Task Dispose_CHECK()
{
CreateLayout();
_colorSel.Show();
[Description("Testing ElmSharp.SmartEvent<TEventArgs> class")]
public class SmartEventTemplateTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static MainWindow _window = MainWindow.GetInstance();
- private static Box _box;
- private static Label _label;
- private static Button _btn;
- private static ColorSelector _colorSel;
- private static Hoversel _hoversel;
- private static SmartEvent<EventArgs> _smartEvent;
- private static SmartEvent<HoverselItemEventArgs> _smartEventHovesel;
+ private TestPage _testPage = TestPage.GetInstance();
+ private MainWindow _window = MainWindow.GetInstance();
+ private Box _box;
+ private Label _label;
+ private Button _btn;
+ private ColorSelector _colorSel;
+ private Hoversel _hoversel;
+ private SmartEvent<EventArgs> _smartEvent;
+ private SmartEvent<HoverselItemEventArgs> _smartEventHovesel;
[SetUp]
- public static void Init()
+ public void Init()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.WearableProfile) == 0)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_smartEvent != null)
{
}
}
- public static void CreateColorSelector()
+ public void CreateColorSelector()
{
_colorSel = new ColorSelector(_window)
{
_smartEvent = new SmartEvent<EventArgs>(_colorSel, "color,item,longpressed");
}
- public static void CreateHoversel()
+ public void CreateHoversel()
{
_hoversel = new Hoversel(_window)
{
_hoversel.Show();
}
- private static void CreateLayout()
+ private void CreateLayout()
{
_box = new Box(_window)
{
_box.PackEnd(_colorSel);
}
- private static HoverselItemEventArgs SmartEventInfoParserDelegate(IntPtr data, IntPtr obj, IntPtr info)
+ private HoverselItemEventArgs SmartEventInfoParserDelegate(IntPtr data, IntPtr obj, IntPtr info)
{
return new HoverselItemEventArgs();
}
- private static void OnClicked(object s, EventArgs e)
+ private void OnClicked(object s, EventArgs e)
{
_smartEvent.Dispose();
_label.Text = "After Dispose";
_btn.IsEnabled = false;
}
- private static void OnLongpressed(object s, EventArgs e)
+ private void OnLongpressed(object s, EventArgs e)
{
_label.Text = "Longpressed trigger event";
}
- private static void SmartEventConfirm(object sender, EventArgs evt)
+ private void SmartEventConfirm(object sender, EventArgs evt)
{
ManualTest.Confirm();
}
- private static void SmartEventConfirmHoversel(object sender, HoverselItemEventArgs evt)
+ private void SmartEventConfirmHoversel(object sender, HoverselItemEventArgs evt)
{
ManualTest.Confirm();
}
[Precondition(1, "NA")]
[Step(1, "Click Run tc.")]
[Step(2, "Please long press any color item.")]
- public static async Task On_EVENT()
+ public async Task On_EVENT()
{
CreateColorSelector();
_smartEvent.On += SmartEventConfirm;
[Step(4, "Plz long press any color item, and it will not show 'Longpressed trigger event'.")]
[Step(5, "If it is, plz click Pass, or Fail.")]
[Postcondition(1, "NA")]
- public static async Task Dispose_CHECK()
+ public async Task Dispose_CHECK()
{
CreateColorSelector();
CreateLayout();
[Step(2, "Plz select any hoversel item.")]
[Step(3, "Testcase result will show automatically.")]
[Postcondition(1, "NA")]
- public static async Task SmartEventInfoParser_CHECK()
+ public async Task SmartEventInfoParser_CHECK()
{
CreateHoversel();
_smartEventHovesel = new SmartEvent<HoverselItemEventArgs>(_hoversel, _hoversel.RealHandle, "selected", SmartEventInfoParserDelegate);
[Description("Testing ElmSharp.Spinner class")]
class SpinnerTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Spinner _spinner;
- private static Button _button;
- private static Box _layout;
- private static Boolean _isValueChanged;
- private static int _triggerChanged;
- private static int _triggerDelayedChanged;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Spinner _spinner;
+ private Button _button;
+ private Box _layout;
+ private Boolean _isValueChanged;
+ private int _triggerChanged;
+ private int _triggerDelayedChanged;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) != 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_spinner != null)
}
}
- private static void CreateButtonPage(string buttonText, double spinnerValue)
+ private void CreateButtonPage(string buttonText, double spinnerValue)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
_testPage.ExecuteTC(_layout);
}
- private static void CreateSpinner(string spinnerText)
+ private void CreateSpinner(string spinnerText)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateSpinner");
[Description("Testing ElmSharp.Table class")]
class TableTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Window _window = MainWindow.GetInstance();
- private static Table _table;
- private static Button _redButton;
- private static Button _yellowButton;
- private static Button _actionButton;
- private static Box _layout;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Window _window = MainWindow.GetInstance();
+ private Table _table;
+ private Button _redButton;
+ private Button _yellowButton;
+ private Button _actionButton;
+ private Box _layout;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
naviPage.Popped -= TSTable_Popped;
}
- private static void CreateTablePage(string buttonText)
+ private void CreateTablePage(string buttonText)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init");
}
}
- private static void TSTable_Popped(object sender, NaviframeEventArgs e)
+ private void TSTable_Popped(object sender, NaviframeEventArgs e)
{
if (_redButton != null)
{
[Description("Testing ElmSharp.Toolbar class")]
public class ToolbarTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Window _window = MainWindow.GetInstance();
- private static Toolbar _toolbar;
- private static ToolbarItem _toolbarItem;
- private static Box _box;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Window _window = MainWindow.GetInstance();
+ private Toolbar _toolbar;
+ private ToolbarItem _toolbarItem;
+ private Box _box;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) != 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_toolbar != null)
niviframe.Pop();
}
- private static void CreateTestPage()
+ private void CreateTestPage()
{
_box = new Box(_window)
{
_testPage.ExecuteTCByPage(_box);
}
- private static void _toolbar_Selected(object sender, EventArgs e)
+ private void _toolbar_Selected(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- private static void _toolbarItem_Selected(object sender, EventArgs e)
+ private void _toolbarItem_Selected(object sender, EventArgs e)
{
var selectedToolbaritem = _toolbar.SelectedItem;
[Description("Testing ElmSharp.ToolbarItem class")]
public class ToolbarItemTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Window _window = MainWindow.GetInstance();
- private static Toolbar _toolbar;
- private static ToolbarItem _toolbarItem;
- private static Box _box;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Window _window = MainWindow.GetInstance();
+ private Toolbar _toolbar;
+ private ToolbarItem _toolbarItem;
+ private Box _box;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) != 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if(_toolbar != null)
niviframe.Pop();
}
- private static void CreateTestPage()
+ private void CreateTestPage()
{
_box = new Box(_window)
{
_testPage.ExecuteTCByPage(_box);
}
- private static void _toolbarItem_Selected(object sender, EventArgs e)
+ private void _toolbarItem_Selected(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- private static void _toolbarItem_LongPressed(object sender, EventArgs e)
+ private void _toolbarItem_LongPressed(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- private static void _toolbarItem_Clicked(object sender, EventArgs e)
+ private void _toolbarItem_Clicked(object sender, EventArgs e)
{
ManualTest.Confirm();
}
[Description("Testing ElmSharp.ToolbarItemEventArgs class")]
public class ToolbarItemEventArgsTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Window _window = MainWindow.GetInstance();
- private static Toolbar _toolbar;
- private static ToolbarItem _toolbarItem;
- private static ToolbarItemEventArgs _toolbarItemEventArgs;
- private static Box _box;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Window _window = MainWindow.GetInstance();
+ private Toolbar _toolbar;
+ private ToolbarItem _toolbarItem;
+ private ToolbarItemEventArgs _toolbarItemEventArgs;
+ private Box _box;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) != 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_toolbar != null)
niviframe.Pop();
}
- private static void CreateTestPage()
+ private void CreateTestPage()
{
_box = new Box(_window)
{
_testPage.ExecuteTCByPage(_box);
}
- private static void _toolbarItem_Clicked(object sender, ToolbarItemEventArgs e)
+ private void _toolbarItem_Clicked(object sender, ToolbarItemEventArgs e)
{
_toolbarItemEventArgs = e;
Assert.AreEqual(_toolbarItem, _toolbarItemEventArgs.Item, "Retrieved Item of ToolbarItemEventArgs should be equal to the clicked item");
[Description("Testing ElmSharp.Transit class")]
public class TransitTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Window _window = MainWindow.GetInstance();
- private static Transit _trans = null;
- private static Button _btn = null;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Window _window = MainWindow.GetInstance();
+ private Transit _trans = null;
+ private Button _btn = null;
- private static Box _box;
+ private Box _box;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if(_box != null)
}
}
- private static void CreateTransit()
+ private void CreateTransit()
{
_trans = new Transit();
_trans.Duration = 3;
}
- private static void CreateBtn(string text)
+ private void CreateBtn(string text)
{
_btn = new Button(_window)
{
}
- private static void CreateLabel(object sender, EventArgs e)
+ private void CreateLabel(object sender, EventArgs e)
{
Label lab= new Label(_window)
{
}
- private static void _AddEffect(object sender, EventArgs e)
+ private void _AddEffect(object sender, EventArgs e)
{
RotationEffect rotation = new RotationEffect(0, 180);
}
- private static void _Go(object sender, EventArgs e)
+ private void _Go(object sender, EventArgs e)
{
_trans.Go();
}
- private static void _PauseEffect(object sender, EventArgs e)
+ private void _PauseEffect(object sender, EventArgs e)
{
_trans.Pause();
}
- private static void _ResumeEffect(object sender, EventArgs e)
+ private void _ResumeEffect(object sender, EventArgs e)
{
_trans.Resume();
}
- private static void _OnDeleted(object sender, EventArgs e)
+ private void _OnDeleted(object sender, EventArgs e)
{
_trans.Objects.RemoveAt(0);
}
- private static void _OnDispose(object sender, EventArgs e)
+ private void _OnDispose(object sender, EventArgs e)
{
_trans.Dispose();
}
}
- private static void _OnConfirm(object sender, EventArgs e)
+ private void _OnConfirm(object sender, EventArgs e)
{
ManualTest.Confirm();
}
[Description("Testing ElmSharp.Widget class")]
public class WidgetTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Window _window = MainWindow.GetInstance();
- private static Widget _widget = null;
- private static Button _secondButton;
- private static Button _thirdButton;
- private static Box _box;
- private static int _triggerFocused;
- private static int _triggerUnfocused;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Window _window = MainWindow.GetInstance();
+ private Widget _widget = null;
+ private Button _secondButton;
+ private Button _thirdButton;
+ private Box _box;
+ private int _triggerFocused;
+ private int _triggerUnfocused;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
GC.WaitForPendingFinalizers();
}
- private static void CreateTestPage()
+ private void CreateTestPage()
{
_box = new Box(_window)
{
[Description("Testing ElmSharp.Window class")]
public class WindowTests
{
- private static Window _window = null;
- private static TestPage _testPage = TestPage.GetInstance();
+ private Window _window = null;
+ private TestPage _testPage = TestPage.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
_window?.Hide();
[Description("Testing ElmSharp.AccelerateFactorMotionMapper class")]
public class AccelerateFactorMotionMapperTests
{
- private static AccelerateFactorMotionMapper _accelerateFactorMotionMapper;
- private static MainWindow _window = MainWindow.GetInstance();
+ private AccelerateFactorMotionMapper _accelerateFactorMotionMapper;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_accelerateFactorMotionMapper != null)
[Description("Testing ElmSharp.AccelerateMotionMapper class")]
public class AccelerateMotionMapperTests
{
- private static AccelerateMotionMapper _accelerateMotionMapper;
- private static MainWindow _window = MainWindow.GetInstance();
+ private AccelerateMotionMapper _accelerateMotionMapper;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_accelerateMotionMapper != null)
[Description("ElmSharp.Accessible.AccessibleObject Tests")]
public class AccessibleObjectTests : AccessibleObject
{
- private static AccessibleObjectTests _accessibleObjectTests;
- private static MainWindow _window = MainWindow.GetInstance();
+ private AccessibleObjectTests _accessibleObjectTests;
+ private MainWindow _window = MainWindow.GetInstance();
public AccessibleObjectTests() : base()
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_accessibleObjectTests = null;
[Description("ElmSharp.Background Tests")]
public class BackgroundTests {
- private static Background _Background;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Background _Background;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_Background = new Background(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_Background = null;
[Description("Testing ElmSharp.BlendEffect class")]
public class BlendEffectTests
{
- private static BlendEffect _blendEffect = null;
+ private BlendEffect _blendEffect = null;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
[Description("Testing ElmSharp.BounceMotionMapper class")]
public class BounceMotionMapperTests
{
- private static BounceMotionMapper _bounceMotionMapper;
- private static MainWindow _window = MainWindow.GetInstance();
+ private BounceMotionMapper _bounceMotionMapper;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_bounceMotionMapper != null)
[TestFixture]
[Description("ElmSharp.Box Tests")]
public class BoxTests {
- private static Box _box;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Box _box;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_box = new Box(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_box = null;
[Description("ElmSharp.Button Tests")]
public class ButtonTests {
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_button = null;
public class CalendarTests
{
- private static Calendar _calendar;
- private static CalendarMark _calendarMark;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Calendar _calendar;
+ private CalendarMark _calendarMark;
+ private MainWindow _window = MainWindow.GetInstance();
DateTime _nowDate = DateTime.Today;
DateTime _otherDate = new DateTime(1999, 11, 11);
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_calendar = null;
[Description("ElmSharp.CalendarMark Tests")]
public class CalendarMarkTests {
- private static Calendar _calendar;
- private static CalendarMark _calendarMark;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Calendar _calendar;
+ private CalendarMark _calendarMark;
+ private MainWindow _window = MainWindow.GetInstance();
DateTime _nowDate = DateTime.Today;
DateTime _otherDate = new DateTime(1999, 11, 11);
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_calendar = null;
[Description("ElmSharp.Check Tests")]
public class CheckTests {
- private static Check _check;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Check _check;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_check = new Check(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_check = null;
[Description("ElmSharp.CheckStateChangedEventArgs Tests")]
public class CheckStateChangedEventArgsTests {
- private static CheckStateChangedEventArgs _checkStateChangedEventArgs;
+ private CheckStateChangedEventArgs _checkStateChangedEventArgs;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_checkStateChangedEventArgs = new CheckStateChangedEventArgs(true, false);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_checkStateChangedEventArgs = null;
[Description("ElmSharp.Accessible.ChildOf Tests")]
public class ChildOfTests
{
- private static ChildOf _childOf;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private ChildOf _childOf;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("ElmSharp.Color Tests")]
public class ColorTests {
- private static Color _color;
+ private Color _color;
public const int IntR = 255, IntG = 0, IntB = 0, IntA = 255;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_color = Color.Default;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_color = Color.Default;
[Description("ElmSharp.ColorChangedEventArgs Tests")]
public class ColorChangedEventArgsTests {
- private static ColorChangedEventArgs _colorChangedEventArgs;
- private static Color _oldColor = Color.Blue;
- private static Color _newColor = Color.Red;
+ private ColorChangedEventArgs _colorChangedEventArgs;
+ private Color _oldColor = Color.Blue;
+ private Color _newColor = Color.Red;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_colorChangedEventArgs = new ColorChangedEventArgs(_oldColor, _newColor);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_colorChangedEventArgs = null;
[Description("Testing ElmSharp.ColorEffect class")]
public class ColorEffectTests
{
- private static ColorEffect _colorEffect = null;
+ private ColorEffect _colorEffect = null;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
}
- private static void CreateColorEffect()
+ private void CreateColorEffect()
{
_colorEffect = new ColorEffect(Color.Black, Color.Blue);
}
[Description("ElmSharp.ColorSelector Tests")]
public class ColorSelectorTests
{
- private static ColorSelector _colorSelector;
- private static MainWindow _window = MainWindow.GetInstance();
+ private ColorSelector _colorSelector;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_colorSelector = null;
[TestFixture]
[Description("ElmSharp.ColorSelectorItem Tests")]
public class ColorSelectorItemTests {
- private static ColorSelectorItem _colorSelectorItem;
- private static ColorSelector _colorSelector;
- private static MainWindow _window = MainWindow.GetInstance();
+ private ColorSelectorItem _colorSelectorItem;
+ private ColorSelector _colorSelector;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_colorSelector = null;
[Description("ElmSharp.Conformant Tests")]
public class ConformantTests
{
- private static Conformant _conformant;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Conformant _conformant;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_conformant = new Conformant(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_conformant = null;
[Description("ElmSharp.Container Tests")]
public class ContainerTests
{
- private static Container _container;
- private static MyContainer _myContainer;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Container _container;
+ private MyContainer _myContainer;
+ private MainWindow _window = MainWindow.GetInstance();
public class MyContainer : Container
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_myContainer = new MyContainer(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_container != null)
[Description("ElmSharp.ContextPopup Tests")]
public class ContextPopupTests {
- private static ContextPopup _contextPopup;
- private static MainWindow _window = MainWindow.GetInstance();
+ private ContextPopup _contextPopup;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_contextPopup = new ContextPopup(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_contextPopup = null;
[Description("ElmSharp.ContextPopupItem Tests")]
public class ContextPopupItemTests {
- private static ContextPopupItem _contextPopupItem;
- private static ContextPopup _contextPopup;
- private static MainWindow _window = MainWindow.GetInstance();
+ private ContextPopupItem _contextPopupItem;
+ private ContextPopup _contextPopup;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_contextPopup = new ContextPopup(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_contextPopupItem = null;
[Description("ElmSharp.Accessible.ControlledBy Tests")]
public class ControlledByTests
{
- private static ControlledBy _controlledBy;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private ControlledBy _controlledBy;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("ElmSharp.Accessible.ControllerFor Tests")]
public class ControllerForTests
{
- private static ControllerFor _controllerFor;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private ControllerFor _controllerFor;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("Testing ElmSharp.CubicBezierMotionMapper class")]
public class CubicBezierMotionMapperTests
{
- private static CubicBezierMotionMapper _springMotionMapper;
- private static MainWindow _window = MainWindow.GetInstance();
+ private CubicBezierMotionMapper _springMotionMapper;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_springMotionMapper != null)
[Description("ElmSharp.DateChangedEventArgs Tests")]
public class DateChangedEventArgsTests {
- private static DateChangedEventArgs _dateChangedEventArgs;
- private static DateTime _oldSystemDate = new DateTime(2010, 10, 10);
- private static DateTime _newSystemDate = DateTime.Now;
+ private DateChangedEventArgs _dateChangedEventArgs;
+ private DateTime _oldSystemDate = new DateTime(2010, 10, 10);
+ private DateTime _newSystemDate = DateTime.Now;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_dateChangedEventArgs = new DateChangedEventArgs(_oldSystemDate, _newSystemDate);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_dateChangedEventArgs = null;
[Description("ElmSharp.DateTimeSelector Tests")]
public class DateTimeSelectorTests {
- private static DateTimeSelector _dateTimeSelector;
- private static MainWindow _window = MainWindow.GetInstance();
+ private DateTimeSelector _dateTimeSelector;
+ private MainWindow _window = MainWindow.GetInstance();
DateTime nowDate = DateTime.Today;
DateTime nowTime = DateTime.Now;
DateTime otherDate = new DateTime(1999, 11, 11);
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_dateTimeSelector = new DateTimeSelector(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_dateTimeSelector = null;
[Description("Testing ElmSharp.DecelerateFactorMotionMapper class")]
public class DecelerateFactorMotionMapperTests
{
- private static DecelerateFactorMotionMapper _decelerateFactorMotionMapper;
- private static MainWindow _window = MainWindow.GetInstance();
+ private DecelerateFactorMotionMapper _decelerateFactorMotionMapper;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_decelerateFactorMotionMapper != null)
[Description("Testing ElmSharp.DecelerateMotionMapper class")]
public class DecelerateMotionMapperTests
{
- private static DecelerateMotionMapper _decelerateMotionMapper;
- private static MainWindow _window = MainWindow.GetInstance();
+ private DecelerateMotionMapper _decelerateMotionMapper;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_decelerateMotionMapper != null)
[Description("ElmSharp.Accessible.DescribedBy Tests")]
public class DescribedByTests
{
- private static DescribedBy _describedBy;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private DescribedBy _describedBy;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("ElmSharp.Accessible.DescriptionFor Tests")]
public class DescriptionForTests
{
- private static DescriptionFor _descriptionFor;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private DescriptionFor _descriptionFor;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("ElmSharp.DisplayedMonthChangedEventArgs Tests")]
public class DisplayedMonthChangedEventArgsTests {
- private static DisplayedMonthChangedEventArgs _displayedMonthChangedEventArgs;
+ private DisplayedMonthChangedEventArgs _displayedMonthChangedEventArgs;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_displayedMonthChangedEventArgs = new DisplayedMonthChangedEventArgs(1, 2);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_displayedMonthChangedEventArgs = null;
[Description("Testing ElmSharp.DivisorInterpolatedMotionMapper class")]
public class DivisorInterpolatedMotionMapperTests
{
- private static DivisorInterpolatedMotionMapper _divisorInterpolatedMotionMapper;
- private static MainWindow _window = MainWindow.GetInstance();
+ private DivisorInterpolatedMotionMapper _divisorInterpolatedMotionMapper;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_divisorInterpolatedMotionMapper != null)
public class EcoreAnimatorTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Description("ElmSharp.EcoreEvent Tests")]
public class EcoreEventTests {
- private static EcoreEvent _ecoreEvent;
- private static MainWindow _window = MainWindow.GetInstance();
+ private EcoreEvent _ecoreEvent;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_ecoreEvent = new EcoreEvent(EcoreEventType.KeyDown);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_ecoreEvent = null;
public class EcoreEventTemplateTests
{
- private static EcoreEvent _ecoreEvent;
- private static EcoreEvent<EventArgs> _ecoreEventTemplate;
+ private EcoreEvent _ecoreEvent;
+ private EcoreEvent<EventArgs> _ecoreEventTemplate;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_ecoreEvent = new EcoreEvent(EcoreEventType.KeyDown);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_ecoreEvent = null;
[Description("ElmSharp.EcoreEventType Tests")]
public class EcoreEventTypeTests {
- private static EcoreEventType _EcoreEventType;
- private static MainWindow _window = MainWindow.GetInstance();
+ private EcoreEventType _EcoreEventType;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_EcoreEventType = null;
[Description("ElmSharp.EcoreKeyEventArgs Tests")]
public class EcoreKeyEventArgsTests {
- private static EcoreKeyEventArgs _ecoreKeyEventArgs;
- private static EcoreEvent<EcoreKeyEventArgs> _ecoreEvent;
+ private EcoreKeyEventArgs _ecoreKeyEventArgs;
+ private EcoreEvent<EcoreKeyEventArgs> _ecoreEvent;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_ecoreKeyEventArgs = new EcoreKeyEventArgs();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_ecoreKeyEventArgs != null)
public class EcoreMainloopTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Description("Testing ElmSharp.EcoreSynchronizationContext class")]
public class EcoreSynchronizationContextTests
{
- private static EcoreSynchronizationContext _ecoreSynchronizationContext;
+ private EcoreSynchronizationContext _ecoreSynchronizationContext;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_ecoreSynchronizationContext = new EcoreSynchronizationContext();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_ecoreSynchronizationContext = null;
[Description("Testing ElmSharp.EcoreTimelineAnimator class")]
public class EcoreTimelineAnimatorTests
{
- private static EcoreTimelineAnimator _timelineAnimator;
- private static MainWindow _window = MainWindow.GetInstance();
- private static Rectangle _square;
- private static int X1, Y1, X2, Y2;
+ private EcoreTimelineAnimator _timelineAnimator;
+ private MainWindow _window = MainWindow.GetInstance();
+ private Rectangle _square;
+ private int X1, Y1, X2, Y2;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Description("Testing ElmSharp.EdjeObject class")]
public class EdjeObjectTests
{
- private static EdjeObject _edjeObject;
- private static MainWindow _window = MainWindow.GetInstance();
+ private EdjeObject _edjeObject;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_edjeObject = new Button(_window).EdjeObject;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_edjeObject = null;
}
- private static void actionTest(string strChinese, string strEnglish) {
+ private void actionTest(string strChinese, string strEnglish) {
var actingMark = "test";
}
[Description("Testing ElmSharp.EdjeTextPartObject class")]
public class EdjeTextPartObjectTests
{
- private static EdjeTextPartObject _edjeTextPartObject;
- private static MainWindow _window = MainWindow.GetInstance();
+ private EdjeTextPartObject _edjeTextPartObject;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_edjeTextPartObject = new Button(_window).EdjeObject["elm.text"];
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_edjeTextPartObject = null;
[Description("Testing ElmSharp.EffectBase class")]
public class EffectBaseTests
{
- private static EffectBase _effectBase = null;
+ private EffectBase _effectBase = null;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
[Description("Testing ElmSharp.Elementary class")]
public class ElementaryTests
{
- private static MainWindow _window = MainWindow.GetInstance();
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Description("Testing ElmSharp.ElmScrollConfig class")]
public class TSElmScrollConfig
{
- public static double _bringInScrollFriction;
+ public double _bringInScrollFriction;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
ElmScrollConfig.BringInScrollFriction = _bringInScrollFriction - 1;
[Description("ElmSharp.Accessible.EmbeddedBy Tests")]
public class EmbeddedByTests
{
- private static EmbeddedBy _embeddedBy;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private EmbeddedBy _embeddedBy;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("ElmSharp.Accessible.Embeds Tests")]
public class EmbedsTests
{
- private static Embeds _embeds;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Embeds _embeds;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("Testing ElmSharp.Entry class")]
public class EntryTests
{
- private static Entry _entry;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Entry _entry;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_entry = new Entry(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_entry = null;
[Description("Testing ElmSharp.EvasCanvas class")]
public class EvasCanvasTests
{
- private static EvasObject _evasObject;
- private static EvasCanvas _evasCanvas;
- private static MainWindow _window = MainWindow.GetInstance();
+ private EvasObject _evasObject;
+ private EvasCanvas _evasCanvas;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_evasObject = (EvasObject)new Polygon(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_evasObject != null)
[Description("Testing ElmSharp.EvasImage class")]
public class EvasImageTests
{
- private static EvasImage _evasImage;
- private static MainWindow _window = MainWindow.GetInstance();
+ private EvasImage _evasImage;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_evasImage = new EvasImage(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_evasImage != null)
[Description("Testing ElmSharp.EvasKeyEventArgs class")]
public class EvasKeyEventArgsTests
{
- private static EvasKeyEventArgs _evasKeyEventArgs;
- private static EvasObjectEvent<EvasKeyEventArgs> _evasObjectEvent;
- private static MainWindow _window = MainWindow.GetInstance();
+ private EvasKeyEventArgs _evasKeyEventArgs;
+ private EvasObjectEvent<EvasKeyEventArgs> _evasObjectEvent;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_evasKeyEventArgs != null)
[Description("Testing ElmSharp.EvasMap class")]
public class EvasMapTests
{
- private static EvasMap _evasMap;
- private static MainWindow _window = MainWindow.GetInstance();
+ private EvasMap _evasMap;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_evasMap = new EvasMap(4);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_evasMap = null;
[Description("Testing ElmSharp.EvasObject class")]
public class EvasObjectTests
{
- private static EvasObject _evasObject;
- private static MainWindow _window = MainWindow.GetInstance();
+ private EvasObject _evasObject;
+ private MainWindow _window = MainWindow.GetInstance();
private Boolean _flagMoved, _flagResized;
public class MyEvasObject : EvasObject
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_evasObject = (EvasObject)new Polygon(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_evasObject = null;
[Description("Testing ElmSharp.TSEvasObjectEvent class")]
public class TSEvasObjectEvent
{
- private static EvasObjectEvent _evasObjectEvent;
- private static MainWindow _window = MainWindow.GetInstance();
+ private EvasObjectEvent _evasObjectEvent;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_evasObjectEvent = new EvasObjectEvent(_window, EvasObjectCallbackType.KeyDown);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_evasObjectEvent = null;
[Description("Testing ElmSharp.TSEvasObjectEvent<TEventArgs> class")]
public class TSEvasObjectEventTemplate
{
- private static EvasObjectEvent<EventArgs> _evasObjectEvent;
- private static MainWindow _window = MainWindow.GetInstance();
+ private EvasObjectEvent<EventArgs> _evasObjectEvent;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_evasObjectEvent = new EvasObjectEvent<EventArgs>(_window, EvasObjectCallbackType.KeyDown);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_evasObjectEvent = null;
[Description("ElmSharp.Accessible.Extended Tests")]
public class ExtendedTests
{
- private static Extended _extended;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Extended _extended;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("Testing ElmSharp.FadeEffect class")]
public class FadeEffectTests
{
- private static FadeEffect _fadeEffect = null;
+ private FadeEffect _fadeEffect = null;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
[Description("Testing ElmSharp.FlipEffect class")]
public class FlipEffectTests
{
- private static FlipEffect _flipEffect = null;
+ private FlipEffect _flipEffect = null;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
}
- private static void CreateFlipEffect()
+ private void CreateFlipEffect()
{
_flipEffect = new FlipEffect(FlipAxis.X, true, true);
}
public class FlipSelectorTests
{
- private static FlipSelector _flipSelector;
- private static MainWindow _window = MainWindow.GetInstance();
+ private FlipSelector _flipSelector;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_flipSelector = null;
[Description("Testing ElmSharp.FlipSelectorItem class")]
public class FlipSelectorItemTests
{
- private static FlipSelectorItem _flipSelectorItem;
+ private FlipSelectorItem _flipSelectorItem;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_flipSelectorItem = null;
[Description("Testing ElmSharp.FloatingButton class")]
public class FloatingButtonTests
{
- private static FloatingButton _floatingButton;
- private static MainWindow _window = MainWindow.GetInstance();
+ private FloatingButton _floatingButton;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_floatingButton = null;
[Description("ElmSharp.Accessible.FlowsFrom Tests")]
public class FlowsFromTests
{
- private static FlowsFrom _flowsFrom;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private FlowsFrom _flowsFrom;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("ElmSharp.Accessible.FlowsTo Tests")]
public class FlowsToTests
{
- private static FlowsTo _flowsTo;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private FlowsTo _flowsTo;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("Testing ElmSharp.GenGrid class")]
public class GenGridTests
{
- private static MainWindow _window = MainWindow.GetInstance();
- private static GenGrid _genGrid;
- private static GenItemClass _genItemClass;
- private static List<Color> _colorList;
+ private MainWindow _window = MainWindow.GetInstance();
+ private GenGrid _genGrid;
+ private GenItemClass _genItemClass;
+ private List<Color> _colorList;
[SetUp]
- public static void Init()
+ public void Init()
{
InitGenGrid();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_genGrid != null)
{
}
}
- private static void InitGenGrid()
+ private void InitGenGrid()
{
_genGrid = new GenGrid(_window);
_genItemClass = new GenItemClass("default")
[Description("Testing ElmSharp.GenGridItem class")]
public class GenGridItemTests
{
- private static MainWindow _window = MainWindow.GetInstance();
- private static GenGrid _genGrid;
- private static GenItemClass _genItemClass;
- private static List<Color> _colorList;
+ private MainWindow _window = MainWindow.GetInstance();
+ private GenGrid _genGrid;
+ private GenItemClass _genItemClass;
+ private List<Color> _colorList;
[SetUp]
- public static void Init()
+ public void Init()
{
InitGenGrid();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_genGrid != null)
{
}
}
- private static void InitGenGrid()
+ private void InitGenGrid()
{
_genGrid = new GenGrid(_window);
_genItemClass = new GenItemClass("default")
[Description("Testing ElmSharp.GenGridItemClass class")]
public class GenGridItemClassTests
{
- private static MainWindow _window = MainWindow.GetInstance();
- private static GenGridItemClass _genGridItemClass;
- private static MyGenGridItemClass _myClass;
- private static bool _isCallTextHandler = false;
- private static bool _isCallContentHandler = false;
- private static bool _isCallDeleteHandler = false;
- private static bool _isCallReuseHandler = false;
+ private MainWindow _window = MainWindow.GetInstance();
+ private GenGridItemClass _genGridItemClass;
+ private MyGenGridItemClass _myClass;
+ private bool _isCallTextHandler = false;
+ private bool _isCallContentHandler = false;
+ private bool _isCallDeleteHandler = false;
+ private bool _isCallReuseHandler = false;
public class MyGenGridItemClass : GenGridItemClass
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
InitGenGrid();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_genGridItemClass != null)
{
}
}
- private static void InitGenGrid()
+ private void InitGenGrid()
{
_genGridItemClass = new GenGridItemClass("default")
{
[Description("Testing ElmSharp.GenGridItemEventArgs class")]
public class GenGridItemEventArgsTests
{
- private static MainWindow _window = MainWindow.GetInstance();
- private static GenGrid _genGrid;
- private static GenItemClass _genItemClass;
- private static List<Color> _colorList;
+ private MainWindow _window = MainWindow.GetInstance();
+ private GenGrid _genGrid;
+ private GenItemClass _genItemClass;
+ private List<Color> _colorList;
[SetUp]
- public static void Init()
+ public void Init()
{
InitGenGrid();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_genGrid != null)
{
}
}
- private static void InitGenGrid()
+ private void InitGenGrid()
{
_genGrid = new GenGrid(_window);
_genItemClass = new GenItemClass("default")
[Description("Testing ElmSharp.GenItem class")]
public class GenItemTests
{
- private static MainWindow _window = MainWindow.GetInstance();
- private static GenGrid _genGrid;
- private static GenItemClass _genItemClass;
- private static List<Color> _colorList;
+ private MainWindow _window = MainWindow.GetInstance();
+ private GenGrid _genGrid;
+ private GenItemClass _genItemClass;
+ private List<Color> _colorList;
[SetUp]
- public static void Init()
+ public void Init()
{
InitGenGrid();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_genGrid != null)
{
}
}
- private static void InitGenGrid()
+ private void InitGenGrid()
{
_genGrid = new GenGrid(_window);
_genItemClass = new GenItemClass("default")
[Description("Testing ElmSharp.GenItemClass class")]
public class GenItemClassTests
{
- private static MainWindow _window = MainWindow.GetInstance();
- private static GenItemClass _genItemClass;
- private static MyGenItemClass _myClass;
- private static bool _isCallTextHandler = false;
- private static bool _isCallContentHandler = false;
- private static bool _isCallDeleteHandler = false;
- private static bool _isCallReuseHandler = false;
+ private MainWindow _window = MainWindow.GetInstance();
+ private GenItemClass _genItemClass;
+ private MyGenItemClass _myClass;
+ private bool _isCallTextHandler = false;
+ private bool _isCallContentHandler = false;
+ private bool _isCallDeleteHandler = false;
+ private bool _isCallReuseHandler = false;
public class MyGenItemClass : GenItemClass
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
InitGenGrid();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_genItemClass != null)
{
}
}
- private static void InitGenGrid()
+ private void InitGenGrid()
{
_genItemClass = new GenItemClass("default")
{
[Description("Testing ElmSharp.GenList class")]
public class GenListTests
{
- private static MainWindow _window = MainWindow.GetInstance();
- private static GenList _genList;
- private static GenItemClass _groupClass;
- private static GenItemClass _defaultClass;
- private static GenItemClass _fullClass;
- private static bool _isTrigger;
+ private MainWindow _window = MainWindow.GetInstance();
+ private GenList _genList;
+ private GenItemClass _groupClass;
+ private GenItemClass _defaultClass;
+ private GenItemClass _fullClass;
+ private bool _isTrigger;
public class MyGenList : GenList
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
InitGenList();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_genList != null)
{
}
}
- private static void InitGenList()
+ private void InitGenList()
{
_isTrigger = false;
[Description("Testing ElmSharp.GenListItem class")]
public class GenListItemTests
{
- private static MainWindow _window = MainWindow.GetInstance();
- private static GenList _genList;
- private static GenItemClass _defaultClass;
- private static GenItemClass _groupClass;
+ private MainWindow _window = MainWindow.GetInstance();
+ private GenList _genList;
+ private GenItemClass _defaultClass;
+ private GenItemClass _groupClass;
[SetUp]
- public static void Init()
+ public void Init()
{
InitGenList();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_genList != null)
{
}
}
- private static void InitGenList()
+ private void InitGenList()
{
_genList = new GenList(_window)
{
[Description("Testing ElmSharp.GenListItemEventArgs class")]
public class GenListItemEventArgsTests
{
- private static MainWindow _window = MainWindow.GetInstance();
- private static GenList _genList;
- private static GenItemClass _defaultClass;
+ private MainWindow _window = MainWindow.GetInstance();
+ private GenList _genList;
+ private GenItemClass _defaultClass;
[SetUp]
- public static void Init()
+ public void Init()
{
InitGenList();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_genList != null)
{
}
}
- private static void InitGenList()
+ private void InitGenList()
{
_genList = new GenList(_window)
{
public class GestureLayerConfigTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
public class GestureLayerLineDataTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
public class GestureLayerMomentumDataTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
public class GestureLayerRotateDataTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
public class GestureLayerTapDataTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
public class GestureLayerZoomDataTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Description("Testing ElmSharp.GestureLayer class")]
public class GestureLayerTests
{
- private static GestureLayer _GestureLayer;
- private static MainWindow _window = MainWindow.GetInstance();
- private static GestureLayer_Test _GestureLayer_T;
+ private GestureLayer _GestureLayer;
+ private MainWindow _window = MainWindow.GetInstance();
+ private GestureLayer_Test _GestureLayer_T;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_GestureLayer = new GestureLayer(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_GestureLayer = null;
[Description("Testing ElmSharp.Hoversel class")]
public class HoverselTests
{
- private static Hoversel _hoversel;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Hoversel _hoversel;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_hoversel = new Hoversel(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_hoversel = null;
[Description("Testing ElmSharp.HoverselItem class")]
public class HoverselItemTests
{
- private static Hoversel _hoversel;
- private static HoverselItem _hoverselItem;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Hoversel _hoversel;
+ private HoverselItem _hoverselItem;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_hoversel = new Hoversel(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_hoversel != null)
[Description("Testing ElmSharp.HoverselItemEventArgs class")]
public class HoverselItemEventArgsTests
{
- private static Hoversel _hoversel;
- private static HoverselItem _hoverselItem;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Hoversel _hoversel;
+ private HoverselItem _hoverselItem;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_hoversel = new Hoversel(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_hoversel != null)
[Description("ElmSharp.Accessible.IAccessibleObject Tests")]
public class IAccessibleObjectTests
{
- private static Label _label;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Label _label;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_label = new Label(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_label = null;
[Description("ElmSharp.Accessible.IAccessibleRelation Tests")]
public class IAccessibleRelationTests : IAccessibleRelation
{
- private static IAccessibleRelationTests _iAccessibleRelationTests;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private IAccessibleRelationTests _iAccessibleRelationTests;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
public AccessibleObject Target { get; set; }
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("Testing ElmSharp.IAnimatorMotionMapper class")]
public class IAnimatorMotionMapperTests : IAnimatorMotionMapper
{
- private static IAnimatorMotionMapperTests _myAnimatorMotionMapper;
- private static MainWindow _window = MainWindow.GetInstance();
+ private IAnimatorMotionMapperTests _myAnimatorMotionMapper;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_myAnimatorMotionMapper != null)
[Description("Testing ElmSharp.IInvalidatable class")]
public class IInvalidatableTests
{
- private static IInvalidatable_Test _IInvalidatable;
+ private IInvalidatable_Test _IInvalidatable;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_IInvalidatable = new IInvalidatable_Test();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
public class IconTests
{
- private static Icon _Icon;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Icon _Icon;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_Icon = new Icon(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_Icon = null;
[Description("Testing ElmSharp.Index class")]
public class IndexTests
{
- private static Index _index;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Index _index;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_index = new Index(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_index = null;
[Description("Testing ElmSharp.IndexItem class")]
public class IndexItemTests
{
- private static IndexItem _indexItem;
- private static MainWindow _window = MainWindow.GetInstance();
+ private IndexItem _indexItem;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_indexItem = new IndexItem("test");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_indexItem = null;
[Description("Testing ElmSharp.ItemObject class")]
public class ItemObjectTests
{
- private static int _mark;
- private static ColorSelectorItem _colorSelectorItem;
- private static ColorSelector _colorSelector;
- private static HoverselItem _hoverselItem;
- private static Hoversel _hoversel;
- private static Toolbar _toolbar;
- private static ToolbarItem _toolbarItem;
- private static MainWindow _window = MainWindow.GetInstance();
+ private int _mark;
+ private ColorSelectorItem _colorSelectorItem;
+ private ColorSelector _colorSelector;
+ private HoverselItem _hoverselItem;
+ private Hoversel _hoversel;
+ private Toolbar _toolbar;
+ private ToolbarItem _toolbarItem;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_colorSelector != null)
}
}
- private static void OnDeleted(object sender, EventArgs e)
+ private void OnDeleted(object sender, EventArgs e)
{
_mark = 1;
}
[Description("Testing ElmSharp.ItemObjectExtension class")]
public class ItemObjectExtensionTests
{
- private static ColorSelectorItem _colorSelectorItem;
- private static ColorSelector _colorSelector;
- private static MainWindow _window = MainWindow.GetInstance();
+ private ColorSelectorItem _colorSelectorItem;
+ private ColorSelector _colorSelector;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_colorSelector = null;
[Description("Testing ElmSharp.Label class")]
public class LabelTests
{
- private static int _mark;
- private static Label _Label;
- private static MainWindow _window = MainWindow.GetInstance();
+ private int _mark;
+ private Label _Label;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_Label = new Label(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_Label = null;
[Description("ElmSharp.Accessible.LabelFor Tests")]
public class LabelForTests
{
- private static LabelFor _labelFor;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private LabelFor _labelFor;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("ElmSharp.Accessible.LabelledBy Tests")]
public class LabelledByTests
{
- private static LabelledBy _labelledBy;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private LabelledBy _labelledBy;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("Testing ElmSharp.Layout class")]
public class LayoutTests
{
- private static int _mark;
- private static Layout _layout;
- private static MainWindow _window = MainWindow.GetInstance();
+ private int _mark;
+ private Layout _layout;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_layout = new Label(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_layout = null;
}
- private static void OnThemeChanged(object sender, EventArgs e)
+ private void OnThemeChanged(object sender, EventArgs e)
{
_mark = 1;
}
- private static void OnLanguageChanged(object sender, EventArgs e)
+ private void OnLanguageChanged(object sender, EventArgs e)
{
_mark = 1;
}
[Description("Testing ElmSharp.LinearMotionMapper class")]
public class LinearMotionMapperTests
{
- private static LinearMotionMapper _linearMotionMapper;
- private static MainWindow _window = MainWindow.GetInstance();
+ private LinearMotionMapper _linearMotionMapper;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_linearMotionMapper != null)
[Description("Testing ElmSharp.List class")]
public class ListTests
{
- private static MainWindow _window = MainWindow.GetInstance();
- private static List _list;
- private static string _resDir = Program.Current.DirectoryInfo.Resource;
+ private MainWindow _window = MainWindow.GetInstance();
+ private List _list;
+ private string _resDir = Program.Current.DirectoryInfo.Resource;
[SetUp]
- public static void Init()
+ public void Init()
{
InitList();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_list != null)
{
}
}
- private static void InitList()
+ private void InitList()
{
_list = new List(_window)
{
[Description("Testing ElmSharp.ListItem class")]
public class ListItemTests
{
- private static MainWindow _window = MainWindow.GetInstance();
- private static List _list;
- private static string _resDir = Program.Current.DirectoryInfo.Resource;
+ private MainWindow _window = MainWindow.GetInstance();
+ private List _list;
+ private string _resDir = Program.Current.DirectoryInfo.Resource;
[SetUp]
- public static void Init()
+ public void Init()
{
InitList();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_list != null)
{
}
}
- private static void InitList()
+ private void InitList()
{
_list = new List(_window)
{
[Description("Testing ElmSharp.ListItemEventArgs class")]
public class ListItemEventArgsTests
{
- private static MainWindow _window = MainWindow.GetInstance();
- private static List _list;
+ private MainWindow _window = MainWindow.GetInstance();
+ private List _list;
[SetUp]
- public static void Init()
+ public void Init()
{
InitList();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_list != null)
{
}
}
- private static void InitList()
+ private void InitList()
{
_list = new List(_window)
{
[Description("ElmSharp.Accessible.MemberOf Tests")]
public class MemberOfTests
{
- private static MemberOf _memberOf;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private MemberOf _memberOf;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("ElmSharp.MultiButtonEntry Tests")]
public class MultiButtonEntryTests
{
- private static MultiButtonEntry _mButtonEntry;
- private static MainWindow _window = MainWindow.GetInstance();
+ private MultiButtonEntry _mButtonEntry;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_mButtonEntry = null;
[Description("ElmSharp.MultiButtonEntryItem Tests")]
public class MultiButtonEntryItemTests
{
- private static MultiButtonEntry _mButtonEntry;
- private static MultiButtonEntryItem _mButtonEntryItem;
- private static MainWindow _window = MainWindow.GetInstance();
+ private MultiButtonEntry _mButtonEntry;
+ private MultiButtonEntryItem _mButtonEntryItem;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
[Description("ElmSharp.MultiButtonEntryItemEventArgs Tests")]
public class MultiButtonEntryItemEventArgsTests
{
- private static MultiButtonEntryItemEventArgs _mButtonEntryItemEventArgs;
- private static MultiButtonEntryItem _mButtonEntryItem;
- private static MainWindow _window = MainWindow.GetInstance();
+ private MultiButtonEntryItemEventArgs _mButtonEntryItemEventArgs;
+ private MultiButtonEntryItem _mButtonEntryItem;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_mButtonEntryItemEventArgs != null)
[Description("Testing ElmSharp.NamedHint class")]
public class NamedHintTests
{
- private static MainWindow _window = MainWindow.GetInstance();
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Description("Testing ElmSharp.NaviItem class")]
public class NaviItemTests
{
- private static MainWindow _window = MainWindow.GetInstance();
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Description("Testing ElmSharp.Naviframe class")]
public class NaviframeTests
{
- private static Naviframe _naviFrame;
- private static Naviframe _naviFrameTemp;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Naviframe _naviFrame;
+ private Naviframe _naviFrameTemp;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_naviFrame = new Naviframe(_window)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_naviFrame = null;
}
- private static void OnPopped(object sender, EventArgs e)
+ private void OnPopped(object sender, EventArgs e)
{
Assert.AreEqual(1, _naviFrameTemp.NavigationStack.Count);
}
[Description("Testing ElmSharp.NaviframeEventArgs class")]
public class NaviframeEventArgsTests
{
- private static Naviframe _naviFrame;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Naviframe _naviFrame;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_naviFrame = new Naviframe(_window)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_naviFrame = null;
public class PanelTests
{
- private static Panel _panel;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Panel _panel;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_panel = new Panel(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_panel = null;
}
- private static void OnToggled(object sender, EventArgs e)
+ private void OnToggled(object sender, EventArgs e)
{
Assert.IsTrue(true, "The Toggled event should be triggered.");
}
public class PanesTests
{
- private static Panes _panes;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Panes _panes;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_panes = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
- public static void Proportion_CHECK_DEFAULT_VALUE()
+ public void Proportion_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(0.5, _panes.Proportion, "Proportion default value is not equal to 0.5");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
- public static void IsHorizontal_CHECK_DEFAULT_VALUE()
+ public void IsHorizontal_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(false, _panes.IsHorizontal, "IsHorizontal default value is not equal to false");
[Description("ElmSharp.Accessible.ParentOf Tests")]
public class ParentOfTests
{
- private static ParentOf _parentOf;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private ParentOf _parentOf;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("ElmSharp.Accessible.ParentWindowOf Tests")]
public class ParentWindowOfTests
{
- private static ParentWindowOf _parentWindowOf;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private ParentWindowOf _parentWindowOf;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
public class PointTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
public class Point3DTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
public class PolygonTests
{
- private static Polygon _polygon;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Polygon _polygon;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_polygon = new Polygon(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_polygon = null;
public class PopupTests
{
- private static Popup _popup;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Popup _popup;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_popup = new Popup(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_popup = null;
[Description("ElmSharp.Accessible.PopupFor Tests")]
public class PopupForTests
{
- private static PopupFor _popupFor;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private PopupFor _popupFor;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("ElmSharp.PopupItem Tests")]
public class PopupItemTests {
- private static PopupItem _PopupItem;
- private static Popup _Popup;
- private static MainWindow _window = MainWindow.GetInstance();
+ private PopupItem _PopupItem;
+ private Popup _Popup;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_Popup = new Popup(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_PopupItem = null;
public class ProgressBarTests
{
- private static ProgressBar _progress;
- private static MainWindow _window = MainWindow.GetInstance();
+ private ProgressBar _progress;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_progress = new ProgressBar(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_progress = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void IsPulseMode_CHECK_DEFAULT_VALUE()
+ public void IsPulseMode_CHECK_DEFAULT_VALUE()
{
/* TEST CODE */
Assert.AreEqual(false, _progress.IsPulseMode, "IsPulseMode default value is not equal to false");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Li Hongqing, hongqing.li@samsung.com")]
- public static void Color_PROPERTY_SET_GET()
+ public void Color_PROPERTY_SET_GET()
{
_progress.Color = Color.Black;
Assert.AreEqual(Color.Black, _progress.Color, "Color is not equal to set value");
public class RadioTests
{
- private static Radio _radio;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Radio _radio;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_radio = new Radio(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_radio = null;
[Description("Testing ElmSharp.Rect struct")]
public class RectTests
{
- private static Rect _rect;
- private static int _x = 1;
- private static int _y = 2;
- private static int _w = 3;
- private static int _h = 4;
+ private Rect _rect;
+ private int _x = 1;
+ private int _y = 2;
+ private int _w = 3;
+ private int _h = 4;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_rect = new Rect(_x,_y,_w,_h);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Description("Testing ElmSharp.Rectangle struct")]
public class RectangleTests
{
- private static Rectangle _rect;
- private static MainWindow _window = MainWindow.GetInstance();
- private static int _x = 1;
- private static int _y = 2;
- private static int _w = 3;
- private static int _h = 4;
+ private Rectangle _rect;
+ private MainWindow _window = MainWindow.GetInstance();
+ private int _x = 1;
+ private int _y = 2;
+ private int _w = 3;
+ private int _h = 4;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_rect = new Rectangle(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_rect = null;
[Description("Testing ElmSharp.ResizingEffect class")]
public class ResizingEffectTests
{
- private static ResizingEffect _resizingEffect = null;
- private static Size _size1 = new Size(10, 10);
- private static Size _size2 = new Size(20, 20);
+ private ResizingEffect _resizingEffect = null;
+ private Size _size1 = new Size(10, 10);
+ private Size _size2 = new Size(20, 20);
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
}
- private static void CreateResizingEffect()
+ private void CreateResizingEffect()
{
_resizingEffect = new ResizingEffect(_size1, _size2);
}
[Description("Testing ElmSharp.RotationEffect class")]
public class RotationEffectTests
{
- private static RotationEffect _rotationEffect = null;
- private static float _bdegree = 10;
- private static float _edegree = 20;
+ private RotationEffect _rotationEffect = null;
+ private float _bdegree = 10;
+ private float _edegree = 20;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
}
- private static void CreateRotationEffect()
+ private void CreateRotationEffect()
{
_rotationEffect = new RotationEffect(_bdegree, _edegree);
}
public class ScrollerTests
{
- private static Scroller _scroller;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Scroller _scroller;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_scroller = new Scroller(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_scroller = null;
}
- public static Scroller CreateScroller()
+ public Scroller CreateScroller()
{
_scroller = new Scroller(_window)
{
[Property("CRITERIA", "CONSTR")]
[Property("COVPARAM", "ElmSharp.EvasObject")]
[Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
- public static void Scroller_CONST_PARAM1()
+ public void Scroller_CONST_PARAM1()
{
_scroller = new Scroller(_window);
Assert.IsInstanceOf<Scroller>(_scroller, "Should return Scroller instance.");
[Property("CRITERIA", "CONSTR")]
[Property("COVPARAM", "")]
[Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
- public static void Scroller_CONST()
+ public void Scroller_CONST()
{
_scroller = new Scroller();
Assert.IsInstanceOf<Scroller>(_scroller, "Should return Scroller instance.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void HorizontalScrollBarVisiblePolicy_PROPERTY_SET_GET()
+ public void HorizontalScrollBarVisiblePolicy_PROPERTY_SET_GET()
{
_scroller.HorizontalScrollBarVisiblePolicy = ScrollBarVisiblePolicy.Auto;
Assert.AreEqual(ScrollBarVisiblePolicy.Auto, _scroller.HorizontalScrollBarVisiblePolicy, "ScrollBarVisiblePolicy is not equal to set value");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void VerticalScrollBarVisiblePolicy_PROPERTY_SET_GET()
+ public void VerticalScrollBarVisiblePolicy_PROPERTY_SET_GET()
{
_scroller.VerticalScrollBarVisiblePolicy = ScrollBarVisiblePolicy.Auto;
Assert.AreEqual(ScrollBarVisiblePolicy.Auto, _scroller.VerticalScrollBarVisiblePolicy, "ScrollBarVisiblePolicy is not equal to set value");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void ScrollBlock_PROPERTY_SET_GET()
+ public void ScrollBlock_PROPERTY_SET_GET()
{
_scroller.ScrollBlock = ScrollBlock.None;
Assert.AreEqual(ScrollBlock.None, _scroller.ScrollBlock, "ScrollBlock is not equal to set value");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void ScrollBlock_CHECK_DEFAULT_VALUE()
+ public void ScrollBlock_CHECK_DEFAULT_VALUE()
{
/* TEST CODE */
Assert.AreEqual(ScrollBlock.None, _scroller.ScrollBlock, "ScrollBlock default value is not equal to ScrollBlock.None");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void VerticalPageScrollLimit_PROPERTY_SET_GET()
+ public void VerticalPageScrollLimit_PROPERTY_SET_GET()
{
int vlimit = 10;
_scroller.VerticalPageScrollLimit = vlimit;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void HorizontalPageScrollLimit_PROPERTY_SET_GET()
+ public void HorizontalPageScrollLimit_PROPERTY_SET_GET()
{
int vlimit = 20;
_scroller.HorizontalPageScrollLimit = vlimit;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
[Property("COVPARAM", "int,int")]
- public static void SetPageSize_WITH_INT_CHECK()
+ public void SetPageSize_WITH_INT_CHECK()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
[Property("COVPARAM", "double,double")]
- public static void SetPageSize_WITH_DOUBLE_CHECK()
+ public void SetPageSize_WITH_DOUBLE_CHECK()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void CurrentRegion_RETURN_VALUE_RECT()
+ public void CurrentRegion_RETURN_VALUE_RECT()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
[Property("COVPARAM", "Rect,bool")]
- public static void ScrollTo_RECT_CHECK()
+ public void ScrollTo_RECT_CHECK()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
[Property("COVPARAM", "int,int,bool")]
- public static void ScrollTo_INT_INT_CHECK()
+ public void ScrollTo_INT_INT_CHECK()
{
try
{
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
[Property("COVPARAM", "int,int,bool")]
- public static void ScrollTo_INT_INT_INACCURATE()
+ public void ScrollTo_INT_INT_INACCURATE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void ContentPropagateEvents_PROPERTY_SET_GET()
+ public void ContentPropagateEvents_PROPERTY_SET_GET()
{
_scroller.ContentPropagateEvents = true;
Assert.AreEqual(true, _scroller.ContentPropagateEvents, "ContentPropagateEvents is not equal to set value");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
- public static void HorizontalGravity_PROPERTY_DEFAULT()
+ public void HorizontalGravity_PROPERTY_DEFAULT()
{
Assert.AreEqual(0.0, _scroller.HorizontalGravity, "Default HorizontalGravity should be 0.0.");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
- public static void HorizontalGravity_PROPERTY_SET_GET()
+ public void HorizontalGravity_PROPERTY_SET_GET()
{
_scroller.HorizontalGravity = 0.0;
Assert.AreEqual(0.0, _scroller.HorizontalGravity, "HorizontalGravity should be 0.0.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
- public static void VerticalGravity_PROPERTY_DEFAULT()
+ public void VerticalGravity_PROPERTY_DEFAULT()
{
Assert.AreEqual(0.0, _scroller.VerticalGravity, "Default VerticalGravity should be 0.0.");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Qian Sui, qian.sui@samsung.com")]
- public static void VerticalGravity_PROPERTY_SET_GET()
+ public void VerticalGravity_PROPERTY_SET_GET()
{
_scroller.VerticalGravity = 0.0;
Assert.AreEqual(0.0, _scroller.VerticalGravity, "VerticalGravity should be 0.0.");
[Description("Testing ElmSharp.SinusoidalFactorMotionMapper class")]
public class SinusoidalFactorMotionMapperTests
{
- private static SinusoidalFactorMotionMapper _sinusoidalFactorMotionMapper;
- private static MainWindow _window = MainWindow.GetInstance();
+ private SinusoidalFactorMotionMapper _sinusoidalFactorMotionMapper;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_sinusoidalFactorMotionMapper != null)
[Description("Testing ElmSharp.SinusoidalMotionMapper class")]
public class SinusoidalMotionMapperTests
{
- private static SinusoidalMotionMapper _sinusoidalMotionMapper;
- private static MainWindow _window = MainWindow.GetInstance();
+ private SinusoidalMotionMapper _sinusoidalMotionMapper;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_sinusoidalMotionMapper != null)
[Description("Testing ElmSharp.Size struct")]
public class SizeTests
{
- private static Size _size;
- private static int _width = 10;
- private static int _height = 22;
+ private Size _size;
+ private int _width = 10;
+ private int _height = 22;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_size = new Size(_width, _height);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
public class SliderTests
{
- private static Slider _sclider;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Slider _sclider;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_sclider = new Slider(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_sclider = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void IsHorizontal_CHECK_DEFAULT_VALUE()
+ public void IsHorizontal_CHECK_DEFAULT_VALUE()
{
/* TEST CODE */
Assert.AreEqual(true, _sclider.IsHorizontal, "IsHorizontal default value is not equal to true");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void Minimum_CHECK_DEFAULT_VALUE()
+ public void Minimum_CHECK_DEFAULT_VALUE()
{
/* TEST CODE */
Assert.AreEqual(0.0, _sclider.Minimum, "Minimum default value is not equal to 0.0");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void Value_BELOW_MIN_VALUE()
+ public void Value_BELOW_MIN_VALUE()
{
double min = 0.0;
_sclider.Maximum = 1.0;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void Maximum_CHECK_DEFAULT_VALUE()
+ public void Maximum_CHECK_DEFAULT_VALUE()
{
/* TEST CODE */
Assert.AreEqual(1.0, _sclider.Maximum, "Maximum default value is not equal to 1.0");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PAM")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void Value_ABOVE_MAX_VALUE()
+ public void Value_ABOVE_MAX_VALUE()
{
double max = 2.0;
_sclider.Maximum = max;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void Step_CHECK_DEFAULT_VALUE()
+ public void Step_CHECK_DEFAULT_VALUE()
{
/* TEST CODE */
Assert.AreEqual(0.05, _sclider.Step, "Step default value is not equal to 0.05");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Gu Wenxuan, wenxuan.gu@samsung.com")]
- public static void IsIndicatorVisible_CHECK_DEFAULT_VALUE()
+ public void IsIndicatorVisible_CHECK_DEFAULT_VALUE()
{
/* TEST CODE */
Assert.AreEqual(false, _sclider.IsIndicatorVisible, "_sclider default value is not equal to false");
[Description("Testing ElmSharp.SmartEvent class")]
public class SmartEventTests
{
- private static MainWindow _window = MainWindow.GetInstance();
- private static Button _btn;
- private static SmartEvent _samrtEvent;
+ private MainWindow _window = MainWindow.GetInstance();
+ private Button _btn;
+ private SmartEvent _samrtEvent;
[SetUp]
- public static void Init()
+ public void Init()
{
_btn = new Button(_window)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_samrtEvent != null)
{
[Description("Testing ElmSharp.SmartEvent<TEventArgs> class")]
public class SmartEventTemplateTests
{
- private static MainWindow _window = MainWindow.GetInstance();
- private static Button _btn;
- private static SmartEvent<EventArgs> _samrtEvent;
+ private MainWindow _window = MainWindow.GetInstance();
+ private Button _btn;
+ private SmartEvent<EventArgs> _samrtEvent;
[SetUp]
- public static void Init()
+ public void Init()
{
_btn = new Button(_window)
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_samrtEvent != null)
{
[Description("Testing ElmSharp.Spinner class")]
public class TSSpinner
{
- private static Spinner _spinner;
- private static MainWindow _window = MainWindow.GetInstance();
- public static Boolean _isValueChanged;
+ private Spinner _spinner;
+ private MainWindow _window = MainWindow.GetInstance();
+ public Boolean _isValueChanged;
public class MySpinner : Spinner
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_spinner = new Spinner(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_spinner = null;
}
- public static void ValueChangedCallback(object sender, System.EventArgs e)
+ public void ValueChangedCallback(object sender, System.EventArgs e)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Get ValueChangedCallback");
_isValueChanged = true;
[Description("Testing ElmSharp.SpringMotionMapper class")]
public class SpringMotionMapperTests
{
- private static SpringMotionMapper _springMotionMapper;
- private static MainWindow _window = MainWindow.GetInstance();
+ private SpringMotionMapper _springMotionMapper;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_springMotionMapper != null)
[Description("ElmSharp.Accessible.SubwindowOf Tests")]
public class SubwindowOfTests
{
- private static SubwindowOf _subwindowOf;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private SubwindowOf _subwindowOf;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("Testing ElmSharp.Table class")]
public class TableTests {
- private static Table _table;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Table _table;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_table = new Table(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_table = null;
private static GestureLayer.TapData _tapData;
[SetUp]
- public static void Init()
+ public void Init()
{
_tapData = new GestureLayer.TapData();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Description("Testing ElmSharp.Toolbar class")]
public class ToolbarTests
{
- private static Toolbar _toolbar;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Toolbar _toolbar;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_toolbar = null;
[Description("Testing ElmSharp.ToolbarItem class")]
public class ToolbarItemTests
{
- private static Toolbar _toolbar;
- private static ToolbarItem _toolbarItem;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Toolbar _toolbar;
+ private ToolbarItem _toolbarItem;
+ private MainWindow _window = MainWindow.GetInstance();
private string _resDir = Tizen.Applications.Application.Current.DirectoryInfo.Resource;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) == 0)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_toolbar = null;
[Description("Testing ElmSharp.ToolbarItemEventArgs class")]
public class ToolbarItemEventArgsTests
{
- private static MainWindow _window = MainWindow.GetInstance();
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Description("ElmSharp.Accessible.TooltipFor Tests")]
public class TooltipForTests
{
- private static TooltipFor _tooltipFor;
- private static Button _button;
- private static MainWindow _window = MainWindow.GetInstance();
+ private TooltipFor _tooltipFor;
+ private Button _button;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_button = new Button(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_button != null)
[Description("Testing ElmSharp.Transit class")]
public class TransitTests
{
- private static Transit _trans;
- private static MainWindow _window = MainWindow.GetInstance();
+ private Transit _trans;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_trans = new Transit();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_trans.Dispose();
[Description("Testing ElmSharp.TranslationEffect class")]
public class TranslationEffectTests
{
- private static TranslationEffect _translationEffect = null;
- private static Point _point1 = new Point();
- private static Point _point2 = new Point();
+ private TranslationEffect _translationEffect = null;
+ private Point _point1 = new Point();
+ private Point _point2 = new Point();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
}
- private static void CreateTranslationEffect()
+ private void CreateTranslationEffect()
{
_point1.X = 10;
_point1.Y = 10;
[Description("Testing ElmSharp.Utility class")]
class UtilityTests
{
- private static ColorEffect _coloreffect = null;
+ private ColorEffect _coloreffect = null;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
base.UpdatePartContents(content);
}
}
- private static Widget _widget;
- private static MainWindow _window = MainWindow.GetInstance();
- private static bool _checkFlag = false;
+ private Widget _widget;
+ private MainWindow _window = MainWindow.GetInstance();
+ private bool _checkFlag = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_widget = null;
{
}
}
- private static MainWindow _testwindow = MainWindow.GetInstance();
+ private MainWindow _testwindow = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Description("Testing ElmSharp.WipeEffect class")]
public class WipeEffectTests
{
- private static WipeEffect _wipeEffect = null;
+ private WipeEffect _wipeEffect = null;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
public class ZoomDataTests
{
- private static GestureLayer.ZoomData _zoomData;
+ private GestureLayer.ZoomData _zoomData;
[SetUp]
- public static void Init()
+ public void Init()
{
_zoomData = new GestureLayer.ZoomData();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Description("Testing ElmSharp.ZoomEffect class")]
public class ZoomEffectTests
{
- private static ZoomEffect _zoomEffect = null;
- private static float _brate = 10;
- private static float _erate = 20;
+ private ZoomEffect _zoomEffect = null;
+ private float _brate = 10;
+ private float _erate = 20;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
}
- private static void CreateZoomEffect()
+ private void CreateZoomEffect()
{
_zoomEffect = new ZoomEffect(_brate, _erate);
}
[Description("Testing ElmSharp.Wearable.CircleGenList class")]
public class CircleGenListTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static CircleGenList _circleGenList;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private CircleGenList _circleGenList;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_circleGenList != null)
}
}
- private static void CreateMoreOption()
+ private void CreateMoreOption()
{
Conformant conformant = new Conformant(_window);
var surface = new CircleSurface(conformant);
[Step(2, "scroll the gen list")]
[Step(3, "if scroll on CircleGenList works properly, click pass")]
[Postcondition(1, "NA")]
- public static async Task CircleGenList_CHECK()
+ public async Task CircleGenList_CHECK()
{
CreateMoreOption();
await ManualTest.WaitForConfirm();
[Description("Testing ElmSharp.Wearable.CircleSlider class")]
public class CircleSliderTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static CircleSlider _circleSlider;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private CircleSlider _circleSlider;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_circleSlider != null)
}
}
- private static void CreateCircleSlider()
+ private void CreateCircleSlider()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateButton");
_circleSlider = new CircleSlider(_window)
_testPage.ExecuteTCByPage(_circleSlider);
}
- public static void OnChanged(object sender, EventArgs e)
+ public void OnChanged(object sender, EventArgs e)
{
ManualTest.Confirm();
}
[Step(1, "Click run TC")]
[Step(2, "Move with wheel, and it will display result automatically.")]
[Postcondition(1, "NA")]
- public static async Task ValueChanged_CB()
+ public async Task ValueChanged_CB()
{
CreateCircleSlider();
_circleSlider.ValueChanged += OnChanged;
[Description("Testing ElmSharp.Wearable.EvasObjectExtensions class")]
public class EvasObjectExtensionsTests
{
- private static TestPage _testPage = TestPage.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
private static Window _window = MainWindow.GetInstance();
- private static Rect _square = _window.GetInnerSquare();
- private static double _degrees = 0;
- private static Rectangle _redSquare;
- private static bool _boo = false;
+ private Rect _square = _window.GetInnerSquare();
+ private double _degrees = 0;
+ private Rectangle _redSquare;
+ private bool _boo = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_redSquare != null)
}
}
- private static void CreateSquare()
+ private void CreateSquare()
{
_redSquare = new Rectangle(_window)
{
_redSquare.Show();
}
- public static void OnRotated(RotaryEventArgs e)
+ public void OnRotated(RotaryEventArgs e)
{
if (e.IsClockwise) _degrees += 10;
else _degrees -= 10;
[Step(2, "Move by wheel, and it will show different colors.")]
[Step(3, "Plz click Pass if you can see different colors after moving wheel, or click Fail.")]
[Postcondition(1, "NA")]
- public static async Task AddRotaryEventHandler_CHECK()
+ public async Task AddRotaryEventHandler_CHECK()
{
_boo = false;
CreateSquare();
[Step(2, "Move by wheel, and it always show red color.")]
[Step(3, "Plz click Pass if you can see red color always after moving wheel, or click Fail.")]
[Postcondition(1, "NA")]
- public static async Task RemoveRotaryEventHandler_CHECK()
+ public async Task RemoveRotaryEventHandler_CHECK()
{
_boo = false;
CreateSquare();
[Step(1, "Click run TC.")]
[Step(2, "Plz move by wheel, and it will display result automatically.")]
[Postcondition(1, "NA")]
- public static async Task Activate_CHECK()
+ public async Task Activate_CHECK()
{
_boo = true;
CreateSquare();
[Step(2, "Move by wheel, and it always show red color.")]
[Step(3, "Plz click Pass if you can see red color always after moving wheel, or click Fail.")]
[Postcondition(1, "NA")]
- public static async Task Deactivate_CHECK()
+ public async Task Deactivate_CHECK()
{
_boo = true;
CreateSquare();
[Description("Testing ElmSharp.Wearable.MoreOption class")]
public class MoreOptionTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static MoreOption _option;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private MoreOption _option;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_option!= null)
}
}
- private static void CreateMoreOption()
+ private void CreateMoreOption()
{
_option = new MoreOption(_window)
{
_testPage.ExecuteTCByPage(_option);
}
- private static MoreOptionItem CreateItem(string iconName)
+ private MoreOptionItem CreateItem(string iconName)
{
Image img = new Image(_window);
img.Load(Path.Combine(Program.ResourceDir, "icons", iconName + ".png"));
};
}
- public static void OnSelected(object sender, EventArgs e)
+ public void OnSelected(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- public static void OnClicked(object sender, EventArgs e)
+ public void OnClicked(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- public static void OnOpened(object sender, EventArgs e)
+ public void OnOpened(object sender, EventArgs e)
{
ManualTest.Confirm();
}
- public static void OnClosed(object sender, EventArgs e)
+ public void OnClosed(object sender, EventArgs e)
{
ManualTest.Confirm();
}
[Step(1, "Click the more option item")]
[Step(2, "Select any selector item with wheel, and it will display result automatically.")]
[Postcondition(1, "NA")]
- public static async Task Selected_CB()
+ public async Task Selected_CB()
{
CreateMoreOption();
_option.Selected += OnSelected;
[Step(2, "Click the more option item")]
[Step(3, "Click the selector item, and it will display result automatically.")]
[Postcondition(1, "NA")]
- public static async Task Clicked_CB()
+ public async Task Clicked_CB()
{
CreateMoreOption();
_option.Clicked += OnClicked;
[Step(1, "Click run TC")]
[Step(2, "Click the more option item, and it will display result automatically.")]
[Postcondition(1, "NA")]
- public static async Task Opened_CB()
+ public async Task Opened_CB()
{
CreateMoreOption();
_option.Opened += OnOpened;
[Step(2, "Click the more option item")]
[Step(3, "Click back button, and it will display result automatically.")]
[Postcondition(1, "NA")]
- public static async Task Closed_CB()
+ public async Task Closed_CB()
{
CreateMoreOption();
_option.Closed += OnClosed;
[Description("Testing ElmSharp.Wearable.RotaryEventArgs class")]
public class RotaryEventArgsTests
{
- private static TestPage _testPage = TestPage.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
private static Window _window = MainWindow.GetInstance();
- private static Rect _square = _window.GetInnerSquare();
- private static Rectangle _redSquare;
- private static bool _boo1 = false;
- private static bool _boo2 = false;
+ private Rect _square = _window.GetInnerSquare();
+ private Rectangle _redSquare;
+ private bool _boo1 = false;
+ private bool _boo2 = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_redSquare != null)
}
}
- private static void CreateSquare()
+ private void CreateSquare()
{
_redSquare = new Rectangle(_window)
{
_redSquare.Show();
}
- public static void OnRotated(RotaryEventArgs e)
+ public void OnRotated(RotaryEventArgs e)
{
if(!_boo1)
{
}
}
- public static void OnRotated2(RotaryEventArgs e)
+ public void OnRotated2(RotaryEventArgs e)
{
e.Timestamp = 9797498;
[Step(2, "Move on clockwise direction, then move on counter clockwise by wheel.")]
[Step(3, "it will display result automatically, or click Fail.")]
[Postcondition(1, "NA")]
- public static async Task IsClockwise_CHECK()
+ public async Task IsClockwise_CHECK()
{
CreateSquare();
RotaryEventManager.Rotated += OnRotated;
[Step(2, "Move by wheel.")]
[Step(3, "it will display result automatically.")]
[Postcondition(1, "NA")]
- public static async Task Timestamp_CHECK()
+ public async Task Timestamp_CHECK()
{
CreateSquare();
RotaryEventManager.Rotated += OnRotated2;
[Description("Testing ElmSharp.Wearable.RotaryEventExtensions class")]
public class RotaryEventExtensionsTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static Conformant _conformant;
- private static Layout _layout;
- private static CircleDateTimeSelector _selector;
- private static Box _box;
- private static Rectangle _rect1;
- private static Rectangle _rect2;
- private static double _degrees = 0;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private Conformant _conformant;
+ private Layout _layout;
+ private CircleDateTimeSelector _selector;
+ private Box _box;
+ private Rectangle _rect1;
+ private Rectangle _rect2;
+ private double _degrees = 0;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_conformant != null)
}
}
- private static void CreateSelector()
+ private void CreateSelector()
{
_conformant = new Conformant(_window);
_layout = new Layout(_window);
_layout.Show();
}
- private static void CreateRect()
+ private void CreateRect()
{
_box = new Box(_window)
{
_box.PackEnd(_rect2);
}
- private static void EventHandler(RotaryEventArgs args)
+ private void EventHandler(RotaryEventArgs args)
{
if (args.IsClockwise) _degrees += 10;
else _degrees -= 10;
_box.IsMapEnabled = true;
}
- private static void Confirm(RotaryEventArgs args)
+ private void Confirm(RotaryEventArgs args)
{
ManualTest.Confirm();
}
[Step(2, "Plz change time with wheel, and the time will be changed successfully.")]
[Step(3, "If it is, click Pass, or Fail.")]
[Postcondition(1, "NA")]
- public static async Task Activate_CHECK_IRotaryActionWidget()
+ public async Task Activate_CHECK_IRotaryActionWidget()
{
CreateSelector();
((IRotaryActionWidget)_selector).Activate();
[Step(2, "Plz rotary with wheel, and the red and blue rect will rotary successfully.")]
[Step(3, "If it is, click Pass, or Fail.")]
[Postcondition(1, "NA")]
- public static async Task Activate_CHECK_EvasObject()
+ public async Task Activate_CHECK_EvasObject()
{
CreateRect();
_box.AddRotaryEventHandler(EventHandler);
[Step(2, "Circle object to detect wheel rotation will be not shown, because it is deactivated.")]
[Step(3, "If it is, click Pass, or Fail.")]
[Postcondition(1, "NA")]
- public static async Task Deactivate_CHECK_IRotaryActionWidget()
+ public async Task Deactivate_CHECK_IRotaryActionWidget()
{
CreateSelector();
((IRotaryActionWidget)_selector).Deactivate();
[Step(2, "Plz rotary with wheel, and the red and blue rect will not rotary successfully.")]
[Step(3, "If it is, click Pass, or Fail.")]
[Postcondition(1, "NA")]
- public static async Task Deactivate_CHECK_EvasObject()
+ public async Task Deactivate_CHECK_EvasObject()
{
CreateRect();
_box.AddRotaryEventHandler(EventHandler);
[Step(1, "Click run TC.")]
[Step(2, "Plz change time with wheel, and it will display result automatically.")]
[Postcondition(1, "NA")]
- public static async Task AddRotaryEventHandler_CHECK()
+ public async Task AddRotaryEventHandler_CHECK()
{
CreateSelector();
_selector.AddRotaryEventHandler(Confirm);
[Step(3, "Since callback was removed, it will not retrun test result automatically.")]
[Step(4, "If you can not see result PASS, click Pass.")]
[Postcondition(1, "NA")]
- public static async Task RemoveRotaryEventHandler_CHECK()
+ public async Task RemoveRotaryEventHandler_CHECK()
{
CreateSelector();
_selector.AddRotaryEventHandler(Confirm);
[Description("Testing ElmSharp.Wearable.RotaryEventManager class")]
public class RotaryEventManagerTests
{
- private static TestPage _testPage = TestPage.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
private static Window _window = MainWindow.GetInstance();
- private static Rect _square = _window.GetInnerSquare();
- private static double _degrees = 0;
- private static Rectangle _redSquare;
+ private Rect _square = _window.GetInnerSquare();
+ private double _degrees = 0;
+ private Rectangle _redSquare;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_redSquare != null)
}
}
- private static void CreateSquare()
+ private void CreateSquare()
{
_redSquare = new Rectangle(_window)
{
_redSquare.Show();
}
- public static void OnRotated(RotaryEventArgs e)
+ public void OnRotated(RotaryEventArgs e)
{
if (e.IsClockwise) _degrees += 10;
else _degrees -= 10;
[Step(1, "Click run TC.")]
[Step(2, "Plz move by wheel, and it will display result automatically.")]
[Postcondition(1, "NA")]
- public static async Task Rotated_EVENT()
+ public async Task Rotated_EVENT()
{
CreateSquare();
RotaryEventManager.Rotated += OnRotated;
[Description("Testing ElmSharp.Wearable.RotarySelector class")]
public class RotarySelectorTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static RotarySelector _selector;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private RotarySelector _selector;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_selector != null)
}
}
- private static void CreateSelector()
+ private void CreateSelector()
{
_selector = new RotarySelector(_window)
{
_selector.Show();
}
- private static RotarySelectorItem CreateItem(string iconName)
+ private RotarySelectorItem CreateItem(string iconName)
{
Image img = new Image(_window);
img.Load(Path.Combine(Program.ResourceDir, "icons", iconName + ".png"));
};
}
- private static void OnClicked(object sender, RotarySelectorItemEventArgs e)
+ private void OnClicked(object sender, RotarySelectorItemEventArgs e)
{
ManualTest.Confirm();
}
- public static void OnSelected(object sender, RotarySelectorItemEventArgs e)
+ public void OnSelected(object sender, RotarySelectorItemEventArgs e)
{
ManualTest.Confirm();
}
- public static void OnSelectedItem(object sender, RotarySelectorItemEventArgs e)
+ public void OnSelectedItem(object sender, RotarySelectorItemEventArgs e)
{
if (e.Item == _selector.SelectedItem)
{
[Step(1, "Click run TC.")]
[Step(2, "Plz click any item, and it will display result automatically.")]
[Postcondition(1, "NA")]
- public static async Task Clicked_CB()
+ public async Task Clicked_CB()
{
CreateSelector();
_selector.Clicked += OnClicked;
[Step(1, "Click run TC.")]
[Step(2, "Plz select any item with wheel, and it will display result automatically.")]
[Postcondition(1, "NA")]
- public static async Task Selected_CB()
+ public async Task Selected_CB()
{
CreateSelector();
_selector.Selected += OnSelected;
[Step(1, "Click run TC.")]
[Step(2, "Plz click any item, and it will display result automatically.")]
[Postcondition(1, "NA")]
- public static async Task SelectedItem_CHECK()
+ public async Task SelectedItem_CHECK()
{
CreateSelector();
_selector.Clicked += OnSelectedItem;
[Description("Testing ElmSharp.Wearable.RotarySelectorItemEventArgs class")]
public class RotarySelectorItemEventArgsTests
{
- private static TestPage _testPage = TestPage.GetInstance();
- private static RotarySelector _selector;
- private static Window _window = MainWindow.GetInstance();
+ private TestPage _testPage = TestPage.GetInstance();
+ private RotarySelector _selector;
+ private Window _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
if (_selector != null)
}
}
- private static void CreateSelector()
+ private void CreateSelector()
{
_selector = new RotarySelector(_window)
{
_selector.Show();
}
- private static RotarySelectorItem CreateItem(string iconName)
+ private RotarySelectorItem CreateItem(string iconName)
{
Image img = new Image(_window);
img.Load(Path.Combine(Program.ResourceDir, "icons", iconName + ".png"));
};
}
- public static void OnSelectedItem(object sender, RotarySelectorItemEventArgs e)
+ public void OnSelectedItem(object sender, RotarySelectorItemEventArgs e)
{
if (_selector.Items[0] == e.Item)
{
[Step(1, "Click run TC.")]
[Step(2, "Plz click first item(icon_aquamarine_260_me), and it will display result automatically.")]
[Postcondition(1, "NA")]
- public static async Task Item_CHECK()
+ public async Task Item_CHECK()
{
CreateSelector();
_selector.Clicked += OnSelectedItem;
[Description("ElmSharp.Wearable.CircleDatetimeSelector Tests")]
public class CircleDatetimeSelectorTests
{
- private static CircleDateTimeSelector _circleDatetimeSelector;
- private static CircleSurface _circleSurface;
- private static MainWindow _window = MainWindow.GetInstance();
+ private CircleDateTimeSelector _circleDatetimeSelector;
+ private CircleSurface _circleSurface;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_circleSurface = new CircleSurface(new Conformant(_window));
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_circleDatetimeSelector != null)
[Description("ElmSharp.Wearable.CircleGenList Tests")]
public class CircleGenListTests
{
- private static CircleGenList _circleGenList;
- private static CircleSurface _circleSurface;
- private static MainWindow _window = MainWindow.GetInstance();
+ private CircleGenList _circleGenList;
+ private CircleSurface _circleSurface;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_circleSurface = new CircleSurface(new Conformant(_window));
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_circleGenList != null)
[Description("ElmSharp.Wearable.CircleProgressBar Tests")]
public class CircleProgressBarTests
{
- private static CircleProgressBar _circleProgressBar;
- private static CircleSurface _circleSurface;
- private static MainWindow _window = MainWindow.GetInstance();
+ private CircleProgressBar _circleProgressBar;
+ private CircleSurface _circleSurface;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_circleSurface = new CircleSurface(new Conformant(_window));
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_circleProgressBar != null)
[Description("ElmSharp.Wearable.CircleScroller Test")]
public class CircleScrollerTests
{
- private static CircleScroller _circleScroller;
- private static CircleSurface _circleSurface;
- private static MainWindow _window = MainWindow.GetInstance();
+ private CircleScroller _circleScroller;
+ private CircleSurface _circleSurface;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_circleSurface = new CircleSurface(new Conformant(_window));
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_circleScroller != null)
[Description("ElmSharp.Wearable.CircleSlider Test")]
public class CircleSliderTests
{
- private static CircleSlider _circleSlider;
- private static CircleSurface _circleSurface;
- private static MainWindow _window = MainWindow.GetInstance();
+ private CircleSlider _circleSlider;
+ private CircleSurface _circleSurface;
+ private MainWindow _window = MainWindow.GetInstance();
public class MyCircleSlider : CircleSlider
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_circleSurface = new CircleSurface(new Conformant(_window));
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_circleSlider = null;
[Description("ElmSharp.Wearable.CircleSpinner Tests")]
public class CircleSpinnerTests
{
- private static CircleSpinner _circleSpinner;
- private static CircleSurface _circleSurface;
- private static MainWindow _window = MainWindow.GetInstance();
+ private CircleSpinner _circleSpinner;
+ private CircleSurface _circleSurface;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_circleSurface = new CircleSurface(new Conformant(_window));
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_circleSpinner != null)
[Description("ElmSharp.Wearable.CircleSurface Tests")]
public class CircleSurfaceTests
{
- private static CircleSurface _circleSurface;
- private static MainWindow _window = MainWindow.GetInstance();
+ private CircleSurface _circleSurface;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_circleSurface = new CircleSurface(new Conformant(_window));
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_circleSurface != null)
[Description("ElmSharp.Wearable.ICircleWidget Tests")]
public class ICircleWidgetTests
{
- private static CircleProgressBar _circleProgressBar;
- private static CircleSurface _circleSurface;
- private static MainWindow _window = MainWindow.GetInstance();
+ private CircleProgressBar _circleProgressBar;
+ private CircleSurface _circleSurface;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_circleSurface = new CircleSurface(new Conformant(_window));
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_circleProgressBar != null)
[Description("ElmSharp.Wearable.MoreOption Test")]
public class MoreOptionTests
{
- private static MoreOption _moreOption;
- private static MainWindow _window = MainWindow.GetInstance();
+ private MoreOption _moreOption;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_moreOption = new MoreOption(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_moreOption = null;
[Description("ElmSharp.Wearable.MoreOptionItem Test")]
public class MoreOptionItemTests
{
- private static MoreOptionItem _moreOptionItem;
- private static MainWindow _window = MainWindow.GetInstance();
+ private MoreOptionItem _moreOptionItem;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_moreOptionItem = new MoreOptionItem();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_moreOptionItem = null;
[Description("ElmSharp.Wearable.MoreOptionItemEventArgs Tests")]
public class MoreOptionItemEventArgsTests
{
- private static MoreOptionItemEventArgs _moreOptionItemEventArgs;
- private static MainWindow _window = MainWindow.GetInstance();
+ private MoreOptionItemEventArgs _moreOptionItemEventArgs;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_moreOptionItemEventArgs = new MoreOptionItemEventArgs();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
_moreOptionItemEventArgs = null;
[Description("ElmSharp.Wearable.RotaryEventArgs Tests")]
public class RotaryEventArgsTests
{
- private static RotaryEventArgs _rotaryEventArgs;
- private static MainWindow _window = MainWindow.GetInstance();
+ private RotaryEventArgs _rotaryEventArgs;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_rotaryEventArgs != null)
[Description("ElmSharp.Wearable.RotaryEventExtensions Tests")]
public class RotaryEventExtensionsTests
{
- private static CircleSurface _circleSurface;
- private static MainWindow _window = MainWindow.GetInstance();
+ private CircleSurface _circleSurface;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
_circleSurface = new CircleSurface(new Conformant(_window));
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
if (_circleSurface != null)
[Description("ElmSharp.Wearable.RotarySelector Tests")]
public class RotarySelectorTests
{
- private static RotarySelector _selector;
- private static MainWindow _window = MainWindow.GetInstance();
+ private RotarySelector _selector;
+ private MainWindow _window = MainWindow.GetInstance();
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
_selector = new RotarySelector(_window);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
_selector = null;
}
- private static RotarySelectorItem CreateItem(string iconName)
+ private RotarySelectorItem CreateItem(string iconName)
{
Image img = new Image(_window);
img.Load(Path.Combine(Program.ResourceDir, "icons", iconName + ".png"));
[Description("ElmSharp.Wearable.RotarySelectorItem Tests")]
public class RotarySelectorItemTests
{
- private static RotarySelector _selector;
- private static MainWindow _window = MainWindow.GetInstance();
- private static List<Image> _images;
+ private RotarySelector _selector;
+ private MainWindow _window = MainWindow.GetInstance();
+ private List<Image> _images;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
CreateSelector();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_selector != null)
}
}
- private static void CreateSelector()
+ private void CreateSelector()
{
_images = new List<Image>();
_selector = new RotarySelector(_window)
_selector.Show();
}
- private static RotarySelectorItem CreateItem(string iconName)
+ private RotarySelectorItem CreateItem(string iconName)
{
Image img = new Image(_window);
img.Load(Path.Combine(Program.ResourceDir, "icons", iconName + ".png"));
[Description("ElmSharp.Wearable.RotarySelectorItemEventArgs Tests")]
public class RotarySelectorItemEventArgsTests
{
- private static RotarySelector _selector;
- private static MainWindow _window = MainWindow.GetInstance();
- private static List<Image> _images;
+ private RotarySelector _selector;
+ private MainWindow _window = MainWindow.GetInstance();
+ private List<Image> _images;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
if (_selector != null)
}
}
- private static void CreateSelector()
+ private void CreateSelector()
{
_images = new List<Image>();
_selector = new RotarySelector(_window)
_selector.Show();
}
- private static RotarySelectorItem CreateItem(string iconName)
+ private RotarySelectorItem CreateItem(string iconName)
{
Image img = new Image(_window);
img.Load(Path.Combine(Program.ResourceDir, "icons", iconName + ".png"));
};
}
- public static void OnSelectedItem(object sender, RotarySelectorItemEventArgs e)
+ public void OnSelectedItem(object sender, RotarySelectorItemEventArgs e)
{
Assert.AreEqual(_selector.Items[0], e.Item, "The selected item should be equal to Items[0].");
}
[Description("Tizen.Messaging.Email.EmailAttachment Tests")]
public class EmailAttachmentTests
{
- static bool isEmailSupported = false;
+ bool isEmailSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Description("Tizen.Messaging.Email.EmailMessage Tests")]
public class EmailMessageTests
{
- static bool isEmailSupported = false;
+ bool isEmailSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Description("Tizen.Messaging.Email.EmailRecipient Tests")]
public class EmailRecipientTests
{
- static bool isEmailSupported = false;
+ bool isEmailSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Description("Tizen.Messaging.Email.EmailSender Tests")]
public class EmailSenderTests
{
- private static EmailSendResult result = EmailSendResult.Failure;
- static bool isEmailSupported = false;
+ private EmailSendResult result = EmailSendResult.Failure;
+ bool isEmailSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
public class FeedbackTests {
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
- static string[] patterns = new string[39] { "Tap", "SoftInputPanel", "Key0", "Key1", "Key2", "Key3", "Key4", "Key5", "Key6", "Key7",
+ string[] patterns = new string[39] { "Tap", "SoftInputPanel", "Key0", "Key1", "Key2", "Key3", "Key4", "Key5", "Key6", "Key7",
"Key8", "Key9", "KeyStar", "KeySharp", "KeyBack", "Hold", "HardwareKeyPressed", "HardwareKeyHold", "Message", "Email",
"WakeUp", "Schedule", "Timer", "General", "PowerOn", "PowerOff", "ChargerConnected", "ChargingError", "FullyCharged", "LowBattery",
"Lock", "UnLock", "VibrationModeAbled", "SilentModeDisabled", "BluetoothDeviceConnected", "BluetoothDeviceDisconnected", "ListReorder", "ListSlider", "VolumeKeyPressed"};
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Pureum Jung, pr.jung@samsung.com")]
- public static void Feedback_INIT()
+ public void Feedback_INIT()
{
Feedback feedback = new Feedback();
Assert.IsNotNull(feedback, "Object should not be null after initializing");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Pureum Jung, pr.jung@samsung.com")]
- public static void IsSupportedPattern_RETURN_TYPE()
+ public void IsSupportedPattern_RETURN_TYPE()
{
Feedback feedback = new Feedback();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Pureum Jung, pr.jung@samsung.com")]
- public static void IsSupportedPattern_CHECK_ENUM()
+ public void IsSupportedPattern_CHECK_ENUM()
{
bool value;
bool support_vibration;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Pureum Jung, pr.jung@samsung.com")]
- public static void IsSupportedPattern_CHECK_ARGUMENT_EXCEPTION_NONEXISTING_PATTERN()
+ public void IsSupportedPattern_CHECK_ARGUMENT_EXCEPTION_NONEXISTING_PATTERN()
{
Feedback feedback = new Feedback();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Pureum Jung, pr.jung@samsung.com")]
- public static void IsSupportedPattern_CHECK_ARGUMENT_EXCEPTION_ALL_TYPE()
+ public void IsSupportedPattern_CHECK_ARGUMENT_EXCEPTION_ALL_TYPE()
{
Feedback feedback = new Feedback();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Pureum Jung, pr.jung@samsung.com")]
- public static void Play_PLAY()
+ public void Play_PLAY()
{
Feedback feedback = new Feedback();
bool support;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Pureum Jung, pr.jung@samsung.com")]
- public static void Play_CHECK_ARGUMENT_EXCEPTION_NONEXISTING_KEY()
+ public void Play_CHECK_ARGUMENT_EXCEPTION_NONEXISTING_KEY()
{
Feedback feedback = new Feedback();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Pureum Jung, pr.jung@samsung.com")]
- public static void Stop_PLAY_STOP()
+ public void Stop_PLAY_STOP()
{
Feedback feedback = new Feedback();
[Description("Tests Tizen.Account.FidoClient.AuthenticatorInformation class")]
public class AuthenticatorInformationTests
{
- static bool isFidoSupported = false;
+ bool isFidoSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/fido.uaf", out isFidoSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task Aaid_PROPERTY_READ_ONLY()
+ public async Task Aaid_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task Title_PROPERTY_READ_ONLY()
+ public async Task Title_PROPERTY_READ_ONLY()
{
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task Description_PROPERTY_READ_ONLY()
+ public async Task Description_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task AssertionScheme_PROPERTY_READ_ONLY()
+ public async Task AssertionScheme_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task AuthenticationAlgorithm_PROPERTY_GET_ENUM_SECP256R1ECDSASHA256RAW()
+ public async Task AuthenticationAlgorithm_PROPERTY_GET_ENUM_SECP256R1ECDSASHA256RAW()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task UserVerification_PROPERTY_GET_ENUM_USERVERIFICATIONMETHOD_PASSCODE()
+ public async Task UserVerification_PROPERTY_GET_ENUM_USERVERIFICATIONMETHOD_PASSCODE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task KeyProtection_PROPERTY_GET_ENUM_KEYPROTECTIONTYPE_SOFTWARE()
+ public async Task KeyProtection_PROPERTY_GET_ENUM_KEYPROTECTIONTYPE_SOFTWARE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task MatcherProtection_PROPERTY_GET_ENUM_MATCHERPROTECTIONTYPE_SOFTWARE()
+ public async Task MatcherProtection_PROPERTY_GET_ENUM_MATCHERPROTECTIONTYPE_SOFTWARE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task AttachmentHint_PROPERTY_GET_ENUM_AUTHENTICATORATTACHMENTHINT_INTERNAL()
+ public async Task AttachmentHint_PROPERTY_GET_ENUM_AUTHENTICATORATTACHMENTHINT_INTERNAL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task IsSecondFactorOnly_PROPERTY_READ_ONLY()
+ public async Task IsSecondFactorOnly_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task AttestationTypes_PROPERTY_READ_ONLY()
+ public async Task AttestationTypes_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task TcDisplayType_PROPERTY_GET_ENUM_TRANSACTIONCONFIRMATIONDISPLAYTYPE_ANY()
+ public async Task TcDisplayType_PROPERTY_GET_ENUM_TRANSACTIONCONFIRMATIONDISPLAYTYPE_ANY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task TcDisplayContentType_PROPERTY_READ_ONLY()
+ public async Task TcDisplayContentType_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task Icon_PROPERTY_READ_ONLY()
+ public async Task Icon_PROPERTY_READ_ONLY()
{
try
{
[Description("Tests Tizen.Account.FidoClient.UafAuthenticatorFinder class")]
public class UafAuthenticatorFinderTests
{
- static bool isFidoSupported = false;
+ bool isFidoSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not
Information.TryGetValue("http://tizen.org/feature/fido.uaf", out isFidoSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task DiscoverAuthenticatorsAsync_CHECK_RETURN_VALUE()
+ public async Task DiscoverAuthenticatorsAsync_CHECK_RETURN_VALUE()
{
/*
* PRECONDITION
{
private const string UafRequestJson = "[{\"header\": {\"upv\": {\"major\": 1,\"minor\": 0}, \"op\":\"Reg\",\"serverData\": \"nwV8EPqS5raZdAgH3GD9Z-ytCA9MkiiWaCsr1GHHNJ2yUh3HaV1HHxd4Z67FefJOD5sQYZvipfg5BavhdWPMecD2SH39aJixoXN9ZaNwRlcftJe9WbtPNDC9q5V9WX7Z5jCwkAwehcI\"},\"challenge\": \"9pIcUwwrY5eD9o3OwfhkeHLnoIl0vaeJUbxSHMe_XgE\", \"username\":\"ryan\",\"policy\": {\"accepted\": [[{\"aaid\": [\"0001#8001\"]}],[{\"aaid\": [\"DDDD#F001\"]}]]}} ]";
private const string UafAuthRequestJson = "[ {\"header\": {\"upv\": {\"major\": 1,\"minor\": 0},\"op\": \"Auth\",\"serverData\": \"emKubKMS8RxYOth7J8enT_x7dQWBaO1CiC0fGmSEhX56kq2RYo1LRpwvfHlzYRI3p9Ay-l4zJcV3lX6rQ0CYNWi5nNDabClFm3k0pPj0kX5V-db9ejN_05y2J6wqztSD\"},\"challenge\": \"1AM2yZY4-9SG4Ns7-hMdB8IV_FTDKFFiUqNJNVbsVoo\",\"transaction\": [{\"contentType\": \"text/plain\",\"content\": \"VHJhbnNhY3Rpb24gQ29udGVudCBmb3IgVGVzdC4\",\"tcDisplayPNGCharacteristics\": [{\"width\": 320,\"height\": 240,\"bitDepth\": 16,\"colorType\": 2,\"compression\": 0,\"filter\": 0,\"interlace\": 0}]}],\"policy\": {\"accepted\": [[{\"aaid\": [\"0001#8001\"]}],[{\"aaid\": [\"DDDD#F001\"]}]]} } ]";
- static bool isFidoSupported = false;
+ bool isFidoSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not
Information.TryGetValue("http://tizen.org/feature/fido.uaf", out isFidoSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task CheckPolicyAsync_CHECK_RETURN_VALUE()
+ public async Task CheckPolicyAsync_CHECK_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task CheckPolicyAsync_CHECK_EXCEPTION()
+ public async Task CheckPolicyAsync_CHECK_EXCEPTION()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task ProcessRequestAsync_CHECK_RETURN_VALUE()
+ public async Task ProcessRequestAsync_CHECK_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task ProcessRequestAsync_CHECK_EXCEPTION()
+ public async Task ProcessRequestAsync_CHECK_EXCEPTION()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task NotifyResultAsync_CHECK_NO_EXCEPTION()
+ public async Task NotifyResultAsync_CHECK_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task NotifyResultAsync_CHECK_EXCEPTION()
+ public async Task NotifyResultAsync_CHECK_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void VendorName_PROPERTY_READ_ONLY()
+ public void VendorName_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void MajorVersion_PROPERTY_READ_ONLY()
+ public void MajorVersion_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void MinorVersion_PROPERTY_READ_ONLY()
+ public void MinorVersion_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void StautsOk_PROPERTY_READ_DEFAULT_VALUE()
+ public void StautsOk_PROPERTY_READ_DEFAULT_VALUE()
{
try
{
[Description("Tests Tizen.Account.FidoClient.UafMessage class")]
public class UafMessageTests
{
- static bool isFidoSupported = false;
+ bool isFidoSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not
Information.TryGetValue("http://tizen.org/feature/fido.uaf", out isFidoSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void UafMessage_INIT()
+ public void UafMessage_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void Operation_PROPERTY_READ_WRITE()
+ public void Operation_PROPERTY_READ_WRITE()
{
try
{
[Description("Tests Tizen.Account.FidoClient.UafResponse class")]
public class UafResponseTests
{
- static bool isFidoSupported = false;
+ bool isFidoSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not
Information.TryGetValue("http://tizen.org/feature/fido.uaf", out isFidoSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void UafResponse_INIT()
+ public void UafResponse_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void Response_PROPERTY_READ_WRITE()
+ public void Response_PROPERTY_READ_WRITE()
{
try
{
[Description("Tests for Tizen.Location.Geofence.Fence class")]
public class FenceTests
{
- private static GeofenceManager s_mgr = null;
- private static VirtualPerimeter s_perimeter = null;
- private static int s_placeId = -1;
+ private GeofenceManager s_mgr = null;
+ private VirtualPerimeter s_perimeter = null;
+ private int s_placeId = -1;
- private static Fence s_gpsFence = null;
- private static Fence s_wifiFence = null;
- private static Fence s_btFence = null;
+ private Fence s_gpsFence = null;
+ private Fence s_wifiFence = null;
+ private Fence s_btFence = null;
- private static bool _isGeofenceSupported = false;
+ private bool _isGeofenceSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info("GEOFENCE_INIT", "INit started");
Information.TryGetValue("http://tizen.org/feature/location.geofence", out _isGeofenceSupported);
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
if (s_mgr != null)
s_mgr.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void CreateGPSFence_RETURN_TYPE()
+ public void CreateGPSFence_RETURN_TYPE()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.CreateGPSFence_RETURN_TYPE");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void CreateGPSFence_INVALID_POSITIVE_LONGITUDE()
+ public void CreateGPSFence_INVALID_POSITIVE_LONGITUDE()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.CreateGPSFence_INVALID_POSITIVE_LONGITUDE");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void CreateGPSFence_INVALID_NEGATIVE_LONGITUDE()
+ public void CreateGPSFence_INVALID_NEGATIVE_LONGITUDE()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.CreateGPSFence_INVALID_NEGATIVE_LONGITUDE");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void CreateGPSFence_INVALID_POSITIVE_LATITUDE()
+ public void CreateGPSFence_INVALID_POSITIVE_LATITUDE()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.CreateGPSFence_INVALID_POSITIVE_LATITUDE");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void CreateGPSFence_INVALID_NEGATIVE_LATITUDE()
+ public void CreateGPSFence_INVALID_NEGATIVE_LATITUDE()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.CreateGPSFence_INVALID_NEGATIVE_LATITUDE");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void CreateGPSFence_INVALID_POSITIVE_RADIUS()
+ public void CreateGPSFence_INVALID_POSITIVE_RADIUS()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.CreateGPSFence_INVALID_POSITIVE_RADIUS");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void CreateGPSFence_INVALID_NEGATIVE_RADIUS()
+ public void CreateGPSFence_INVALID_NEGATIVE_RADIUS()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.CreateGPSFence_INVALID_NEGATIVE_RADIUS");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void CreateGPSFence_INVALID_PLACEID()
+ public void CreateGPSFence_INVALID_PLACEID()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.CreateGPSFence_INVALID_PLACEID");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void CreateWifiFence_RETURN_TYPE()
+ public void CreateWifiFence_RETURN_TYPE()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.CreateWifiFence_RETURN_TYPE");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void CreateWifiFence_INVALID_ARGUMENT()
+ public void CreateWifiFence_INVALID_ARGUMENT()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.CreateWifiFence_INVALID_ARGUMENT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void CreateBTFence_RETURN_TYPE()
+ public void CreateBTFence_RETURN_TYPE()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.CreateBTFence_RETURN_TYPE");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void CreateBTFence_INVALID_ARGUMENT()
+ public void CreateBTFence_INVALID_ARGUMENT()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.CreateBTFence_INVALID_ARGUMENT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Type_PROPERTY_GET_ENUM_GEOFENCETYPE_GEOPOINT()
+ public void Type_PROPERTY_GET_ENUM_GEOFENCETYPE_GEOPOINT()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.Type_PROPERTY_GET_ENUM_GEOFENCETYPE_GEOPOINT");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Type_PROPERTY_GET_ENUM_GEOFENCETYPE_WIFI()
+ public void Type_PROPERTY_GET_ENUM_GEOFENCETYPE_WIFI()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.Type_PROPERTY_GET_ENUM_GEOFENCETYPE_WIFI");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Type_PROPERTY_GET_ENUM_GEOFENCETYPE_BLUETOOTH()
+ public void Type_PROPERTY_GET_ENUM_GEOFENCETYPE_BLUETOOTH()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.Type_PROPERTY_GET_ENUM_GEOFENCETYPE_BLUETOOTH");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void PlaceId_PROPERTY_READ_ONLY()
+ public void PlaceId_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.PlaceId_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Longitude_PROPERTY_READ_ONLY()
+ public void Longitude_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.Longitude_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Latitude_PROPERTY_READ_ONLY()
+ public void Latitude_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.Latitude_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Radius_PROPERTY_READ_ONLY()
+ public void Radius_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.Radius_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Address_PROPERTY_READ_ONLY()
+ public void Address_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.Address_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Bssid_WIFI_PROPERTY_READ_ONLY()
+ public void Bssid_WIFI_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.Bssid_WIFI_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Ssid_WIFI_PROPERTY_READ_ONLY()
+ public void Ssid_WIFI_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.Ssid_WIFI_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Bssid_BT_PROPERTY_READ_ONLY()
+ public void Bssid_BT_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.Bssid_BT_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Ssid_BT_PROPERTY_READ_ONLY()
+ public void Ssid_BT_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.Ssid_BT_PROPERTY_READ_ONLY");
/*
[Description("Tests for Tizen.Location.Geofence.FenceData class")]
public class FenceDataTests
{
- private static GeofenceManager s_mgr = null;
- private static VirtualPerimeter s_perimeter = null;
+ private GeofenceManager s_mgr = null;
+ private VirtualPerimeter s_perimeter = null;
- private static FenceData s_fencedata = null;
- private static int fenceId = -1;
+ private FenceData s_fencedata = null;
+ private int fenceId = -1;
- private static bool _isGeofenceSupported = false;
+ private bool _isGeofenceSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info("GEOFENCE_INIT", "INit started");
Information.TryGetValue("http://tizen.org/feature/location.geofence", out _isGeofenceSupported);
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
if (s_perimeter != null)
s_perimeter.RemoveGeofence(fenceId);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Fence_PROPERTY_READ_ONLY()
+ public void Fence_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceDataTests.Fence_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GeofenceId_PROPERTY_READ_ONLY()
+ public void GeofenceId_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceDataTests.GeofenceId_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Index_PROPERTY_READ_ONLY()
+ public void Index_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceDataTests.Index_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceDataTests.Count_PROPERTY_READ_ONLY");
// PRECONDITION
[Description("Tests for Tizen.Location.Geofence.FenceStatus class")]
public class FenceStatusTests
{
- private static GeofenceManager s_mgr = null;
- private static VirtualPerimeter s_perimeter = null;
+ private GeofenceManager s_mgr = null;
+ private VirtualPerimeter s_perimeter = null;
- private static int s_placeId = -1;
- private static int s_fenceId = -1;
- private static FenceStatus s_status = null;
+ private int s_placeId = -1;
+ private int s_fenceId = -1;
+ private FenceStatus s_status = null;
- private static bool _isGeofenceSupported = false;
+ private bool _isGeofenceSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info("GEOFENCE_INIT", "INit started");
Information.TryGetValue("http://tizen.org/feature/location.geofence", out _isGeofenceSupported);
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
if (s_perimeter != null)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jongmun Woo, jongmun.woo@samsung.com")]
- public static void FenceStatus_INIT()
+ public void FenceStatus_INIT()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceTests.FenceStatus_INIT");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jongmun Woo, jongmun.woo@samsung.com")]
- public static void State_PROPERTY_READ_ONLY()
+ public void State_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceDataTests.Fence_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jongmun Woo, jongmun.woo@samsung.com")]
- public static void Duration_PROPERTY_READ_ONLY()
+ public void Duration_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.FenceDataTests.GeofenceId_PROPERTY_READ_ONLY");
/*
[Description("Tests for Tizen.Location.Geofence.GeofenceManager class")]
public class GeofenceManagerTests
{
- private static GeofenceManager s_mgr = null;
- private static VirtualPerimeter s_perimeter = null;
+ private GeofenceManager s_mgr = null;
+ private VirtualPerimeter s_perimeter = null;
- private static bool _isGeofenceSupported = false;
+ private bool _isGeofenceSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info("GEOFENCE_INIT", "INit started");
Information.TryGetValue("http://tizen.org/feature/location.geofence", out _isGeofenceSupported);
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
if (s_mgr != null)
s_mgr.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GeofenceManager_INIT()
+ public void GeofenceManager_INIT()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceManagerTests.GeofenceManager_INIT");
/* TESTCODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task Start_INVOKE_WITH_NO_EXCEPTION()
+ public async Task Start_INVOKE_WITH_NO_EXCEPTION()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceManagerTests.Start_INVOKE_WITH_NO_EXCEPTION");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task Stop_INVOKE_WITH_NO_EXCEPTION()
+ public async Task Stop_INVOKE_WITH_NO_EXCEPTION()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceManagerTests.Stop_INVOKE_WITH_NO_EXCEPTION");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceManagerTests.IsSupported_PROPERTY_READ_ONLY");
/* TESTCODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task StateChanged_CHECK_EVENT()
+ public async Task StateChanged_CHECK_EVENT()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceManagerTests.StateChanged_CHECK_EVENT");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task ProximityChanged_CHECK_EVENT()
+ public async Task ProximityChanged_CHECK_EVENT()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.VirtualPerimeterTests.ProximityChanged_CHECK_EVENT");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task GeofenceEventChanged_CHECK_EVENT()
+ public async Task GeofenceEventChanged_CHECK_EVENT()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.VirtualPerimeterTests.GeofenceEventChanged_CHECK_EVENT");
/*
[Description("Tests for Tizen.Location.Geofence.GeofenceResponseEventArgs class")]
public class GeofenceResponseEventArgsTests
{
- private static GeofenceManager s_mgr = null;
- private static VirtualPerimeter s_perimeter = null;
+ private GeofenceManager s_mgr = null;
+ private VirtualPerimeter s_perimeter = null;
- private static bool _isGeofenceSupported = false;
+ private bool _isGeofenceSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info("GEOFENCE_INIT", "INit started");
Information.TryGetValue("http://tizen.org/feature/location.geofence", out _isGeofenceSupported);
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
if (s_mgr != null)
s_mgr.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task PlaceId_PROPERTY_READ_ONLY()
+ public async Task PlaceId_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceResponseEventArgsTests.PlaceId_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task FenceId_PROPERTY_READ_ONLY()
+ public async Task FenceId_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceResponseEventArgsTests.FenceId_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task ErrorCode_PROPERTY_GET_ENUM_GEOFENCEERROR_NONE()
+ public async Task ErrorCode_PROPERTY_GET_ENUM_GEOFENCEERROR_NONE()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceResponseEventArgsTests.ErrorCode_PROPERTY_GET_ENUM_GEOFENCEERROR_NONE");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_FENCESTARTED()
+ public async Task EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_FENCESTARTED()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceResponseEventArgsTests.EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_FENCESTARTED");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_FENCESTOPPED()
+ public async Task EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_FENCESTOPPED()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceResponseEventArgsTests.EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_FENCESTARTED");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_FENCEADDED()
+ public async Task EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_FENCEADDED()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceResponseEventArgsTests.EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_FENCEADDED");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_FENCEREMOVED()
+ public async Task EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_FENCEREMOVED()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceResponseEventArgsTests.EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_FENCEREMOVED");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_PLACEADDED()
+ public async Task EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_PLACEADDED()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceResponseEventArgsTests.EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_PLACEADDED");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_PLACEREMOVED()
+ public async Task EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_PLACEREMOVED()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceResponseEventArgsTests.EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_PLACEREMOVED");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_PLACEUPDATED()
+ public async Task EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_PLACEUPDATED()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceResponseEventArgsTests.EventType_PROPERTY_GET_ENUM_GEOFENCEEVENTTYPE_PLACEUPDATED");
/*
[Description("Tests for Tizen.Location.Geofence.GeofenceStateEventArgs class")]
public class GeofenceStateEventArgsTests
{
- private static GeofenceManager s_mgr = null;
- private static VirtualPerimeter s_perimeter = null;
+ private GeofenceManager s_mgr = null;
+ private VirtualPerimeter s_perimeter = null;
- private static bool _isGeofenceSupported = false;
+ private bool _isGeofenceSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info("GEOFENCE_INIT", "INit started");
Information.TryGetValue("http://tizen.org/feature/location.geofence", out _isGeofenceSupported);
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
if (s_mgr != null)
s_mgr.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task GeofenceId_PROPERTY_READ_ONLY()
+ public async Task GeofenceId_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceStateEventArgsTests.GeofenceId_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task State_PROPERTY_GET_ENUM_GEOFENCESTATE()
+ public async Task State_PROPERTY_GET_ENUM_GEOFENCESTATE()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.GeofenceStateEventArgsTests.State_PROPERTY_GET_ENUM_GEOFENCESTATE");
/*
[Description("Tests for Tizen.Location.Geofence.PlaceData class")]
public class PlaceDataTests
{
- private static GeofenceManager s_mgr = null;
- private static VirtualPerimeter s_perimeter = null;
+ private GeofenceManager s_mgr = null;
+ private VirtualPerimeter s_perimeter = null;
- private static PlaceData s_placedata;
- private static int s_count;
- private static int s_placeId;
- private static int s_index;
+ private PlaceData s_placedata;
+ private int s_count;
+ private int s_placeId;
+ private int s_index;
private const string s_placeName = "TSPLACEDATATEST";
- private static bool _isGeofenceSupported = false;
+ private bool _isGeofenceSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info("GEOFENCE_INIT", "INit started");
Information.TryGetValue("http://tizen.org/feature/location.geofence", out _isGeofenceSupported);
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
if (s_mgr != null)
s_mgr.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void PlaceId_PROPERTY_READ_ONLY()
+ public void PlaceId_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.PlaceDataTests.PlaceId_PROPERTY_READ_ONLY");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Name_PROPERTY_READ_ONLY()
+ public void Name_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.PlaceDataTests.Name_PROPERTY_READ_ONLY");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Index_PROPERTY_READ_ONLY()
+ public void Index_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.PlaceDataTests.Index_PROPERTY_READ_ONLY");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.PlaceDataTests.Count_PROPERTY_READ_ONLY");
[Description("Tests for Tizen.Location.Geofence.ProximityStateEventArgs class")]
public class ProximityStateEventArgsTests
{
- private static GeofenceManager s_mgr = null;
- private static VirtualPerimeter s_perimeter = null;
- private static int s_placeId = -1;
+ private GeofenceManager s_mgr = null;
+ private VirtualPerimeter s_perimeter = null;
+ private int s_placeId = -1;
- private static bool _isGeofenceSupported = false;
+ private bool _isGeofenceSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info("GEOFENCE_INIT", "INit started");
Information.TryGetValue("http://tizen.org/feature/location.geofence", out _isGeofenceSupported);
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
if (s_perimeter != null)
s_perimeter.RemovePlace(s_placeId);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task GeofenceId_PROPERTY_READ_ONLY()
+ public async Task GeofenceId_PROPERTY_READ_ONLY()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.ProximityStateEventArgsTests.GeofenceId_PROPERTY_READ_ONLY");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task State_PROPERTY_GET_ENUM_PROXIMITYSTATE_UNCERTAIN()
+ public async Task State_PROPERTY_GET_ENUM_PROXIMITYSTATE_UNCERTAIN()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.ProximityStateEventArgsTests.State_PROPERTY_GET_ENUM_PROXIMITYSTATE_UNCERTAIN");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task Provider_PROPERTY_GET_ENUM_PROXIMITYPROVIDER_LOCATION()
+ public async Task Provider_PROPERTY_GET_ENUM_PROXIMITYPROVIDER_LOCATION()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.ProximityStateEventArgsTests.Provider_PROPERTY_GET_ENUM_PROXIMITYPROVIDER_LOCATION");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task Provider_PROPERTY_GET_ENUM_PROXIMITYPROVIDER_WIFI()
+ public async Task Provider_PROPERTY_GET_ENUM_PROXIMITYPROVIDER_WIFI()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.ProximityStateEventArgsTests.Provider_PROPERTY_GET_ENUM_PROXIMITYPROVIDER_WIFI");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task Provider_PROPERTY_GET_ENUM_PROXIMITYPROVIDER_BLUETOOTH()
+ public async Task Provider_PROPERTY_GET_ENUM_PROXIMITYPROVIDER_BLUETOOTH()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.ProximityStateEventArgsTests.Provider_PROPERTY_GET_ENUM_PROXIMITYPROVIDER_BLUETOOTH");
/*
[Description("Tests for Tizen.Location.Geofence.VirtualPerimeter class")]
public class VirtualPerimeterTests
{
- private static GeofenceManager s_mgr = null;
- private static VirtualPerimeter s_perimeter = null;
+ private GeofenceManager s_mgr = null;
+ private VirtualPerimeter s_perimeter = null;
- private static bool _isGeofenceSupported = false;
+ private bool _isGeofenceSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info("GEOFENCE_INIT", "INit started");
Information.TryGetValue("http://tizen.org/feature/location.geofence", out _isGeofenceSupported);
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
if (s_mgr != null)
s_mgr.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void VirtualPerimeter_INIT()
+ public void VirtualPerimeter_INIT()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.VirtualPerimeterTests.VirtualPerimeter_INIT");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void AddPlaceName_RETURN_TYPE()
+ public void AddPlaceName_RETURN_TYPE()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.VirtualPerimeterTests.AddPlaceName_RETURN_TYPE");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void UpdatePlace_CHANGE_STATUS()
+ public void UpdatePlace_CHANGE_STATUS()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.VirtualPerimeterTests.UpdatePlace_CHANGE_STATUS");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void RemovePlace_CHANGE_STATUS()
+ public void RemovePlace_CHANGE_STATUS()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.VirtualPerimeterTests.RemovePlace_CHANGE_STATUS");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void AddGeofence_RETURN_TYPE()
+ public void AddGeofence_RETURN_TYPE()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.VirtualPerimeterTests.AddGeofence_RETURN_TYPE");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static async Task RemoveGeofence_CHANGE_STATUS()
+ public async Task RemoveGeofence_CHANGE_STATUS()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.VirtualPerimeterTests.RemoveGeofence_CHANGE_STATUS");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetPlaceName_RETURN_TYPE()
+ public void GetPlaceName_RETURN_TYPE()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.VirtualPerimeterTests.GetPlaceName_RETURN_TYPE");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetPlaceDataList_RETURN_TYPE()
+ public void GetPlaceDataList_RETURN_TYPE()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.VirtualPerimeterTests.GetPlaceDataList_RETURN_TYPE");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetFenceDataList_RETURN_TYPE()
+ public void GetFenceDataList_RETURN_TYPE()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.VirtualPerimeterTests.GetFenceDataList_RETURN_TYPE");
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Praveen Kumar Gattu, gattu.p@samsung.com")]
- public static void GetGeofenceDataListByPlaceId_RETURN_TYPE()
+ public void GetGeofenceDataListByPlaceId_RETURN_TYPE()
{
Tizen.Log.Info("GEOFENCE_TCT", "Tizen.Location.Geofence.Tests.VirtualPerimeterTests.GetGeofenceDataListByPlaceId_RETURN_TYPE");
/*
namespace Tizen.System.Tests {
[TestFixture]
[Description("Tizen.System.InformationTests class for manual unit testing.")]
- public static class InformationTests {
+ public class InformationTests {
private const string Prefix = "http://tizen.org/runtimefeature/";
private const string Bluetooth = Prefix + "bluetooth";
private const string AudioJackConnector = Prefix + "audiojack.type";
[SetUp]
- public static void Init() {
+ public void Init() {
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG , "Testcase Init");
}
[TearDown]
- public static void Destroy() {
+ public void Destroy() {
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG , "Testcase Destroy");
}
- public static void BluetoothEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void BluetoothEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(Bluetooth, out bool value);
Assert.IsTrue(value, "Expects Status of TryGetValue of Bluetooth to be true, but got false.");
// Method to stop WaitForConfirm method. Sets the result on the screen with the result of Assert used.
[Precondition(2, "Bluetooth should be in disable mode")]
[Step(1, "Click Run button")]
[Step(2, "Enable Bluetooth : Settings-> Bluetooth -> Bluetooth Enable")]
- public static async Task BluetoothEnabled_CHECK_ENABLE() {
+ public async Task BluetoothEnabled_CHECK_ENABLE() {
if (!SupportChecker.IsTV() && SupportChecker.IsSupported("http://tizen.org/feature/network.bluetooth"))
{
Information.SetCallback(Bluetooth, BluetoothEnableCallback);
}
}
- public static void BluetoothDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void BluetoothDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(Bluetooth, out bool value);
Assert.IsFalse(value, "Expects Status of TryGetValue of Bluetooth to be false, but got true.");
// Method to stop WaitForConfirm method. Sets the result on the screen with the result of Assert used.
[Precondition(2, "Bluetooth should be already enabled")]
[Step(1, "Click run button")]
[Step(2, "Disable Bluetooth : Settings-> Bluetooth -> Bluetooth Disable")]
- public static async Task BluetoothEnabled_CHECK_DISABLE() {
+ public async Task BluetoothEnabled_CHECK_DISABLE() {
if (!SupportChecker.IsTV() && SupportChecker.IsSupported("http://tizen.org/feature/network.bluetooth"))
{
Information.SetCallback(Bluetooth, BluetoothDisableCallback);
}
}
- public static void WifiHotspotEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void WifiHotspotEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(WifiHotspot, out bool value);
Assert.IsTrue(value, "Expects Status of TryGetValue of WifiHotspot to be true, but got false.");
ManualTest.Confirm();
[Precondition(3, "WifiHotspot should be in disable mode")]
[Step(1, "Click Run button")]
[Step(2, "Enable WifiHotspot: Settings -> Tethering -> Mobile hotspot -> Enable")]
- public static async Task WifiHotspotEnabled_CHECK_ENABLE() {
+ public async Task WifiHotspotEnabled_CHECK_ENABLE() {
if (SupportChecker.IsSupported("http://tizen.org/feature/network.tethering.wifi"))
{
Information.SetCallback(WifiHotspot, WifiHotspotEnableCallback);
}
}
- public static void WifiHotspotDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void WifiHotspotDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(WifiHotspot, out bool value);
Assert.IsFalse(value, "Expects Status of TryGetValue of WifiHotspot to be false, but got true.");
ManualTest.Confirm();
[Precondition(3, "WifiHotspot should be already enabled")]
[Step(1, "Click Run button")]
[Step(2, "Enable WifiHotspot: Settings -> Tethering -> Mobile hotspot -> Disable")]
- public static async Task WifiHotspotEnabled_CHECK_DISABLE() {
+ public async Task WifiHotspotEnabled_CHECK_DISABLE() {
if (SupportChecker.IsSupported("http://tizen.org/feature/network.tethering.wifi"))
{
Information.SetCallback(WifiHotspot, WifiHotspotDisableCallback);
}
- public static void BluetoothTetheringEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void BluetoothTetheringEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(BluetoothTethering, out bool value);
Assert.IsTrue(value, "Expects Status of TryGetValue of BluetoothTethering to be true, but got false.");
ManualTest.Confirm();
[Precondition(3, "BluetoothTethering should be in disable mode")]
[Step(1, "Click Run button")]
[Step(2, "Enable Bluetooth tethering: Settings-> Tethering -> Bluetooth tethering -> Enable")]
- public static async Task BluetoothTetheringEnabled_CHECK_ENABLE() {
+ public async Task BluetoothTetheringEnabled_CHECK_ENABLE() {
if (SupportChecker.IsSupported("http://tizen.org/feature/network.tethering.bluetooth"))
{
Information.SetCallback(BluetoothTethering, BluetoothTetheringEnableCallback);
}
}
- public static void BluetoothTetheringDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void BluetoothTetheringDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(BluetoothTethering, out bool value);
Assert.IsFalse(value, "Expects Status of TryGetValue of BluetoothTethering to be false, but got true.");
ManualTest.Confirm();
[Precondition(3, "BluetoothTethering should be already enabled")]
[Step(1, "Click Run button")]
[Step(2, "Disable Bluetooth tethering: Settings-> Tethering -> Bluetooth tethering -> Disable")]
- public static async Task BluetoothTetheringEnabled_CHECK_DISABLE() {
+ public async Task BluetoothTetheringEnabled_CHECK_DISABLE() {
if (SupportChecker.IsSupported("http://tizen.org/feature/network.tethering.bluetooth"))
{
Information.SetCallback(BluetoothTethering, BluetoothTetheringDisableCallback);
}
}
- public static void UsbTetheringEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void UsbTetheringEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(UsbTethering, out bool value);
Assert.IsTrue(value, "Expects Status of TryGetValue of UsbTethering to be true, but got false.");
ManualTest.Confirm();
[Precondition(3, "UsbTethering should be in disable mode")]
[Step(1, "Click Run button")]
[Step(2, "Enable USB Tethering: Settings-> Tethering -> USB tethering -> Enable")]
- public static async Task UsbTetheringEnabled_CHECK_ENABLE() {
+ public async Task UsbTetheringEnabled_CHECK_ENABLE() {
if (SupportChecker.IsSupported("http://tizen.org/feature/network.tethering.usb"))
{
Information.SetCallback(UsbTethering, UsbTetheringEnableCallback);
}
}
- public static void UsbTetheringDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void UsbTetheringDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(UsbTethering, out bool value);
Assert.IsFalse(value, "Expects Status of TryGetValue of UsbTethering to be false, but got true.");
ManualTest.Confirm();
[Precondition(3, "UsbTethering should be already enabled")]
[Step(1, "Click Run button")]
[Step(2, "Disable USB Tethering: Settings-> Tethering -> USB tethering -> Disable")]
- public static async Task UsbTetheringEnabled_CHECK_DISABLE() {
+ public async Task UsbTetheringEnabled_CHECK_DISABLE() {
if (SupportChecker.IsSupported("http://tizen.org/feature/network.tethering.usb"))
{
Information.SetCallback(UsbTethering, UsbTetheringDisableCallback);
}
- public static void PacketDataEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void PacketDataEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(PacketData, out bool value);
Assert.IsTrue(value, "Expects Status of TryGetValue of PacketData to be true, but got false.");
ManualTest.Confirm();
[Precondition(3, "Packet data(Mobile data) should be disabled")]
[Step(1, "Click Run button")]
[Step(2, "Enable Packet data: Settings -> Mobile networks -> Mobile data -> Enable")]
- public static async Task PacketDataEnabled_CHECK_ENABLE() {
+ public async Task PacketDataEnabled_CHECK_ENABLE() {
if (SupportChecker.IsMobileNetworksMenuSupported())
{
Information.SetCallback(PacketData, PacketDataEnableCallback);
}
}
- public static void PacketDataDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void PacketDataDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(PacketData, out bool value);
Assert.IsFalse(value, "Expects Status of TryGetValue of PacketData to be false, but got true.");
ManualTest.Confirm();
[Precondition(3, "Packet data(Mobile data) should be enabled")]
[Step(1, "Click Run button")]
[Step(2, "Disable Packet data: Settings -> Mobile networks -> Mobile data -> Disable")]
- public static async Task PacketDataEnabled_CHECK_DISABLE() {
+ public async Task PacketDataEnabled_CHECK_DISABLE() {
if (SupportChecker.IsMobileNetworksMenuSupported())
{
Information.SetCallback(PacketData, PacketDataDisableCallback);
}
}
- public static void DataRoamingEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void DataRoamingEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(DataRoaming, out bool value);
Assert.IsTrue(value, "Expects Status of TryGetValue of DataRoaming to be true, but got false.");
ManualTest.Confirm();
[Precondition(3, "DataRoaming should be in disable mode")]
[Step(1, "Click Run button")]
[Step(2, "Enable Packet data: Settings -> Mobile networks -> Data roaming-> Enable")]
- public static async Task DataRoamingEnabled_CHECK_ENABLE() {
+ public async Task DataRoamingEnabled_CHECK_ENABLE() {
if (SupportChecker.IsMobileNetworksMenuSupported())
{
Information.SetCallback(DataRoaming, DataRoamingEnableCallback);
}
}
- public static void DataRoamingDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void DataRoamingDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(DataRoaming, out bool value);
Assert.IsFalse(value, "Expects Status of TryGetValue of DataRoaming to be false, but got true.");
ManualTest.Confirm();
[Precondition(3, "DataRoaming should be already enabled")]
[Step(1, "Click Run button")]
[Step(2, "Disable Packet data: Settings -> Mobile networks -> Data roaming-> Disable")]
- public static async Task DataRoamingEnabled_CHECK_DISABLE() {
+ public async Task DataRoamingEnabled_CHECK_DISABLE() {
if (SupportChecker.IsMobileNetworksMenuSupported())
{
Information.SetCallback(DataRoaming, DataRoamingDisableCallback);
}
}
- public static void VibrationEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void VibrationEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(Vibration, out bool value);
Assert.IsTrue(value, "Expects Status of TryGetValue of Vibration to be true, but got false.");
ManualTest.Confirm();
[Precondition(1, "Vibration should be in disable mode")]
[Step(1, "Click Run button")]
[Step(2, "Enable Vibration : Home screen -> Drop down menu -> Sound -> Enable Vibrate")]
- public static async Task VibrationEnabled_CHECK_ENABLE() {
+ public async Task VibrationEnabled_CHECK_ENABLE() {
if (!SupportChecker.IsTV())
{
Information.SetCallback(Vibration, VibrationEnableCallback);
}
}
- public static void VibrationDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void VibrationDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(Vibration, out bool value);
Assert.IsFalse(value, "Expects Status of TryGetValue of Charger to be Vibration, but got true.");
ManualTest.Confirm();
[Precondition(1, "Vibration should be already enabled")]
[Step(1, "Click Run button")]
[Step(2, "Disable Vibration : Home screen -> Drop down menu -> Sound -> Disable Vibrate")]
- public static async Task VibrationEnabled_CHECK_DISABLE() {
+ public async Task VibrationEnabled_CHECK_DISABLE() {
if (!SupportChecker.IsTV())
{
Information.SetCallback(Vibration, VibrationDisableCallback);
}
}
- public static void AudioJackEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void AudioJackEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(AudioJack, out bool value);
Assert.IsTrue(value, "Expects Status of TryGetValue of AudioJack to be true, but got false.");
ManualTest.Confirm();
[Precondition(1, "AudioJack connector should be empty")]
[Step(1, "Click Run button")]
[Step(2, "AudioJackConnected Connected: Connect an audio jack to phone")]
- public static async Task AudioJackConnected_CHECK_CONNECTED() {
+ public async Task AudioJackConnected_CHECK_CONNECTED() {
if (!SupportChecker.IsTV() && !SupportChecker.IsWearable())
{
Information.SetCallback(AudioJack, AudioJackEnableCallback);
}
}
- public static void AudioJackDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void AudioJackDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(AudioJack, out bool value);
Assert.IsFalse(value, "Expects Status of TryGetValue of AudioJack to be false, but got true.");
ManualTest.Confirm();
[Precondition(1, "AudioJack should be already connected")]
[Step(1, "Click Run button")]
[Step(2, "AudioJackConnected Disconnected: Disconnect the audio jack from phone")]
- public static async Task AudioJackConnected_CHECK_DISCONNECTED() {
+ public async Task AudioJackConnected_CHECK_DISCONNECTED() {
if (!SupportChecker.IsTV() && !SupportChecker.IsWearable())
{
Information.SetCallback(AudioJack, AudioJackDisableCallback);
}
}
- public static void GpsStatusChangedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void GpsStatusChangedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<int>(Gps, out int value);
Assert.Greater(value, (int)GpsStatus.Disabled, "Expects Status of TryGetValue of Gps to be valid, but got disabled.");
ManualTest.Confirm();
[Step(1, "Click Run button")]
[Step(2-1, "GPS status change on mobile device: Settings -> Privacy and security -> Location service -> My places -> Home -> Map -> Click location icon")]
[Step(2-2, "GPS status change on wearable device: Run location_test on console -> Select menu 1")]
- public static async Task GpsStatusChanged_TEST() {
+ public async Task GpsStatusChanged_TEST() {
if (SupportChecker.IsSupported("http://tizen.org/feature/location.gps"))
{
Information.SetCallback(Gps, GpsStatusChangedCallback);
}
}
- public static void BatteryIsChargingEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void BatteryIsChargingEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(BatteryIsCharging, out bool value);
Assert.IsTrue(value, "Expects Status of TryGetValue of BatteryIsCharging to be true, but got false.");
ManualTest.Confirm();
[Precondition(2, "Battery should not be charging")]
[Step(1, "Click Run button")]
[Step(2, "Battery charging: Connect a battery charger to the phone")]
- public static async Task BatteryIsCharging_TEST() {
+ public async Task BatteryIsCharging_TEST() {
if (SupportChecker.IsSupported("http://tizen.org/feature/battery"))
{
Information.SetCallback(BatteryIsCharging, BatteryIsChargingEnableCallback);
}
}
- public static void BatteryIsChargingDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void BatteryIsChargingDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(BatteryIsCharging, out bool value);
Assert.IsFalse(value, "Expects Status of TryGetValue of BatteryIsCharging to be false, but got true.");
ManualTest.Confirm();
[Precondition(2, "Battery should already be charging")]
[Step(1, "Click Run button")]
[Step(2, "Battery charging: Disconnect the battery charger from phone")]
- public static async Task BatteryIsCharging_TEST_FALSE() {
+ public async Task BatteryIsCharging_TEST_FALSE() {
if (SupportChecker.IsSupported("http://tizen.org/feature/battery"))
{
Information.SetCallback(BatteryIsCharging, BatteryIsChargingDisableCallback);
}
}
- public static void TvOutConnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void TvOutConnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(TvOut, out bool value);
Assert.IsTrue(value, "Expects Status of TryGetValue of TvOut to be true, but got false.");
ManualTest.Confirm();
[Precondition(2, "TvOut should be disconnected")]
[Step(1, "Click Run button")]
[Step(2, "TvOut: Connect a TVOut connector like micro-USB-to-HDMI to the phone")]
- public static async Task TvOutConnected_CHECK_CONNECTED() {
+ public async Task TvOutConnected_CHECK_CONNECTED() {
if (SupportChecker.IsSupported("http://tizen.org/feature/screen.output.hdmi") || SupportChecker.IsSupported("http://tizen.org/feature/screen.output.rca"))
{
Information.SetCallback(TvOut, TvOutConnectedCallback);
}
}
- public static void TvOutDisconnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void TvOutDisconnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(TvOut, out bool value);
Assert.IsFalse(value, "Expects Status of TryGetValue of TvOut to be false, but got true.");
ManualTest.Confirm();
[Precondition(2, "TVOut should already be connected")]
[Step(1, "Click Run button")]
[Step(2, "TvOut: Disonnect TVOut connector like micro-USB-to-HDMI from the phone")]
- public static async Task TvOutConnected_CHECK_DISCONNECTED() {
+ public async Task TvOutConnected_CHECK_DISCONNECTED() {
if (SupportChecker.IsSupported("http://tizen.org/feature/screen.output.hdmi") || SupportChecker.IsSupported("http://tizen.org/feature/screen.output.rca"))
{
Information.SetCallback(TvOut, TvOutDisconnectedCallback);
}
}
- public static void AudioJackConnectorCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void AudioJackConnectorCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<int>(AudioJackConnector, out int value);
Assert.Greater(value, (int)AudioJackConnectionType.Unconnected,"Expects Status of TryGetValue of AudioJackConnector to be valid");
ManualTest.Confirm();
[Precondition(1, "AudioJackConnecter shouldn't be connected")]
[Step(1, "Click Run button")]
[Step(2, "AudioJackConnector: Connect 3-wire or 4-wire AudioJack")]
- public static async Task AudioJackConnectorChanged_TEST() {
+ public async Task AudioJackConnectorChanged_TEST() {
if (!SupportChecker.IsTV() && !SupportChecker.IsWearable())
{
Information.SetCallback(AudioJackConnector, AudioJackConnectorCallback);
}
}
- public static void ChargerConnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void ChargerConnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(Charger, out bool value);
Assert.IsTrue(value, "Expects Status of TryGetValue of Charger to be true, but got false.");
ManualTest.Confirm();
[Precondition(2, "Charger should not be connected")]
[Step(1, "Click Run button")]
[Step(2, "Connect a battery charger to the phone")]
- public static async Task ChargerConnected_CHECK_CONNECTED() {
+ public async Task ChargerConnected_CHECK_CONNECTED() {
if (!SupportChecker.IsTV() && SupportChecker.IsSupported("http://tizen.org/feature/battery"))
{
Information.SetCallback(Charger, ChargerConnectedCallback);
}
}
- public static void ChargerDisconnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void ChargerDisconnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(Charger, out bool value);
Assert.IsFalse(value, "Expects Status of TryGetValue of Charger to be false, but got true.");
ManualTest.Confirm();
[Precondition(2, "Charger should already be connected")]
[Step(1, "Click Run button")]
[Step(2, "Disonnect a battery charger from the phone")]
- public static async Task ChargerConnected_CHECK_DISCONNECTED() {
+ public async Task ChargerConnected_CHECK_DISCONNECTED() {
if (!SupportChecker.IsTV() && SupportChecker.IsSupported("http://tizen.org/feature/battery"))
{
Information.SetCallback(Charger, ChargerDisconnectedCallback);
}
}
- public static void AutoRotationEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void AutoRotationEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(AutoRotation, out bool value);
Assert.IsTrue(value, "Expects Status of TryGetValue of AutoRotation to be true, but got false.");
ManualTest.Confirm();
[Precondition(2, "AutoRotation should be in disable mode")]
[Step(1, "Click Run button")]
[Step(2, "Enable AutoRotation: Home screen -> Drop down menu -> Auto Rotate -> Enable ")]
- public static async Task AutoRotationEnabled_CHECK_ENABLE() {
+ public async Task AutoRotationEnabled_CHECK_ENABLE() {
if (SupportChecker.IsSupported("http://tizen.org/feature/screen.auto_rotation") && !SupportChecker.IsWearable())
{
Information.SetCallback(AutoRotation, AutoRotationEnableCallback);
}
}
- public static void AutoRotationDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
+ public void AutoRotationDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) {
Information.TryGetValue<bool>(AutoRotation, out bool value);
Assert.IsFalse(value, "Expects Status of TryGetValue of AutoRotation to be false, but got true.");
ManualTest.Confirm();
[Precondition(2, "AutoRotation should be already enabled")]
[Step(1, "Click Run button")]
[Step(2, "Disable AutoRotation: Home screen -> Drop down menu -> Auto Rotate -> Disable ")]
- public static async Task AutoRotationEnabled_CHECK_DISABLE() {
+ public async Task AutoRotationEnabled_CHECK_DISABLE() {
if (SupportChecker.IsSupported("http://tizen.org/feature/screen.auto_rotation") && !SupportChecker.IsWearable())
{
Information.SetCallback(AutoRotation, AutoRotationDisableCallback);
namespace Tizen.System.Tests {
[TestFixture]
[Description("Testing Tizen.System.RuntimeFeatureStatusChangedEventArgs class")]
- public static class RuntimeFeatureStatusChangedEventArgsTests {
+ public class RuntimeFeatureStatusChangedEventArgsTests {
private const string BluetoothRuntimeFeatureKey = "http://tizen.org/runtimefeature/bluetooth";
[SetUp]
- public static void Init() {
+ public void Init() {
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG , "Testcase Init");
}
[TearDown]
- public static void Destroy() {
+ public void Destroy() {
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG , "Testcase Destroy");
}
- public static void RuntimeKeyStatusChangedCallback (object sender, RuntimeFeatureStatusChangedEventArgs args)
+ public void RuntimeKeyStatusChangedCallback (object sender, RuntimeFeatureStatusChangedEventArgs args)
{
try
{
[Precondition(1, "If test target doesn't support Bluetooth, pass is marked automatically as soon as you click Run button")]
[Step(1, "Click run TC")]
[Step(2, "Enable/Disable Bluetooth : Settings-> Bluetooth -> Bluetooth Enable/Disable")]
- public static async Task Key_PROPERTY_READ_ONLY() {
+ public async Task Key_PROPERTY_READ_ONLY() {
if (!SupportChecker.IsTV() && SupportChecker.IsSupported("http://tizen.org/feature/network.bluetooth"))
{
Information.SetCallback(BluetoothRuntimeFeatureKey, RuntimeKeyStatusChangedCallback);
[TestFixture]
[Description("Tizen.System.Information class for runtime-info feature unit testing.")]
- public static class InformationTests
+ public class InformationTests
{
- public static bool bflag = false;
+ public bool bflag = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Testcase Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Testcase Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Sehaj Singh Kalra, sehaj.kalra@samsung.com")]
- public static void TryGetValue_RETURN_VALUE()
+ public void TryGetValue_RETURN_VALUE()
{
bool isError;
bool keyValueBool;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void TryGetValue_RETURN_VALUE_NEGATIVE()
+ public void TryGetValue_RETURN_VALUE_NEGATIVE()
{
int keyValueInt;
bool isError = Information.TryGetValue<int>("http://tizen.org/runtimefeature/invalidkey", out keyValueInt);
Assert.IsFalse(isError, "TryGetValue return true for invalid key: invalidkey");
}
- public static void TestCallback(object sender, RuntimeFeatureStatusChangedEventArgs args)
+ public void TestCallback(object sender, RuntimeFeatureStatusChangedEventArgs args)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void SetCallback_RETURN_VALUE()
+ public void SetCallback_RETURN_VALUE()
{
Information.SetCallback("http://tizen.org/runtimefeature/audiojack.connected", TestCallback);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void SetCallback_CHECK_INVALID_ARG_EXCEPTION()
+ public void SetCallback_CHECK_INVALID_ARG_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void UnsetCallback_RETURN_VALUE()
+ public void UnsetCallback_RETURN_VALUE()
{
Information.UnsetCallback("http://tizen.org/runtimefeature/audiojack.connected", TestCallback);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void UnsetCallback_CHECK_INVALID_ARG_EXCEPTION()
+ public void UnsetCallback_CHECK_INVALID_ARG_EXCEPTION()
{
try
{
[TestFixture]
[Description("Tizen.System.ProcessCpuUsage class for unit testing.")]
- public static class ProcessCpuUsageTests {
+ public class ProcessCpuUsageTests {
- static bool IsResourcedTmpdirExisted;
- static IList<int> processlist;
+ bool IsResourcedTmpdirExisted;
+ IList<int> processlist;
- static bool IsResourcedActivated()
+ bool IsResourcedActivated()
{
if (IsResourcedTmpdirExisted)
return true;
return false;
}
- static ProcessCpuUsage GetProcessCpuUsageForAllProcesses()
+ ProcessCpuUsage GetProcessCpuUsageForAllProcesses()
{
ProcessCpuUsage allInfo;
Process p = Process.GetCurrentProcess();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void ProcessCpuUsage_INIT()
+ public void ProcessCpuUsage_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void ProcessCpuUsage_INIT_CHECK_EXCEPTION()
+ public void ProcessCpuUsage_INIT_CHECK_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void Update_RETURN_VALUE()
+ public void Update_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void Update_CHECK_INVALID_ARG_EXCEPTION()
+ public void Update_CHECK_INVALID_ARG_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetUTime_RETURN_VALUE()
+ public void GetUTime_RETURN_VALUE()
{
ProcessCpuUsage allInfo = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetUTime_CHECK_INVALID_ARG_EXCEPTION()
+ public void GetUTime_CHECK_INVALID_ARG_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetSTime_RETURN_VALUE()
+ public void GetSTime_RETURN_VALUE()
{
ProcessCpuUsage allInfo = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetSTime_CHECK_INVALID_ARG_EXCEPTION()
+ public void GetSTime_CHECK_INVALID_ARG_EXCEPTION()
{
try
{
[TestFixture]
[Description("Tizen.System.ProcessMemoryUsage class for unit testing.")]
- public static class ProcessMemoryUsageTests {
+ public class ProcessMemoryUsageTests {
- static bool IsResourcedTmpdirExisted;
- static IList<int> processlist;
+ bool IsResourcedTmpdirExisted;
+ IList<int> processlist;
- static bool IsResourcedActivated()
+ bool IsResourcedActivated()
{
if (IsResourcedTmpdirExisted)
return true;
return false;
}
- static ProcessMemoryUsage GetProcessMemoryInformationForAllProcesses()
+ ProcessMemoryUsage GetProcessMemoryInformationForAllProcesses()
{
ProcessMemoryUsage allInfo;
Process p = Process.GetCurrentProcess();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void ProcessMemoryUsage_INIT()
+ public void ProcessMemoryUsage_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void ProcessMemoryUsage_INIT_CHECK_EXCEPTION()
+ public void ProcessMemoryUsage_INIT_CHECK_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void Update_RETURN_VALUE()
+ public void Update_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void Update_CHECK_INVALID_ARG_EXCEPTION()
+ public void Update_CHECK_INVALID_ARG_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetVsz_RETURN_VALUE()
+ public void GetVsz_RETURN_VALUE()
{
ProcessMemoryUsage allInfo;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetVsz_CHECK_INVALID_ARG_EXCEPTION()
+ public void GetVsz_CHECK_INVALID_ARG_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetRss_RETURN_VALUE()
+ public void GetRss_RETURN_VALUE()
{
ProcessMemoryUsage allInfo;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetRss_CHECK_INVALID_ARG_EXCEPTION()
+ public void GetRss_CHECK_INVALID_ARG_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetPss_RETURN_VALUE()
+ public void GetPss_RETURN_VALUE()
{
ProcessMemoryUsage allInfo;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetPss_CHECK_INVALID_ARG_EXCEPTION()
+ public void GetPss_CHECK_INVALID_ARG_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetSharedClean_RETURN_VALUE()
+ public void GetSharedClean_RETURN_VALUE()
{
ProcessMemoryUsage allInfo;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetSharedClean_CHECK_INVALID_ARG_EXCEPTION()
+ public void GetSharedClean_CHECK_INVALID_ARG_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetSharedDirty_RETURN_VALUE()
+ public void GetSharedDirty_RETURN_VALUE()
{
ProcessMemoryUsage allInfo;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetSharedDirty_CHECK_INVALID_ARG_EXCEPTION()
+ public void GetSharedDirty_CHECK_INVALID_ARG_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetPrivateClean_RETURN_VALUE()
+ public void GetPrivateClean_RETURN_VALUE()
{
ProcessMemoryUsage allInfo;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetPrivateClean_CHECK_INVALID_ARG_EXCEPTION()
+ public void GetPrivateClean_CHECK_INVALID_ARG_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetPrivateDirty_RETURN_VALUE()
+ public void GetPrivateDirty_RETURN_VALUE()
{
ProcessMemoryUsage allInfo;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetPrivateDirty_CHECK_INVALID_ARG_EXCEPTION()
+ public void GetPrivateDirty_CHECK_INVALID_ARG_EXCEPTION()
{
try
{
[TestFixture]
[Description("Tizen.System.RuntimeKeyStatusChangedEventArgs class for unit testing.")]
- public static class RuntimeKeyStatusChangedEventArgsTests
+ public class RuntimeKeyStatusChangedEventArgsTests
{
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Pureum Jung, pr.jung@samsung.com")]
- public static void RuntimeFeatureStatusChangedEventArgs_INIT()
+ public void RuntimeFeatureStatusChangedEventArgs_INIT()
{
RuntimeFeatureStatusChangedEventArgs arg = new RuntimeFeatureStatusChangedEventArgs();
Assert.IsNotNull(arg, "Object should not be null after initializing");
[TestFixture]
[Description("Tizen.System.SystemCpuUsage class for unit testing.")]
- public static class SystemCpuUsageTests {
+ public class SystemCpuUsageTests {
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void SystemCpuUsage_INIT()
+ public void SystemCpuUsage_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void Update_RETURN_VALUE()
+ public void Update_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sehaj Singh Kalra, sehaj.kalra@samsung.com")]
- public static void User_PROPERTY_READ_ONLY()
+ public void User_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sehaj Singh Kalra, sehaj.kalra@samsung.com")]
- public static void System_PROPERTY_READ_ONLY()
+ public void System_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sehaj Singh Kalra, sehaj.kalra@samsung.com")]
- public static void Nice_PROPERTY_READ_ONLY()
+ public void Nice_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sehaj Singh Kalra, sehaj.kalra@samsung.com")]
- public static void IoWait_PROPERTY_READ_ONLY()
+ public void IoWait_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sehaj Singh Kalra, sehaj.kalra@samsung.com")]
- public static void ProcessorCount_PROPERTY_READ_ONLY()
+ public void ProcessorCount_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Sehaj Singh Kalra, sehaj.kalra@samsung.com")]
- public static void GetCurrentFrequency_RETURN_VALUE()
+ public void GetCurrentFrequency_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetCurrentFrequency_CHECK_INVALID_ARG_EXCEPTION()
+ public void GetCurrentFrequency_CHECK_INVALID_ARG_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Sehaj Singh Kalra, sehaj.kalra@samsung.com")]
- public static void GetMaxFrequency_RETURN_VALUE()
+ public void GetMaxFrequency_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void GetMaxFrequency_CHECK_INVALID_ARG_EXCEPTION()
+ public void GetMaxFrequency_CHECK_INVALID_ARG_EXCEPTION()
{
try
{
[Description("Tizen.System.Information class for system-info feature unit testing.")]
public class SystemInfoTests
{
- static List<KeyValuePair<string, bool>> boolKeys;
- static List<KeyValuePair<string, double>> doubleKeys;
- static List<KeyValuePair<string, int>> intKeys;
- static List<KeyValuePair<string, string>> stringKeys;
- static List<KeyValuePair<string, DateTime>> invalidKeys;
+ List<KeyValuePair<string, bool>> boolKeys;
+ List<KeyValuePair<string, double>> doubleKeys;
+ List<KeyValuePair<string, int>> intKeys;
+ List<KeyValuePair<string, string>> stringKeys;
+ List<KeyValuePair<string, DateTime>> invalidKeys;
[OneTimeSetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
Initialize();
}
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string, bool")]
- public static void TryGetValue_bool_RETURN_VALUE()
+ public void TryGetValue_bool_RETURN_VALUE()
{
bool value;
foreach (var item in boolKeys)
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string, bool")]
- public static void TryGetValue_bool_RETURN_VALUE_NEGATIVE()
+ public void TryGetValue_bool_RETURN_VALUE_NEGATIVE()
{
bool value;
foreach (var item in invalidKeys)
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string, double")]
- public static void TryGetValue_double_RETURN_VALUE()
+ public void TryGetValue_double_RETURN_VALUE()
{
double value;
foreach (var item in doubleKeys)
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string, double")]
- public static void TryGetValue_double_RETURN_VALUE_NEGATIVE()
+ public void TryGetValue_double_RETURN_VALUE_NEGATIVE()
{
double value;
foreach (var item in invalidKeys)
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string, int")]
- public static void TryGetValue_int_RETURN_VALUE()
+ public void TryGetValue_int_RETURN_VALUE()
{
int value;
foreach (var item in intKeys)
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string, int")]
- public static void TryGetValue_int_RETURN_VALUE_NEGATIVE()
+ public void TryGetValue_int_RETURN_VALUE_NEGATIVE()
{
int value;
foreach (var item in invalidKeys)
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static void TryGetValue_string_RETURN_VALUE()
+ public void TryGetValue_string_RETURN_VALUE()
{
string value;
foreach (var item in stringKeys)
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static void TryGetValue_string_RETURN_VALUE_NEGATIVE()
+ public void TryGetValue_string_RETURN_VALUE_NEGATIVE()
{
string value;
foreach (var item in invalidKeys)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void TryGetValue_DateTime_RETURN_VALUE_NEGATIVE()
+ public void TryGetValue_DateTime_RETURN_VALUE_NEGATIVE()
{
DateTime value;
foreach (var item in invalidKeys)
}
}
- static void Initialize()
+ void Initialize()
{
bool boolValue;
double doubleValue;
[TestFixture]
[Description("Tizen.System.SystemMemoryUsage class for unit testing.")]
- public static class SystemMemoryUsageTests {
+ public class SystemMemoryUsageTests {
[Test]
[Category("P1")]
[Description("Return value type and sanity checking for SystemMemoryUsage class")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void SystemMemoryUsage_INIT()
+ public void SystemMemoryUsage_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kichan Kwon, k_c.kwon@samsung.com")]
- public static void Update_RETURN_VALUE()
+ public void Update_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sehaj Singh Kalra, sehaj.kalra@samsung.com")]
- public static void Total_PROPERTY_READ_ONLY()
+ public void Total_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sehaj Singh Kalra, sehaj.kalra@samsung.com")]
- public static void Used_PROPERTY_READ_ONLY()
+ public void Used_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sehaj Singh Kalra, sehaj.kalra@samsung.com")]
- public static void Free_PROPERTY_READ_ONLY()
+ public void Free_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sehaj Singh Kalra, sehaj.kalra@samsung.com")]
- public static void Cache_PROPERTY_READ_ONLY()
+ public void Cache_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sehaj Singh Kalra, sehaj.kalra@samsung.com")]
- public static void Swap_PROPERTY_READ_ONLY()
+ public void Swap_PROPERTY_READ_ONLY()
{
try
{
[Description("Tizen.Uix.InputMethod.AccessibilityStateChangedEventArgs test")]
public class AccessibilityStateChangedEventArgsTests
{
- private static bool state = false;
+ private bool state = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
}
- private static void InputMethodEditor_AccessibilityStateChanged(object sender, AccessibilityStateChangedEventArgs e)
+ private void InputMethodEditor_AccessibilityStateChanged(object sender, AccessibilityStateChangedEventArgs e)
{
state = e.State;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void State_READ_ONLY()
+ public void State_READ_ONLY()
{
/*
* TEST CODE
[Description("Tizen.Uix.InputMethod.CursorPositionUpdatedEventArgs test")]
public class CursorPositionUpdatedEventArgsTests
{
- private static int cursorPosition = -1;
+ private int cursorPosition = -1;
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
}
- private static void InputMethodEditor_CursorPositionUpdated(object sender, CursorPositionUpdatedEventArgs e)
+ private void InputMethodEditor_CursorPositionUpdated(object sender, CursorPositionUpdatedEventArgs e)
{
cursorPosition = e.CursorPosition;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void CursorPosition_READ_ONLY()
+ public void CursorPosition_READ_ONLY()
{
/*
* TEST CODE
[Description("Tizen.Uix.InputMethod.DisplayLanguageChangedEventArgs test")]
public class DisplayLanguageChangedEventArgsTests
{
- private static string language = string.Empty;
+ private string language = string.Empty;
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
}
- private static void InputMethodEditor_DisplayLanguageChanged(object sender, DisplayLanguageChangedEventArgs e)
+ private void InputMethodEditor_DisplayLanguageChanged(object sender, DisplayLanguageChangedEventArgs e)
{
language = e.Language;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void Language_READ_ONLY()
+ public void Language_READ_ONLY()
{
/*
* TEST CODE
[Description("Tizen.Uix.InputMethod.EditorWindow test")]
public class EditorWindowTests
{
- private static bool flag = true;
+ private bool flag = true;
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetSize_NO_EXCEPTION()
+ public void SetSize_NO_EXCEPTION()
{
/*
* TEST CODE
[Description("Tizen.Uix.InputMethod.FocusedInEventArgs test")]
public class FocusedInEventArgsTests
{
- private static int contextId = 0;
+ private int contextId = 0;
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
}
- private static void InputMethodEditor_FocusedIn(object sender, FocusedInEventArgs e)
+ private void InputMethodEditor_FocusedIn(object sender, FocusedInEventArgs e)
{
contextId = e.ContextId;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void ContextId_READ_ONLY()
+ public void ContextId_READ_ONLY()
{
/*
* TEST CODE
[Description("Tizen.Uix.InputMethod.FocusedoutEventArgs test")]
public class FocusedoutEventArgsTests
{
- private static int contextId = 0;
+ private int contextId = 0;
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
}
- private static void InputMethodEditor_FocusedOut(object sender, FocusedOutEventArgs e)
+ private void InputMethodEditor_FocusedOut(object sender, FocusedOutEventArgs e)
{
contextId = e.ContextId;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void ContextId_READ_ONLY()
+ public void ContextId_READ_ONLY()
{
/*
* TEST CODE
{
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void Layout_READ_ONLY()
+ public void Layout_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void LayoutVariation_READ_ONLY()
+ public void LayoutVariation_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void CursorPosition_READ_ONLY()
+ public void CursorPosition_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void AutoCapitalization_READ_ONLY()
+ public void AutoCapitalization_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void ReturnKey_READ_ONLY()
+ public void ReturnKey_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void ReturnKeyState_READ_ONLY()
+ public void ReturnKeyState_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void PredictionMode_READ_ONLY()
+ public void PredictionMode_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void PasswordMode_READ_ONLY()
+ public void PasswordMode_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void InputHint_READ_ONLY()
+ public void InputHint_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void BiDirection_READ_ONLY()
+ public void BiDirection_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void Language_READ_ONLY()
+ public void Language_READ_ONLY()
{
/*
* TEST CODE
[Description("Tizen.Uix.InputMethod.InputMethodDeviceInformation test")]
public class InputMethodDeviceInformationTests
{
- private static bool flag = true;
+ private bool flag = true;
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void Name_READ_ONLY()
+ public void Name_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void DeviceClass_READ_ONLY()
+ public void DeviceClass_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void DeviceSubclass_READ_ONLY()
+ public void DeviceSubclass_READ_ONLY()
{
/*
* TEST CODE
[Description("Tizen.Uix.InputMethod.InputMethodEditor test")]
public class ManagerTests
{
- private static bool flag = true;
+ private bool flag = true;
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void FocusedIn_ADD()
+ public void FocusedIn_ADD()
{
/*
* TEST CODE
InputMethodEditor.FocusedIn -= InputMethodEditor_FocusedIn;
}
- private static void InputMethodEditor_FocusedIn(object sender, FocusedInEventArgs e)
+ private void InputMethodEditor_FocusedIn(object sender, FocusedInEventArgs e)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void FocusedOut_ADD()
+ public void FocusedOut_ADD()
{
/*
* TEST CODE
InputMethodEditor.FocusedOut -= InputMethodEditor_FocusedOut;
}
- private static void InputMethodEditor_FocusedOut(object sender, FocusedOutEventArgs e)
+ private void InputMethodEditor_FocusedOut(object sender, FocusedOutEventArgs e)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SurroundingTextUpdated_ADD()
+ public void SurroundingTextUpdated_ADD()
{
/*
* TEST CODE
InputMethodEditor.SurroundingTextUpdated -= InputMethodEditor_SurroundingTextUpdated;
}
- private static void InputMethodEditor_SurroundingTextUpdated(object sender, SurroundingTextUpdatedEventArgs e)
+ private void InputMethodEditor_SurroundingTextUpdated(object sender, SurroundingTextUpdatedEventArgs e)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void InputContextReset_ADD()
+ public void InputContextReset_ADD()
{
/*
* TEST CODE
InputMethodEditor.InputContextReset -= InputMethodEditor_InputContextReset;
}
- private static void InputMethodEditor_InputContextReset(object sender, EventArgs e)
+ private void InputMethodEditor_InputContextReset(object sender, EventArgs e)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void CursorPositionUpdated_ADD()
+ public void CursorPositionUpdated_ADD()
{
/*
* TEST CODE
InputMethodEditor.CursorPositionUpdated -= InputMethodEditor_CursorPositionUpdated;
}
- private static void InputMethodEditor_CursorPositionUpdated(object sender, CursorPositionUpdatedEventArgs e)
+ private void InputMethodEditor_CursorPositionUpdated(object sender, CursorPositionUpdatedEventArgs e)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void LanguageSet_ADD()
+ public void LanguageSet_ADD()
{
/*
* TEST CODE
InputMethodEditor.LanguageSet -= InputMethodEditor_LanguageSet;
}
- private static void InputMethodEditor_LanguageSet(object sender, LanguageSetEventArgs e)
+ private void InputMethodEditor_LanguageSet(object sender, LanguageSetEventArgs e)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void DataSet_ADD()
+ public void DataSet_ADD()
{
/*
* TEST CODE
InputMethodEditor.DataSet -= InputMethodEditor_DataSet;
}
- private static void InputMethodEditor_DataSet(object sender, SetDataEventArgs e)
+ private void InputMethodEditor_DataSet(object sender, SetDataEventArgs e)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void LayoutSet_ADD()
+ public void LayoutSet_ADD()
{
/*
* TEST CODE
InputMethodEditor.LayoutSet -= InputMethodEditor_LayoutSet;
}
- private static void InputMethodEditor_LayoutSet(object sender, LayoutSetEventArgs e)
+ private void InputMethodEditor_LayoutSet(object sender, LayoutSetEventArgs e)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void ReturnKeySet_ADD()
+ public void ReturnKeySet_ADD()
{
/*
* TEST CODE
InputMethodEditor.ReturnKeySet -= InputMethodEditor_ReturnKeySet;
}
- private static void InputMethodEditor_ReturnKeySet(object sender, ReturnKeySetEventArgs e)
+ private void InputMethodEditor_ReturnKeySet(object sender, ReturnKeySetEventArgs e)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void ReturnKeyStateSet_ADD()
+ public void ReturnKeyStateSet_ADD()
{
/*
* TEST CODE
InputMethodEditor.ReturnKeyStateSet -= InputMethodEditor_ReturnKeyStateSet;
}
- private static void InputMethodEditor_ReturnKeyStateSet(object sender, ReturnKeyStateSetEventArgs e)
+ private void InputMethodEditor_ReturnKeyStateSet(object sender, ReturnKeyStateSetEventArgs e)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void DisplayLanguageChanged_ADD()
+ public void DisplayLanguageChanged_ADD()
{
/*
* TEST CODE
InputMethodEditor.DisplayLanguageChanged -= InputMethodEditor_DisplayLanguageChanged;
}
- private static void InputMethodEditor_DisplayLanguageChanged(object sender, DisplayLanguageChangedEventArgs e)
+ private void InputMethodEditor_DisplayLanguageChanged(object sender, DisplayLanguageChangedEventArgs e)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void RotationChanged_ADD()
+ public void RotationChanged_ADD()
{
/*
* TEST CODE
InputMethodEditor.RotationChanged -= InputMethodEditor_RotationChanged;
}
- private static void InputMethodEditor_RotationChanged(object sender, RotationChangedEventArgs e)
+ private void InputMethodEditor_RotationChanged(object sender, RotationChangedEventArgs e)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void AccessibilityStateChanged_ADD()
+ public void AccessibilityStateChanged_ADD()
{
/*
* TEST CODE
InputMethodEditor.AccessibilityStateChanged -= InputMethodEditor_AccessibilityStateChanged;
}
- private static void InputMethodEditor_AccessibilityStateChanged(object sender, AccessibilityStateChangedEventArgs e)
+ private void InputMethodEditor_AccessibilityStateChanged(object sender, AccessibilityStateChangedEventArgs e)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetLanguageRequestedCallback_NO_EXCEPTION()
+ public void SetLanguageRequestedCallback_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetDataRequestedCallback_NO_EXCEPTION()
+ public void SetDataRequestedCallback_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetProcessKeyCallback_NO_EXCEPTION()
+ public void SetProcessKeyCallback_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetGeometryRequestedCallback_NO_EXCEPTION()
+ public void SetGeometryRequestedCallback_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Run_NO_EXCEPTION()
+ public void Run_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SendKeyEvent_NO_EXCEPTION()
+ public void SendKeyEvent_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void CommitString_NO_EXCEPTION()
+ public void CommitString_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void ShowPreEditString_NO_EXCEPTION()
+ public void ShowPreEditString_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void HidePreEditString_NO_EXCEPTION()
+ public void HidePreEditString_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void UpdatePreEditString_NO_EXCEPTION()
+ public void UpdatePreEditString_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void UpdatePreEditString_EXCEPTION()
+ public void UpdatePreEditString_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void RequestSurroundingText_NO_EXCEPTION()
+ public void RequestSurroundingText_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void DeleteSurroundingText_NO_EXCEPTION()
+ public void DeleteSurroundingText_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void DeleteSurroundingText_EXCEPTION()
+ public void DeleteSurroundingText_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetSurroundingText_NO_EXCEPTION()
+ public void GetSurroundingText_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetSelection_NO_EXCEPTION()
+ public void SetSelection_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetSelection_EXCEPTION()
+ public void SetSelection_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetMainWindow_NO_EXCEPTION()
+ public void GetMainWindow_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
- public static void RequestHide_NO_EXCEPTION()
+ public void RequestHide_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
- public static void SetFloatingMode_NO_EXCEPTION()
+ public void SetFloatingMode_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
- public static void SetFloatingDragStart_NO_EXCEPTION()
+ public void SetFloatingDragStart_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
- public static void SetFloatingDragEnd_NO_EXCEPTION()
+ public void SetFloatingDragEnd_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void BoolAction_NO_EXCEPTION()
+ public void BoolAction_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void OutAction_NO_EXCEPTION()
+ public void OutAction_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void OutArrayAction_NO_EXCEPTION()
+ public void OutArrayAction_NO_EXCEPTION()
{
/*
* TEST CODE
[Description("Tizen.Uix.InputMethod.LanguageSetEventArgs test")]
public class LanguageSetEventArgsTests
{
- private static InputPanelLanguage language = InputPanelLanguage.Undefined;
+ private InputPanelLanguage language = InputPanelLanguage.Undefined;
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
}
- private static void InputMethodEditor_LanguageSet(object sender, LanguageSetEventArgs e)
+ private void InputMethodEditor_LanguageSet(object sender, LanguageSetEventArgs e)
{
language = e.Language;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void Language_READ_ONLY()
+ public void Language_READ_ONLY()
{
/*
* TEST CODE
[Description("Tizen.Uix.InputMethod.LayoutSetEventArgs test")]
public class LayoutSetEventArgsTests
{
- private static InputPanelLayout layout = InputPanelLayout.Undefined;
+ private InputPanelLayout layout = InputPanelLayout.Undefined;
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
}
- private static void InputMethodEditor_LayoutSet(object sender, LayoutSetEventArgs e)
+ private void InputMethodEditor_LayoutSet(object sender, LayoutSetEventArgs e)
{
layout = e.Layout;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void Layout_READ_ONLY()
+ public void Layout_READ_ONLY()
{
/*
* TEST CODE
{
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void Start_READ_WRITE()
+ public void Start_READ_WRITE()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void Length_READ_WRITE()
+ public void Length_READ_WRITE()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void Type_READ_WRITE()
+ public void Type_READ_WRITE()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void Value_READ_WRITE()
+ public void Value_READ_WRITE()
{
/*
* TEST CODE
[Description("Tizen.Uix.InputMethod.ReturnKeySetEventArgs test")]
public class ReturnKeySetEventArgsTests
{
- private static InputPanelReturnKey type = InputPanelReturnKey.Undefined;
+ private InputPanelReturnKey type = InputPanelReturnKey.Undefined;
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
}
- private static void InputMethodEditor_ReturnKeySet(object sender, ReturnKeySetEventArgs e)
+ private void InputMethodEditor_ReturnKeySet(object sender, ReturnKeySetEventArgs e)
{
type = e.Type;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void Type_READ_ONLY()
+ public void Type_READ_ONLY()
{
/*
* TEST CODE
[Description("Tizen.Uix.InputMethod.ReturnKeyStateSetEventArgs test")]
public class ReturnKeyStateSetEventArgsTests
{
- private static bool state = false;
+ private bool state = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
}
- private static void InputMethodEditor_ReturnKeyStateSet(object sender, ReturnKeyStateSetEventArgs e)
+ private void InputMethodEditor_ReturnKeyStateSet(object sender, ReturnKeyStateSetEventArgs e)
{
state = e.State;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void State_READ_ONLY()
+ public void State_READ_ONLY()
{
/*
* TEST CODE
[Description("Tizen.Uix.InputMethod.RotationChangedEventArgs test")]
public class RotationChangedEventArgsTests
{
- private static int degree = 0;
+ private int degree = 0;
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
}
- private static void InputMethodEditor_RotationChanged(object sender, RotationChangedEventArgs e)
+ private void InputMethodEditor_RotationChanged(object sender, RotationChangedEventArgs e)
{
degree = e.Degree;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void Degree_READ_ONLY()
+ public void Degree_READ_ONLY()
{
/*
* TEST CODE
[Description("Tizen.Uix.InputMethod.SetDataEventArgs test")]
public class SetDataEventArgsTests
{
- private static uint dataLength = 0;
- private static byte[] data = null;
+ private uint dataLength = 0;
+ private byte[] data = null;
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
}
- private static void InputMethodEditor_SetData(object sender, SetDataEventArgs e)
+ private void InputMethodEditor_SetData(object sender, SetDataEventArgs e)
{
data = e.Data;
dataLength = e.DataLength;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void Data_READ_ONLY()
+ public void Data_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void DataLength_READ_ONLY()
+ public void DataLength_READ_ONLY()
{
/*
* TEST CODE
[Description("Tizen.Uix.InputMethod.SurroundingTextUpdatedEventArgs test")]
public class SurroundingTextUpdatedEventArgsTests
{
- private static int contextId = 0;
- private static int cursorPosition = -1;
- private static string text = "test";
+ private int contextId = 0;
+ private int cursorPosition = -1;
+ private string text = "test";
[SetUp]
- public static void Init()
+ public void Init()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Helper.PrintLog(Type.DLogAndlogUtil, "Destroy");
GC.Collect();
}
- private static void InputMethodEditor_SurroundingTextUpdated(object sender, SurroundingTextUpdatedEventArgs e)
+ private void InputMethodEditor_SurroundingTextUpdated(object sender, SurroundingTextUpdatedEventArgs e)
{
contextId = e.ContextId;
cursorPosition = e.CursorPosition;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void ContextId_READ_ONLY()
+ public void ContextId_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void CursorPosition_READ_ONLY()
+ public void CursorPosition_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gaurang Khanwalkar, g.khanwalkar@samsung.com")]
- public static void Text_READ_ONLY()
+ public void Text_READ_ONLY()
{
/*
* TEST CODE
[Description("Tizen.Uix.InputMethodManager.Manager test")]
public class ManagerTests
{
- private static string _activeIMEAppId = null;
+ private string _activeIMEAppId = null;
- private static void GetActiveIMEAppId()
+ private void GetActiveIMEAppId()
{
_activeIMEAppId = Manager.GetActiveIME();
}
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void ShowIMEList_NoException()
+ public void ShowIMEList_NoException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void ShowIMESelector_NoException()
+ public void ShowIMESelector_NoException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetActiveIME_NoException()
+ public void GetActiveIME_NoException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void IsIMEEnabled_ArgumentException()
+ public void IsIMEEnabled_ArgumentException()
{
/* TEST CODE */
Assert.Throws<ArgumentException>(() => Manager.IsIMEEnabled(null));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void IsIMEEnabled_NoException()
+ public void IsIMEEnabled_NoException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetEnabledIMECount_NoException()
+ public void GetEnabledIMECount_NoException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")]
- public static void PrelaunchIME_NoException()
+ public void PrelaunchIME_NoException()
{
try
{
[Description("Test class to test Attributes")]
public class AttributesTests
{
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(TestHelper.LOGTAG, "AttributesTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(TestHelper.LOGTAG, "AttributesTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Attributes_INIT()
+ public void Attributes_INIT()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Attributes_INIT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Count_READ_ONLY()
+ public void Count_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Count_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void IsReadOnly_READ_ONLY()
+ public void IsReadOnly_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] IsReadOnly_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Keys_READ_ONLY()
+ public void Keys_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Keys_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Values_READ_ONLY()
+ public void Values_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Values_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void this_READ_WRITE()
+ public void this_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] this_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void this_READ_UNAVAILABLE_KEY()
+ public void this_READ_UNAVAILABLE_KEY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] this_READ_UNAVAILABLE_KEY");
try
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.KeyValuePair<string,object>")]
- public static void Add_USAGE_WITH_PAIR()
+ public void Add_USAGE_WITH_PAIR()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Add_USAGE_WITH_PAIR");
try
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "string, object")]
- public static void Add_CHECK_ADD_ATTRIBUTE()
+ public void Add_CHECK_ADD_ATTRIBUTE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Add_CHECK_ADD_ATTRIBUTE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Clear_CHECK_CLEAR_ATTRIBUTE()
+ public void Clear_CHECK_CLEAR_ATTRIBUTE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Clear_CHECK_CLEAR_ATTRIBUTE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Contains_RETURN_VALUE()
+ public void Contains_RETURN_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Contains_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ContainsKey_RETURN_VALUE()
+ public void ContainsKey_RETURN_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] ContainsKey_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void CopyTo_USAGE()
+ public void CopyTo_USAGE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] CopyTo_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void CopyTo_USAGE_IN_MIDDLE()
+ public void CopyTo_USAGE_IN_MIDDLE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] CopyTo_USAGE_IN_MIDDLE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void GetEnumerator_RETURN_VALUE()
+ public void GetEnumerator_RETURN_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] GetEnumerator_RETURN_VALUE");
try
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.KeyValuePair<string,object>")]
- public static void Remove_USAGE_WITH_PAIR()
+ public void Remove_USAGE_WITH_PAIR()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Remove_USAGE_WITH_PAIR");
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.KeyValuePair<string,object>")]
- public static void Remove_WITH_PAIR_CHECK_RETURN_VALUE()
+ public void Remove_WITH_PAIR_CHECK_RETURN_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Remove_WITH_PAIR_CHECK_RETURN_VALUE");
try
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.KeyValuePair<string,object>")]
- public static void Remove_USAGE_WITH_PAIR_NEGATIVE()
+ public void Remove_USAGE_WITH_PAIR_NEGATIVE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Remove_USAGE_WITH_PAIR_NEGATIVE");
try
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.KeyValuePair<string,object>")]
- public static void Remove_USAGE_WITH_PAIR_NULL()
+ public void Remove_USAGE_WITH_PAIR_NULL()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Remove_USAGE_WITH_PAIR_NULL");
try
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "string")]
- public static void Remove_CHECK_REMOVE_ATTRIBUTE()
+ public void Remove_CHECK_REMOVE_ATTRIBUTE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Remove_CHECK_REMOVE_ATTRIBUTE");
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "string")]
- public static void Remove_CHECK_RETURN_VALUE()
+ public void Remove_CHECK_RETURN_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Remove_CHECK_RETURN_VALUE");
try
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "string")]
- public static void Remove_CHECK_REMOVE_ATTRIBUTE_NEGATIVE()
+ public void Remove_CHECK_REMOVE_ATTRIBUTE_NEGATIVE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Remove_CHECK_REMOVE_ATTRIBUTE_NEGATIVE");
try
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "string")]
- public static void Remove_CHECK_REMOVE_ATTRIBUTE_NULL()
+ public void Remove_CHECK_REMOVE_ATTRIBUTE_NULL()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Remove_CHECK_REMOVE_ATTRIBUTE_NULL");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TryGetValue_RETURN_VALUE()
+ public void TryGetValue_RETURN_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] TryGetValue_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TryGetValue_RETURN_VALUE_NEGATIVE()
+ public void TryGetValue_RETURN_VALUE_NEGATIVE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] TryGetValue_RETURN_VALUE_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Dispose_CHECK_STATUS()
+ public void Dispose_CHECK_STATUS()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Dispose_CHECK_STATUS");
try
[Description("Test class to test CacheUpdatedEventArgs class")]
public class CacheUpdatedEventArgsTests
{
- public static string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
+ public string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(TestHelper.LOGTAG, "CacheUpdatedEventArgsTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(TestHelper.LOGTAG, "CacheUpdatedEventArgsTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Representation_READ_ONLY()
+ public async Task Representation_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Representation_READ_ONLY");
try
[Description("Class to test DeviceInformationFoundEventArgs class")]
public class DeviceInformationFoundEventArgsTests
{
- public static string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
+ public string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(TestHelper.LOGTAG, "DeviceInformationFoundEventArgsTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(TestHelper.LOGTAG, "DeviceInformationFoundEventArgsTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task RequestId_READ_ONLY()
+ public async Task RequestId_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] RequestId_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task EventContinue_READ_WRITE()
+ public async Task EventContinue_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] EventContinue_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Name_READ_ONLY()
+ public async Task Name_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Name_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task SpecVersion_READ_ONLY()
+ public async Task SpecVersion_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] SpecVersion_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task DeviceId_READ_ONLY()
+ public async Task DeviceId_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] DeviceId_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task DataModelVersion_READ_ONLY()
+ public async Task DataModelVersion_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] DataModelVersion_READ_ONLY");
try
[Description("Class to test FindingErrorOccurredEventArgs class")]
public class FindingErrorOccurredEventArgsTests
{
- public static string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
+ public string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(TestHelper.LOGTAG, "FindingErrorOccurredEventArgsTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(TestHelper.LOGTAG, "FindingErrorOccurredEventArgsTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Error_READ_ONLY()
+ public async Task Error_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Error_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task RequestId_READ_ONLY()
+ public async Task RequestId_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] RequestId_READ_ONLY");
try
[Description("Class to test IoTConnectivity Client manager")]
public class IoTConnectivityClientManagerTests
{
- public static string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
+ public string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
- private static bool _waitFlag = false;
- private static bool isSupported = false;
+ private bool _waitFlag = false;
+ private bool isSupported = false;
- public static async Task waitFlag(int seconds)
+ public async Task waitFlag(int seconds)
{
int count = 0;
while(true) {
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(TestHelper.LOGTAG, "ClientManagerTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(TestHelper.LOGTAG, "ClientManagerTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Initialize_INIT()
+ public void Initialize_INIT()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Initialize_INIT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Initialize_INVALID_PATH_NEGATIVE()
+ public void Initialize_INVALID_PATH_NEGATIVE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Initialize_INVALID_PATH_NEGATIVE");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Deinitialize_USAGE()
+ public void Deinitialize_USAGE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Deinitialize_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task FindingErrorOccurred_CHECK_EVENT_UNKNOWN_DEVICE_INFO()
+ public async Task FindingErrorOccurred_CHECK_EVENT_UNKNOWN_DEVICE_INFO()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] FindingErrorOccurred_CHECK_EVENT_UNKNOWN_DEVICE_INFO");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task FindingErrorOccurred_CHECK_EVENT_UNKNOWN_PLATFORM_INFO()
+ public async Task FindingErrorOccurred_CHECK_EVENT_UNKNOWN_PLATFORM_INFO()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] FindingErrorOccurred_CHECK_EVENT_UNKNOWN_PLATFORM_INFO");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TimeOut_CHECK_DEFAULT_VALUE()
+ public void TimeOut_CHECK_DEFAULT_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] TimeOut_CHECK_DEFAULT_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TimeOut_READ_WRITE()
+ public void TimeOut_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] TimeOut_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PAM")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TimeOut_READ_WRITE_ABOVE_MAX()
+ public void TimeOut_READ_WRITE_ABOVE_MAX()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] TimeOut_READ_WRITE_ABOVE_MAX");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TimeOut_READ_WRITE_BELOW_MIN()
+ public void TimeOut_READ_WRITE_BELOW_MIN()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] TimeOut_READ_WRITE_BELOW_MIN");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void PollingInterval_CHECK_DEFAULT_VALUE()
+ public void PollingInterval_CHECK_DEFAULT_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] PollingInterval_CHECK_DEFAULT_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void PollingInterval_READ_WRITE()
+ public void PollingInterval_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] PollingInterval_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PAM")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void PollingInterval_READ_WRITE_ABOVE_MAX()
+ public void PollingInterval_READ_WRITE_ABOVE_MAX()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] PollingInterval_READ_WRITE_ABOVE_MAX");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void PollingInterval_READ_WRITE_BELOW_MIN()
+ public void PollingInterval_READ_WRITE_BELOW_MIN()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] PollingInterval_READ_WRITE_BELOW_MIN");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void InvokePolling_USAGE()
+ public void InvokePolling_USAGE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] InvokePolling_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StartReceivingPresence_CHECK_RETURN_VALUE()
+ public async Task StartReceivingPresence_CHECK_RETURN_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StartReceivingPresence_CHECK_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StartReceivingPresence_USAGE()
+ public async Task StartReceivingPresence_USAGE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StartReceivingPresence_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StartReceivingPresence_WITH_UNAVAILABLE_HOST()
+ public async Task StartReceivingPresence_WITH_UNAVAILABLE_HOST()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StartReceivingPresence_WITH_UNAVAILABLE_HOST");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StartReceivingPresence_WITH_NEGATIVE()
+ public async Task StartReceivingPresence_WITH_NEGATIVE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StartReceivingPresence_WITH_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StopReceivingPresence_USAGE()
+ public async Task StopReceivingPresence_USAGE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StopReceivingPresence_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StopReceivingPresence_USAGE_WITH_NEGATIVE()
+ public async Task StopReceivingPresence_USAGE_WITH_NEGATIVE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StopReceivingPresence_USAGE_WITH_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StartFindingResource_CHECK_RETURN_VALUE()
+ public async Task StartFindingResource_CHECK_RETURN_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StartFindingResource_CHECK_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StartFindingResource_USAGE()
+ public async Task StartFindingResource_USAGE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StartFindingResource_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StartFindingResource_UNAVAILABLE_HOST()
+ public async Task StartFindingResource_UNAVAILABLE_HOST()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StartFindingResource_UNAVAILABLE_HOST");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StartFindingResource_UNAVAILABLE_RESOURCE()
+ public async Task StartFindingResource_UNAVAILABLE_RESOURCE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StartFindingResource_UNAVAILABLE_RESOURCE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StartFindingDeviceInformation_CHECK_RETURN_VALUE()
+ public async Task StartFindingDeviceInformation_CHECK_RETURN_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StartFindingDeviceInformation_CHECK_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StartFindingDeviceInformation_USAGE()
+ public async Task StartFindingDeviceInformation_USAGE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StartFindingDeviceInformation_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StartFindingDeviceInformation_UNAVAILABLE_HOST()
+ public async Task StartFindingDeviceInformation_UNAVAILABLE_HOST()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StartFindingDeviceInformation_UNAVAILABLE_HOST");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StartFindingPlatformInformation_CHECK_RETURN_VALUE()
+ public async Task StartFindingPlatformInformation_CHECK_RETURN_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StartFindingPlatformInformation_CHECK_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StartFindingPlatformInformation_USAGE()
+ public async Task StartFindingPlatformInformation_USAGE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StartFindingPlatformInformation_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StartFindingPlatformInformation_UNAVAILABLE_HOST()
+ public async Task StartFindingPlatformInformation_UNAVAILABLE_HOST()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StartFindingPlatformInformation_UNAVAILABLE_HOST");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task PresenceReceived_CHECK_EVENT()
+ public async Task PresenceReceived_CHECK_EVENT()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] PresenceReceived_CHECK_EVENT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task ResourceFound_CHECK_EVENT()
+ public async Task ResourceFound_CHECK_EVENT()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] ResourceFound_CHECK_EVENT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task DeviceInformationFound_CHECK_EVENT()
+ public async Task DeviceInformationFound_CHECK_EVENT()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] DeviceInformationFound_CHECK_EVENT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task PlatformInformationFound_CHECK_EVENT()
+ public async Task PlatformInformationFound_CHECK_EVENT()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] PlatformInformationFound_CHECK_EVENT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void MulticastAddress_READ_ONLY()
+ public void MulticastAddress_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] MulticastAddress_READ_ONLY");
Assert.IsTrue(IoTConnectivityClientManager.MulticastAddress == null, "MulticastAddress is not null");
[Description("Test class to test ObserverNotifiedEventArgs class")]
public class ObserverNotifiedEventArgsTests
{
- public static string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
+ public string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(TestHelper.LOGTAG, "ObserverNotifiedEventArgsTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(TestHelper.LOGTAG, "ObserverNotifiedEventArgsTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Representation_READ_ONLY()
+ public async Task Representation_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Representation_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Result_READ_ONLY()
+ public async Task Result_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Result_READ_ONLY");
try
[Description("Test class to test PlatformInformationFoundEventArgs class")]
public class PlatformInformationFoundEventArgsTests
{
- public static string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
+ public string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(TestHelper.LOGTAG, "PlatformInformationFoundEventArgsTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(TestHelper.LOGTAG, "PlatformInformationFoundEventArgsTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task RequestId_READ_ONLY()
+ public async Task RequestId_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] RequestId_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task EventContinue_READ_WRITE()
+ public async Task EventContinue_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] EventContinue_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task PlatformId_READ_ONLY()
+ public async Task PlatformId_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] PlatformId_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task ManufacturerName_READ_ONLY()
+ public async Task ManufacturerName_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] ManufacturerName_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task ManufacturerURL_READ_ONLY()
+ public async Task ManufacturerURL_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] ManufacturerURL_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task ModelNumber_READ_ONLY()
+ public async Task ModelNumber_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] ModelNumber_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task DateOfManufacture_READ_ONLY()
+ public async Task DateOfManufacture_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] DateOfManufacture_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task PlatformVersion_READ_ONLY()
+ public async Task PlatformVersion_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] PlatformVersion_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task OsVersion_READ_ONLY()
+ public async Task OsVersion_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] OsVersion_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task HardwareVersion_READ_ONLY()
+ public async Task HardwareVersion_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] HardwareVersion_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task FirmwareVersion_READ_ONLY()
+ public async Task FirmwareVersion_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] FirmwareVersion_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task SupportUrl_READ_ONLY()
+ public async Task SupportUrl_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] SupportUrl_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task SystemTime_READ_ONLY()
+ public async Task SystemTime_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] SystemTime_READ_ONLY");
try
[Description("Test class to test PresenceReceivedEventArgs class")]
public class PresenceReceivedEventArgsTests
{
- public static string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
+ public string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
- private static bool isSupported = false;
+ private bool isSupported = false;
// Currentlyly due to some CAPI issue, StartReceivingPresence does not work again after it was stopped in the same process.
// This causes some unexpected behaviour, thus below test case codes have been commented.
// Uncomment it once these issues are fixed in CAPI.
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(TestHelper.LOGTAG, "PresenceReceivedEventArgsTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(TestHelper.LOGTAG, "PresenceReceivedEventArgsTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task PresenceId_READ_ONLY()
+ public async Task PresenceId_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] PresenceId_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task HostAddress_READ_ONLY()
+ public async Task HostAddress_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] HostAddress_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Type_READ_ONLY()
+ public async Task Type_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Type_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task EventType_READ_ONLY()
+ public async Task EventType_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] EventType_READ_ONLY");
try
[Description("Class to test RemoteResource APIs")]
public class RemoteResourceTests
{
- public static string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
+ public string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
- private static bool _waitFlag;
- private static bool isSupported = false;
+ private bool _waitFlag;
+ private bool isSupported = false;
- public static async Task waitFlag(int seconds)
+ public async Task waitFlag(int seconds)
{
int count = 0;
while(true) {
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(TestHelper.LOGTAG, "RemoteResourceTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(TestHelper.LOGTAG, "RemoteResourceTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void RemoteResource_INIT()
+ public void RemoteResource_INIT()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] RemoteResource_INIT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void RemoteResource_INIT_INVALID_HOST_NEGATIVE()
+ public void RemoteResource_INIT_INVALID_HOST_NEGATIVE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] RemoteResource_INIT_INVALID_HOST_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void RemoteResource_INIT_INVALID_URI_NEGATIVE()
+ public void RemoteResource_INIT_INVALID_URI_NEGATIVE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] RemoteResource_INIT_INVALID_URI_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void RemoteResource_INIT_INVALID_TYPE_NEGATIVE()
+ public void RemoteResource_INIT_INVALID_TYPE_NEGATIVE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] RemoteResource_INIT_INVALID_TYPE_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void RemoteResource_INIT_INVALID_INTERFACE_NEGATIVE()
+ public void RemoteResource_INIT_INVALID_INTERFACE_NEGATIVE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] RemoteResource_INIT_INVALID_INTERFACE_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void HostAddress_READ_ONLY()
+ public void HostAddress_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] HostAddress_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void UriPath_READ_ONLY()
+ public void UriPath_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] UriPath_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Types_READ_ONLY()
+ public void Types_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Types_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Interfaces_READ_ONLY()
+ public void Interfaces_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Interfaces_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Policy_READ_ONLY()
+ public void Policy_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Policy_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Options_READ_WRITE()
+ public void Options_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Options_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task CachedRepresentation_RETURN()
+ public async Task CachedRepresentation_RETURN()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] CachedRepresentation_RETURN");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task CacheUpdated_CHECK_EVENT()
+ public async Task CacheUpdated_CHECK_EVENT()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] CacheUpdated_CHECK_EVENT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task CacheEnabled_READ_WRITE()
+ public async Task CacheEnabled_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] CacheEnabled_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TimeInterval_CHECK_DEFAULT_VALUE()
+ public void TimeInterval_CHECK_DEFAULT_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] TimeInterval_CHECK_DEFAULT_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TimeInterval_READ_WRITE()
+ public void TimeInterval_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] TimeInterval_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM, PEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TimeInterval_READ_WRITE_BELOW_MIN()
+ public void TimeInterval_READ_WRITE_BELOW_MIN()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] TimeInterval_READ_WRITE_BELOW_MIN");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PAM, PEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TimeInterval_READ_WRITE_ABOVE_MAX()
+ public void TimeInterval_READ_WRITE_ABOVE_MAX()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] TimeInterval_READ_WRITE_ABOVE_MAX");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task DeviceId_READ_ONLY()
+ public async Task DeviceId_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] DeviceId_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StartObserving_USAGE()
+ public async Task StartObserving_USAGE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StartObserving_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StopObserving_USAGE()
+ public async Task StopObserving_USAGE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StopObserving_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StopObserving_USAGE_NEGATIVE()
+ public async Task StopObserving_USAGE_NEGATIVE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StopObserving_USAGE_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task ObserverNotified_CHECK_EVENT()
+ public async Task ObserverNotified_CHECK_EVENT()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] ObserverNotified_CHECK_EVENT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task GetAsync_CHECK_RETURN_VALUE()
+ public async Task GetAsync_CHECK_RETURN_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] GetAsync_CHECK_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task PostAsync_CHECK_RETURN_VALUE()
+ public async Task PostAsync_CHECK_RETURN_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] PostAsync_CHECK_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task PutAsync_CHECK_RETURN_VALUE()
+ public async Task PutAsync_CHECK_RETURN_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] PutAsync_CHECK_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task DeleteAsync_CHECK_RETURN_VALUE()
+ public async Task DeleteAsync_CHECK_RETURN_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] DeleteAsync_CHECK_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task StateChanged_CHECK_EVENT()
+ public async Task StateChanged_CHECK_EVENT()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] StateChanged_CHECK_EVENT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Dispose_CHECK_STATUS()
+ public void Dispose_CHECK_STATUS()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Dispose_CHECK_STATUS");
try
[Description("Class to test RemoteResponse class")]
public class RemoteResponseTests
{
- public static string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
+ public string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(TestHelper.LOGTAG, "RemoteResponseTests Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(TestHelper.LOGTAG, "RemoteResponseTests Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Result_READ_ONLY()
+ public async Task Result_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Result_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Representation_READ_ONLY()
+ public async Task Representation_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Representation_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Options_READ_ONLY()
+ public async Task Options_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Options_READ_ONLY");
try
[Description("Class to test Representation")]
public class RepresentationTests
{
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(TestHelper.LOGTAG, "RepresentationTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(TestHelper.LOGTAG, "RepresentationTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Representation_INIT()
+ public void Representation_INIT()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Representation_INIT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void UriPath_READ_WRITE()
+ public void UriPath_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] UriPath_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Type_READ_WRITE()
+ public void Type_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Type_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Interface_READ_WRITE()
+ public void Interface_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Interface_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Attributes_READ_WRITE()
+ public void Attributes_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Attributes_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Children_READ_WRITE()
+ public void Children_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Children_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Dispose_CHECK_STATUS()
+ public void Dispose_CHECK_STATUS()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Dispose_CHECK_STATUS");
try
[Description("Class to test ResourceFoundEventArgs class")]
public class ResourceFoundEventArgsTests
{
- public static string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
+ public string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(TestHelper.LOGTAG, "ResourceFoundEventArgsTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(TestHelper.LOGTAG, "ResourceFoundEventArgsTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task RequestId_READ_ONLY()
+ public async Task RequestId_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] RequestId_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task EventContinue_READ_WRITE()
+ public async Task EventContinue_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] EventContinue_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Resource_READ_ONLY()
+ public async Task Resource_READ_ONLY()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Resource_READ_ONLY");
try
[Description("Class to test Response APIs")]
public class ResponseTests
{
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(TestHelper.LOGTAG, "ResponseTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(TestHelper.LOGTAG, "ResponseTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Response_INIT()
+ public void Response_INIT()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Response_INIT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Result_CHECK_DEFAULT_VALUE()
+ public void Result_CHECK_DEFAULT_VALUE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Result_CHECK_DEFAULT_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW, PRE")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Result_READ_WRITE_OK()
+ public void Result_READ_WRITE_OK()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Result_READ_WRITE_OK");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW, PRE")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Result_READ_WRITE_ERROR()
+ public void Result_READ_WRITE_ERROR()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Result_READ_WRITE_ERROR");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW, PRE")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Result_READ_WRITE_CREATED()
+ public void Result_READ_WRITE_CREATED()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Result_READ_WRITE_CREATED");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW, PRE")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Result_READ_WRITE_DELETED()
+ public void Result_READ_WRITE_DELETED()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Result_READ_WRITE_DELETED");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW, PRE")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Result_READ_WRITE_SLOW()
+ public void Result_READ_WRITE_SLOW()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Result_READ_WRITE_SLOW");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW, PRE")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Result_READ_WRITE_FORBIDDEN()
+ public void Result_READ_WRITE_FORBIDDEN()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Result_READ_WRITE_FORBIDDEN");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Representation_READ_WRITE()
+ public void Representation_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Representation_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Options_READ_WRITE()
+ public void Options_READ_WRITE()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Options_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Dispose_CHECK_STATUS()
+ public void Dispose_CHECK_STATUS()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] Dispose_CHECK_STATUS");
try
[Description("Test class to test StateChangedEventArgs")]
public class StateChangedEventArgsTests
{
- public static string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
+ public string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-client.dat";
- private static bool _waitFlag;
- private static bool isSupported = false;
+ private bool _waitFlag;
+ private bool isSupported = false;
- public static async Task waitFlag(int seconds)
+ public async Task waitFlag(int seconds)
{
int count = 0;
while(true) {
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(TestHelper.LOGTAG, "StateChangedEventArgsTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(TestHelper.LOGTAG, "StateChangedEventArgsTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task State_READ_ONLY_ALL()
+ public async Task State_READ_ONLY_ALL()
{
Log.Info(TestHelper.LOGTAG, "[TS Start] State_READ_ONLY_ALL");
try
[Description("Test class to test server manager")]
public class IoTConnectivityServerManagerTests
{
- public static string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-server.dat";
+ public string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-server.dat";
internal const string LOGTAG = "IOT-TEST";
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(LOGTAG, "ServerManagerTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(LOGTAG, "ServerManagerTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Initialize_INIT()
+ public void Initialize_INIT()
{
Log.Info(LOGTAG, "[TS Start] Initialize_INIT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Initialize_INVALID_PATH_NEGATIVE()
+ public void Initialize_INVALID_PATH_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Initialize_INVALID_PATH_NEGATIVE");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Deinitialize_USAGE()
+ public void Deinitialize_USAGE()
{
Log.Info(LOGTAG, "[TS Start] Deinitialize_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void RegisterResource_CHECK_NO_EXCEPTION()
+ public void RegisterResource_CHECK_NO_EXCEPTION()
{
Log.Info(LOGTAG, "[TS Start] RegisterResource_CHECK_NO_EXCEPTION");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void RegisterResource_CHECK_WITH_NEGATIVE()
+ public void RegisterResource_CHECK_WITH_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] RegisterResource_CHECK_WITH_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void UnregisterResource_CHECK_NO_EXCEPTION()
+ public void UnregisterResource_CHECK_NO_EXCEPTION()
{
Log.Info(LOGTAG, "[TS Start] UnregisterResource_CHECK_NO_EXCEPTION");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void StartSendingPresence_CHECK_NO_EXCEPTION()
+ public void StartSendingPresence_CHECK_NO_EXCEPTION()
{
Log.Info(LOGTAG, "[TS Start] StartSendingPresence_CHECK_NO_EXCEPTION");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void StopSendingPresence_CHECK_NO_EXCEPTION()
+ public void StopSendingPresence_CHECK_NO_EXCEPTION()
{
Log.Info(LOGTAG, "[TS Start] StopSendingPresence_CHECK_NO_EXCEPTION");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void SetDeviceName_CHECK_NO_EXCEPTION()
+ public void SetDeviceName_CHECK_NO_EXCEPTION()
{
Log.Info(LOGTAG, "[TS Start] SetDeviceName_CHECK_NO_EXCEPTION");
try
{
internal const string LOGTAG = "IOT-TEST";
private const string _clientAppId = "org.tizen.IoTClientApp";
- private static bool _waitFlag;
- private static bool isSupported = false;
- public static string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-server.dat";
+ private bool _waitFlag;
+ private bool isSupported = false;
+ public string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-server.dat";
- public static async Task waitFlag(int seconds)
+ public async Task waitFlag(int seconds)
{
int count = 0;
while(true) {
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(LOGTAG, "LiteResourceTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(LOGTAG, "LiteResourceTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void LiteResource_INIT()
+ public void LiteResource_INIT()
{
Log.Info(LOGTAG, "[TS Start] LiteResource_INIT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Attributes_PROPERTY_READ_WRITE()
+ public void Attributes_PROPERTY_READ_WRITE()
{
Log.Info(LOGTAG, "[TS Start] Attributes_PROPERTY_READ_WRITE");
try
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "Tizen.Network.IoTConnectivity.Attributes")]
- public static async Task OnPost_USAGE()
+ public async Task OnPost_USAGE()
{
Log.Info(LOGTAG, "[TS Start] OnPost_USAGE");
try
public class RequestTests
{
internal const string LOGTAG = "IOT-TEST";
- private static bool _waitFlag;
- private static bool _isRegistered = false;
+ private bool _waitFlag;
+ private bool _isRegistered = false;
private const string _attribute = "DOOR_ATTRIBUTE";
private const string _clientAppId = "org.tizen.IoTClientApp";
- private static AppControl _appControl = null;
- private static bool isSupported = false;
- public static string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-server.dat";
+ private AppControl _appControl = null;
+ private bool isSupported = false;
+ public string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-server.dat";
- public static async Task waitFlag(int seconds)
+ public async Task waitFlag(int seconds)
{
int count = 0;
while(true) {
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(LOGTAG, "RequestTests Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(LOGTAG, "RequestTests Destroy");
}
- private static async Task LaunchClientApp()
+ private async Task LaunchClientApp()
{
if (!isSupported)
throw new NotSupportedException("Not supported");
await waitFlag(10);
}
- private static async Task LaunchClientApp(string mode)
+ private async Task LaunchClientApp(string mode)
{
if (!isSupported)
throw new NotSupportedException("Not supported");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task HostAddress_PROPERTY_READ_ONLY()
+ public async Task HostAddress_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] HostAddress_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Representation_PROPERTY_READ_ONLY()
+ public async Task Representation_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] Representation_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Query_PROPERTY_READ_ONLY()
+ public async Task Query_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] Query_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Options_PROPERTY_READ_ONLY()
+ public async Task Options_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] Options_PROPERTY_READ_ONLY");
try
{
internal class Flags
{
- internal static bool OnGetReceivedFlag = false;
+ internal static bool OnGetReceivedFlag = false;
internal static bool OnPostReceivedFlag = false;
internal static bool OnDeleteReceivedFlag = false;
internal static bool OnPutReceivedFlag = false;
public class ResourceTests
{
internal const string LOGTAG = "IOT-TEST";
- public static string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-server.dat";
+ public string datPath = "/opt/usr/home/owner/share/res/iotcon-test-svr-db-server.dat";
- private static bool _waitFlag;
- private static bool _isRegistered = false;
+ private bool _waitFlag;
+ private bool _isRegistered = false;
private const string _attribute = "DOOR_ATTRIBUTE";
private const string _clientAppId = "org.tizen.IoTClientApp";
- private static AppControl _appControl = null;
- private static bool isSupported = false;
+ private AppControl _appControl = null;
+ private bool isSupported = false;
- public static async Task waitFlag(int seconds)
+ public async Task waitFlag(int seconds)
{
int count = 0;
while(true) {
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(LOGTAG, "ResourceTests Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(LOGTAG, "ResourceTests Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Resource_INIT()
+ public void Resource_INIT()
{
Log.Info(LOGTAG, "[TS Start] Resource_INIT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Interfaces_PROPERTY_READ_ONLY()
+ public void Interfaces_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] Interfaces_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Types_PROPERTY_READ_ONLY()
+ public void Types_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] Types_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void UriPath_PROPERTY_READ_ONLY()
+ public void UriPath_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] UriPath_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Policy_PROPERTY_READ_ONLY()
+ public void Policy_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] Policy_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Children_PROPERTY_READ_ONLY()
+ public void Children_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] Children_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Notify_USAGE()
+ public void Notify_USAGE()
{
Log.Info(LOGTAG, "[TS Start] Notify_USAGE");
try
}
}
- private static async Task LaunchClientApp()
+ private async Task LaunchClientApp()
{
if (!isSupported)
throw new NotSupportedException("Not supported");
await waitFlag(10);
}
- private static async Task LaunchClientApp(string mode)
+ private async Task LaunchClientApp(string mode)
{
if (!isSupported)
throw new NotSupportedException("Not supported");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task OnGet_USAGE()
+ public async Task OnGet_USAGE()
{
Log.Info(LOGTAG, "[TS Start] OnGet_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task OnObserving_USAGE()
+ public async Task OnObserving_USAGE()
{
Log.Info(LOGTAG, "[TS Start] OnObserving_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task OnPost_USAGE()
+ public async Task OnPost_USAGE()
{
Log.Info(LOGTAG, "[TS Start] OnPost_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task OnPut_USAGE()
+ public async Task OnPut_USAGE()
{
Log.Info(LOGTAG, "[TS Start] OnPut_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task OnDelete_USAGE()
+ public async Task OnDelete_USAGE()
{
Log.Info(LOGTAG, "[TS Start] OnDelete_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Dispose_CHECK_STATUS()
+ public void Dispose_CHECK_STATUS()
{
Log.Info(LOGTAG, "[TS Start] Dispose_CHECK_STATUS");
try
{
internal const string LOGTAG = "IOT-TEST";
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(LOGTAG, "ResourceInterfacesTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(LOGTAG, "ResourceInterfacesTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ResourceInterfaces_INIT()
+ public void ResourceInterfaces_INIT()
{
Log.Info(LOGTAG, "[TS Start] ResourceInterfaces_INIT");
try
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.IEnumerable<string>")]
- public static void ResourceInterfaces_INIT_WITH_LIST()
+ public void ResourceInterfaces_INIT_WITH_LIST()
{
Log.Info(LOGTAG, "[TS Start] ResourceInterfaces_INIT_WITH_LIST");
try
[Property("CRITERIA", "CONSTN, CONSTX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.IEnumerable<string>")]
- public static void ResourceInterfaces_INIT_WITH_LIST_NEGATIVE()
+ public void ResourceInterfaces_INIT_WITH_LIST_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] ResourceInterfaces_INIT_WITH_LIST_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] Count_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Add_CHECK_ADD_ATTRIBUTE()
+ public void Add_CHECK_ADD_ATTRIBUTE()
{
Log.Info(LOGTAG, "[TS Start] Add_CHECK_ADD_ATTRIBUTE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Add_CHECK_ADD_ATTRIBUTE_WITH_NEGATIVE()
+ public void Add_CHECK_ADD_ATTRIBUTE_WITH_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Add_CHECK_ADD_ATTRIBUTE_WITH_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Remove_CHECK_REMOVE_ATTRIBUTE()
+ public void Remove_CHECK_REMOVE_ATTRIBUTE()
{
Log.Info(LOGTAG, "[TS Start] Remove_CHECK_REMOVE_ATTRIBUTE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Remove_CHECK_REMOVE_ATTRIBUTE_NEGATIVE()
+ public void Remove_CHECK_REMOVE_ATTRIBUTE_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Remove_CHECK_REMOVE_ATTRIBUTE_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void GetEnumerator_RETURN_VALUE()
+ public void GetEnumerator_RETURN_VALUE()
{
Log.Info(LOGTAG, "[TS Start] GetEnumerator_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void BatchInterface_VALUE()
+ public void BatchInterface_VALUE()
{
Log.Info(LOGTAG, "[TS Start] BatchInterface_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void DefaultInterface_PROPERTY_READ_ONLY()
+ public void DefaultInterface_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] DefaultInterface_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void GroupInterface_PROPERTY_READ_ONLY()
+ public void GroupInterface_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] GroupInterface_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void LinkInterface_PROPERTY_READ_ONLY()
+ public void LinkInterface_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] LinkInterface_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ReadonlyInterface_PROPERTY_READ_ONLY()
+ public void ReadonlyInterface_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] ReadonlyInterface_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Dispose_CHECK_STATUS()
+ public void Dispose_CHECK_STATUS()
{
Log.Info(LOGTAG, "[TS Start] Dispose_CHECK_STATUS");
try
{
internal const string LOGTAG = "IOT-TEST";
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(LOGTAG, "ResourceOptionsTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(LOGTAG, "ResourceOptionsTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ResourceOptions_INIT()
+ public void ResourceOptions_INIT()
{
Log.Info(LOGTAG, "[TS Start] ResourceOptions_INIT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Keys_PROPERTY_READ_ONLY()
+ public void Keys_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] Keys_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Values_PROPERTY_READ_ONLY()
+ public void Values_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] Values_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] Count_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void IsReadOnly_PROPERTY_READ_ONLY()
+ public void IsReadOnly_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] IsReadOnly_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void this_READ_WRITE()
+ public void this_READ_WRITE()
{
Log.Info(LOGTAG, "[TS Start] this_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ContainsKey_RETURN_VALUE()
+ public void ContainsKey_RETURN_VALUE()
{
Log.Info(LOGTAG, "[TS Start] ContainsKey_RETURN_VALUE");
try
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "UInt16, string")]
- public static void Add_CHECK_ADD_ATTRIBUTE()
+ public void Add_CHECK_ADD_ATTRIBUTE()
{
Log.Info(LOGTAG, "[TS Start] Add_CHECK_ADD_ATTRIBUTE");
try
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "UInt16, string")]
- public static void Add_TOO_MANY_OPTIONS_NEGATIVE()
+ public void Add_TOO_MANY_OPTIONS_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Add_TOO_MANY_OPTIONS_NEGATIVE");
try
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "UInt16, string")]
- public static void Add_TOO_LARGE_NEGATIVE()
+ public void Add_TOO_LARGE_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Add_TOO_LARGE_NEGATIVE");
try
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "UInt16, string")]
- public static void Add_BELOW_MIN_KEY_NEGATIVE()
+ public void Add_BELOW_MIN_KEY_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Add_BELOW_MIN_KEY_NEGATIVE");
try
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "UInt16, string")]
- public static void Add_ABOVE_MAX_KEY_NEGATIVE()
+ public void Add_ABOVE_MAX_KEY_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Add_ABOVE_MAX_KEY_NEGATIVE");
try
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "UInt16")]
- public static void Remove_CHECK_REMOVE_ATTRIBUTE()
+ public void Remove_CHECK_REMOVE_ATTRIBUTE()
{
Log.Info(LOGTAG, "[TS Start] Remove_CHECK_REMOVE_ATTRIBUTE");
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "UInt16")]
- public static void Remove_CHECK_RETURN_VALUE()
+ public void Remove_CHECK_RETURN_VALUE()
{
Log.Info(LOGTAG, "[TS Start] Remove_CHECK_RETURN_VALUE");
try
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "UInt16")]
- public static void Remove_CHECK_REMOVE_ATTRIBUTE_NEGATIVE()
+ public void Remove_CHECK_REMOVE_ATTRIBUTE_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Remove_CHECK_REMOVE_ATTRIBUTE_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TryGetValue_RETURN_VALUE()
+ public void TryGetValue_RETURN_VALUE()
{
Log.Info(LOGTAG, "[TS Start] TryGetValue_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TryGetValue_RETURN_VALUE_NEGATIVE()
+ public void TryGetValue_RETURN_VALUE_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] TryGetValue_RETURN_VALUE_NEGATIVE");
try
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.KeyValuePair<System.UInt16,string>")]
- public static void Add_USAGE_WITH_PAIR()
+ public void Add_USAGE_WITH_PAIR()
{
Log.Info(LOGTAG, "[TS Start] Add_USAGE_WITH_PAIR");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Clear_CHECK_CLEAR_ATTRIBUTE()
+ public void Clear_CHECK_CLEAR_ATTRIBUTE()
{
Log.Info(LOGTAG, "[TS Start] Clear_CHECK_CLEAR_ATTRIBUTE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Contains_RETURN_VALUE()
+ public void Contains_RETURN_VALUE()
{
Log.Info(LOGTAG, "[TS Start] Contains_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void CopyTo_USAGE()
+ public void CopyTo_USAGE()
{
Log.Info(LOGTAG, "[TS Start] CopyTo_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void CopyTo_USAGE_IN_MIDDLE()
+ public void CopyTo_USAGE_IN_MIDDLE()
{
Log.Info(LOGTAG, "[TS Start] CopyTo_USAGE_IN_MIDDLE");
try
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.KeyValuePair<System.UInt16,string>")]
- public static void Remove_USAGE_WITH_PAIR()
+ public void Remove_USAGE_WITH_PAIR()
{
Log.Info(LOGTAG, "[TS Start] Remove_USAGE_WITH_PAIR");
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.KeyValuePair<System.UInt16,string>")]
- public static void Remove_WITH_PAIR_CHECK_RETURN_VALUE()
+ public void Remove_WITH_PAIR_CHECK_RETURN_VALUE()
{
Log.Info(LOGTAG, "[TS Start] Remove_WITH_PAIR_CHECK_RETURN_VALUE");
try
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.KeyValuePair<System.UInt16,string>")]
- public static void Remove_USAGE_WITH_PAIR_NEGATIVE()
+ public void Remove_USAGE_WITH_PAIR_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Remove_USAGE_WITH_PAIR_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void GetEnumerator_RETURN_VALUE()
+ public void GetEnumerator_RETURN_VALUE()
{
Log.Info(LOGTAG, "[TS Start] GetEnumerator_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Dispose_CHECK_STATUS()
+ public void Dispose_CHECK_STATUS()
{
Log.Info(LOGTAG, "[TS Start] Dispose_CHECK_STATUS");
try
{
internal const string LOGTAG = "IOT-TEST";
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(LOGTAG, "ResourceQueryTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(LOGTAG, "ResourceQueryTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ResourceQuery_INIT()
+ public void ResourceQuery_INIT()
{
Log.Info(LOGTAG, "[TS Start] ResourceQuery_INIT");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Type_PROPERTY_READ_WRITE()
+ public void Type_PROPERTY_READ_WRITE()
{
Log.Info(LOGTAG, "[TS Start] Type_PROPERTY_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Type_PROPERTY_READ_WRITE_WITH_NEGATIVE()
+ public void Type_PROPERTY_READ_WRITE_WITH_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Type_PROPERTY_READ_WRITE_WITH_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Interface_PROPERTY_READ_WRITE()
+ public void Interface_PROPERTY_READ_WRITE()
{
Log.Info(LOGTAG, "[TS Start] Interface_PROPERTY_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Interface_PROPERTY_READ_WRITE_WITH_NEGATIVE()
+ public void Interface_PROPERTY_READ_WRITE_WITH_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Interface_PROPERTY_READ_WRITE_WITH_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Keys_PROPERTY_READ_ONLY()
+ public void Keys_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] Keys_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Values_PROPERTY_READ_ONLY()
+ public void Values_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] Values_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] Count_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void IsReadOnly_PROPERTY_READ_ONLY()
+ public void IsReadOnly_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] IsReadOnly_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void this_READ_WRITE()
+ public void this_READ_WRITE()
{
Log.Info(LOGTAG, "[TS Start] this_READ_WRITE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ContainsKey_RETURN_VALUE()
+ public void ContainsKey_RETURN_VALUE()
{
Log.Info(LOGTAG, "[TS Start] ContainsKey_RETURN_VALUE");
try
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static void Add_CHECK_ADD_ATTRIBUTE()
+ public void Add_CHECK_ADD_ATTRIBUTE()
{
Log.Info(LOGTAG, "[TS Start] Add_CHECK_ADD_ATTRIBUTE");
try
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static void Add_TOO_LARGE_QUERY_NEGATIVE()
+ public void Add_TOO_LARGE_QUERY_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Add_TOO_LARGE_QUERY_NEGATIVE");
try
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "string")]
- public static void Remove_CHECK_REMOVE_ATTRIBUTE()
+ public void Remove_CHECK_REMOVE_ATTRIBUTE()
{
Log.Info(LOGTAG, "[TS Start] Remove_CHECK_REMOVE_ATTRIBUTE");
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "string")]
- public static void Remove_CHECK_RETURN_VALUE()
+ public void Remove_CHECK_RETURN_VALUE()
{
Log.Info(LOGTAG, "[TS Start] Remove_CHECK_RETURN_VALUE");
try
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "string")]
- public static void Remove_CHECK_REMOVE_ATTRIBUTE_NEGATIVE()
+ public void Remove_CHECK_REMOVE_ATTRIBUTE_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Remove_CHECK_REMOVE_ATTRIBUTE_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TryGetValue_RETURN_VALUE()
+ public void TryGetValue_RETURN_VALUE()
{
Log.Info(LOGTAG, "[TS Start] TryGetValue_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TryGetValue_RETURN_VALUE_NEGATIVE()
+ public void TryGetValue_RETURN_VALUE_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] TryGetValue_RETURN_VALUE_NEGATIVE");
try
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.KeyValuePair<string, string>")]
- public static void Add_USAGE_WITH_PAIR()
+ public void Add_USAGE_WITH_PAIR()
{
Log.Info(LOGTAG, "[TS Start] Add_USAGE_WITH_PAIR");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Clear_CHECK_CLEAR_ATTRIBUTE()
+ public void Clear_CHECK_CLEAR_ATTRIBUTE()
{
Log.Info(LOGTAG, "[TS Start] Clear_CHECK_CLEAR_ATTRIBUTE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Contains_RETURN_VALUE()
+ public void Contains_RETURN_VALUE()
{
Log.Info(LOGTAG, "[TS Start] Contains_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void CopyTo_USAGE()
+ public void CopyTo_USAGE()
{
Log.Info(LOGTAG, "[TS Start] CopyTo_USAGE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void CopyTo_USAGE_IN_MIDDLE()
+ public void CopyTo_USAGE_IN_MIDDLE()
{
Log.Info(LOGTAG, "[TS Start] CopyTo_USAGE_IN_MIDDLE");
try
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.KeyValuePair<string,string>")]
- public static void Remove_USAGE_WITH_PAIR()
+ public void Remove_USAGE_WITH_PAIR()
{
Log.Info(LOGTAG, "[TS Start] Remove_USAGE_WITH_PAIR");
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.KeyValuePair<string,string>")]
- public static void Remove_WITH_PAIR_CHECK_RETURN_VALUE()
+ public void Remove_WITH_PAIR_CHECK_RETURN_VALUE()
{
Log.Info(LOGTAG, "[TS Start] Remove_WITH_PAIR_CHECK_RETURN_VALUE");
try
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.KeyValuePair<string,string>")]
- public static void Remove_USAGE_WITH_PAIR_NEGATIVE()
+ public void Remove_USAGE_WITH_PAIR_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Remove_USAGE_WITH_PAIR_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void GetEnumerator_RETURN_VALUE()
+ public void GetEnumerator_RETURN_VALUE()
{
Log.Info(LOGTAG, "[TS Start] GetEnumerator_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Dispose_CHECK_STATUS()
+ public void Dispose_CHECK_STATUS()
{
Log.Info(LOGTAG, "[TS Start] Dispose_CHECK_STATUS");
try
{
internal const string LOGTAG = "IOT-TEST";
- private static bool isSupported = false;
+ private bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(LOGTAG, "ResourceTypesTest Init");
Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(LOGTAG, "ResourceTypesTest Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ResourceTypes_INIT()
+ public void ResourceTypes_INIT()
{
Log.Info(LOGTAG, "[TS Start] ResourceTypes_INIT");
try
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.IEnumerable<string>")]
- public static void ResourceTypes_INIT_WITH_LIST()
+ public void ResourceTypes_INIT_WITH_LIST()
{
Log.Info(LOGTAG, "[TS Start] ResourceTypes_INIT_WITH_LIST");
try
[Property("CRITERIA", "CONSTN, CONSTX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.IEnumerable<string>")]
- public static void ResourceTypes_INIT_WITH_LIST_WITH_NEGATIVE()
+ public void ResourceTypes_INIT_WITH_LIST_WITH_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] ResourceTypes_INIT_WITH_LIST_WITH_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
Log.Info(LOGTAG, "[TS Start] Count_PROPERTY_READ_ONLY");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Add_CHECK_ADD_ATTRIBUTE()
+ public void Add_CHECK_ADD_ATTRIBUTE()
{
Log.Info(LOGTAG, "[TS Start] Add_CHECK_ADD_ATTRIBUTE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Add_INVALID_TYPE_NEGATIVE()
+ public void Add_INVALID_TYPE_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Add_INVALID_TYPE_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Add_EXTRA_LARGE_TYPE_NEGATIVE()
+ public void Add_EXTRA_LARGE_TYPE_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Add_EXTRA_LARGE_TYPE_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Add_DUPLICATE_NEGATIVE()
+ public void Add_DUPLICATE_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Add_DUPLICATE_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Remove_CHECK_REMOVE_ATTRIBUTE()
+ public void Remove_CHECK_REMOVE_ATTRIBUTE()
{
Log.Info(LOGTAG, "[TS Start] Remove_CHECK_REMOVE_ATTRIBUTE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Remove_CHECK_REMOVE_ATTRIBUTE_NEGATIVE()
+ public void Remove_CHECK_REMOVE_ATTRIBUTE_NEGATIVE()
{
Log.Info(LOGTAG, "[TS Start] Remove_CHECK_REMOVE_ATTRIBUTE_NEGATIVE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Remove_CHECK_REMOVE_ATTRIBUTE_NULL()
+ public void Remove_CHECK_REMOVE_ATTRIBUTE_NULL()
{
Log.Info(LOGTAG, "[TS Start] Remove_CHECK_REMOVE_ATTRIBUTE_NULL");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void GetEnumerator_RETURN_VALUE()
+ public void GetEnumerator_RETURN_VALUE()
{
Log.Info(LOGTAG, "[TS Start] GetEnumerator_RETURN_VALUE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Dispose_CHECK_STATUS()
+ public void Dispose_CHECK_STATUS()
{
Log.Info(LOGTAG, "[TS Start] Dispose_CHECK_STATUS");
try
public class LocatorTests
{
- private static Tizen.Location.Locator locator;
- private static LocationType activationType = LocationType.Gps;
- private static string LocationFeature = "http://tizen.org/feature/location";
- private static bool location_supported = false;
+ private Tizen.Location.Locator locator;
+ private LocationType activationType = LocationType.Gps;
+ private string LocationFeature = "http://tizen.org/feature/location";
+ private bool location_supported = false;
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "TCT";
}
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "Init() - Precondition");
location_supported = CheckCapability(LocationFeature);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "Deinit() PostCondition");
locator?.Dispose();
}
- private static bool CheckCapability(string feature)
+ private bool CheckCapability(string feature)
{
bool ret = false;
if (Information.TryGetValue<bool>(feature, out ret))
return false;
}
- public static void SettingChangedHandler(Object sender, SettingChangedEventArgs e)
+ public void SettingChangedHandler(Object sender, SettingChangedEventArgs e)
{
Tizen.Log.Info(Globals.LogTag, "Inside SettingChangedCallback");
Assert.IsTrue(e.IsEnabled == false, "Expects IsEnabled false, but got true.");
[Precondition(1, "Goto the Settings -> Privacy and Security-> Location service -> Use current location(toggle to ON)")]
[Step(1, "Click run TC")]
[Step(2, "Goto the Settings -> Privacy and Security-> Location service -> Use current location(toggle to OFF)")]
- public static async Task SettingChanged_CHECK_EVENT_UNSET()
+ public async Task SettingChanged_CHECK_EVENT_UNSET()
{
/*
* TEST CODE - MANUAL TEST
}
}
- public static void SettingChangedHandlerForset(Object sender, SettingChangedEventArgs e)
+ public void SettingChangedHandlerForset(Object sender, SettingChangedEventArgs e)
{
Tizen.Log.Info(Globals.LogTag, "IsEnabled : " + e.IsEnabled);
Assert.IsTrue(e.IsEnabled == true, "Expects IsEnabled true, but got false.");
[Precondition(1, "Goto the Settings -> Privacy and Security-> Location service -> Use current location(toggle to OFF)")]
[Step(1, "Click run TC")]
[Step(2, "Goto the Settings -> Privacy and Security-> Location service -> Use current location(toggle to ON)")]
- public static async Task SettingChanged_CHECK_EVENT_SET()
+ public async Task SettingChanged_CHECK_EVENT_SET()
{
/*
* TEST CODE - MANUAL TEST
[Description("Tizen.Location.Tests.CircleBoundaryTests is a class for testing a circular geographical boundary")]
public class CircleBoundaryTests
{
- private static double radius = 600.0;
- private static Tizen.Location.CircleBoundary circ;
- private static bool location_supported = false;
- private static bool capabilityFlag = false;
+ private double radius = 600.0;
+ private Tizen.Location.CircleBoundary circ;
+ private bool location_supported = false;
+ private bool capabilityFlag = false;
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "Tizen.Location TCT";
}
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "CircleBoundaryTests ## init");
if (!capabilityFlag)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "CircleBoundaryTests ## destroy");
}
- private static bool CheckCapability(string feature)
+ private bool CheckCapability(string feature)
{
bool ret = false;
if (Information.TryGetValue<bool>(feature, out ret))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void CircleBoundary_INIT()
+ public void CircleBoundary_INIT()
{
Tizen.Log.Info(Globals.LogTag, "Calling Circle boundary Init");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void CircleBoundary_INIT_ArgumentException()
+ public void CircleBoundary_INIT_ArgumentException()
{
Tizen.Log.Info(Globals.LogTag, "Calling Circle boundary Init_ArgumentException");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Center_PROPERTY_GET()
+ public void Center_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Get the circle center");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Radius_PROPERTY_GET()
+ public void Radius_PROPERTY_GET()
{
if (location_supported)
{
[Description("Tizen.Location.Tests.CoordinateTests is a class for testing coordinate object")]
public class CoordinateTests
{
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "Tizen.Location TCT";
}
- static private double Latitude = 37.346723;
- static private double Longitude = 17.65467;
+ private double Latitude = 37.346723;
+ private double Longitude = 17.65467;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "CoordinateTests ## init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "CoordinateTests ## destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Latitude_PROPERTY_GET_SET()
+ public void Latitude_PROPERTY_GET_SET()
{
Tizen.Log.Info(Globals.LogTag, "Check the Latitude value of Coordinate Object");
Coordinate coord;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Longitude_PROPERTY_GET_SET()
+ public void Longitude_PROPERTY_GET_SET()
{
Tizen.Log.Info(Globals.LogTag, "Check the Longitude value of Coordinate Object");
Coordinate coord;
[Description("Tizen.Location.Tests.GpsSatelliteTests is a class for testing the satellite information")]
public class GpsSatelliteTests
{
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "Tizen.Location TCT";
}
- private static string LocationFeature = "http://tizen.org/feature/location";
- private static string SatelliteFeature = "http://tizen.org/feature/location.gps.satellite";
- private static Tizen.Location.Locator locator;
- private static Tizen.Location.GpsSatellite satellite;
- private static bool satelliteStatusFlag;
- private static bool location_supported = false;
- private static bool satellite_supported = false;
- private static IList<SatelliteInformation> list;
- private static int interval = 1;
- private static int stayInterval = 3;
- private static int invalidIntervalHigh = 150;
- private static int invalidIntervalLow = 0;
- private static int statusFlag = 0;
- private static int prevSecond = 0;
- private static bool callbackStayResult = false;
- private static bool capabilityFlag = false;
+ private string LocationFeature = "http://tizen.org/feature/location";
+ private string SatelliteFeature = "http://tizen.org/feature/location.gps.satellite";
+ private Tizen.Location.Locator locator;
+ private Tizen.Location.GpsSatellite satellite;
+ private bool satelliteStatusFlag;
+ private bool location_supported = false;
+ private bool satellite_supported = false;
+ private IList<SatelliteInformation> list;
+ private int interval = 1;
+ private int stayInterval = 3;
+ private int invalidIntervalHigh = 150;
+ private int invalidIntervalLow = 0;
+ private int statusFlag = 0;
+ private int prevSecond = 0;
+ private bool callbackStayResult = false;
+ private bool capabilityFlag = false;
- private static bool CheckCapability(string feature)
+ private bool CheckCapability(string feature)
{
bool ret = false;
if (Information.TryGetValue<bool>(feature, out ret))
}
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "GpsSatelliteTests ## init");
if (!capabilityFlag)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "GpsSatelliteTests ## destroy");
if (satellite_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void GpsSatellite_INIT()
+ public void GpsSatellite_INIT()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void GpsSatellite_INIT_CHECK_EXCEPTION()
+ public void GpsSatellite_INIT_CHECK_EXCEPTION()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Interval_PROPERTY_GET_SET()
+ public void Interval_PROPERTY_GET_SET()
{
Tizen.Log.Info(Globals.LogTag, "Checking the callback interval for satellite status");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PAM")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Interval_PROPERTY_GET_SET_PAM()
+ public void Interval_PROPERTY_GET_SET_PAM()
{
Tizen.Log.Info(Globals.LogTag, "Checking the callback interval for satellite - Invalid Interval values, higher than permissible limit");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Interval_PROPERTY_GET_SET_PBM()
+ public void Interval_PROPERTY_GET_SET_PBM()
{
Tizen.Log.Info(Globals.LogTag, "Checking the callback interval for satellite - Invalid Interval values, lower than permissible limit");
if (location_supported)
}
}
- public static async Task waitsatelliteStatusFlag()
+ public async Task waitsatelliteStatusFlag()
{
Tizen.Log.Info(Globals.LogTag, "Checking Satellite status Changed Callback");
int count = 0;
}
}
- public static async Task waitsatelliteActiveFlag()
+ public async Task waitsatelliteActiveFlag()
{
Tizen.Log.Info(Globals.LogTag, "Checking Satellite status Changed Callback");
int count = 0;
}
}
- public static void SatelliteStatusChangedHandler(Object sender, SatelliteStatusChangedEventArgs e)
+ public void SatelliteStatusChangedHandler(Object sender, SatelliteStatusChangedEventArgs e)
{
Tizen.Log.Info(Globals.LogTag, "Inside SatelliteStatusChangedHandler");
satelliteStatusFlag = true;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task SatelliteStatusUpdated_CHECK_EVENT_SET()
+ public async Task SatelliteStatusUpdated_CHECK_EVENT_SET()
{
Tizen.Log.Info(Globals.LogTag, "Setting Satellite status change callback");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task SatelliteStatusUpdated_CHECK_EVENT_UNSET()
+ public async Task SatelliteStatusUpdated_CHECK_EVENT_UNSET()
{
Tizen.Log.Info(Globals.LogTag, "Unsetting the Satellite status change callback");
if (location_supported)
}
}
- public static void SatelliteStayChangedHandler(Object sender, SatelliteStatusChangedEventArgs e)
+ public void SatelliteStayChangedHandler(Object sender, SatelliteStatusChangedEventArgs e)
{
Tizen.Log.Info(Globals.LogTag, "---- Inside SatelliteStayChangedHandler : " + e.Timestamp);
statusFlag++;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PCST")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task Interval_CHECK_BEHAVIOR()
+ public async Task Interval_CHECK_BEHAVIOR()
{
Tizen.Log.Info(Globals.LogTag, "Setting Satellite status change callback for checking the interval");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task Nmea_PROPERTY_GET()
+ public async Task Nmea_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Getting the NMEA data");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task ActiveCount_PROPERTY_GET()
+ public async Task ActiveCount_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Checking the number of active satellites");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task InViewCount_PROPERTY_GET()
+ public async Task InViewCount_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Checking the number of satellites in view");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task Satellites_PROPERTY_GET()
+ public async Task Satellites_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Checking the list of recorded satellites");
if (location_supported)
[Description("Tizen.Location.Tests.LocationTests class is used for storing the location information")]
public class LocationTests
{
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "Tizen.Location TCT";
}
- private static Tizen.Location.Location location;
- private static Tizen.Location.Location locationparameterized;
- private static bool location_supported = false;
- private static bool capabilityFlag = false;
- private static double maxLatitude = 90.0;
- private static double minLatitude = -90.0;
- private static double maxLongitude = 180.0;
- private static double minLongitude = -180.0;
+ private Tizen.Location.Location location;
+ private Tizen.Location.Location locationparameterized;
+ private bool location_supported = false;
+ private bool capabilityFlag = false;
+ private double maxLatitude = 90.0;
+ private double minLatitude = -90.0;
+ private double maxLongitude = 180.0;
+ private double minLongitude = -180.0;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "LocationTests ## init");
if (!capabilityFlag)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "LocationTests ## destroy");
}
- private static bool CheckCapability(string feature)
+ private bool CheckCapability(string feature)
{
bool ret = false;
if (Information.TryGetValue<bool>(feature, out ret))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Location_INIT()
+ public void Location_INIT()
{
try
{
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
[Property("COVPARAM", "Double, Double, Double, Double, Double, Double, int")]
- public static void Location_INIT_PARAMETERIZED()
+ public void Location_INIT_PARAMETERIZED()
{
Tizen.Log.Info(Globals.LogTag, "Initializing Location using parameters");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Altitude_PROPERTY_GET_SET()
+ public void Altitude_PROPERTY_GET_SET()
{
Tizen.Log.Info(Globals.LogTag, "Checking altitude");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Latitude_PROPERTY_GET_SET()
+ public void Latitude_PROPERTY_GET_SET()
{
Tizen.Log.Info(Globals.LogTag, "Checking latitude");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PAM")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Latitude_PROPERTY_GET_SET_PAM()
+ public void Latitude_PROPERTY_GET_SET_PAM()
{
Tizen.Log.Info(Globals.LogTag, "Checking latitude");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Latitude_PROPERTY_GET_SET_PBM()
+ public void Latitude_PROPERTY_GET_SET_PBM()
{
Tizen.Log.Info(Globals.LogTag, "Checking latitude");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Longitude_PROPERTY_GET_SET()
+ public void Longitude_PROPERTY_GET_SET()
{
Tizen.Log.Info(Globals.LogTag, "Checking Longitude");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PAM")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Longitude_PROPERTY_GET_SET_PAM()
+ public void Longitude_PROPERTY_GET_SET_PAM()
{
Tizen.Log.Info(Globals.LogTag, "Checking Longitude");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Longitude_PROPERTY_GET_SET_PBM()
+ public void Longitude_PROPERTY_GET_SET_PBM()
{
Tizen.Log.Info(Globals.LogTag, "Checking Longitude");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Direction_PROPERTY_GET_SET()
+ public void Direction_PROPERTY_GET_SET()
{
Tizen.Log.Info(Globals.LogTag, "Checking direction");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Speed_PROPERTY_GET_SET()
+ public void Speed_PROPERTY_GET_SET()
{
Tizen.Log.Info(Globals.LogTag, "Checking speed");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Accuracy_PROPERTY_GET_SET()
+ public void Accuracy_PROPERTY_GET_SET()
{
Tizen.Log.Info(Globals.LogTag, "Checking Accuracy");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Timestamp_PROPERTY_GET()
+ public void Timestamp_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Checking time");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void GetDistanceBetween_RETURN_TYPE()
+ public void GetDistanceBetween_RETURN_TYPE()
{
Tizen.Log.Info(Globals.LogTag, "Getting the distance between the given points");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void GetDistanceBetween_RETURN_TYPE_EXCEPTION()
+ public void GetDistanceBetween_RETURN_TYPE_EXCEPTION()
{
Tizen.Log.Info(Globals.LogTag, "Getting the distance between the given points - exception");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void GetDistanceTo_RETURN_TYPE()
+ public void GetDistanceTo_RETURN_TYPE()
{
Tizen.Log.Info(Globals.LogTag, "Getting the distance to the given point");
if (location_supported)
[Description("TizenTest.Location.LocationBoundaryTests is a class for testing the Location Boundary")]
public class LocationBoundaryTests
{
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "Tizen.Location TCT";
}
- private static Tizen.Location.RectangleBoundary rect;
- private static Tizen.Location.CircleBoundary circ;
- private static Tizen.Location.PolygonBoundary poly;
- private static List<Coordinate> list = new List<Coordinate>();
- private static double radius = 600.0;
- private static bool location_supported = false;
- private static bool capabilityFlag = false;
+ private Tizen.Location.RectangleBoundary rect;
+ private Tizen.Location.CircleBoundary circ;
+ private Tizen.Location.PolygonBoundary poly;
+ private List<Coordinate> list = new List<Coordinate>();
+ private double radius = 600.0;
+ private bool location_supported = false;
+ private bool capabilityFlag = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "LocationBoundaryTests ## init");
if (!capabilityFlag)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "LocationBoundaryTests ## destroy");
}
}
- private static bool CheckCapability(string feature)
+ private bool CheckCapability(string feature)
{
bool ret = false;
if (Information.TryGetValue<bool>(feature, out ret))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BoundaryType_PROPERTY_GET_RECTANGLE()
+ public void BoundaryType_PROPERTY_GET_RECTANGLE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BoundaryType_PROPERTY_GET_CIRCLE()
+ public void BoundaryType_PROPERTY_GET_CIRCLE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BoundaryType_PROPERTY_GET_POLYGON()
+ public void BoundaryType_PROPERTY_GET_POLYGON()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BoundaryContainsCoordinates_RETURN_TYPE_RECTANGLE()
+ public void BoundaryContainsCoordinates_RETURN_TYPE_RECTANGLE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BoundaryContainsCoordinates_RETURN_TYPE_CIRCLE()
+ public void BoundaryContainsCoordinates_RETURN_TYPE_CIRCLE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BoundaryContainsCoordinates_RETURN_TYPE_POLYGON()
+ public void BoundaryContainsCoordinates_RETURN_TYPE_POLYGON()
{
if (location_supported)
{
[Description("Tizen.Location.Tests.LocationChangedEventArgsTests class is used for verifying the object containing location change information")]
public class LocationChangedEventArgsTests
{
- private static Tizen.Location.Location location;
- private static LocationChangedEventArgs args;
- private static bool location_supported = false;
+ private Tizen.Location.Location location;
+ private LocationChangedEventArgs args;
+ private bool location_supported = false;
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "Tizen.Location TCT";
}
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "LocationChangedEventArgsTests ## init");
location_supported = CheckCapability("http://tizen.org/feature/location");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "LocationChangedEventArgsTests ## destroy");
}
- private static bool CheckCapability(string feature)
+ private bool CheckCapability(string feature)
{
bool ret = false;
if (Information.TryGetValue<bool>(feature, out ret))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void LocationChangedEventArgs_INIT()
+ public void LocationChangedEventArgs_INIT()
{
Tizen.Log.Info(Globals.LogTag, "Checking LocationChangedEventArgs");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Location_PROPERTY_GET()
+ public void Location_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Verifying the location object");
if (location_supported)
[Description("Tizen.Location.Tests.LocatorTests class for checking the operation of Locator class")]
public partial class LocatorTests
{
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "Tizen.Location TCT";
}
- private static string LocationFeature = "http://tizen.org/feature/location";
- private static string GpsFeature = "http://tizen.org/feature/location.gps";
- private static string WpsFeature = "http://tizen.org/feature/location.wps";
- private static string BatchFeature = "http://tizen.org/feature/location.batch";
- private static Tizen.Location.Locator locator;
- private static Tizen.Location.Locator passive;
- private static bool location_supported = false;
- private static bool gps_supported = false;
- private static bool wps_supported = false;
- private static bool batch_supported = false;
- private static int minInterval = 1;
- private static int maxInterval = 120;
- private static int minBatchInterval = 1;
- private static int maxBatchInterval = 255;
- private static int minBatchPeriod = 0;
- private static int maxBatchPeriod = 60000;
- private static int interval = 1;
- private static int stayInterval = 3;
- private static int batchInterval = 2;
- private static int batchPeriod = 9;
- private static double distance = 100.0;
- private static double radius = 500.0;
- private static Tizen.Location.Location location;
- private static Tizen.Location.Location loc;
- private static bool callbackFlag = false;
- private static bool callbackStayResult = false;
- private static bool passiveFlag = false;
- private static bool capabilityFlag = false;
- private static int invokedCount = 0;
- private static int prevSecond = 0;
+ private string LocationFeature = "http://tizen.org/feature/location";
+ private string GpsFeature = "http://tizen.org/feature/location.gps";
+ private string WpsFeature = "http://tizen.org/feature/location.wps";
+ private string BatchFeature = "http://tizen.org/feature/location.batch";
+ private Tizen.Location.Locator locator;
+ private Tizen.Location.Locator passive;
+ private bool location_supported = false;
+ private bool gps_supported = false;
+ private bool wps_supported = false;
+ private bool batch_supported = false;
+ private int minInterval = 1;
+ private int maxInterval = 120;
+ private int minBatchInterval = 1;
+ private int maxBatchInterval = 255;
+ private int minBatchPeriod = 0;
+ private int maxBatchPeriod = 60000;
+ private int interval = 1;
+ private int stayInterval = 3;
+ private int batchInterval = 2;
+ private int batchPeriod = 9;
+ private double distance = 100.0;
+ private double radius = 500.0;
+ private Tizen.Location.Location location;
+ private Tizen.Location.Location loc;
+ private bool callbackFlag = false;
+ private bool callbackStayResult = false;
+ private bool passiveFlag = false;
+ private bool capabilityFlag = false;
+ private int invokedCount = 0;
+ private int prevSecond = 0;
[SetUp]
- public static void Init()
+ public void Init()
{
callbackFlag = false;
callbackStayResult = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "LocatorTests ## destroy");
if (locator != null)
}
}
- private static bool CheckCapability(string feature)
+ private bool CheckCapability(string feature)
{
bool ret = false;
if (Information.TryGetValue<bool>(feature, out ret))
return false;
}
- public static async Task waitLocationFlag()
+ public async Task waitLocationFlag()
{
Tizen.Log.Info(Globals.LogTag, "Inside waitLocationFlag");
int count = 0;
}
}
- public static async Task waitLocationPassiveFlag()
+ public async Task waitLocationPassiveFlag()
{
Tizen.Log.Info(Globals.LogTag, "Inside waitLocationPassiveFlag");
int count = 0;
}
}
- public static void ServiceStateHandler(Object sender, ServiceStateChangedEventArgs e)
+ public void ServiceStateHandler(Object sender, ServiceStateChangedEventArgs e)
{
Tizen.Log.Info(Globals.LogTag, "Inside ServiceStateHandler");
if (e.ServiceState == ServiceState.Enabled)
}
}
- public static void LocationStayChangedHandler(Object sender, LocationChangedEventArgs e)
+ public void LocationStayChangedHandler(Object sender, LocationChangedEventArgs e)
{
Tizen.Log.Info(Globals.LogTag, "Inside LocationChangedCallback : " + e.Location.Timestamp);
invokedCount++;
}
}
- public static void LocationBatchChangedHandler(Object sender, LocationChangedEventArgs e)
+ public void LocationBatchChangedHandler(Object sender, LocationChangedEventArgs e)
{
invokedCount++;
if (invokedCount == (batchPeriod/batchInterval))
}
}
- public static void LocationChangedHandler(Object sender, LocationChangedEventArgs e)
+ public void LocationChangedHandler(Object sender, LocationChangedEventArgs e)
{
Tizen.Log.Info(Globals.LogTag, "Inside LocationChangedCallback");
location = e.Location;
callbackFlag = true;
}
- public static void LocationPassiveHandler(Object sender, LocationChangedEventArgs e)
+ public void LocationPassiveHandler(Object sender, LocationChangedEventArgs e)
{
Tizen.Log.Info(Globals.LogTag, "Inside LocationChangedCallback");
location = e.Location;
passiveFlag = true;
}
- public static void SettingChangedHandler(Object sender, SettingChangedEventArgs e)
+ public void SettingChangedHandler(Object sender, SettingChangedEventArgs e)
{
Tizen.Log.Info(Globals.LogTag, "Inside SettingChanged Callback");
}
- public static void ZoneChangedHandler(Object sender, ZoneChangedEventArgs e)
+ public void ZoneChangedHandler(Object sender, ZoneChangedEventArgs e)
{
Tizen.Log.Info(Globals.LogTag, "Zone changed");
callbackFlag = true;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Locator_INIT()
+ public void Locator_INIT()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void EnableMock_PROPERTY_GET_SET()
+ public void EnableMock_PROPERTY_GET_SET()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task SetMockLocation_STATUS_CHECK()
+ public async Task SetMockLocation_STATUS_CHECK()
{
Tizen.Log.Info(Globals.LogTag, "Start the Mock location feature");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void SetMockLocation_STATUS_CHECK_EXCEPTION()
+ public void SetMockLocation_STATUS_CHECK_EXCEPTION()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task ClearMock_STATUS_CHECK()
+ public async Task ClearMock_STATUS_CHECK()
{
Tizen.Log.Info(Globals.LogTag, "Clearing the Mock location feature");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR,MCST")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task Start_LOCATOR()
+ public async Task Start_LOCATOR()
{
Tizen.Log.Info(Globals.LogTag, "Check if Locator can Start");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR,MCST")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task Start_LOCATOR_PASSIVE()
+ public async Task Start_LOCATOR_PASSIVE()
{
Tizen.Log.Info(Globals.LogTag, "Check if Locator can Start");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR,MCST")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task Stop_LOCATOR()
+ public async Task Stop_LOCATOR()
{
Tizen.Log.Info(Globals.LogTag, "Check if Locator can be stopped");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task ServiceStateChanged_CHECK_EVENT_SET_UNSET()
+ public async Task ServiceStateChanged_CHECK_EVENT_SET_UNSET()
{
Tizen.Log.Info(Globals.LogTag, "Checking Set ServiceStateChanged Callback");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task DistanceBasedLocationChanged_CHECK_EVENT_SET_UNSET()
+ public async Task DistanceBasedLocationChanged_CHECK_EVENT_SET_UNSET()
{
Tizen.Log.Info(Globals.LogTag, "Checking Set/Unset DistanceBasedLocationChanged Callback");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PCST")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task StayInterval_CHECK_BEHAVIOUR()
+ public async Task StayInterval_CHECK_BEHAVIOUR()
{
Tizen.Log.Info(Globals.LogTag, "Checking the periodic invocation of DistanceBasedLocationChangedEvent Callback");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task LocationChanged_CHECK_EVENT_SET_UNSET()
+ public async Task LocationChanged_CHECK_EVENT_SET_UNSET()
{
Tizen.Log.Info(Globals.LogTag, "Checking Set/Unset LocationChanged Callback");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task LocationChanged_CHECK_BATCH_EVENT_SET_UNSET()
+ public async Task LocationChanged_CHECK_BATCH_EVENT_SET_UNSET()
{
Tizen.Log.Info(Globals.LogTag, "Checking Set/Unset LocationBatch Callback");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PCST")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task Interval_CHECK_BEHAVIOUR()
+ public async Task Interval_CHECK_BEHAVIOUR()
{
Tizen.Log.Info(Globals.LogTag, "Checking the perioidc invocation LocationChangedEvent Callback");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void SettingChanged_CHECK_EVENT_SET_UNSET()
+ public void SettingChanged_CHECK_EVENT_SET_UNSET()
{
Tizen.Log.Info(Globals.LogTag, "Checking Set/Unset SettingChanged Callback");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EEX")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void SettingChanged_CHECK_EVENT_SET_UNSET_PASSIVE()
+ public void SettingChanged_CHECK_EVENT_SET_UNSET_PASSIVE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task ZoneChanged_RECTANGLE()
+ public async Task ZoneChanged_RECTANGLE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task ZoneChanged_CIRCLE()
+ public async Task ZoneChanged_CIRCLE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task ZoneChanged_POLYGON()
+ public async Task ZoneChanged_POLYGON()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void AddBoundary_LOCATOR_RETURN_TYPE()
+ public void AddBoundary_LOCATOR_RETURN_TYPE()
{
Tizen.Log.Info(Globals.LogTag, "Add boundary to Location manager");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void RemoveBoundary_LOCATOR_RETURN_TYPE()
+ public void RemoveBoundary_LOCATOR_RETURN_TYPE()
{
Tizen.Log.Info(Globals.LogTag, "Remove boundary from Location manager");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Interval_PROPERTY_GET_SET()
+ public void Interval_PROPERTY_GET_SET()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PMAX")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Interval_CHECK_MAX_VALUE()
+ public void Interval_CHECK_MAX_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PMIN")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Interval_CHECK_MIN_VALUE()
+ public void Interval_CHECK_MIN_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PAM")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Interval_OVER_MAX_VALUE()
+ public void Interval_OVER_MAX_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Interval_BELOW_MIN_VALUE()
+ public void Interval_BELOW_MIN_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BatchInterval_PROPERTY_GET_SET()
+ public void BatchInterval_PROPERTY_GET_SET()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PMAX")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BatchInterval_CHECK_MAX_VALUE()
+ public void BatchInterval_CHECK_MAX_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PMIN")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BatchInterval_CHECK_MIN_VALUE()
+ public void BatchInterval_CHECK_MIN_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PAM")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BatchInterval_OVER_MAX_VALUE()
+ public void BatchInterval_OVER_MAX_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BatchInterval_BELOW_MIN_VALUE()
+ public void BatchInterval_BELOW_MIN_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BatchPeriod_PROPERTY_GET_SET()
+ public void BatchPeriod_PROPERTY_GET_SET()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PMAX")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BatchPeriod_CHECK_MAX_VALUE()
+ public void BatchPeriod_CHECK_MAX_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PMIN")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BatchPeriod_CHECK_MIN_VALUE()
+ public void BatchPeriod_CHECK_MIN_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PAM")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BatchPeriod_OVER_MAX_VALUE()
+ public void BatchPeriod_OVER_MAX_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BatchPeriod_BELOW_MIN_VALUE()
+ public void BatchPeriod_BELOW_MIN_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void StayInterval_PROPERTY_GET_SET()
+ public void StayInterval_PROPERTY_GET_SET()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PMAX")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void StayInterval_CHECK_MAX_VALUE()
+ public void StayInterval_CHECK_MAX_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PMIN")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void StayInterval_CHECK_MIN_VALUE()
+ public void StayInterval_CHECK_MIN_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PAM")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void StayInterval_OVER_MAX_VALUE()
+ public void StayInterval_OVER_MAX_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void StayInterval_BELOW_MIN_VALUE()
+ public void StayInterval_BELOW_MIN_VALUE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Distance_PROPERTY_GET_SET()
+ public void Distance_PROPERTY_GET_SET()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static async Task GetLocationAsync_LOCATOR_RETURN_TYPE()
+ public async Task GetLocationAsync_LOCATOR_RETURN_TYPE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void GetLocationAsync_LOCATOR_RETURN_TYPE_EXCEPTION()
+ public void GetLocationAsync_LOCATOR_RETURN_TYPE_EXCEPTION()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void GetLocation_LOCATOR_RETURN_TYPE()
+ public void GetLocation_LOCATOR_RETURN_TYPE()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Location_PROPERTY_GET()
+ public void Location_PROPERTY_GET()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void LocationType_PROPERTY_GET_GPS()
+ public void LocationType_PROPERTY_GET_GPS()
{
Tizen.Log.Info(Globals.LogTag, "Get the location Type - GPS");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void LocationType_PROPERTY_GET_WPS()
+ public void LocationType_PROPERTY_GET_WPS()
{
Tizen.Log.Info(Globals.LogTag, "Get the location Type - WPS");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void LocationType_PROPERTY_GET_HYBRID()
+ public void LocationType_PROPERTY_GET_HYBRID()
{
Tizen.Log.Info(Globals.LogTag, "Get the location Type - HYBRID");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void LocationType_PROPERTY_GET_PASSIVE()
+ public void LocationType_PROPERTY_GET_PASSIVE()
{
if (location_supported)
{
[Description("Tizen.Location.Tests.LocatorHelperTests class is for checking the GPS feature support on the device")]
public class LocatorHelperTests
{
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "Tizen.Location TCT";
}
- private static string LocationFeature = "http://tizen.org/feature/location";
- private static string GpsFeature = "http://tizen.org/feature/location.gps";
- private static string WpsFeature = "http://tizen.org/feature/location.wps";
- private static bool capabilityFlag = false;
- private static bool location_supported = false;
- private static bool gps_supported = false;
- private static bool wps_supported = false;
+ private string LocationFeature = "http://tizen.org/feature/location";
+ private string GpsFeature = "http://tizen.org/feature/location.gps";
+ private string WpsFeature = "http://tizen.org/feature/location.wps";
+ private bool capabilityFlag = false;
+ private bool location_supported = false;
+ private bool gps_supported = false;
+ private bool wps_supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "LocatorHelperTests ## init");
if (!capabilityFlag)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "LocatorHelperTests ## destroy");
}
- private static bool CheckCapability(string feature)
+ private bool CheckCapability(string feature)
{
bool ret = false;
if (Information.TryGetValue<bool>(feature, out ret))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void IsSupportedType_HYBRID_RETURN_TYPE()
+ public void IsSupportedType_HYBRID_RETURN_TYPE()
{
Tizen.Log.Info(Globals.LogTag, "LocatorHelper check if Type is supported - Hybrid");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void IsSupportedType_GPS_RETURN_TYPE()
+ public void IsSupportedType_GPS_RETURN_TYPE()
{
Tizen.Log.Info(Globals.LogTag, "LocatorHelper check if Type is supported - GPS");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void IsSupportedType_WPS_RETURN_TYPE()
+ public void IsSupportedType_WPS_RETURN_TYPE()
{
Tizen.Log.Info(Globals.LogTag, "LocatorHelper check if Type is supported - WPS");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void IsEnabledType_GPS_RETURN_TYPE()
+ public void IsEnabledType_GPS_RETURN_TYPE()
{
Tizen.Log.Info(Globals.LogTag, "LocatorHelper check if Type is enabled - GPS");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void IsEnabledType_WPS_RETURN_TYPE()
+ public void IsEnabledType_WPS_RETURN_TYPE()
{
Tizen.Log.Info(Globals.LogTag, "LocatorHelper check if Type is enabled - WPS");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void IsEnabledType_HYBRID_RETURN_TYPE()
+ public void IsEnabledType_HYBRID_RETURN_TYPE()
{
Tizen.Log.Info(Globals.LogTag, "LocatorHelper check if Type is enabled - Hybrid");
try
[Description("Tizen.Location.Tests.PolygonBoundaryTests class for testing a Polygonal geographical boundary")]
public class PolygonBoundaryTests
{
- private static List<Coordinate> list = new List<Coordinate>();
- private static PolygonBoundary polygon;
- private static bool location_supported = false;
- private static bool capabilityFlag = false;
+ private List<Coordinate> list = new List<Coordinate>();
+ private PolygonBoundary polygon;
+ private bool location_supported = false;
+ private bool capabilityFlag = false;
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "Tizen.Location TCT";
}
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "PolygonBoundaryTests ## init");
if (!capabilityFlag)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "PolygonBoundaryTests ## destroy");
}
- private static bool CheckCapability(string feature)
+ private bool CheckCapability(string feature)
{
bool ret = false;
if (Information.TryGetValue<bool>(feature, out ret))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void PolygonBoundary_INIT()
+ public void PolygonBoundary_INIT()
{
Tizen.Log.Info(Globals.LogTag, "Calling Polygon Boundary Init");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void PolygonBoundary_INIT_CHECK_EXCEPTION()
+ public void PolygonBoundary_INIT_CHECK_EXCEPTION()
{
Tizen.Log.Info(Globals.LogTag, "Calling polygon boundary Init_CHECK_EXCEPTION");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Coordinates_PROPERTY_GET()
+ public void Coordinates_PROPERTY_GET()
{
if (location_supported)
{
[Description("Tizen.Location.Tests.RectangleBoundaryTests class for creating a rectangle geographical boundary")]
public class RectangleBoundaryTests
{
- private static Tizen.Location.RectangleBoundary rect;
- private static Coordinate tLeft, bRight;
- private static bool location_supported = false;
- private static bool capabilityFlag = false;
+ private Tizen.Location.RectangleBoundary rect;
+ private Coordinate tLeft, bRight;
+ private bool location_supported = false;
+ private bool capabilityFlag = false;
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "Tizen.Location TCT";
}
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "RectangleBoundaryTests ## init");
if (!capabilityFlag)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "RectangleBoundaryTests ## destroy");
}
- private static bool CheckCapability(string feature)
+ private bool CheckCapability(string feature)
{
bool ret = false;
if (Information.TryGetValue<bool>(feature, out ret))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void RectangleBoundary_INIT()
+ public void RectangleBoundary_INIT()
{
Tizen.Log.Info(Globals.LogTag, "Calling Rectangle bundary Init");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void TopLeft_PROPERTY_GET()
+ public void TopLeft_PROPERTY_GET()
{
if (location_supported)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BottomRight_PROPERTY_GET()
+ public void BottomRight_PROPERTY_GET()
{
if (location_supported)
{
[Description("Tizen.Location.Tests.SatelliteInformationTests is a class for testing the satellite information")]
public class SatelliteInformationTests
{
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "Tizen.Location TCT";
}
- private static SatelliteInformation satelliteInfo;
- private static bool location_supported = false;
- private static uint azimuth = 30;
- private static uint elevation = 40;
- private static uint prn = 50;
- private static uint snr = 60;
- private static bool active = true;
+ private SatelliteInformation satelliteInfo;
+ private bool location_supported = false;
+ private uint azimuth = 30;
+ private uint elevation = 40;
+ private uint prn = 50;
+ private uint snr = 60;
+ private bool active = true;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "SatelliteInformationTests ## init");
location_supported = CheckCapability("http://tizen.org/feature/location");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "SatelliteInformationTests ## destroy");
satelliteInfo = null;
}
- private static bool CheckCapability(string feature)
+ private bool CheckCapability(string feature)
{
bool ret = false;
if (Information.TryGetValue<bool>(feature, out ret))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void SatelliteInformation_INIT()
+ public void SatelliteInformation_INIT()
{
Tizen.Log.Info(Globals.LogTag, "Creating a Satellite Information Class");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Active_PROPERTY_GET()
+ public void Active_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Satellite Active details");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Elevation_PROPERTY_GET()
+ public void Elevation_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Satellite elevation details");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Azimuth_PROPERTY_GET()
+ public void Azimuth_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Satellite Azimuth details");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Prn_PROPERTY_GET()
+ public void Prn_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Satellite Prn details");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Snr_PROPERTY_GET()
+ public void Snr_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Satellite Snr details");
if (location_supported)
[Description("Tizen.Location.Tests.SatelliteStatusChangedEventArgsTests class is used for verifying the Satellite status information")]
public class SatelliteStatusChangedEventArgsTests
{
- private static uint ActiveCount = 5;
- private static uint InviewCount = 5;
- private static SatelliteStatusChangedEventArgs args;
- private static DateTime Date;
- private static bool location_supported = false;
+ private uint ActiveCount = 5;
+ private uint InviewCount = 5;
+ private SatelliteStatusChangedEventArgs args;
+ private DateTime Date;
+ private bool location_supported = false;
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "Tizen.Location TCT";
}
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "SatelliteStatusChangedEventArgsTests ## init");
location_supported = CheckCapability("http://tizen.org/feature/location");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "SatelliteStatusChangedEventArgsTests ## destroy");
args = null;
}
- private static bool CheckCapability(string feature)
+ private bool CheckCapability(string feature)
{
bool ret = false;
if (Information.TryGetValue<bool>(feature, out ret))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void SatelliteStatusChangedEventArgs_INIT()
+ public void SatelliteStatusChangedEventArgs_INIT()
{
Tizen.Log.Info(Globals.LogTag, "Checking SatelliteStatusChangedEventArgs");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void ActiveCount_PROPERTY_GET()
+ public void ActiveCount_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Checking ActiveCount of satellites");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void InViewCount_PROPERTY_GET()
+ public void InViewCount_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Checking Inview count of Satellites");
if (location_supported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Timestamp_PROPERTY_GET()
+ public void Timestamp_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Checking Timestamp value of Satellite status");
if (location_supported)
[Description("Tizen.Location.Tests.ServiceStateChangedEventArgsTests class is used for verifying the service state changed information")]
public class ServiceStateChangedEventArgsTests
{
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "Tizen.Location TCT";
}
- private static ServiceStateChangedEventArgs args;
- private static bool location_supported = false;
+ private ServiceStateChangedEventArgs args;
+ private bool location_supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "ServiceStateChangedEventArgsTests ## init");
location_supported = CheckCapability("http://tizen.org/feature/location");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "ServiceStateChangedEventArgsTests ## destroy");
args = null;
}
- private static bool CheckCapability(string feature)
+ private bool CheckCapability(string feature)
{
bool ret = false;
if (Information.TryGetValue<bool>(feature, out ret))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void ServiceStateChangedEventArgs_INIT_DISABLESTATE()
+ public void ServiceStateChangedEventArgs_INIT_DISABLESTATE()
{
Tizen.Log.Info(Globals.LogTag, "Checking ServiceStateChangedEventArgs - Disabled State");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void ServiceState_PROPERTY_GET_DISABLE()
+ public void ServiceState_PROPERTY_GET_DISABLE()
{
Tizen.Log.Info(Globals.LogTag, "Checking the service state");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void ServiceStateChangedEventArgs_INIT_ENABLESTATE()
+ public void ServiceStateChangedEventArgs_INIT_ENABLESTATE()
{
Tizen.Log.Info(Globals.LogTag, "Checking ServiceStateChangedEventArgs - Enabled State");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void ServiceState_PROPERTY_GET_ENABLE()
+ public void ServiceState_PROPERTY_GET_ENABLE()
{
Tizen.Log.Info(Globals.LogTag, "Checking the service state");
try
[Description("Tizen.Location.Tests.SettingChangedEventArgsTests class is used for verifying the settings changed event information")]
public class SettingChangedEventArgsTests
{
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "Tizen.Location TCT";
}
- private static SettingChangedEventArgs args;
- private static bool isNotSupported = false;
- private static bool location_supported = false;
+ private SettingChangedEventArgs args;
+ private bool isNotSupported = false;
+ private bool location_supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "SettingChangedEventArgsTests ## init");
location_supported = CheckCapability("http://tizen.org/feature/location");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "SettingChangedEventArgsTests ## destroy");
args = null;
}
- private static bool CheckCapability(string feature)
+ private bool CheckCapability(string feature)
{
bool ret = false;
if (Information.TryGetValue<bool>(feature, out ret))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void SettingChangedEventArgs_INIT()
+ public void SettingChangedEventArgs_INIT()
{
Tizen.Log.Info(Globals.LogTag, "Checking Setting changed Args");
if (isNotSupported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void IsEnabled_PROPERTY_GET()
+ public void IsEnabled_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Checking status value of Settings");
if (isNotSupported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void LocationType_PROPERTY_GET()
+ public void LocationType_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Checking LocationType of Setting");
if (isNotSupported)
[Description("Tizen.Location.Tests.ZoneChangedEventArgsTests class is used for verifying the Zone callback data")]
public class ZoneChangedEventArgsTests
{
- static internal class Globals
+ internal class Globals
{
internal const string LogTag = "Tizen.Location TCT";
}
- private static double latitude = 37.346723;
- private static double longitude = -121.899555;
- private static double altitude = 920.0;
- private static bool isNotSupported = false;
- private static bool location_supported = false;
- private static DateTime Date;
- private static ZoneChangedEventArgs args;
+ private double latitude = 37.346723;
+ private double longitude = -121.899555;
+ private double altitude = 920.0;
+ private bool isNotSupported = false;
+ private bool location_supported = false;
+ private DateTime Date;
+ private ZoneChangedEventArgs args;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(Globals.LogTag, "ZoneChangedEventArgsTests ## init");
location_supported = CheckCapability("http://tizen.org/feature/location");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(Globals.LogTag, "ZoneChangedEventArgsTests ## destroy");
args = null;
}
- private static bool CheckCapability(string feature)
+ private bool CheckCapability(string feature)
{
bool ret = false;
if (Information.TryGetValue<bool>(feature, out ret))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void ZoneChangedEventArgs_INIT()
+ public void ZoneChangedEventArgs_INIT()
{
Tizen.Log.Info(Globals.LogTag, "Checking ZoneChangedEventArgs");
if (isNotSupported) Assert.Pass();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void BoundState_PROPERTY_GET()
+ public void BoundState_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Checking BoundState value of Zone");
if (isNotSupported) Assert.Pass();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Latitude_PROPERTY_GET()
+ public void Latitude_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Checking Latitude value of Zone");
if (isNotSupported) Assert.Pass();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Longitude_PROPERTY_GET()
+ public void Longitude_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Checking longitude value of Zone");
if (isNotSupported) Assert.Pass();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Altitude_PROPERTY_GET()
+ public void Altitude_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Checking altitude value of Zone");
if (isNotSupported) Assert.Pass();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Abhijit.R.D, abhijit.rd@samsung.com")]
- public static void Timestamp_PROPERTY_GET()
+ public void Timestamp_PROPERTY_GET()
{
Tizen.Log.Info(Globals.LogTag, "Checking Timestamp value of Zone");
if (isNotSupported) Assert.Pass();
[Description("Tizen.Log Class Tests")]
public class LogTests {
- private static readonly string TAG = "LOG_CSTCT";
+ private readonly string TAG = "LOG_CSTCT";
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Tizen.Log TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for Tizen.Log TEST");
}
[Step(2, "Check if \"Tizen.Log.Fatal\" log show with Tag \"LOG_CSTCT\"")]
[Postcondition(1, "Close the terminal")]
- public static async Task LogTest() {
+ public async Task LogTest() {
Tizen.Log.Fatal (TAG, "Tizen.Log.Fatal");
Tizen.Log.Error (TAG, "Tizen.Log.Error");
[Description("Tizen.Log Class Tests")]
public class LogTests
{
- private static readonly string TAG = "LOG_CSTCT";
+ private readonly string TAG = "LOG_CSTCT";
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Tizen.Log TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for Tizen.Log TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "INSUN PYO, insun.pyo@samsung.com")]
- public static void Verbose_CHECK_NO_EXCEPTION()
+ public void Verbose_CHECK_NO_EXCEPTION()
{
Tizen.Log.Verbose(TAG, "Tizen.Log.Verbose");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "INSUN PYO, insun.pyo@samsung.com")]
- public static void Debug_CHECK_NO_EXCEPTION()
+ public void Debug_CHECK_NO_EXCEPTION()
{
Tizen.Log.Debug(TAG, "Tizen.Log.Debug");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "INSUN PYO, insun.pyo@samsung.com")]
- public static void Info_CHECK_NO_EXCEPTION()
+ public void Info_CHECK_NO_EXCEPTION()
{
Tizen.Log.Info(TAG, "Tizen.Log.Info");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "INSUN PYO, insun.pyo@samsung.com")]
- public static void Warn_CHECK_NO_EXCEPTION()
+ public void Warn_CHECK_NO_EXCEPTION()
{
Tizen.Log.Warn(TAG, "Tizen.Log.Warn");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "INSUN PYO, insun.pyo@samsung.com")]
- public static void Error_CHECK_NO_EXCEPTION()
+ public void Error_CHECK_NO_EXCEPTION()
{
Tizen.Log.Error(TAG, "Tizen.Log.Error");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "INSUN PYO, insun.pyo@samsung.com")]
- public static void Fatal_CHECK_NO_EXCEPTION()
+ public void Fatal_CHECK_NO_EXCEPTION()
{
Tizen.Log.Fatal(TAG, "Tizen.Log.Fatal");
}
[Description("Tizen.Maps.MapGestureEventArgs test class")]
public class MapGestureEventArgsTests
{
- private static MapView s_mapview;
+ private MapView s_mapview;
private delegate void TestStep();
- private static List<MapGestureEventArgs> s_eventArgsList = new List<MapGestureEventArgs>();
- private static EventHandler<MapGestureEventArgs> s_handler;
+ private List<MapGestureEventArgs> s_eventArgsList = new List<MapGestureEventArgs>();
+ private EventHandler<MapGestureEventArgs> s_handler;
- private static async Task<MapGestureEventArgs> TestMapViewEvent(string eventName, TestStep addHandler, TestStep removeHandler)
+ private async Task<MapGestureEventArgs> TestMapViewEvent(string eventName, TestStep addHandler, TestStep removeHandler)
{
// PRECONDITION
s_mapview = MapViewHelper.GetMapViewTestPage($"<span color=#FFFFFF>1. Please do</span> <span color=#FFFF00>{eventName}</span> <span color=#FFFFFF>gesture on the Map.</span>");
[Step(2, "Perform Scroll gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please test it with Scroll buttons instead, then report the result manually.")]
[Postcondition(1, "N/A")]
- public static async Task GestureType_PROPERTY_GET_ENUM_GESTURETYPE_SCROLL()
+ public async Task GestureType_PROPERTY_GET_ENUM_GESTURETYPE_SCROLL()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
MapGestureEventArgs eventArg = await TestMapViewEvent("Scroll", () => s_mapview.Scrolled += s_handler, () => s_mapview.Scrolled -= s_handler);
[Step(2, "Perform Two finger zoom gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please test it with Zoom buttons instead, then report the result manually.")]
[Postcondition(1, "N/A")]
- public static async Task GestureType_PROPERTY_GET_ENUM_GESTURETYPE_ZOOM()
+ public async Task GestureType_PROPERTY_GET_ENUM_GESTURETYPE_ZOOM()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
MapGestureEventArgs eventArgs = await TestMapViewEvent("Zoom", () => s_mapview.TwoFingerZoomed += s_handler, () => s_mapview.TwoFingerZoomed -= s_handler);
[Step(2, "Perform Click gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please report it as 'N/A'.")]
[Postcondition(1, "N/A")]
- public static async Task GestureType_PROPERTY_GET_ENUM_GESTURETYPE_CLICK()
+ public async Task GestureType_PROPERTY_GET_ENUM_GESTURETYPE_CLICK()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
MapGestureEventArgs eventArgs = await TestMapViewEvent("Click", () => s_mapview.Clicked += s_handler, () => s_mapview.Clicked -= s_handler);
[Step(2, "Perform Double click gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please test it with Zoom-in (+) button instead, then report the result manually.")]
[Postcondition(1, "N/A")]
- public static async Task GestureType_PROPERTY_GET_ENUM_GESTURETYPE_DOUBLECLICK()
+ public async Task GestureType_PROPERTY_GET_ENUM_GESTURETYPE_DOUBLECLICK()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
MapGestureEventArgs eventArgs = await TestMapViewEvent("DoubleClick", () => s_mapview.DoubleClicked += s_handler, () => s_mapview.DoubleClicked -= s_handler);
[Step(3, "If the gesture is not supported on the device, please test it with Zoom-out (-) button instead, then report the result manually.")]
[Step(4, "Time duration for two-finger click must be within 500ms.")]
[Postcondition(1, "N/A")]
- public static async Task GestureType_PROPERTY_GET_ENUM_GESTURETYPE_TWOFINGERCLICK()
+ public async Task GestureType_PROPERTY_GET_ENUM_GESTURETYPE_TWOFINGERCLICK()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
MapGestureEventArgs eventArgs = await TestMapViewEvent("TwoFingerClick", () => s_mapview.TwoFingerClicked += s_handler, () => s_mapview.TwoFingerClicked -= s_handler);
[Step(2, "Perform Two finger rotation gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please test it with Rotation buttons instead, then report the result manually.")]
[Postcondition(1, "N/A")]
- public static async Task GestureType_PROPERTY_GET_ENUM_GESTURETYPE_ROTATE()
+ public async Task GestureType_PROPERTY_GET_ENUM_GESTURETYPE_ROTATE()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
MapGestureEventArgs eventArgs = await TestMapViewEvent("Rotation", () => s_mapview.TwoFingerRotated += s_handler, () => s_mapview.TwoFingerRotated -= s_handler);
[Step(2, "Perform Long press gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please report it as 'N/A'.")]
[Postcondition(1, "N/A")]
- public static async Task GestureType_PROPERTY_GET_ENUM_GESTURETYPE_LONGPRESS()
+ public async Task GestureType_PROPERTY_GET_ENUM_GESTURETYPE_LONGPRESS()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
MapGestureEventArgs eventArgs = await TestMapViewEvent("LongPress", () => s_mapview.LongPressed += s_handler, () => s_mapview.LongPressed -= s_handler);
[Step(2, "Perform Click gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please report it as 'N/A'.")]
[Postcondition(1, "N/A")]
- public static async Task Position_PROPERTY_READ_ONLY()
+ public async Task Position_PROPERTY_READ_ONLY()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
MapGestureEventArgs eventArg = await TestMapViewEvent("Click", () => s_mapview.Clicked += s_handler, () => s_mapview.Clicked -= s_handler);
[Step(2, "Perform Click gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please report it as 'N/A'.")]
[Postcondition(1, "N/A")]
- public static async Task TouchCount_PROPERTY_READ_ONLY()
+ public async Task TouchCount_PROPERTY_READ_ONLY()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
MapGestureEventArgs eventArg = await TestMapViewEvent("Click", () => s_mapview.Clicked += s_handler, () => s_mapview.Clicked -= s_handler);
[Step(2, "Perform Two finger zoom gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please test it with Zoom buttons instead, then report the result manually.")]
[Postcondition(1, "N/A")]
- public static async Task ZoomFactor_PROPERTY_READ_ONLY()
+ public async Task ZoomFactor_PROPERTY_READ_ONLY()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
MapGestureEventArgs eventArg = await TestMapViewEvent("Zoom", () => s_mapview.TwoFingerZoomed += s_handler, () => s_mapview.TwoFingerZoomed -= s_handler);
[Step(2, "Perform Two finger rotation gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please test it with Rotation buttons instead, then report the result manually.")]
[Postcondition(1, "N/A")]
- public static async Task RotationAngle_PROPERTY_READ_ONLY()
+ public async Task RotationAngle_PROPERTY_READ_ONLY()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
MapGestureEventArgs eventArg = await TestMapViewEvent("Rotation", () => s_mapview.TwoFingerRotated += s_handler, () => s_mapview.TwoFingerRotated -= s_handler);
[Step(2, "Perform Click gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please report it as 'N/A'.")]
[Postcondition(1, "N/A")]
- public static async Task Geocoordinates_PROPERTY_READ_ONLY()
+ public async Task Geocoordinates_PROPERTY_READ_ONLY()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
MapGestureEventArgs eventArg = await TestMapViewEvent("Click", () => s_mapview.Clicked += s_handler, () => s_mapview.Clicked -= s_handler);
[Description("Tizen.Maps.MapView test class")]
public class MapViewTests
{
- private static MapView s_mapview;
+ private MapView s_mapview;
- private static async Task TestMapViewEvent(GestureType type)
+ private async Task TestMapViewEvent(GestureType type)
{
// PRECONDITION
s_mapview = MapViewHelper.GetMapViewTestPage($"<span color=#FFFFFF>1. Please do</span> <span color=#FFFF00>{type}</span> <span color=#FFFFFF>gesture on the Map.</span>");
[Step(2, "Perform Click gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please report it as 'N/A'.")]
[Postcondition(1, "N/A")]
- public static async Task Clicked_CHECK_EVENT()
+ public async Task Clicked_CHECK_EVENT()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
await TestMapViewEvent(GestureType.Click);
[Step(2, "Perform Double click gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please test it with Zoom-in (+) button instead, then report the result manually.")]
[Postcondition(1, "N/A")]
- public static async Task DoubleClicked_CHECK_EVENT()
+ public async Task DoubleClicked_CHECK_EVENT()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
await TestMapViewEvent(GestureType.DoubleClick);
[Step(2, "Perform Long press gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please report it as 'N/A'.")]
[Postcondition(1, "N/A")]
- public static async Task LongPressed_CHECK_EVENT()
+ public async Task LongPressed_CHECK_EVENT()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
await TestMapViewEvent(GestureType.LongPress);
[Step(2, "Perform Two finger rotation gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please test it with Rotation buttons instead, then report the result manually.")]
[Postcondition(1, "N/A")]
- public static async Task TwoFingerRotated_CHECK_EVENT()
+ public async Task TwoFingerRotated_CHECK_EVENT()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
await TestMapViewEvent(GestureType.Rotation);
[Step(2, "Perform Scroll gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please test it with Scroll buttons instead, then report the result manually.")]
[Postcondition(1, "N/A")]
- public static async Task Scrolled_CHECK_EVENT()
+ public async Task Scrolled_CHECK_EVENT()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
await TestMapViewEvent(GestureType.Scroll);
[Step(3, "If the gesture is not supported on the device, please test it with Zoom-out (-) button instead, then report the result manually.")]
[Step(4, "Time duration for two-finger click must be within 500ms.")]
[Postcondition(1, "N/A")]
- public static async Task TwoFingerClicked_CHECK_EVENT()
+ public async Task TwoFingerClicked_CHECK_EVENT()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
await TestMapViewEvent(GestureType.TwoFingerClick);
[Step(2, "Perform Two finger zoom gesture on the map.")]
[Step(3, "If the gesture is not supported on the device, please test it with Zoom buttons instead, then report the result manually.")]
[Postcondition(1, "N/A")]
- public static async Task TwoFingerZoomed_CHECK_EVENT()
+ public async Task TwoFingerZoomed_CHECK_EVENT()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
await TestMapViewEvent(GestureType.Zoom);
[Step(1, "Click Run button. If feature is not supported, TC will automatically pass.")]
[Step(2, "If the event callback is invoked, TC will automatically pass.")]
[Postcondition(1, "N/A")]
- public static async Task ViewReady_CHECK_EVENT()
+ public async Task ViewReady_CHECK_EVENT()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.MapObject test class")]
public class MarkerTests
{
- private static MapView s_mapview;
- private static bool s_eventFlag = false;
- private static string s_imagePath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "picture.png");
+ private MapView s_mapview;
+ private bool s_eventFlag = false;
+ private string s_imagePath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "picture.png");
[Test]
[Category("P1")]
[Step(2, "Perform Click gesture on Pin marker.")]
[Step(3, "If the gesture is not supported on the device, please report it as 'N/A'.")]
[Postcondition(1, "N/A")]
- public static async Task Clicked_CHECK_EVENT()
+ public async Task Clicked_CHECK_EVENT()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.Polygon test class")]
public class PolygonTests
{
- private static MapView s_mapview;
- private static bool s_eventFlag = false;
+ private MapView s_mapview;
+ private bool s_eventFlag = false;
[Test]
[Category("P1")]
[Step(2, "Perform Click gesture on Polygon.")]
[Step(3, "If the gesture is not supported on the device, please report it as 'N/A'.")]
[Postcondition(1, "N/A")]
- public static async Task Clicked_CHECK_EVENT()
+ public async Task Clicked_CHECK_EVENT()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.Polyline test class")]
public class PolylineTests
{
- private static MapView s_mapview;
- private static bool s_eventFlag = false;
+ private MapView s_mapview;
+ private bool s_eventFlag = false;
[Test]
[Category("P1")]
[Step(2, "Perform Click gesture on Polyline.")]
[Step(3, "If the gesture is not supported on the device, please report it as 'N/A'.")]
[Postcondition(1, "N/A")]
- public static async Task Clicked_CHECK_EVENT()
+ public async Task Clicked_CHECK_EVENT()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "Geocoordinates, Geocoordinates")]
- public static void Area_INIT_RECTANGULAR()
+ public void Area_INIT_RECTANGULAR()
{
// TEST CODE
try
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "Geocoordinates, Double")]
- public static void Area_INIT_CIRCULAR()
+ public void Area_INIT_CIRCULAR()
{
// TEST CODE
try
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "Geocoordinates, Geocoordinates")]
- public static void Area_INIT_RECTANGULAR_CHECK_EXCEPTION()
+ public void Area_INIT_RECTANGULAR_CHECK_EXCEPTION()
{
// TEST CODE
try
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "Geocoordinates, Double")]
- public static void Area_INIT_CIRCULAR_CHECK_EXCEPTION()
+ public void Area_INIT_CIRCULAR_CHECK_EXCEPTION()
{
// TEST CODE
try
[Description("Tizen.Maps.BoxOverlay test class")]
public class BoxOverlayTests
{
- private static EvasObject s_evasObj = new Window("MapView Test Window");
+ private EvasObject s_evasObj = new Window("MapView Test Window");
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void BoxOverlay_INIT()
+ public void BoxOverlay_INIT()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTRN")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void BoxOverlay_INIT_EXCEPTION()
+ public void BoxOverlay_INIT_EXCEPTION()
{
// TEST CODE
try
[Description("Tizen.Maps.BubbleOverlay test class")]
public class BubbleOverlayTests
{
- private static EvasObject s_evasObj = new Window("MapView Test Window");
+ private EvasObject s_evasObj = new Window("MapView Test Window");
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void BubbleOverlay_INIT()
+ public void BubbleOverlay_INIT()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTRN")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void BubbleOverlay_INIT_EXCEPTION()
+ public void BubbleOverlay_INIT_EXCEPTION()
{
// TEST CODE
try
public double Longitude;
}
- private static Dictionary<Geocoordinates, TestData> s_testdata;
+ private Dictionary<Geocoordinates, TestData> s_testdata;
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
}
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_testdata?.Clear();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Geocoordinates_INIT()
+ public void Geocoordinates_INIT()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Geocoordinates_INIT_EXCEPTION()
+ public void Geocoordinates_INIT_EXCEPTION()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Latitude_PROPERTY_READ_ONLY()
+ public void Latitude_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Longitude_PROPERTY_READ_ONLY()
+ public void Longitude_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void ToString_RETURN_TYPE()
+ public void ToString_RETURN_TYPE()
{
// TEST CODE
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.IGeocodePreference test class")]
public class IGeocodePreferenceTests
{
- private static IGeocodePreference s_preference;
+ private IGeocodePreference s_preference;
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
}
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
((SearchPreference)s_preference)?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void Language_PROPERTY_READ_WRITE()
+ public void Language_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void MaxResults_PROPERTY_READ_WRITE()
+ public void MaxResults_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.IPlaceSearchPreference test class")]
public class IPlaceSearchPreferenceTests
{
- private static IPlaceSearchPreference s_preference;
+ private IPlaceSearchPreference s_preference;
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
}
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
((SearchPreference)s_preference)?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void Unit_PROPERTY_READ_WRITE()
+ public void Unit_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void Language_PROPERTY_READ_WRITE()
+ public void Language_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void MaxResults_PROPERTY_READ_WRITE()
+ public void MaxResults_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void CountryCode_PROPERTY_READ_WRITE()
+ public void CountryCode_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void Properties_PROPERTY_READ_WRITE()
+ public void Properties_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.IRouteSearchPreferenceTests test class")]
public class IRouteSearchPreferenceTests
{
- private static IRouteSearchPreference s_preference;
+ private IRouteSearchPreference s_preference;
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
}
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
((SearchPreference)s_preference)?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void Unit_PROPERTY_READ_WRITE()
+ public void Unit_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void Optimization_PROPERTY_READ_WRITE()
+ public void Optimization_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void Mode_PROPERTY_READ_WRITE()
+ public void Mode_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void RouteFeatureWeight_PROPERTY_READ_WRITE()
+ public void RouteFeatureWeight_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void RouteFeature_PROPERTY_READ_WRITE()
+ public void RouteFeature_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void SearchAlternativeRoutes_PROPERTY_READ_WRITE()
+ public void SearchAlternativeRoutes_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.MapObject test class")]
public class MapObjectTests
{
- private static List<MapObject> s_testData;
- private static EvasObject s_evasObj = new Window("MapView Test Window");
- private static string s_imagePath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "picture.png");
+ private List<MapObject> s_testData;
+ private EvasObject s_evasObj = new Window("MapView Test Window");
+ private string s_imagePath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "picture.png");
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void IsVisible_PROPERTY_READ_WRITE()
+ public void IsVisible_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.MapService test class")]
public class MapServiceTests
{
- private static string s_serviceProvider = "DEFAULT";
- private static string s_serviceProviderKey = "Provider/Key";
- private static List<ServiceHelper> s_testMapServices;
+ private string s_serviceProvider = "DEFAULT";
+ private string s_serviceProviderKey = "Provider/Key";
+ private List<ServiceHelper> s_testMapServices;
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
}
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_testMapServices?.Clear();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void MapService_INIT()
+ public void MapService_INIT()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTRN")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void MapService_INIT_EXCEPTION()
+ public void MapService_INIT_EXCEPTION()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Providers_PROPERTY_READ_ONLY()
+ public void Providers_PROPERTY_READ_ONLY()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongmun Woo, jongmun.woo@samsung.com")]
- public static async Task RequestUserConsent_CHANGE_STATUS()
+ public async Task RequestUserConsent_CHANGE_STATUS()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "ServiceRequestType")]
- public static void IsSupported_ENUM_ALL_SERVICEREQUESTTYPE()
+ public void IsSupported_ENUM_ALL_SERVICEREQUESTTYPE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "ServiceData")]
- public static void IsSupported_ENUM_ALL_SERVICEDATA()
+ public void IsSupported_ENUM_ALL_SERVICEDATA()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string")]
- public static void CreateGeocodeRequest_RETURN_TYPE_WITH_FREEFORM_ADDRESS()
+ public void CreateGeocodeRequest_RETURN_TYPE_WITH_FREEFORM_ADDRESS()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string, Area")]
- public static void CreateGeocodeRequest_RETURN_TYPE_WITH_BOUNDARY()
+ public void CreateGeocodeRequest_RETURN_TYPE_WITH_BOUNDARY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "PlaceAddress")]
- public static void CreateGeocodeRequest_RETURN_TYPE_WITH_ADDRESS()
+ public void CreateGeocodeRequest_RETURN_TYPE_WITH_ADDRESS()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void CreateReverseGeocodeRequest_RETURN_TYPE()
+ public void CreateReverseGeocodeRequest_RETURN_TYPE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void CreateMultiReverseGeocodeRequest_RETURN_TYPE()
+ public void CreateMultiReverseGeocodeRequest_RETURN_TYPE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void CreateRouteSearchRequest_RETURN_TYPE()
+ public void CreateRouteSearchRequest_RETURN_TYPE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "Geocoordinates, int")]
- public static void CreatePlaceSearchRequest_RETURN_TYPE_WITH_GEOCOORDINATES_DISTANCE()
+ public void CreatePlaceSearchRequest_RETURN_TYPE_WITH_GEOCOORDINATES_DISTANCE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "Area")]
- public static void CreatePlaceSearchRequest_RETURN_TYPE_WITH_AREA()
+ public void CreatePlaceSearchRequest_RETURN_TYPE_WITH_AREA()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string, Area")]
- public static void CreatePlaceSearchRequest_RETURN_TYPE_WITH_ADDRESS_AREA()
+ public void CreatePlaceSearchRequest_RETURN_TYPE_WITH_ADDRESS_AREA()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Provider_PROPERTY_READ_ONLY()
+ public void Provider_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jongmun Woo, jongmun.woo@samsung.com")]
- public static void UserConsented_PROPERTY_READ_ONLY()
+ public void UserConsented_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void ProviderKey_PROPERTY_READ_WRITE()
+ public void ProviderKey_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void ProviderKey_PROPERTY_READ_WRITE_INVALIDKEY()
+ public void ProviderKey_PROPERTY_READ_WRITE_INVALIDKEY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void PlaceSearchFilter_PROPERTY_READ_WRITE()
+ public void PlaceSearchFilter_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void GeocodePreferences_PROPERTY_READ_ONLY()
+ public void GeocodePreferences_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void PlaceSearchPreferences_PROPERTY_READ_ONLY()
+ public void PlaceSearchPreferences_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void RouteSearchPreferences_PROPERTY_READ_ONLY()
+ public void RouteSearchPreferences_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Preferences_PROPERTY_READ_WRITE()
+ public void Preferences_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.MapServiceRequest<T> test class")]
public class MapServiceRequestTemplateTests
{
- private static List<ServiceHelper> s_testMapServices;
+ private List<ServiceHelper> s_testMapServices;
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
}
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_testMapServices?.Clear();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task GetResponseAsync_RETURN_TYPE_GEOCODE_BY_FREEFORMED_ADDRESS()
+ public async Task GetResponseAsync_RETURN_TYPE_GEOCODE_BY_FREEFORMED_ADDRESS()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false || MapsCapabilities.Internet.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task GetResponseAsync_RETURN_TYPE_GEOCODE_BY_INSIDE_AREA()
+ public async Task GetResponseAsync_RETURN_TYPE_GEOCODE_BY_INSIDE_AREA()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false || MapsCapabilities.Internet.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task GetResponseAsync_RETURN_TYPE_GEOCODE_BY_STRUCTURED_ADDRESS()
+ public async Task GetResponseAsync_RETURN_TYPE_GEOCODE_BY_STRUCTURED_ADDRESS()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false || MapsCapabilities.Internet.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task GetResponseAsync_RETURN_TYPE_GEOCODE_REQUEST_EXCEPTION()
+ public async Task GetResponseAsync_RETURN_TYPE_GEOCODE_REQUEST_EXCEPTION()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false || MapsCapabilities.Internet.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task GetResponseAsync_RETURN_TYPE_PLACE_BY_COORDINATE()
+ public async Task GetResponseAsync_RETURN_TYPE_PLACE_BY_COORDINATE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false || MapsCapabilities.Internet.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task GetResponseAsync_RETURN_TYPE_PLACE_BY_AREA()
+ public async Task GetResponseAsync_RETURN_TYPE_PLACE_BY_AREA()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false || MapsCapabilities.Internet.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task GetResponseAsync_RETURN_TYPE_PLACE_BY_ADDRESS()
+ public async Task GetResponseAsync_RETURN_TYPE_PLACE_BY_ADDRESS()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false || MapsCapabilities.Internet.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task GetResponseAsync_RETURN_TYPE_PLACE_REQUEST_EXCEPTION()
+ public async Task GetResponseAsync_RETURN_TYPE_PLACE_REQUEST_EXCEPTION()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false || MapsCapabilities.Internet.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task GetResponseAsync_RETURN_TYPE_REVERSE_GEOCODE()
+ public async Task GetResponseAsync_RETURN_TYPE_REVERSE_GEOCODE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false || MapsCapabilities.Internet.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task GetResponseAsync_RETURN_TYPE_MULTI_REVERSE_GEOCODE()
+ public async Task GetResponseAsync_RETURN_TYPE_MULTI_REVERSE_GEOCODE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false || MapsCapabilities.Internet.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task GetResponseAsync_RETURN_TYPE_ROUTE_BY_ENDPOINTS()
+ public async Task GetResponseAsync_RETURN_TYPE_ROUTE_BY_ENDPOINTS()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false || MapsCapabilities.Internet.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task GetResponseAsync_RETURN_TYPE_ROUTE_BY_WAYPOINT()
+ public async Task GetResponseAsync_RETURN_TYPE_ROUTE_BY_WAYPOINT()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false || MapsCapabilities.Internet.IsSupported == false) return;
[Description("Tizen.Maps.MapView test class")]
public class MapViewTests
{
- private static EvasObject s_evasObj;
- private static MapService s_maps;
- private static MapView s_mapview;
+ private EvasObject s_evasObj;
+ private MapService s_maps;
+ private MapView s_mapview;
private const string snapshotFilePath = "/tmp/Tizen.Maps.Tests.jpg";
- private static string s_validImagePath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "picture.png");
- private static List<MapObject> testObjects = new List<MapObject>();
+ private string s_validImagePath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "picture.png");
+ private List<MapObject> testObjects = new List<MapObject>();
[SetUp]
- public static void Init()
+ public void Init()
{
Elementary.Initialize();
EcoreSynchronizationContext.Initialize();
}
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
s_mapview?.Dispose();
testObjects.Clear();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void MapView_INIT()
+ public void MapView_INIT()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void GeolocationToScreen_RETURN_TYPE()
+ public void GeolocationToScreen_RETURN_TYPE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void ScreenToGeolocation_RETURN_TYPE()
+ public void ScreenToGeolocation_RETURN_TYPE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Add_CHANGE_STATUS()
+ public void Add_CHANGE_STATUS()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Remove_CHANGE_STATUS()
+ public void Remove_CHANGE_STATUS()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void RemoveAll_CHANGE_STATUS()
+ public void RemoveAll_CHANGE_STATUS()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void BuildingsEnabled_PROPERTY_READ_WRITE()
+ public void BuildingsEnabled_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Center_PROPERTY_READ_WRITE()
+ public void Center_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Children_PROPERTY_READ_ONLY()
+ public void Children_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Language_PROPERTY_READ_WRITE()
+ public void Language_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void MapType_PROPERTY_GET_SET_ALL_ENUM()
+ public void MapType_PROPERTY_GET_SET_ALL_ENUM()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void MaximumZoomLevel_PROPERTY_READ_WRITE()
+ public void MaximumZoomLevel_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void MinimumZoomLevel_PROPERTY_READ_WRITE()
+ public void MinimumZoomLevel_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Orientation_PROPERTY_READ_WRITE()
+ public void Orientation_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void PublicTransitEnabled_PROPERTY_READ_WRITE()
+ public void PublicTransitEnabled_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void ScaleBarEnabled_PROPERTY_READ_WRITE()
+ public void ScaleBarEnabled_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void TrafficEnabled_PROPERTY_READ_WRITE()
+ public void TrafficEnabled_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void ZoomLevel_PROPERTY_READ_WRITE()
+ public void ZoomLevel_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void CaptureSnapshot_CHANGE_STATUS()
+ public void CaptureSnapshot_CHANGE_STATUS()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.Marker test class")]
public class MarkerTests
{
- private static List<Marker> s_testData;
- private static string s_imagePath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "picture.png");
+ private List<Marker> s_testData;
+ private string s_imagePath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "picture.png");
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Resize_CHANGE_STATUS()
+ public void Resize_CHANGE_STATUS()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Move_CHANGE_STATUS()
+ public void Move_CHANGE_STATUS()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Coordinates_PROPERTY_READ_WRITE()
+ public void Coordinates_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void ImagePath_PROPERTY_READ_WRITE()
+ public void ImagePath_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void MarkerSize_PROPERTY_READ_WRITE()
+ public void MarkerSize_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void ZOrder_PROPERTY_READ_WRITE()
+ public void ZOrder_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void IsVisible_PROPERTY_READ_WRITE()
+ public void IsVisible_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.Overlay test class")]
public class OverlayTests
{
- private static List<Overlay> s_testData;
- private static EvasObject s_evasObj = new Window("MapView Test Window");
+ private List<Overlay> s_testData;
+ private EvasObject s_evasObj = new Window("MapView Test Window");
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Overlay_INIT()
+ public void Overlay_INIT()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTRN")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Overlay_INIT_EXCEPTION()
+ public void Overlay_INIT_EXCEPTION()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Coordinates_PROPERTY_READ_WRITE()
+ public void Coordinates_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void MaximumZoomLevel_PROPERTY_READ_WRITE()
+ public void MaximumZoomLevel_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void MinimumZoomLevel_PROPERTY_READ_WRITE()
+ public void MinimumZoomLevel_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void IsVisible_PROPERTY_READ_WRITE()
+ public void IsVisible_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.Pin test class")]
public class PinTests
{
- private static string s_validImagePath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "picture.png");
+ private string s_validImagePath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "picture.png");
[Test]
[Category("P1")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "Tizen.Maps.Geocoordinates, string")]
- public static void Pin_INIT()
+ public void Pin_INIT()
{
// TEST CODE
try
[Property("CRITERIA", "CONSTRN")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "Tizen.Maps.Geocoordinates, string")]
- public static void Pin_INIT_EXCEPTION()
+ public void Pin_INIT_EXCEPTION()
{
// TEST CODE
try
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
[Property("COVPARAM", "Tizen.Maps.Geocoordinates")]
- public static void Pin_INIT_WITH_DEFAULT_IMAGE()
+ public void Pin_INIT_WITH_DEFAULT_IMAGE()
{
// TEST CODE
try
[Property("CRITERIA", "CONSTRN")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "Tizen.Maps.Geocoordinates")]
- public static void Pin_INIT_EXCEPTION_WITH_DEFAULT_IMAGE()
+ public void Pin_INIT_EXCEPTION_WITH_DEFAULT_IMAGE()
{
// TEST CODE
try
[Description("Tizen.Maps.Place test class")]
public class PlaceTests
{
- private static IDictionary<Place, PlaceData> s_testPlaces;
+ private IDictionary<Place, PlaceData> s_testPlaces;
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_testPlaces?.Clear();
}
- public static async Task<IDictionary<Place, PlaceData>> GetTestPlaces()
+ public async Task<IDictionary<Place, PlaceData>> GetTestPlaces()
{
return s_testPlaces = await PlaceHelper.GetTestPlaces();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Id_PROPERTY_READ_ONLY()
+ public async Task Id_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Name_PROPERTY_READ_ONLY()
+ public async Task Name_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Uri_PROPERTY_READ_ONLY()
+ public async Task Uri_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Coordinates_PROPERTY_READ_ONLY()
+ public async Task Coordinates_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Distance_PROPERTY_READ_ONLY()
+ public async Task Distance_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Address_PROPERTY_READ_ONLY()
+ public async Task Address_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Rating_PROPERTY_READ_ONLY()
+ public async Task Rating_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Properties_PROPERTY_READ_ONLY()
+ public async Task Properties_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static async Task Attributes_PROPERTY_READ_ONLY()
+ public async Task Attributes_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static async Task Categories_PROPERTY_READ_ONLY()
+ public async Task Categories_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static async Task Contacts_PROPERTY_READ_ONLY()
+ public async Task Contacts_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static async Task Editorials_PROPERTY_READ_ONLY()
+ public async Task Editorials_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static async Task Images_PROPERTY_READ_ONLY()
+ public async Task Images_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Supplier_PROPERTY_READ_ONLY()
+ public async Task Supplier_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Reviews_PROPERTY_READ_ONLY()
+ public async Task Reviews_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Related_PROPERTY_READ_ONLY()
+ public async Task Related_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.PlaceAddress test class")]
public class PlaceAddressTests
{
- private static PlaceAddress s_address;
+ private PlaceAddress s_address;
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
}
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_address.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void PlaceAddress_INIT()
+ public void PlaceAddress_INIT()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Building_PROPERTY_READ_WRITE()
+ public void Building_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void City_PROPERTY_READ_WRITE()
+ public void City_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Country_PROPERTY_READ_WRITE()
+ public void Country_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void CountryCode_PROPERTY_READ_WRITE()
+ public void CountryCode_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void County_PROPERTY_READ_WRITE()
+ public void County_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void District_PROPERTY_READ_WRITE()
+ public void District_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void FreeText_PROPERTY_READ_WRITE()
+ public void FreeText_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void PostalCode_PROPERTY_READ_WRITE()
+ public void PostalCode_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void State_PROPERTY_READ_WRITE()
+ public void State_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Street_PROPERTY_READ_WRITE()
+ public void Street_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void ToString_RETURN_TYPE()
+ public void ToString_RETURN_TYPE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.PlaceAttribute test class")]
public class PlaceAttributeTests
{
- private static Dictionary<PlaceAttribute, AttributeData> s_testdata;
+ private Dictionary<PlaceAttribute, AttributeData> s_testdata;
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_testdata?.Clear();
}
- public static async Task<Dictionary<PlaceAttribute, AttributeData>> GetTestAttributes()
+ public async Task<Dictionary<PlaceAttribute, AttributeData>> GetTestAttributes()
{
return s_testdata = await PlaceHelper.GetTestAttributes();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Id_PROPERTY_READ_ONLY()
+ public async Task Id_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Label_PROPERTY_READ_ONLY()
+ public async Task Label_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Text_PROPERTY_READ_ONLY()
+ public async Task Text_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static async Task ToString_RETURN_TYPE()
+ public async Task ToString_RETURN_TYPE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.PlaceCategory test class")]
public class PlaceCategoryTests
{
- private static PlaceCategory s_category;
+ private PlaceCategory s_category;
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
}
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_category.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void PlaceCategory_INIT()
+ public void PlaceCategory_INIT()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Id_PROPERTY_READ_WRITE()
+ public void Id_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Name_PROPERTY_READ_WRITE()
+ public void Name_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Url_PROPERTY_READ_WRITE()
+ public void Url_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void ToString_RETURN_TYPE()
+ public void ToString_RETURN_TYPE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.PlaceContact test class")]
public class PlaceContactTests
{
- private static Dictionary<PlaceContact, ContactData> s_testdata;
+ private Dictionary<PlaceContact, ContactData> s_testdata;
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_testdata?.Clear();
}
- public static async Task<Dictionary<PlaceContact, ContactData>> GetTestContacts()
+ public async Task<Dictionary<PlaceContact, ContactData>> GetTestContacts()
{
return s_testdata = await PlaceHelper.GetTestContacts();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Id_PROPERTY_READ_ONLY()
+ public async Task Id_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Label_PROPERTY_READ_ONLY()
+ public async Task Label_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY()
+ public async Task Value_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static async Task ToString_RETURN_TYPE()
+ public async Task ToString_RETURN_TYPE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.PlaceEditorial test class")]
public class PlaceEditorialTests
{
- private static Dictionary<PlaceEditorial, EditorialData> s_testdata;
+ private Dictionary<PlaceEditorial, EditorialData> s_testdata;
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_testdata?.Clear();
}
- public static async Task<Dictionary<PlaceEditorial, EditorialData>> GetTestEditorials()
+ public async Task<Dictionary<PlaceEditorial, EditorialData>> GetTestEditorials()
{
return s_testdata = await PlaceHelper.GetTestEditorials();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Description_PROPERTY_READ_ONLY()
+ public async Task Description_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Language_PROPERTY_READ_ONLY()
+ public async Task Language_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Media_PROPERTY_READ_ONLY()
+ public async Task Media_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void ToString_RETURN_TYPE()
+ public void ToString_RETURN_TYPE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.PlaceFilter test class")]
public class PlaceFilterTests
{
- private static PlaceFilter s_filter;
+ private PlaceFilter s_filter;
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
}
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_filter?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void PlaceFilter_INIT()
+ public void PlaceFilter_INIT()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Address_PROPERTY_READ_WRITE()
+ public void Address_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Category_PROPERTY_READ_WRITE()
+ public void Category_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Keyword_PROPERTY_READ_WRITE()
+ public void Keyword_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Name_PROPERTY_READ_WRITE()
+ public void Name_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.PlaceImage test class")]
public class PlaceImageTests
{
- private static Dictionary<PlaceImage, ImageData> s_testdata;
+ private Dictionary<PlaceImage, ImageData> s_testdata;
- public static async Task<Dictionary<PlaceImage, ImageData>> GetTestImages()
+ public async Task<Dictionary<PlaceImage, ImageData>> GetTestImages()
{
return s_testdata = await PlaceHelper.GetTestImages();
}
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_testdata?.Clear();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Id_PROPERTY_READ_ONLY()
+ public async Task Id_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Url_PROPERTY_READ_ONLY()
+ public async Task Url_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Width_PROPERTY_READ_ONLY()
+ public async Task Width_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Height_PROPERTY_READ_ONLY()
+ public async Task Height_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task UserLink_PROPERTY_READ_ONLY()
+ public async Task UserLink_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task ImageMedia_PROPERTY_READ_ONLY()
+ public async Task ImageMedia_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.PlaceLink test class")]
public class PlaceLinkTests
{
- private static Dictionary<PlaceLink, LinkData> s_testdata;
+ private Dictionary<PlaceLink, LinkData> s_testdata;
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_testdata?.Clear();
}
- public static async Task<Dictionary<PlaceLink, LinkData>> GetTestLinks()
+ public async Task<Dictionary<PlaceLink, LinkData>> GetTestLinks()
{
return s_testdata = await PlaceHelper.GetTestLinks();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Id_PROPERTY_READ_ONLY()
+ public async Task Id_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Name_PROPERTY_READ_ONLY()
+ public async Task Name_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Link_PROPERTY_READ_ONLY()
+ public async Task Link_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Type_PROPERTY_READ_ONLY()
+ public async Task Type_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.PlaceMedia test class")]
public class PlaceMediaTests
{
- private static Dictionary<PlaceMedia, MediaData> s_testdata;
+ private Dictionary<PlaceMedia, MediaData> s_testdata;
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_testdata?.Clear();
}
- public static async Task<Dictionary<PlaceMedia, MediaData>> GetTestMedia()
+ public async Task<Dictionary<PlaceMedia, MediaData>> GetTestMedia()
{
return s_testdata = await PlaceHelper.GetTestMedia();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Attribution_PROPERTY_READ_ONLY()
+ public async Task Attribution_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Supplier_PROPERTY_READ_ONLY()
+ public async Task Supplier_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Via_PROPERTY_READ_ONLY()
+ public async Task Via_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.PlaceRating test class")]
public class PlaceRatingTests
{
- private static Dictionary<PlaceRating, RatingData> s_testdata;
+ private Dictionary<PlaceRating, RatingData> s_testdata;
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_testdata?.Clear();
}
- public static async Task<Dictionary<PlaceRating, RatingData>> GetTestRatings()
+ public async Task<Dictionary<PlaceRating, RatingData>> GetTestRatings()
{
return s_testdata = await PlaceHelper.GetTestRatings();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task UserCount_PROPERTY_READ_ONLY()
+ public async Task UserCount_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Average_PROPERTY_READ_ONLY()
+ public async Task Average_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static async Task ToString_RETURN_TYPE()
+ public async Task ToString_RETURN_TYPE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.PlaceReview test class")]
public class PlaceReviewTests
{
- private static Dictionary<PlaceReview, ReviewData> s_testdata;
+ private Dictionary<PlaceReview, ReviewData> s_testdata;
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_testdata?.Clear();
}
- public static async Task<Dictionary<PlaceReview, ReviewData>> GetTestReviews()
+ public async Task<Dictionary<PlaceReview, ReviewData>> GetTestReviews()
{
return s_testdata = await PlaceHelper.GetTestReviews();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Date_PROPERTY_READ_ONLY()
+ public async Task Date_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Title_PROPERTY_READ_ONLY()
+ public async Task Title_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Rating_PROPERTY_READ_ONLY()
+ public async Task Rating_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Description_PROPERTY_READ_ONLY()
+ public async Task Description_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Language_PROPERTY_READ_ONLY()
+ public async Task Language_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task ReviewMedia_PROPERTY_READ_ONLY()
+ public async Task ReviewMedia_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task UserLink_PROPERTY_READ_ONLY()
+ public async Task UserLink_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.Polygon test class")]
public class PolygonTests
{
- private static Polygon s_polygon;
+ private Polygon s_polygon;
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
}
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_polygon?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Polygon_INIT()
+ public void Polygon_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTRN")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Polygon_INIT_EXCEPTION()
+ public void Polygon_INIT_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void FillColor_PROPERTY_READ_WRITE()
+ public void FillColor_PROPERTY_READ_WRITE()
{
if (MapsCapabilities.Maps.IsSupported == false) return;
Assert.IsNotNull(s_polygon, "PRECONDITION: Failed to get polygon for testing.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void Coordinates_PROPERTY_READ_WRITE()
+ public void Coordinates_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void IsVisible_PROPERTY_READ_WRITE()
+ public void IsVisible_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.Polyline test class")]
public class PolylineTests
{
- private static Polyline s_polyline;
+ private Polyline s_polyline;
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
}
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_polyline?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Polyline_INIT()
+ public void Polyline_INIT()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTRN")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Polyline_INIT_EXCEPTION()
+ public void Polyline_INIT_EXCEPTION()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void LineColor_PROPERTY_READ_WRITE()
+ public void LineColor_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Width_PROPERTY_READ_WRITE()
+ public void Width_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void Coordinates_PROPERTY_READ_WRITE()
+ public void Coordinates_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void IsVisible_PROPERTY_READ_WRITE()
+ public void IsVisible_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.Route test class")]
public class RouteTests
{
- private static IDictionary<Route, RouteData> s_testRoutes;
+ private IDictionary<Route, RouteData> s_testRoutes;
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_testRoutes?.Clear();
}
- public static async Task<IDictionary<Route, RouteData>> GetTestRoutes()
+ public async Task<IDictionary<Route, RouteData>> GetTestRoutes()
{
return s_testRoutes = await RouteHelper.GetTestRoutes();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Id_PROPERTY_READ_ONLY()
+ public async Task Id_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Destination_PROPERTY_READ_ONLY()
+ public async Task Destination_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Distance_PROPERTY_READ_ONLY()
+ public async Task Distance_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Duration_PROPERTY_READ_ONLY()
+ public async Task Duration_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Mode_PROPERTY_READ_ONLY_ENUM_ALL_TRANSPORTMODE()
+ public async Task Mode_PROPERTY_READ_ONLY_ENUM_ALL_TRANSPORTMODE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Origin_PROPERTY_READ_ONLY()
+ public async Task Origin_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Path_PROPERTY_READ_ONLY()
+ public async Task Path_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Segments_PROPERTY_READ_ONLY()
+ public async Task Segments_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Unit_PROPERTY_READ_ONLY_ENUM_ALL_DISTANCEUNIT()
+ public async Task Unit_PROPERTY_READ_ONLY_ENUM_ALL_DISTANCEUNIT()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.RouteManeuver test class")]
public class RouteManeuverTests
{
- private static IDictionary<RouteManeuver, RouteManeuverData> s_testManeuver;
+ private IDictionary<RouteManeuver, RouteManeuverData> s_testManeuver;
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_testManeuver?.Clear();
}
- public static async Task<IDictionary<RouteManeuver, RouteManeuverData>> GetTestManeuvers()
+ public async Task<IDictionary<RouteManeuver, RouteManeuverData>> GetTestManeuvers()
{
return s_testManeuver = await RouteHelper.GetTestManeuvers();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Direction_PROPERTY_ENUM_ALL_DIRECTIONTYPE()
+ public async Task Direction_PROPERTY_ENUM_ALL_DIRECTIONTYPE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Turn_PROPERTY_ENUM_ALL_TURNINSTRUCTION()
+ public async Task Turn_PROPERTY_ENUM_ALL_TURNINSTRUCTION()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Position_PROPERTY_READ_ONLY()
+ public async Task Position_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Road_PROPERTY_READ_ONLY()
+ public async Task Road_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Instruction_PROPERTY_READ_ONLY()
+ public async Task Instruction_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Locale_PROPERTY_READ_ONLY()
+ public async Task Locale_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task TimeToNextInstruction_PROPERTY_READ_ONLY()
+ public async Task TimeToNextInstruction_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task DistanceToNextInstruction_PROPERTY_READ_ONLY()
+ public async Task DistanceToNextInstruction_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.RouteSearchRequest test class")]
public class RouteSearchRequestTests
{
- private static MapService s_maps;
+ private MapService s_maps;
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
- public static void Waypoints_PROPERTY_READ_WRITE()
+ public void Waypoints_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.RouteSegment test class")]
public class RouteSegmentTests
{
- private static IDictionary<RouteSegment, RouteSegmentData> s_testSegments;
+ private IDictionary<RouteSegment, RouteSegmentData> s_testSegments;
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_testSegments?.Clear();
}
- public static async Task<IDictionary<RouteSegment, RouteSegmentData>> GetTestSegments()
+ public async Task<IDictionary<RouteSegment, RouteSegmentData>> GetTestSegments()
{
return s_testSegments = await RouteHelper.GetTestSegments();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Origin_PROPERTY_READ_ONLY()
+ public async Task Origin_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Destination_PROPERTY_READ_ONLY()
+ public async Task Destination_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Distance_PROPERTY_READ_ONLY()
+ public async Task Distance_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Duration_PROPERTY_READ_ONLY()
+ public async Task Duration_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Maneuvers_PROPERTY_READ_ONLY()
+ public async Task Maneuvers_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Path_PROPERTY_READ_ONLY()
+ public async Task Path_PROPERTY_READ_ONLY()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.SearchPreference test class")]
public class SearchPreferenceTests
{
- private static SearchPreference s_preference;
+ private SearchPreference s_preference;
[SetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
try
{
}
[TearDown]
- public static void FixtureDestroy()
+ public void FixtureDestroy()
{
s_preference?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void SearchPreference_INIT()
+ public void SearchPreference_INIT()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Unit_PROPERTY_ENUM_ALL_DISTANCEUNIT()
+ public void Unit_PROPERTY_ENUM_ALL_DISTANCEUNIT()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Language_PROPERTY_READ_WRITE()
+ public void Language_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void MaxResults_PROPERTY_READ_WRITE()
+ public void MaxResults_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PMIN")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void MaxResults_PROPERTY_READ_WRITE_MINIMUM()
+ public void MaxResults_PROPERTY_READ_WRITE_MINIMUM()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void MaxResults_PROPERTY_WRITE_NEGATIVE_VALUE()
+ public void MaxResults_PROPERTY_WRITE_NEGATIVE_VALUE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void CountryCode_PROPERTY_READ_WRITE()
+ public void CountryCode_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Properties_PROPERTY_READ_WRITE()
+ public void Properties_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Optimization_PROPERTY_ENUM_ALL_ROUTEOPTIMIZATION()
+ public void Optimization_PROPERTY_ENUM_ALL_ROUTEOPTIMIZATION()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Mode_PROPERTY_ENUM_ALL_TRANSPORTMODE()
+ public void Mode_PROPERTY_ENUM_ALL_TRANSPORTMODE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void RouteFeatureWeight_PROPERTY_ENUM_ALL_ROUTEFEATUREWEIGHT()
+ public void RouteFeatureWeight_PROPERTY_ENUM_ALL_ROUTEFEATUREWEIGHT()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void RouteFeature_PROPERTY_ENUM_ALL_ROUTEFEATURE()
+ public void RouteFeature_PROPERTY_ENUM_ALL_ROUTEFEATURE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void SearchAlternativeRoutes_PROPERTY_READ_WRITE()
+ public void SearchAlternativeRoutes_PROPERTY_READ_WRITE()
{
// PRECONDITION
if (MapsCapabilities.Maps.IsSupported == false) return;
[Description("Tizen.Maps.Sticker test class")]
public class StickerTests
{
- private static string s_validImagePath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "picture.png");
+ private string s_validImagePath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "picture.png");
[Test]
[Category("P1")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "Tizen.Maps.Geocoordinates, string")]
- public static void Sticker_INIT()
+ public void Sticker_INIT()
{
// TEST CODE
try
[Property("CRITERIA", "CONSTRN")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "Tizen.Maps.Geocoordinates, string")]
- public static void Sticker_INIT_EXCEPTION()
+ public void Sticker_INIT_EXCEPTION()
{
// TEST CODE
try
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
[Property("COVPARAM", "Tizen.Maps.Geocoordinates")]
- public static void Sticker_INIT_WITH_DEFAULT_IMAGE()
+ public void Sticker_INIT_WITH_DEFAULT_IMAGE()
{
// TEST CODE
try
[Property("CRITERIA", "CONSTRN")]
[Property("AUTHOR", "Seechan Kim, cbible.kim@samsung.com")]
[Property("COVPARAM", "Tizen.Maps.Geocoordinates")]
- public static void Sticker_INIT_EXCEPTION_WITH_DEFAULT_IMAGE()
+ public void Sticker_INIT_EXCEPTION_WITH_DEFAULT_IMAGE()
{
// TEST CODE
try
[TestFixture]
[Description("Tizen.Multimedia.MediaCodec.InputProcessedEventArgs Tests")]
- public static class InputProcessedEventArgsTests
+ public class InputProcessedEventArgsTests
{
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Packet_CHECK()
+ public void Packet_CHECK()
{
if (FeatureChecker.IsSupported(Constants.Feature) == false)
{
{
private const string VideoFilePath = "/opt/usr/home/owner/share/res/test.h264";
- private readonly static MediaFormat SimpleFormat =
+ private readonly MediaFormat SimpleFormat =
new VideoMediaFormat(MediaFormatVideoMimeType.Mpeg4SP, 640, 480);
private MediaCodec _codec;
[TestFixture]
[Description("Tizen.Multimedia.MediaCodec.OutputAvailableEventArgs Tests")]
- public static class OutputAvailableEventArgsTests
+ public class OutputAvailableEventArgsTests
{
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Packet_READONLY()
+ public void Packet_READONLY()
{
if (FeatureChecker.IsSupported(Constants.Feature) == false)
{
[Description("Testing Tizen.System.MediaKey Manual Tests")]
public class MediaKeyTests
{
- private static string TAG = "TCT";
- private static string[] keyValueArr = { "Play", "Stop", "Pause", "Previous", "Next",
+ private string TAG = "TCT";
+ private string[] keyValueArr = { "Play", "Stop", "Pause", "Previous", "Next",
"FastForward", "Rewind", "PlayPause", "Media", "Unknown" };
- private static string[] statusValueArr = { "Pressed", "Released", "Unknown" };
+ private string[] statusValueArr = { "Pressed", "Released", "Unknown" };
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
MediaKey.Event -= OnKeyReceived;
}
- private static void OnKeyReceived(object sender, MediaKeyEventArgs args)
+ private void OnKeyReceived(object sender, MediaKeyEventArgs args)
{
Tizen.Log.Info(TAG, "PASS");
}
[Step(4, "[TV] Press Hard mediakey in the remote controller")]
[Step(5, "Check if log show \"Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task MediaKey_CHECK_EVENT()
+ public async Task MediaKey_CHECK_EVENT()
{
try
{
[Description("Testing Tizen.System.MediaKeyEventArgs Manual Tests")]
public class MediaKeyEventArgsTests
{
- private static string TAG = "TCT";
- private static string[] keyValueArr = { "Play", "Stop", "Pause", "Previous", "Next",
+ private string TAG = "TCT";
+ private string[] keyValueArr = { "Play", "Stop", "Pause", "Previous", "Next",
"FastForward", "Rewind", "PlayPause", "Media", "Unknown" };
- private static string[] statusValueArr = { "Pressed", "Released", "Unknown" };
+ private string[] statusValueArr = { "Pressed", "Released", "Unknown" };
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
- private static void OnKeyValueReceived(object sender, MediaKeyEventArgs args)
+ private void OnKeyValueReceived(object sender, MediaKeyEventArgs args)
{
var value = (int)args.Value;
var status = (int)args.Status;
Tizen.Log.Info(TAG, "KeyValue " + keyValueArr[value] + " PASS");
}
- private static void OnKeyStatusReceived(object sender, MediaKeyEventArgs args)
+ private void OnKeyStatusReceived(object sender, MediaKeyEventArgs args)
{
var value = (int)args.Value;
var status = (int)args.Status;
[Step(10, "[TV] Press Stop button in the remote controller. Check if log show \" KeyValue Stop Pass\"")]
[Step(11, "[TV] Press Next button in the remote controller. Check if log show \" KeyValue Next Pass\"")]
[Postcondition(1, "Unplug eraphone.")]
- public static async Task Value_CHECK_EVENT()
+ public async Task Value_CHECK_EVENT()
{
try
{
[Step(5, "Check if log show \" KeyStatus Press Pass\"")]
[Step(6, "Check if log show \" KeyStatus Release Pass\"")]
[Postcondition(1, "Unplug eraphone.")]
- public static async Task Status_CHECK_EVENT()
+ public async Task Status_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.System.MediaKey class")]
- public static class MediaKeyTests
+ public class MediaKeyTests
{
- private static string TAG = "TCT";
+ private string TAG = "TCT";
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
- private static void OnKeyReceived(object sender, MediaKeyEventArgs args)
+ private void OnKeyReceived(object sender, MediaKeyEventArgs args)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Junghoon Park, jh9216.park@samsung.com")]
- public static void Event_CHECK_EVENT()
+ public void Event_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.System.MediaKeyEventArgsTests class")]
- public static class MediaKeyEventArgsTests
+ public class MediaKeyEventArgsTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
- private static void OnKeyReceived(object sender, MediaKeyEventArgs args)
+ private void OnKeyReceived(object sender, MediaKeyEventArgs args)
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void MediaKeyEventArgs_INIT()
+ public void MediaKeyEventArgs_INIT()
{
var myMediaKeyEventArgs = new MediaKeyEventArgs();
Assert.IsInstanceOf<MediaKeyEventArgs>(myMediaKeyEventArgs);
public class AdaptiveVariantsTests : TestBase
{
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
PreconditionUtils.SetPrecondition();
}
- internal static readonly MediaUriSource AdaptiveStreamingSource = new MediaUriSource(PreconditionUtils.ADAPTIVE_STREAMING_URI);
+ internal readonly MediaUriSource AdaptiveStreamingSource = new MediaUriSource(PreconditionUtils.ADAPTIVE_STREAMING_URI);
[Test]
[Category("P1")]
[TestFixture]
[Description("Tizen.Multimedia.AudioStreamProperties tests")]
- public static class AudioStreamPropertiesTests
+ public class AudioStreamPropertiesTests
{
public const string LogTag = "TizenTest.Multimedia.Player";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void AudioStreamProperties_CHECK_RETURN()
+ public void AudioStreamProperties_CHECK_RETURN()
{
Log.Info(LogTag, "[Enter] AudioStreamPropertiesTests");
Assert.DoesNotThrow(() => new AudioStreamProperties(0, 0, 0));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void SampleRate_READ_WRITE()
+ public void SampleRate_READ_WRITE()
{
Log.Info(LogTag, "[Enter] AudioStreamPropertiesTests");
AssertHelper.PropertyReadWrite<AudioStreamProperties>(nameof(AudioStreamProperties.SampleRate));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Channels_READ_WRITE()
+ public void Channels_READ_WRITE()
{
Log.Info(LogTag, "[Enter] AudioStreamPropertiesTests");
AssertHelper.PropertyReadWrite<AudioStreamProperties>(nameof(AudioStreamProperties.Channels));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void BitRate_READ_WRITE()
+ public void BitRate_READ_WRITE()
{
Log.Info(LogTag, "[Enter] AudioStreamPropertiesTests");
AssertHelper.PropertyReadWrite<AudioStreamProperties>(nameof(AudioStreamProperties.BitRate));
[TestFixture]
[Description("Tizen.Multimedia.BufferingProgressChangedEventArgs Tests")]
- public static class BufferingProgressChangedEventArgsTests
+ public class BufferingProgressChangedEventArgsTests
{
public const string LogTag = "TizenTest.Multimedia.Player";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void BufferingProgressChangedEventArgs_CHECK()
+ public void BufferingProgressChangedEventArgs_CHECK()
{
Log.Info(LogTag, "[Enter] BufferingProgressChangedEventArgsTests");
new BufferingProgressChangedEventArgs(0);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Percent_CHECK()
+ public void Percent_CHECK()
{
Log.Info(LogTag, "[Enter] BufferingProgressChangedEventArgsTests");
[TestFixture]
[Description("Tizen.Multimedia.CapturedFrame Tests")]
- public static class CapturedFrameTests
+ public class CapturedFrameTests
{
public const string LogTag = "TizenTest.Multimedia.Player";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Buffer_READONLY()
+ public void Buffer_READONLY()
{
Log.Info(LogTag, "[Enter] CapturedFrameTests");
AssertHelper.PropertyReadOnly<CapturedFrame>(nameof(CapturedFrame.Buffer));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Size_READONLY()
+ public void Size_READONLY()
{
Log.Info(LogTag, "[Enter] CapturedFrameTests");
AssertHelper.PropertyReadOnly<CapturedFrame>(nameof(CapturedFrame.Size));
{
[TestFixture]
[Description("Tizen.Multimedia.DirectionOfView tests")]
- public static class DirectionOfViewTests
+ public class DirectionOfViewTests
{
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void DirectionOfView_CHECK_RETURN()
+ public void DirectionOfView_CHECK_RETURN()
{
Assert.DoesNotThrow(() => new DirectionOfView(0.0f, 0.0f));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void Yaw_READ_WRITE()
+ public void Yaw_READ_WRITE()
{
AssertHelper.PropertyReadWrite<DirectionOfView>(nameof(DirectionOfView.Yaw));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void Pitch_READ_WRITE()
+ public void Pitch_READ_WRITE()
{
AssertHelper.PropertyReadWrite<DirectionOfView>(nameof(DirectionOfView.Pitch));
}
public class DownloadProgressTests : TestBase
{
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
PreconditionUtils.SetPrecondition();
}
- internal static readonly MediaUriSource StreamingSource = new MediaUriSource(PreconditionUtils.STREAMING_URI);
+ internal readonly MediaUriSource StreamingSource = new MediaUriSource(PreconditionUtils.STREAMING_URI);
[Test]
[Category("P1")]
{
[TestFixture]
[Description("Tizen.Multimedia.FieldOfView tests")]
- public static class FieldOfViewTests
+ public class FieldOfViewTests
{
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void FieldOfView_CHECK_RETURN()
+ public void FieldOfView_CHECK_RETURN()
{
Assert.DoesNotThrow(() => new FieldOfView(0, 0));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void HorizontalDegrees_READ_WRITE()
+ public void HorizontalDegrees_READ_WRITE()
{
AssertHelper.PropertyReadWrite<FieldOfView>(nameof(FieldOfView.HorizontalDegrees));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void VerticalDegrees_READ_WRITE()
+ public void VerticalDegrees_READ_WRITE()
{
AssertHelper.PropertyReadWrite<FieldOfView>(nameof(FieldOfView.VerticalDegrees));
}
[TestFixture]
[Description("Tizen.Multimedia.MediaBufferSource Tests")]
- public static class MediaBufferSourceTests
+ public class MediaBufferSourceTests
{
public const string LogTag = "TizenTest.Multimedia.Player";
[Property("CRITERIA", "CONSTR")]
[Property("COVPARAM", "int")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void MediaBufferSource_CONSTRUCTION()
+ public void MediaBufferSource_CONSTRUCTION()
{
Log.Info(LogTag, "[Enter] MediaBufferSourceTests");
const int capacity = 100;
[Property("CRITERIA", "MEX")]
[Property("COVPARAM", "int")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void MediaBufferSource_THROWS_IF_CAPACITY_NOT_VALID()
+ public void MediaBufferSource_THROWS_IF_CAPACITY_NOT_VALID()
{
Log.Info(LogTag, "[Enter] MediaBufferSourceTests");
Log.Info(LogTag, "MediaBufferSource_THROWS_IF_CAPACITY_NOT_VALID : 0");
[Property("CRITERIA", "MEX")]
[Property("COVPARAM", "byte[]")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void MediaBufferSource_COPIES_PARAM_ARRAY()
+ public void MediaBufferSource_COPIES_PARAM_ARRAY()
{
Log.Info(LogTag, "[Enter] MediaBufferSourceTests");
byte[] arr = { 1 };
[Property("CRITERIA", "CONSTX")]
[Property("COVPARAM", "byte[]")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void MediaBufferSource_THROWS_IF_PARAM_NULL()
+ public void MediaBufferSource_THROWS_IF_PARAM_NULL()
{
Log.Info(LogTag, "[Enter] MediaBufferSourceTests");
Log.Info(LogTag, "MediaBufferSource_THROWS_IF_PARAM_NULL : null");
[Property("CRITERIA", "MEX")]
[Property("COVPARAM", "byte[], int, int")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void MediaBufferSource_THROWS_IF_PARAM_NOT_VALID()
+ public void MediaBufferSource_THROWS_IF_PARAM_NOT_VALID()
{
Log.Info(LogTag, "[Enter] MediaBufferSourceTests");
byte[] arr = { 1 };
[Property("CRITERIA", "MEX")]
[Property("COVPARAM", "byte[], int, int")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void MediaBufferSource_COPY_CHECK()
+ public void MediaBufferSource_COPY_CHECK()
{
Log.Info(LogTag, "[Enter] MediaBufferSourceTests");
int len = 2;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Buffer_CHECK()
+ public void Buffer_CHECK()
{
Log.Info(LogTag, "[Enter] MediaBufferSourceTests");
int len = 2;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Wrap_CHECK()
+ public void Wrap_CHECK()
{
Log.Info(LogTag, "[Enter] MediaBufferSourceTests");
byte[] arr = { 0 };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Buffer_READONLY()
+ public void Buffer_READONLY()
{
Log.Info(LogTag, "[Enter] MediaBufferSourceTests");
AssertHelper.PropertyReadOnly<MediaBufferSource>(nameof(MediaBufferSource.Buffer));
[TestFixture]
[Description("Tizen.Multimedia.MediaStreamBufferStatusChangedEventArgs Tests")]
- public static class MediaStreamBufferStatusChangedEventArgsTests
+ public class MediaStreamBufferStatusChangedEventArgsTests
{
public const string LogTag = "TizenTest.Multimedia.Player";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void MediaStreamBufferStatusChangedEventArgs_CHECK()
+ public void MediaStreamBufferStatusChangedEventArgs_CHECK()
{
Log.Info(LogTag, "[Enter] MediaStreamBufferStatusChangedEventArgsTests");
new MediaStreamBufferStatusChangedEventArgs(MediaStreamBufferStatus.Overflow);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Status_CHECK()
+ public void Status_CHECK()
{
Log.Info(LogTag, "[Enter] MediaStreamBufferStatusChangedEventArgsTests");
const MediaStreamBufferStatus status = MediaStreamBufferStatus.Underrun;
[TestFixture]
[Description("Tizen.Multimedia.MediaStreamSeekingOccurredEventArgs Tests")]
- public static class MediaStreamSeekingOccurredEventArgsTests
+ public class MediaStreamSeekingOccurredEventArgsTests
{
public const string LogTag = "TizenTest.Multimedia.Player";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void MediaStreamSeekingOccurredEventArgs_CHECK()
+ public void MediaStreamSeekingOccurredEventArgs_CHECK()
{
Log.Info(LogTag, "[Enter] MediaStreamSeekingOccurredEventArgsTests");
Assert.DoesNotThrow(() => new MediaStreamSeekingOccurredEventArgs(0U));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Offset_CHECK()
+ public void Offset_CHECK()
{
Log.Info(LogTag, "[Enter] MediaStreamSeekingOccurredEventArgsTests");
const ulong offset = 123UL;
[TestFixture]
[Description("Tizen.Multimedia.MediaUriSource tests")]
- public static class MediaUriSourceTests
+ public class MediaUriSourceTests
{
public const string LogTag = "TizenTest.Multimedia.Player";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void MediaUriSource_CHECK()
+ public void MediaUriSource_CHECK()
{
Log.Info(LogTag, "[Enter]");
new MediaUriSource("");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Uri_CHECK()
+ public void Uri_CHECK()
{
Log.Info(LogTag, "[Enter]");
const string uri = "http://test";
[TestFixture]
[Description("Tizen.Multimedia.NoBufferSpaceException Tests")]
- public static class NoBufferSpaceExceptionTests
+ public class NoBufferSpaceExceptionTests
{
[Test]
[Category("P1")]
[Property("SPEC", "Tizen.Multimedia.NoBufferSpaceException.NoBufferSpaceException C")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
- public static void NoBufferSpaceException_CHECK()
+ public void NoBufferSpaceException_CHECK()
{
Assert.DoesNotThrow(() => new NoBufferSpaceException("message"));
}
[TestFixture]
[Description("Tizen.Multimedia.PlaybackInterruptedEventArgs Tests")]
- public static class PlaybackInterruptedEventArgsTests
+ public class PlaybackInterruptedEventArgsTests
{
public const string LogTag = "TizenTest.Multimedia.Player";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void PlaybackInterruptedEventArgs_CHECK()
+ public void PlaybackInterruptedEventArgs_CHECK()
{
Log.Info(LogTag, "[Enter] PlaybackInterruptedEventArgsTests");
Assert.DoesNotThrow(() =>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Reason_CHECK()
+ public void Reason_CHECK()
{
Log.Info(LogTag, "[Enter] PlaybackInterruptedEventArgsTests");
const PlaybackInterruptionReason reason = PlaybackInterruptionReason.ResourceConflict;
public class PlayerTests : TestBase
{
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
PreconditionUtils.SetPrecondition();
}
- internal static readonly MediaUriSource StreamingSource = new MediaUriSource(PreconditionUtils.STREAMING_URI);
+ internal readonly MediaUriSource StreamingSource = new MediaUriSource(PreconditionUtils.STREAMING_URI);
private const long Unit = 1_000_000; /* 1 Millisecond = 1,000,000 Nanoseconds */
- private static long ConvertMillisecondsToNanoseconds(int milliseconds) => milliseconds * Unit;
+ private long ConvertMillisecondsToNanoseconds(int milliseconds) => milliseconds * Unit;
[Test]
[Category("P1")]
{
[TestFixture]
[Description("Tizen.Multimedia.PlayerBufferingTime tests")]
- public static class PlayerBufferingTimeTests
+ public class PlayerBufferingTimeTests
{
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void PlayerBufferingTime_CHECK_RETURN()
+ public void PlayerBufferingTime_CHECK_RETURN()
{
Assert.DoesNotThrow(() => new PlayerBufferingTime(0, 0));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void PreBufferMillisecond_READ_WRITE()
+ public void PreBufferMillisecond_READ_WRITE()
{
AssertHelper.PropertyReadWrite<PlayerBufferingTime>(nameof(PlayerBufferingTime.PreBufferMillisecond));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void ReBufferMillisecond_READ_WRITE()
+ public void ReBufferMillisecond_READ_WRITE()
{
AssertHelper.PropertyReadWrite<PlayerBufferingTime>(nameof(PlayerBufferingTime.ReBufferMillisecond));
}
[TestFixture]
[Description("Tizen.Multimedia.PlayerDisplaySettings tests")]
- public static class PlayerDisplaySettingsTests
+ public class PlayerDisplaySettingsTests
{
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void IsVisible_READWRITE()
+ public void IsVisible_READWRITE()
{
AssertHelper.PropertyReadWrite<PlayerDisplaySettings>(nameof(PlayerDisplaySettings.IsVisible));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Mode_READWRITE()
+ public void Mode_READWRITE()
{
AssertHelper.PropertyReadWrite<PlayerDisplaySettings>(nameof(PlayerDisplaySettings.Mode));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Rotation_READWRITE()
+ public void Rotation_READWRITE()
{
AssertHelper.PropertyReadWrite<PlayerDisplaySettings>(nameof(PlayerDisplaySettings.Rotation));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void SetRoi_CHECK()
+ public void SetRoi_CHECK()
{
var player = new Player();
player.DisplaySettings.Mode = PlayerDisplayMode.Roi;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Haesu Gwon, haesu.gwon@samsung.com")]
- public static void SetRoi_First_CHECK()
+ public void SetRoi_First_CHECK()
{
var player = new Player();
player.DisplaySettings.SetRoi(new Rectangle(0, 0, 100, 100));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void SetRoi_THROWS_IF_RECT_INVALID()
+ public void SetRoi_THROWS_IF_RECT_INVALID()
{
var player = new Player();
player.DisplaySettings.Mode = PlayerDisplayMode.Roi;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void PlayerDisplaySettings_CHECK()
+ public void PlayerDisplaySettings_CHECK()
{
var player = new Player();
Assert.That(() => new TestPlayerDisplaySettings(player), Throws.Nothing);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Player_READONLY()
+ public void Player_READONLY()
{
var player = new Player();
Assert.That(() => new TestPlayerDisplaySettings(player).Player, Is.SameAs(player));
[TestFixture]
[Description("Tizen.Multimedia.PlayerErrorOccurredEventArgs Tests")]
- public static class PlayerErrorOccurredEventArgsTests
+ public class PlayerErrorOccurredEventArgsTests
{
public const string LogTag = "TizenTest.Multimedia.Player";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void PlayerErrorOccurredEventArgs_CHECK()
+ public void PlayerErrorOccurredEventArgs_CHECK()
{
Log.Info(LogTag, "[Enter] PlayerErrorOccurredEventArgsTests");
Assert.DoesNotThrow(() =>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Error_CHECK()
+ public void Error_CHECK()
{
Log.Info(LogTag, "[Enter] PlayerErrorOccurredEventArgsTests");
const PlayerError error = PlayerError.ConnectionFailed;
[TestFixture]
[Description("Tizen.Multimedia.ResourceLimitException Tests")]
- public static class ResourceLimitExceptionTests
+ public class ResourceLimitExceptionTests
{
[Test]
[Category("P1")]
[Property("SPEC", "Tizen.Multimedia.ResourceLimitException.ResourceLimitException C")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
- public static void ResourceLimitException_CHECK()
+ public void ResourceLimitException_CHECK()
{
Assert.DoesNotThrow(() => new ResourceLimitException("message"));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void ScaleRectangle_CHECK_RETURN()
+ public void ScaleRectangle_CHECK_RETURN()
{
Assert.DoesNotThrow(() => new ScaleRectangle(0, 0, 1, 1));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void ScaleX_READ_WRITE()
+ public void ScaleX_READ_WRITE()
{
AssertHelper.PropertyReadWrite<ScaleRectangle>(nameof(ScaleRectangle.ScaleX));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void ScaleY_READ_WRITE()
+ public void ScaleY_READ_WRITE()
{
AssertHelper.PropertyReadWrite<ScaleRectangle>(nameof(ScaleRectangle.ScaleY));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void ScaleWidth_READ_WRITE()
+ public void ScaleWidth_READ_WRITE()
{
AssertHelper.PropertyReadWrite<ScaleRectangle>(nameof(ScaleRectangle.ScaleWidth));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void ScaleHeight_READ_WRITE()
+ public void ScaleHeight_READ_WRITE()
{
AssertHelper.PropertyReadWrite<ScaleRectangle>(nameof(ScaleRectangle.ScaleHeight));
}
}
}
- private static class DefaultValues
+ private class DefaultValues
{
public const float Yaw = 0.0f;
public const float Pitch = 0.0f;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void GetDirectionOfView_DEFAULT()
+ public void GetDirectionOfView_DEFAULT()
{
var player = new Player();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void SetDirectionOfView_CHECK()
+ public void SetDirectionOfView_CHECK()
{
var player = new Player();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void SetDirectionOfView_OUT_OF_RANGE()
+ public void SetDirectionOfView_OUT_OF_RANGE()
{
var player = new Player();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void GetZoom_DEFAULT()
+ public void GetZoom_DEFAULT()
{
var player = new Player();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void SetZoom_CHECK()
+ public void SetZoom_CHECK()
{
var player = new Player();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void SetZoom_OUT_OF_RANGE()
+ public void SetZoom_OUT_OF_RANGE()
{
var player = new Player();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void GetFieldOfView_DEFAULT()
+ public void GetFieldOfView_DEFAULT()
{
var player = new Player();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void SetFieldOfView_CHECK()
+ public void SetFieldOfView_CHECK()
{
var player = new Player();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void SetFieldOfView_OUT_OF_RANGE()
+ public void SetFieldOfView_OUT_OF_RANGE()
{
var player = new Player();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void SetZoomWithFieldOfView_CHECK()
+ public void SetZoomWithFieldOfView_CHECK()
{
var player = new Player();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void SetZoomWithFieldOfView_OUT_OF_RANGE()
+ public void SetZoomWithFieldOfView_OUT_OF_RANGE()
{
var player = new Player();
[Description("Tizen.Multimedia.StreamInfo tests")]
public class StreamInfoAudioTests : TestBase
{
- private static class ExpectedValues
+ private class ExpectedValues
{
public const string Codec = "MPEG-1 Layer 3 (MP3)";
public const int Duration = 33380;
[Description("Tizen.Multimedia.StreamInfo tests")]
public class StreamInfoVideoTests : TestBase
{
- private static class ExpectedValues
+ private class ExpectedValues
{
public const string CodecName = "MPEG-4 Video (Simple Profile) (MPEG4)";
public const int BitRate = 961168;
[TestFixture]
[Description("Tizen.Multimedia.SubtitleUpdatedEventArgs Tests")]
- public static class SubtitleUpdatedEventArgsTests
+ public class SubtitleUpdatedEventArgsTests
{
public const string LogTag = "TizenTest.Multimedia.Player";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Duration_READONLY()
+ public void Duration_READONLY()
{
Log.Info(LogTag, "[Enter] SubtitleUpdatedEventArgsTests");
AssertHelper.PropertyReadOnly<SubtitleUpdatedEventArgs>(nameof(SubtitleUpdatedEventArgs.Duration));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Text_CHECK()
+ public void Text_CHECK()
{
Log.Info(LogTag, "[Enter] SubtitleUpdatedEventArgsTests");
AssertHelper.PropertyReadOnly<SubtitleUpdatedEventArgs>(nameof(SubtitleUpdatedEventArgs.Text));
{
[TestFixture]
[Description("Tizen.Multimedia.VariantInfo tests")]
- public static class VariantInfoTests
+ public class VariantInfoTests
{
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void VariantInfo_DEFAULT()
+ public void VariantInfo_DEFAULT()
{
VariantInfo vi = new VariantInfo(0);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void VariantInfo_INIT()
+ public void VariantInfo_INIT()
{
Assert.DoesNotThrow(() => new VariantInfo(0, 0, 0));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void Bandwidth_READ_WRITE()
+ public void Bandwidth_READ_WRITE()
{
AssertHelper.PropertyReadWrite<VariantInfo>(nameof(VariantInfo.Bandwidth));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void Width_READ_WRITE()
+ public void Width_READ_WRITE()
{
AssertHelper.PropertyReadWrite<VariantInfo>(nameof(VariantInfo.Width));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jeongyoon Nam, just.nam@samsung.com")]
- public static void Height_READ_WRITE()
+ public void Height_READ_WRITE()
{
AssertHelper.PropertyReadWrite<VariantInfo>(nameof(VariantInfo.Height));
}
[TestFixture]
[Description("Tizen.Multimedia.VideoFrameDecodedEventArgs Tests")]
- public static class VideoFrameDecodedEventArgsTests
+ public class VideoFrameDecodedEventArgsTests
{
public const string LogTag = "TizenTest.Multimedia.Player";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Packet_READONLY()
+ public void Packet_READONLY()
{
Log.Info(LogTag, "[Enter] VideoFrameDecodedEventArgsTests");
AssertHelper.PropertyReadOnly<VideoFrameDecodedEventArgs>(
[TestFixture]
[Description("Tizen.Multimedia.VideoStreamChangedEventArgs Tests")]
- public static class VideoStreamChangedEventArgsTests
+ public class VideoStreamChangedEventArgsTests
{
public const string LogTag = "TizenTest.Multimedia.Player";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Size_READONLY()
+ public void Size_READONLY()
{
Log.Info(LogTag, "[Enter] VideoStreamChangedEventArgsTests");
AssertHelper.PropertyReadOnly<VideoStreamChangedEventArgs>(nameof(VideoStreamChangedEventArgs.Size));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Fps_READONLY()
+ public void Fps_READONLY()
{
Log.Info(LogTag, "[Enter] VideoStreamChangedEventArgsTests");
AssertHelper.PropertyReadOnly<VideoStreamChangedEventArgs>(nameof(VideoStreamChangedEventArgs.Fps));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void BitRate_READONLY()
+ public void BitRate_READONLY()
{
Log.Info(LogTag, "[Enter] VideoStreamChangedEventArgsTests");
AssertHelper.PropertyReadOnly<VideoStreamChangedEventArgs>(nameof(VideoStreamChangedEventArgs.Fps));
[TestFixture]
[Description("Tizen.Multimedia.VideoStreamProperties tests")]
- public static class VideoStreamPropertiesTests
+ public class VideoStreamPropertiesTests
{
public const string LogTag = "TizenTest.Multimedia.Player";
[Property("CRITERIA", "CONSTR")]
[Property("COVPARAM", "int, int, Size")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void VideoStreamProperties_CHECK()
+ public void VideoStreamProperties_CHECK()
{
Log.Info(LogTag, "[Enter] VideoStreamPropertiesTests");
Assert.DoesNotThrow(() => new VideoStreamProperties(0, 0, new Size(0, 0)));
[Property("CRITERIA", "CONSTR")]
[Property("COVPARAM", "int, int, int, int")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void VideoStreamProperties_CHECK_WITH_INTEGERS()
+ public void VideoStreamProperties_CHECK_WITH_INTEGERS()
{
Assert.DoesNotThrow(() => new VideoStreamProperties(0, 0, 0, 0));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Fps_READ_WRITE()
+ public void Fps_READ_WRITE()
{
Log.Info(LogTag, "[Enter] VideoStreamPropertiesTests");
AssertHelper.PropertyReadWrite<VideoStreamProperties>(nameof(VideoStreamProperties.Fps));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Size_READ_WRITE()
+ public void Size_READ_WRITE()
{
Log.Info(LogTag, "[Enter] VideoStreamPropertiesTests");
AssertHelper.PropertyReadWrite<VideoStreamProperties>(nameof(VideoStreamProperties.Size));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void BitRate_READ_WRITE()
+ public void BitRate_READ_WRITE()
{
Log.Info(LogTag, "[Enter] VideoStreamPropertiesTests");
AssertHelper.PropertyReadWrite<VideoStreamProperties>(nameof(VideoStreamProperties.BitRate));
[Description("Tizen.Multimedia.Vision.BarcodeGenerator manual test class")]
public class BarcodeGeneratorTests
{
- private static Image _image;
- private static Label _label;
- private static ImageSource _imageSource;
- private static TestPage _testPage = TestPage.GetInstance();
+ private Image _image;
+ private Label _label;
+ private ImageSource _imageSource;
+ private TestPage _testPage = TestPage.GetInstance();
- public static bool isBarcodeGenerateSupported = false;
+ public bool isBarcodeGenerateSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/vision.barcode_generation", out isBarcodeGenerateSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
/*-------supporting functions------*/
/*Drawing an UI*/
- private static void CreateImage(string imagepath, bool isSupported)
+ private void CreateImage(string imagepath, bool isSupported)
{
_image = new Image()
{
[Step(2, "If you see image, press back button then press pass.")]
[Step(3, "If the API is not supported, result will be automatically updated.")]
[Postcondition(1, "NA")]
- public static async Task GenerateImage_CHECK_IMAGE()
+ public async Task GenerateImage_CHECK_IMAGE()
{
string mediapath = "/opt/usr/home/owner/apps_rw/Tizen.MediaVision.Manual.Tests/shared/trusted/";
string path = mediapath + "sample-barcode";
[Step(2, "If you see image, press back button then press pass.")]
[Step(3, "If the API is not supported, result will be automatically updated.")]
[Postcondition(1, "NA")]
- public static async Task GenerateImage_With_BarcodeGenerationConfiguration_CHECK_IMAGE()
+ public async Task GenerateImage_With_BarcodeGenerationConfiguration_CHECK_IMAGE()
{
string mediapath = "/opt/usr/home/owner/apps_rw/Tizen.MediaVision.Manual.Tests/shared/trusted/";
string path = mediapath + "sample-barcode";
[Step(2, "If you see image, press back button then press pass.")]
[Step(3, "If the API is not supported, result will be automatically updated.")]
[Postcondition(1, "NA")]
- public static async Task GenerateImage_Barcode1D_CHECK_IMAGE()
+ public async Task GenerateImage_Barcode1D_CHECK_IMAGE()
{
string mediapath = "/opt/usr/home/owner/apps_rw/Tizen.MediaVision.Manual.Tests/shared/trusted/";
string path = mediapath + "sample-barcode";
[Step(2, "If you see image, press back button then press pass.")]
[Step(3, "If the API is not supported, result will be automatically updated.")]
[Postcondition(1, "NA")]
- public static async Task GenerateImage_Barcode1D_With_BarcodeGenerationConfiguration_CHECK_IMAGE()
+ public async Task GenerateImage_Barcode1D_With_BarcodeGenerationConfiguration_CHECK_IMAGE()
{
string mediapath = "/opt/usr/home/owner/apps_rw/Tizen.MediaVision.Manual.Tests/shared/trusted/";
string path = mediapath + "sample-barcode";
{
private const string _message = "0123455";
private const BarcodeType _barcodeType = BarcodeType.QR;
- private static Barcode _barcode = null;
+ private Barcode _barcode = null;
- private static Quadrangle _region = new Quadrangle(
+ private Quadrangle _region = new Quadrangle(
new Point[4] {
new Point(2, 2),
new Point(2, 202),
);
[SetUp]
- public static void Init()
+ public void Init()
{
_barcode = new Barcode(_region, _message, _barcodeType);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Barcode_INIT()
+ public void Barcode_INIT()
{
Assert.IsInstanceOf<Barcode>(_barcode, "Should be of type Barcode");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Region_READ_ONLY()
+ public void Region_READ_ONLY()
{
Assert.AreEqual(_region, _barcode.Region, "Return value should be {0}", _region.ToString());
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Message_READ_ONLY()
+ public void Message_READ_ONLY()
{
Assert.AreEqual(_message, _barcode.Message, "Message value should be {0}", _message);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Type_READ_ONLY()
+ public void Type_READ_ONLY()
{
Assert.AreEqual(_barcodeType, _barcode.Type, "Type should be {0}", _barcodeType);
}
[Description("Tizen.Multimedia.Vision.BarcodeDetectionConfiguration test class")]
public class BarcodeDetectionConfigurationTests
{
- private static BarcodeDetectionConfiguration _config = null;
+ private BarcodeDetectionConfiguration _config = null;
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void BarcodeDetectionConfiguration_INIT()
+ public void BarcodeDetectionConfiguration_INIT()
{
Assert.IsInstanceOf<BarcodeDetectionConfiguration>(_config, "Should be of type BarcodeDetectionConfiguration");
Assert.IsNotNull(_config, "BarcodeDetectionConfiguration should not be null after calling constructor.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Target_SET_GET_ENUM_ALL()
+ public void Target_SET_GET_ENUM_ALL()
{
_config.Target = BarcodeDetectionTarget.All;
Assert.AreEqual(_config.Target, BarcodeDetectionTarget.All, "BarcodeDetectionTarget value should be All");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Target_SET_GET_ENUM_BARCODE1D()
+ public void Target_SET_GET_ENUM_BARCODE1D()
{
_config.Target = BarcodeDetectionTarget.Barcode1D;
Assert.AreEqual(_config.Target, BarcodeDetectionTarget.Barcode1D, "BarcodeDetectionTarget value should be Barcode1D");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Target_SET_GET_ENUM_BARCODE2D()
+ public void Target_SET_GET_ENUM_BARCODE2D()
{
_config.Target = BarcodeDetectionTarget.Barcode2D;
Assert.AreEqual(_config.Target, BarcodeDetectionTarget.Barcode2D, "BarcodeDetectionTarget value should be Barcode1D");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Target_CHECK_ARGUMENT_EXCEPTION()
+ public void Target_CHECK_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentException>(() => _config.Target = BarcodeDetectionTarget.Barcode2D + 1);
}
[Description("Tizen.Multimedia.Vision.BarcodeDetector test class")]
public class BarcodeDetectorTests
{
- private static BarcodeDetectionConfiguration _config = null;
+ private BarcodeDetectionConfiguration _config = null;
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, Rectangle")]
- public static async Task DetectAsync_CHECK_RETURN_VALUE()
+ public async Task DetectAsync_CHECK_RETURN_VALUE()
{
using (MediaVisionSource source = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "barcode/barcode.jpg"))
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, Rectangle, BarcodeDetectionConfiguration")]
- public static async Task DetectAsync_with_Configuration_CHECK_RETURN_VALUE()
+ public async Task DetectAsync_with_Configuration_CHECK_RETURN_VALUE()
{
using (MediaVisionSource source = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "barcode/barcode.jpg"))
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, Rectangle")]
- public static async Task DetectAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task DetectAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
{
var roi = new Rectangle(new Point(0, 0), new Size(300, 300));
await AssertHelper.ThrowsAsync<ArgumentNullException>(() => BarcodeDetector.DetectAsync(null, roi));
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, Rectangle, BarcodeDetectionConfiguration")]
- public static async Task DetectAsync_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task DetectAsync_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
_config.Target = BarcodeDetectionTarget.All;
var roi = new Rectangle(new Point(0, 0), new Size(300, 300));
[Description("Tizen.Multimedia.Vision.BarcodeGenerationConfiguration test class")]
public class BarcodeGenerationConfigurationTests
{
- private static BarcodeGenerationConfiguration _config = null;
+ private BarcodeGenerationConfiguration _config = null;
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void BarcodeGenerationConfiguration_INIT()
+ public void BarcodeGenerationConfiguration_INIT()
{
Assert.IsInstanceOf<BarcodeGenerationConfiguration>(_config, "Should be of type BarcodeGenerationConfiguration");
Assert.IsNotNull(_config, "BarcodeGenerationConfiguration should not be null after calling constructor.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void TextVisibility_SET_GET_ENUM_INVISIBLE()
+ public void TextVisibility_SET_GET_ENUM_INVISIBLE()
{
_config.TextVisibility = Visibility.Invisible;
Assert.AreEqual(_config.TextVisibility, Visibility.Invisible, "TextVisibility value should be Invisible");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void TextVisibility_CHECK_ARGUMENT_EXCEPTION()
+ public void TextVisibility_CHECK_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentException>(() => _config.TextVisibility = Visibility.Visible + 1);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void TextVisibility_SET_GET_ENUM_VISIBLE()
+ public void TextVisibility_SET_GET_ENUM_VISIBLE()
{
_config.TextVisibility = Visibility.Visible;
Assert.AreEqual(_config.TextVisibility, Visibility.Visible, "TextAttribute value should be Visible");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void ForegroundColor_READ_WRITE()
+ public void ForegroundColor_READ_WRITE()
{
_config.ForegroundColor = Color.Black;
Assert.AreEqual(_config.ForegroundColor, Color.Black, "Foreground should be Black");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void BackgroundColor_READ_WRITE()
+ public void BackgroundColor_READ_WRITE()
{
_config.BackgroundColor = Color.White;
Assert.AreEqual(_config.BackgroundColor, Color.White, "BackgroundColor should be White");
[Description("Tizen.Multimedia.Vision.BarcodeGenerator test class")]
public class BarcodeGeneratorTests
{
- private static BarcodeGenerationConfiguration _config = null;
+ private BarcodeGenerationConfiguration _config = null;
private const string _mediaPath = "/opt/usr/home/owner/apps_rw/Tizen.MediaVision.Manual.Tests/shared/trusted/sample-barcode";
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "String, QrConfiguration")]
- public static void GenerateSource_QRCode_CHECK_RETURN_VALUE()
+ public void GenerateSource_QRCode_CHECK_RETURN_VALUE()
{
var qrConfig = new QrConfiguration(QrMode.Numeric, ErrorCorrectionLevel.Medium, 30);
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "String, QrConfiguration")]
- public static void GenerateSource_QRCode_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void GenerateSource_QRCode_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => BarcodeGenerator.GenerateSource("0123455", null));
}
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "String, QrConfiguration")]
- public static void GenerateSource_QRCode_CHECK_ARGUMENT_EXCEPTION()
+ public void GenerateSource_QRCode_CHECK_ARGUMENT_EXCEPTION()
{
var qrConfig = new QrConfiguration(QrMode.Numeric, ErrorCorrectionLevel.Medium, 20);
Assert.Throws<ArgumentException>(() => BarcodeGenerator.GenerateSource("abcdef", qrConfig));
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "String, QrConfiguration, BarcodeGenerationConfiguration")]
- public static void GenerateSource_QRCode_with_Configuration_CHECk_RETURN_VALUE()
+ public void GenerateSource_QRCode_with_Configuration_CHECk_RETURN_VALUE()
{
_config.TextVisibility = Visibility.Invisible;
_config.ForegroundColor = Color.Black;
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "String, QrConfiguration, BarcodeGenerationConfiguration")]
- public static void GenerateSource_QRCode_with_Configuration_CHECK_NULL_ARGUMENT_EXEPTION()
+ public void GenerateSource_QRCode_with_Configuration_CHECK_NULL_ARGUMENT_EXEPTION()
{
_config.TextVisibility = Visibility.Invisible;
_config.ForegroundColor = Color.Black;
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "String, QrConfiguration, BarcodeGenerationConfiguration")]
- public static void GenerateSource_QRCode_with_Configuration_CHECK_ARGUMENT_EXEPTION()
+ public void GenerateSource_QRCode_with_Configuration_CHECK_ARGUMENT_EXEPTION()
{
_config.TextVisibility = Visibility.Invisible;
_config.ForegroundColor = Color.Black;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "String, BarcodeType")]
- public static void GenerateSource_Barcode1D_CHECK_RETURN_VALUE()
+ public void GenerateSource_Barcode1D_CHECK_RETURN_VALUE()
{
using (var source = BarcodeGenerator.GenerateSource("0123455", BarcodeType.Code128))
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "String, BarcodeType")]
- public static void GenerateSource_Barcode1D_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void GenerateSource_Barcode1D_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => BarcodeGenerator.GenerateSource(null, BarcodeType.Code128));
}
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "String, BarcodeType")]
- public static void GenerateSource_Barcode1D_CHECK_ARGUMENT_EXCEPTION()
+ public void GenerateSource_Barcode1D_CHECK_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentException>(() => BarcodeGenerator.GenerateSource("0123455", BarcodeType.QR));
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "String, BarcodeType, BarcodeGenerationConfiguration")]
- public static void GenerateSource_Barcode1D_with_Configuration_CHECK_RETURN_VALUE()
+ public void GenerateSource_Barcode1D_with_Configuration_CHECK_RETURN_VALUE()
{
_config.TextVisibility = Visibility.Invisible;
_config.ForegroundColor = Color.Black;
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "String, BarcodeType, BarcodeGenerationConfiguration")]
- public static void GenerateSource_Barcode1D_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void GenerateSource_Barcode1D_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
_config.TextVisibility = Visibility.Invisible;
_config.ForegroundColor = Color.Black;
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "String, BarcodeType, BarcodeGenerationConfiguration")]
- public static void GenerateSource_Barcode1D_with_Configuration_CHECK_ARGUMENT_EXCEPTION()
+ public void GenerateSource_Barcode1D_with_Configuration_CHECK_ARGUMENT_EXCEPTION()
{
_config.TextVisibility = Visibility.Invisible;
_config.ForegroundColor = Color.Black;
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string, QrConfiguration, BarcodeImageConfiguration")]
- public static void GenerateImage_QRCode_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void GenerateImage_QRCode_CHECK_NULL_ARGUMENT_EXCEPTION()
{
var imageConfig = new BarcodeImageConfiguration(500, 400, _mediaPath, BarcodeImageFormat.Jpeg);
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string, QrConfiguration, BarcodeImageConfiguration")]
- public static void GenerateImage_QRCode_CHECK_ARGUMENT_EXCEPTION()
+ public void GenerateImage_QRCode_CHECK_ARGUMENT_EXCEPTION()
{
var imageConfig = new BarcodeImageConfiguration(500, 400, _mediaPath, BarcodeImageFormat.Jpeg);
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string, QrConfiguration, BarcodeImageConfiguration, BarcodeGenerationConfiguration")]
- public static void GenerateImage_QRCode_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void GenerateImage_QRCode_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
_config.TextVisibility = Visibility.Invisible;
_config.ForegroundColor = Color.Black;
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string, QrConfiguration, BarcodeImageConfiguration, BarcodeGenerationConfiguration")]
- public static void GenerateImage_QRCode_with_Configuration_CHECK_ARGUMENT_EXCEPTION()
+ public void GenerateImage_QRCode_with_Configuration_CHECK_ARGUMENT_EXCEPTION()
{
_config.TextVisibility = Visibility.Invisible;
_config.ForegroundColor = Color.Black;
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string, BarcodeType, BarcodeImageConfiguration")]
- public static void GenerateImage_Barcode1D_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void GenerateImage_Barcode1D_CHECK_NULL_ARGUMENT_EXCEPTION()
{
var imageConfig = new BarcodeImageConfiguration(300, 100, _mediaPath, BarcodeImageFormat.Jpeg);
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string, BarcodeType, BarcodeImageConfiguration")]
- public static void GenerateImage_Barcode1D_CHECK_ARGUMENT_EXCEPTION()
+ public void GenerateImage_Barcode1D_CHECK_ARGUMENT_EXCEPTION()
{
var imageConfig = new BarcodeImageConfiguration(300, 100, _mediaPath, BarcodeImageFormat.Jpeg);
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string, type, BarcodeImageConfiguration, BarcodeGenerationConfiguration")]
- public static void GenerateImage_Barcode1D_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void GenerateImage_Barcode1D_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
_config.TextVisibility = Visibility.Visible;
_config.ForegroundColor = Color.Black;
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string, type, BarcodeImageConfiguration, BarcodeGenerationConfiguration")]
- public static void GenerateImage_Barcode1D_with_Configuration_CHECK_ARGUMENT_EXCEPTION()
+ public void GenerateImage_Barcode1D_with_Configuration_CHECK_ARGUMENT_EXCEPTION()
{
_config.TextVisibility = Visibility.Visible;
_config.ForegroundColor = Color.Black;
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "int, int, String, BarcodeImageFormat")]
- public static void BarcodeImageConfiguration_Width_Height_INIT()
+ public void BarcodeImageConfiguration_Width_Height_INIT()
{
var obj = new BarcodeImageConfiguration(500, 400, _mediaPath, BarcodeImageFormat.Jpeg);
Assert.IsInstanceOf<BarcodeImageConfiguration>(obj, "Should be of type BarcodeImageConfiguration");
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "int, int, String, BarcodeImageFormat")]
- public static void BarcodeImageConfiguration_Width_Height_INIT_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void BarcodeImageConfiguration_Width_Height_INIT_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(
() => new BarcodeImageConfiguration(500, 400, null, BarcodeImageFormat.Jpeg));
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "int, int, String, BarcodeImageFormat")]
- public static void BarcodeImageConfiguration_Width_Height_INIT_CHECK_OutOfRange_EXCEPTION()
+ public void BarcodeImageConfiguration_Width_Height_INIT_CHECK_OutOfRange_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(
() => new BarcodeImageConfiguration(0, 0, _mediaPath, BarcodeImageFormat.Jpeg));
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "Size, String, BarcodeImageFormat")]
- public static void BarcodeImageConfiguration_Size_INIT()
+ public void BarcodeImageConfiguration_Size_INIT()
{
var obj = new BarcodeImageConfiguration(new Size(500, 400), _mediaPath, BarcodeImageFormat.Jpeg);
Assert.IsInstanceOf<BarcodeImageConfiguration>(obj, "Should be of type BarcodeImageConfiguration");
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "Size, String, BarcodeImageFormat")]
- public static void BarcodeImageConfiguration_Size_INIT_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void BarcodeImageConfiguration_Size_INIT_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(
() => new BarcodeImageConfiguration(new Size(500, 400), null, BarcodeImageFormat.Jpeg));
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "Size, String, BarcodeImageFormat")]
- public static void BarcodeImageConfiguration_Size_INIT_CHECK_OutOfRange_EXCEPTION()
+ public void BarcodeImageConfiguration_Size_INIT_CHECK_OutOfRange_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(
() => new BarcodeImageConfiguration(new Size(-1, -1), _mediaPath, BarcodeImageFormat.Jpeg));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Width_READ_ONLY()
+ public void Width_READ_ONLY()
{
var obj = new BarcodeImageConfiguration(500, 400, _mediaPath, BarcodeImageFormat.Jpeg);
Assert.AreEqual(obj.Width, 500, "Width is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Height_READ_ONLY()
+ public void Height_READ_ONLY()
{
var obj = new BarcodeImageConfiguration(500, 400, _mediaPath, BarcodeImageFormat.Jpeg);
Assert.AreEqual(obj.Height, 400, "Height is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Size_READ_ONLY()
+ public void Size_READ_ONLY()
{
var size = new Size(500, 400);
var obj = new BarcodeImageConfiguration(size, _mediaPath, BarcodeImageFormat.Jpeg);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Path_READ_ONLY()
+ public void Path_READ_ONLY()
{
var obj = new BarcodeImageConfiguration(500, 400, _mediaPath, BarcodeImageFormat.Jpeg);
Assert.AreEqual(obj.Path, _mediaPath, "Path is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Format_GET_ENUM_BARCODEIMAGEFORMAT_BMP()
+ public void Format_GET_ENUM_BARCODEIMAGEFORMAT_BMP()
{
var obj = new BarcodeImageConfiguration(500, 400, _mediaPath, BarcodeImageFormat.Bmp);
Assert.AreEqual(obj.Format, BarcodeImageFormat.Bmp, "Format should be Bmp");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Format_GET_ENUM_BARCODEIMAGEFORMAT_JPG()
+ public void Format_GET_ENUM_BARCODEIMAGEFORMAT_JPG()
{
var obj = new BarcodeImageConfiguration(500, 400, _mediaPath, BarcodeImageFormat.Jpeg);
Assert.AreEqual(obj.Format, BarcodeImageFormat.Jpeg, "Format should be JPG");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Format_GET_ENUM_BARCODEIMAGEFORMAT_PNG()
+ public void Format_GET_ENUM_BARCODEIMAGEFORMAT_PNG()
{
var obj = new BarcodeImageConfiguration(500, 400, _mediaPath, BarcodeImageFormat.Png);
Assert.AreEqual(obj.Format, BarcodeImageFormat.Png, "Format should be PNG");
[Description("Tizen.Multimedia.Vision.FaceDetectionConfiguration test class")]
public class FaceDetectionConfigurationTests
{
- private static FaceDetectionConfiguration _config = null;
+ private FaceDetectionConfiguration _config = null;
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void FaceDetectionConfiguration_INIT()
+ public void FaceDetectionConfiguration_INIT()
{
Assert.IsInstanceOf<FaceDetectionConfiguration>(_config, "Should be of type FaceDetectionConfiguration");
Assert.IsNotNull(_config, "FaceDetectionConfiguration should not be null after calling constructor.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void ModelFilePath_READ_WRITE()
+ public void ModelFilePath_READ_WRITE()
{
string path = TestHelper.ResourcePath + "haarcascade_frontalface_alt.xml";
_config.ModelFilePath = path;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void ModelFilePath_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void ModelFilePath_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => _config.ModelFilePath = null);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void MinHeight_CHECK_DEFAULT_VALUE()
+ public void MinHeight_CHECK_DEFAULT_VALUE()
{
Assert.IsNull(_config.MinHeight, "Default value of minimum height should be null");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void MinHeight_READ_WRITE()
+ public void MinHeight_READ_WRITE()
{
_config.MinHeight = 10;
Assert.AreEqual(_config.MinHeight, 10, "MinHeight should be 10");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void MinHeight_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void MinHeight_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(() => _config.MinHeight = -1);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void MinWidth_CHECK_DEFAULT_VALUE()
+ public void MinWidth_CHECK_DEFAULT_VALUE()
{
Assert.IsNull(_config.MinHeight, "Default value of minimum width should be null");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void MinWidth_READ_WRITE()
+ public void MinWidth_READ_WRITE()
{
_config.MinWidth = 10;
Assert.AreEqual(_config.MinWidth, 10, "MinWidth should be 10");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void MinWidth_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void MinWidth_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(() => _config.MinWidth = -1);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Roi_CHECK_DEFAULT_VALUE()
+ public void Roi_CHECK_DEFAULT_VALUE()
{
Assert.IsNull(_config.Roi, "Default value of Roi should be null");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Roi_READ_WRITE()
+ public void Roi_READ_WRITE()
{
Rectangle roi = new Rectangle(10, 10, 20, 30);
_config.Roi = roi;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Roi_CHECK_OutOfRange_EXCEPTION()
+ public void Roi_CHECK_OutOfRange_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(() => _config.Roi = new Rectangle(-1, -1, -1, -1));
}
[Description("Tizen.Multimedia.Vision.FaceDetector test class")]
public class FaceDetectorTests
{
- private static FaceDetectionConfiguration _config = null;
+ private FaceDetectionConfiguration _config = null;
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource")]
- public static async Task DetectAsync_CHECK_RETURN_VALUE()
+ public async Task DetectAsync_CHECK_RETURN_VALUE()
{
var frame = await TestHelper.GetBitampFrameFromImage(TestHelper.ResourcePath + "face_detect/sample_face_det.jpg");
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, FaceDetectionConfiguration")]
- public static async Task DetectAsync_with_Roi_CHECK_RETURN_VALUE()
+ public async Task DetectAsync_with_Roi_CHECK_RETURN_VALUE()
{
var frame = await TestHelper.GetBitampFrameFromImage(TestHelper.ResourcePath + "face_detect/sample_face_det.jpg");
if (frame.Buffer == null || frame.Buffer.Length == 0)
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource")]
- public static async Task DetectAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task DetectAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
{
await AssertHelper.ThrowsAsync<ArgumentNullException>(() => FaceDetector.DetectAsync(null));
}
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, FaceDetectionConfiguration")]
- public static async Task DetectAsync_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task DetectAsync_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
_config.MinHeight = 10;
_config.MinWidth = 10;
[Description("Tizen.Multimedia.Vision.FaceRecognitionConfiguration test class")]
public class FaceRecognitionConfigurationTests
{
- private static FaceRecognitionConfiguration _config = null;
+ private FaceRecognitionConfiguration _config = null;
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void FaceRecognitionConfiguration_INIT()
+ public void FaceRecognitionConfiguration_INIT()
{
Assert.IsInstanceOf<FaceRecognitionConfiguration>(_config, "Should be of type FaceRecognitionConfiguration");
Assert.IsNotNull(_config, "FaceRecognitionConfiguration should not be null after calling constructor.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void ModelType_CHECK_DEFAULT_VALUE()
+ public void ModelType_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.ModelType, FaceRecognitionModelType.Lbph, "Default ModelType value should be LBPH");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void ModelType_SET_GET_ENUM_EIGENFACES()
+ public void ModelType_SET_GET_ENUM_EIGENFACES()
{
_config.ModelType = FaceRecognitionModelType.EigenFaces;
Assert.AreEqual(_config.ModelType, FaceRecognitionModelType.EigenFaces, "ModelType should be EigenFaces");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void ModelType_SET_GET_ENUM_FISHERFACES()
+ public void ModelType_SET_GET_ENUM_FISHERFACES()
{
_config.ModelType = FaceRecognitionModelType.FisherFaces;
Assert.AreEqual(_config.ModelType, FaceRecognitionModelType.FisherFaces, "ModelType should be FisherFaces");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void ModelType_SET_GET_ENUM_FACERECOGNITIONMODELTYPE_LBPH()
+ public void ModelType_SET_GET_ENUM_FACERECOGNITIONMODELTYPE_LBPH()
{
_config.ModelType = FaceRecognitionModelType.Lbph;
Assert.AreEqual(_config.ModelType, FaceRecognitionModelType.Lbph, "ModelType should be LBPH");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void ModelType_CHECK_ARGUMENT_EXCEPTION()
+ public void ModelType_CHECK_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentException>(() => _config.ModelType = FaceRecognitionModelType.Lbph + 1);
}
[Description("Tizen.Multimedia.Vision.FaceRecognitionModel test class")]
public class FaceRecognitionModelTests
{
- private static FaceRecognitionModel _model = null;
- private static MediaVisionSource _source1 = null;
- private static MediaVisionSource _source2 = null;
+ private FaceRecognitionModel _model = null;
+ private MediaVisionSource _source1 = null;
+ private MediaVisionSource _source2 = null;
- private static async Task PrepareSourcesAsync()
+ private async Task PrepareSourcesAsync()
{
_source1 = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "face_recog/P1/00.jpg");
_source2 = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "face_recog/P1/00.jpg");
}
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_model?.Dispose();
_source1?.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void FaceRecognitionModel_INIT()
+ public void FaceRecognitionModel_INIT()
{
Assert.IsInstanceOf<FaceRecognitionModel>(_model, "Should be of type FaceRecognitionModel");
Assert.IsNotNull(_model, "FaceRecognitionModel should not be null after calling constructor.");
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string")]
- public static void FaceRecognitionModel_with_ModelPath_INIT()
+ public void FaceRecognitionModel_with_ModelPath_INIT()
{
using (var testModel = new FaceRecognitionModel(TestHelper.ResourcePath + "face_recog/face_recog_model_p1"))
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void FaceRecognitionModel_with_ModelPath_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void FaceRecognitionModel_with_ModelPath_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => new FaceRecognitionModel(null));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void FaceRecognitionModel_with_ModelPath_CHECK_FILE_NOT_FOUND_EXCEPTION()
+ public void FaceRecognitionModel_with_ModelPath_CHECK_FILE_NOT_FOUND_EXCEPTION()
{
Assert.Throws<FileNotFoundException>( () => new FaceRecognitionModel("/tmp/fake"));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Save_CHECK_RETURN_VALUE()
+ public void Save_CHECK_RETURN_VALUE()
{
string path = TestHelper.TrustedPath + "face_recognition_model_test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Save_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void Save_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => _model.Save(null));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static async Task Save_CHECK_UNAUTHORIZED_ACCESS_EXCEPTION()
+ public async Task Save_CHECK_UNAUTHORIZED_ACCESS_EXCEPTION()
{
string restrictedPath = TestHelper.ResourcePath + "face_recog/unauthorizedPath";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Save_CHECK_DIRECTORY_NOT_FOUND_EXCEPTIOn()
+ public void Save_CHECK_DIRECTORY_NOT_FOUND_EXCEPTIOn()
{
string fakePath = "/tmp/fake/fake_model";
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, int")]
- public static void Add_CHECK_RETURN_VALUE()
+ public void Add_CHECK_RETURN_VALUE()
{
_model.Add(_source1, 1);
_model.Add(_source2, 2);
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, int")]
- public static void Add_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void Add_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => _model.Add(null, 1));
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, int, Rectangle")]
- public static void Add_with_Roi_CHECK_RETURN_VALUE()
+ public void Add_with_Roi_CHECK_RETURN_VALUE()
{
/* Suppose that ROI is a whole image */
Rectangle roi = new Rectangle(new Point(0, 0), new Size((int)_source1.Width, (int)_source1.Height));
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, int, Rectangle")]
- public static void Add_with_Roi_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void Add_with_Roi_CHECK_NULL_ARGUMENT_EXCEPTION()
{
var roi = new Rectangle(new Point(0, 0), new Size(100, 100));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Reset_CHECK_RETURN_VALUE()
+ public void Reset_CHECK_RETURN_VALUE()
{
_model.Add(_source1, 1);
_model.Add(_source2, 2);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Remove_CHECK_RETURN_VALUE()
+ public void Remove_CHECK_RETURN_VALUE()
{
_model.Add(_source1, 1);
_model.Add(_source2, 2);
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "")]
- public static void Learn_CHECK_NO_EXCEPTION()
+ public void Learn_CHECK_NO_EXCEPTION()
{
_model.Add(_source1, 1);
_model.Add(_source2, 2);
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "")]
- public static void Learn_CHECK_INVALID_OPERATION_EXCEPTION()
+ public void Learn_CHECK_INVALID_OPERATION_EXCEPTION()
{
Assert.Throws<InvalidOperationException>(() => _model.Learn());
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "FaceRecognitionConfiguration")]
- public static void Learn_with_Configuration_CHECK_NO_EXCEPTION()
+ public void Learn_with_Configuration_CHECK_NO_EXCEPTION()
{
_model.Add(_source1, 1);
_model.Add(_source2, 2);
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "FaceRecognitionConfiguration")]
- public static void Learn_with_Configuration_CHECK_INVALID_OPERATION_EXCEPTION()
+ public void Learn_with_Configuration_CHECK_INVALID_OPERATION_EXCEPTION()
{
var engineConfig = new FaceRecognitionConfiguration
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Labels_READ_ONLY()
+ public void Labels_READ_ONLY()
{
/* Suppose that ROI is a whole image */
Rectangle roi = new Rectangle(new Point(0, 0), new Size((int)_source1.Width, (int)_source1.Height));
[Description("Tizen.Multimedia.Vision.FaceRecognitionResult test class")]
public class FaceRecognitionResultTests
{
- private static FaceRecognitionModel _model = null;
- private static MediaVisionSource _source = null;
+ private FaceRecognitionModel _model = null;
+ private MediaVisionSource _source = null;
- private static async Task PrepareModelAsync()
+ private async Task PrepareModelAsync()
{
await TestHelper.AddImagesToModel(_model, TestHelper.ResourcePath + "face_recog/P1/", 1);
await TestHelper.AddImagesToModel(_model, TestHelper.ResourcePath + "face_recog/P2/", 2);
}
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_model?.Dispose();
_source?.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static async Task Success_READ_ONLY()
+ public async Task Success_READ_ONLY()
{
var result = await FaceRecognizer.RecognizeAsync(_source, _model);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static async Task Label_READ_ONLY()
+ public async Task Label_READ_ONLY()
{
var result = await FaceRecognizer.RecognizeAsync(_source, _model);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static async Task Area_READ_ONLY()
+ public async Task Area_READ_ONLY()
{
var result = await FaceRecognizer.RecognizeAsync(_source, _model);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static async Task Confidence_READ_ONLY()
+ public async Task Confidence_READ_ONLY()
{
var result = await FaceRecognizer.RecognizeAsync(_source, _model);
[Description("Tizen.Multimedia.Vision.FaceRecognizer test class")]
public class FaceRecognizerTests
{
- private static FaceRecognitionModel _model = null;
- private static FaceRecognitionConfiguration _engineConfig = null;
- private static MediaVisionSource _source = null;
+ private FaceRecognitionModel _model = null;
+ private FaceRecognitionConfiguration _engineConfig = null;
+ private MediaVisionSource _source = null;
- private static async Task PrepareModelAndSourceAsync()
+ private async Task PrepareModelAndSourceAsync()
{
await TestHelper.AddImagesToModel(_model, TestHelper.ResourcePath + "face_recog/P1/", 1);
await TestHelper.AddImagesToModel(_model, TestHelper.ResourcePath + "face_recog/P2/", 2);
}
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_model?.Dispose();
_engineConfig?.Dispose();
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, FaceRecognitionModel")]
- public static async Task RecognizeAsync_CHECK_RETURN_VALUE()
+ public async Task RecognizeAsync_CHECK_RETURN_VALUE()
{
var result = await FaceRecognizer.RecognizeAsync(_source, _model);
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, FaceRecognitionModel")]
- public static async Task RecognizeAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task RecognizeAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
{
await AssertHelper.ThrowsAsync<ArgumentNullException>(() => FaceRecognizer.RecognizeAsync(null, null));
}
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, FaceRecognitionModel")]
- public static async Task RecognizeAsync_CHECK_INVALID_OPERATION_EXCEPTION()
+ public async Task RecognizeAsync_CHECK_INVALID_OPERATION_EXCEPTION()
{
using (var localModel = new FaceRecognitionModel())
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, FaceRecognitionModel, Rectangle")]
- public static async Task RecognizeAsync_with_Roi_CHECK_RETURN_VALUE()
+ public async Task RecognizeAsync_with_Roi_CHECK_RETURN_VALUE()
{
var roi = new Rectangle(new Point(0, 0), new Size((int)_source.Width, (int)_source.Height));
var result = await FaceRecognizer.RecognizeAsync(_source, _model, roi);
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, FaceRecognitionModel, Rectangle")]
- public static async Task RecognizeAsync_with_Roi_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task RecognizeAsync_with_Roi_CHECK_NULL_ARGUMENT_EXCEPTION()
{
var roi = new Rectangle(new Point(0, 0), new Size(100, 100));
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, FaceRecognitionModel, Rectangle")]
- public static async Task RecognizeAsync_with_Roi_CHECK_INVALID_OPERATION_EXCEPTION()
+ public async Task RecognizeAsync_with_Roi_CHECK_INVALID_OPERATION_EXCEPTION()
{
using (var localModel = new FaceRecognitionModel())
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, FaceRecognitionModel, FaceRecognitionConfiguration")]
- public static async Task RecognizeAsync_with_Configuration_CHECK_RETURN_VALUE()
+ public async Task RecognizeAsync_with_Configuration_CHECK_RETURN_VALUE()
{
var result = await FaceRecognizer.RecognizeAsync(_source, _model, _engineConfig);
Assert.IsTrue(result.Success, "Should be success");
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, FaceRecognitionModel, FaceRecognitionConfiguration")]
- public static async Task RecognizeAsync_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task RecognizeAsync_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
await AssertHelper.ThrowsAsync<ArgumentNullException>( () => FaceRecognizer.RecognizeAsync(null, null, _engineConfig));
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, FaceRecognitionModel, FaceRecognitionConfiguration")]
- public static async Task RecognizeAsync_with_Configuration_CHECK_INVALID_OPERATION_EXCEPTION()
+ public async Task RecognizeAsync_with_Configuration_CHECK_INVALID_OPERATION_EXCEPTION()
{
using (var localModel = new FaceRecognitionModel())
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, FaceRecognitionModel, Rectangle, FaceRecognitionConfiguration")]
- public static async Task RecognizeAsync_with_Roi_Configuration_CHECK_RETURN_VALUE()
+ public async Task RecognizeAsync_with_Roi_Configuration_CHECK_RETURN_VALUE()
{
var roi = new Rectangle(new Point(0, 0), new Size((int)_source.Width, (int)_source.Height));
Assert.AreEqual(_engineConfig.ModelType, FaceRecognitionModelType.Lbph, "ModelType Should be LBPH");
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, FaceRecognitionModel, Rectangle, FaceRecognitionConfiguration")]
- public static async Task RecognizeAsync_with_Roi_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task RecognizeAsync_with_Roi_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
var roi = new Rectangle(new Point(0, 0), new Size(100, 100));
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, FaceRecognitionModel, Rectangle, FaceRecognitionConfiguration")]
- public static async Task RecognizeAsync_with_Roi_Configuration_CHECK_INVALID_OPERATION_EXCEPTION()
+ public async Task RecognizeAsync_with_Roi_Configuration_CHECK_INVALID_OPERATION_EXCEPTION()
{
using (var localModel = new FaceRecognitionModel())
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, Rectangle")]
- public static async Task RecognizeEyeConditionAsync_CHECK_RETURN_VALUE()
+ public async Task RecognizeEyeConditionAsync_CHECK_RETURN_VALUE()
{
var frame = (await TestHelper.GetBitampFrameFromImage(TestHelper.ResourcePath + "face_detect/sample_face_det.jpg"));
if (frame.Buffer == null || frame.Buffer.Length == 0)
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, Rectangle")]
- public static async Task RecognizeEyeConditionAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task RecognizeEyeConditionAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
{
await AssertHelper.ThrowsAsync<ArgumentNullException>(() => FaceRecognizer.RecognizeEyeConditionAsync(null, new Rectangle(0, 0, 100, 100)));
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, Rectangle, FaceRecognitionConfiguration")]
- public static async Task RecognizeEyeConditionAsync_with_Configuration_CHECK_RETURN_VALUE()
+ public async Task RecognizeEyeConditionAsync_with_Configuration_CHECK_RETURN_VALUE()
{
var frame = (await TestHelper.GetBitampFrameFromImage(TestHelper.ResourcePath + "face_detect/sample_face_det.jpg"));
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, Rectangle, FaceRecognitionConfiguration")]
- public static async Task RecognizeEyeConditionAsync_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task RecognizeEyeConditionAsync_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
var roi = new Rectangle(new Point(10, 10), new Size(50, 50));
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, Rectangle")]
- public static async Task RecognizeFacialExpressionAsync_CHECK_RETURN_VALUE()
+ public async Task RecognizeFacialExpressionAsync_CHECK_RETURN_VALUE()
{
var frame = (await TestHelper.GetBitampFrameFromImage(TestHelper.ResourcePath + "face_detect/sample_face_det.jpg"));
if (frame.Buffer == null || frame.Buffer.Length == 0)
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, Rectangle")]
- public static async Task RecognizeFacialExpressionAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task RecognizeFacialExpressionAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
{
await AssertHelper.ThrowsAsync<ArgumentNullException>(() => FaceRecognizer.RecognizeFacialExpressionAsync(null, new Rectangle(0, 0, 100, 100)));
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, Rectangle, FaceRecognitionConfiguration")]
- public static async Task RecognizeFacialExpressionAsync_with_Configuration_CHECK_RETURN_VALUE()
+ public async Task RecognizeFacialExpressionAsync_with_Configuration_CHECK_RETURN_VALUE()
{
var frame = (await TestHelper.GetBitampFrameFromImage(TestHelper.ResourcePath + "face_detect/sample_face_det.jpg"));
if (frame.Buffer == null || frame.Buffer.Length == 0)
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, Rectangle, FaceRecognitionConfiguration")]
- public static async Task RecognizeFacialExpressionAsync_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task RecognizeFacialExpressionAsync_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
var roi = new Rectangle(new Point(10, 10), new Size(50, 50));
[Description("Tizen.Multimedia.Vision.FaceTracker test class")]
public class FaceTrackerTests
{
- private static FaceTrackingModel _model = null;
- private static List<MediaVisionSource> _sources = null;
+ private FaceTrackingModel _model = null;
+ private List<MediaVisionSource> _sources = null;
- private static async Task PrepareSourcesAsync()
+ private async Task PrepareSourcesAsync()
{
await TestHelper.FillMediaSourceFromImages(_sources, TestHelper.ResourcePath + "face_track/");
}
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_model?.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static async Task TrackAsync_CHECK_RETURN_VALUE()
+ public async Task TrackAsync_CHECK_RETURN_VALUE()
{
Assert.IsTrue(_sources.Count > 1, "Failed to get buffer data from face image");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static async Task TrackAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task TrackAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
{
await AssertHelper.ThrowsAsync<ArgumentNullException>(() => FaceTracker.TrackAsync(null, null, false));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static async Task TrackAsync_CHECK_INVALID_OPERATION_EXCEPTION()
+ public async Task TrackAsync_CHECK_INVALID_OPERATION_EXCEPTION()
{
Assert.IsTrue(_sources.Count > 1, "Failed to get buffer data from face image");
[Description("Tizen.Multimedia.Vision.FaceTrackingModel test class")]
public class FaceTrackingModelTests
{
- private static FaceTrackingModel _model = null;
- private static MediaVisionSource _source = null;
- private static Quadrangle _faceLocation = new Quadrangle(
+ private FaceTrackingModel _model = null;
+ private MediaVisionSource _source = null;
+ private Quadrangle _faceLocation = new Quadrangle(
new Point[]
{
new Point(440, 130),
new Point(440, 240)
}
);
- private static async Task PrepareSourceAsync()
+ private async Task PrepareSourceAsync()
{
_source = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "face_track/01.jpg");
}
[SetUp]
- public static void SetUp()
+ public void SetUp()
{
try
{
}
[TearDown]
- public static void TearDown()
+ public void TearDown()
{
_model?.Dispose();
_source?.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void FaceTrackingModel_INIT()
+ public void FaceTrackingModel_INIT()
{
Assert.IsInstanceOf<FaceTrackingModel>(_model, "Should be of type FaceTrackingModel");
Assert.IsNotNull(_model, "FaceTrackingModel should not be null after calling constructor.");
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string")]
- public static void FaceTrackingModel_with_ModelPath_INIT()
+ public void FaceTrackingModel_with_ModelPath_INIT()
{
var testModel = new FaceTrackingModel(TestHelper.ResourcePath + "face_track/face_tracking_model_01");
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string")]
- public static void FaceTrackingModel_with_ModelPath_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void FaceTrackingModel_with_ModelPath_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => new FaceTrackingModel(null));
}
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string")]
- public static void FaceTrackingModel_with_ModelPath_CHECK_FILE_NOT_FOUND_EXCEPTION()
+ public void FaceTrackingModel_with_ModelPath_CHECK_FILE_NOT_FOUND_EXCEPTION()
{
Assert.Throws<FileNotFoundException>(() => new FaceTrackingModel("/tmp/fake"));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Prepare_CHECK_NO_EXCEPTION()
+ public void Prepare_CHECK_NO_EXCEPTION()
{
Assert.DoesNotThrow(() => _model.Prepare(_source, _faceLocation));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Prepare_CHECK_NULL_ARUGMENT_EXCEPTION()
+ public void Prepare_CHECK_NULL_ARUGMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => _model.Prepare(null, _faceLocation));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Save_CHECK_RETURN_VALUE()
+ public void Save_CHECK_RETURN_VALUE()
{
string path = TestHelper.TrustedPath + "face_tracking_model_test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Save_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void Save_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => _model.Save(null));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Save_CHECK_UNAUTHORIZED_ACCESS_EXCEPTION()
+ public void Save_CHECK_UNAUTHORIZED_ACCESS_EXCEPTION()
{
string restrictedPath = TestHelper.ResourcePath + "face_track/face_track_model";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Save_CHECK_DIRECTORY_NOT_FOUND_EXCEPTION()
+ public void Save_CHECK_DIRECTORY_NOT_FOUND_EXCEPTION()
{
string fakePath = "/tmp/fake/face_fake_model";
[Description("Tizen.Multimedia.Vision.FaceTrackingResult test class")]
public class FaceTrackingResultTests
{
- private static FaceTrackingModel _model = null;
- private static List<MediaVisionSource> _sources = null;
+ private FaceTrackingModel _model = null;
+ private List<MediaVisionSource> _sources = null;
- private static async Task PrepareModelAsync()
+ private async Task PrepareModelAsync()
{
int ret = await TestHelper.FillMediaSourceFromImages(_sources, TestHelper.ResourcePath + "face_track/");
Assert.IsFalse(ret != 0, "Failed to get buffer data from face image");
}
[SetUp]
- public static void SetUp()
+ public void SetUp()
{
try
{
}
[TearDown]
- public static void TearDown()
+ public void TearDown()
{
_model?.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static async Task Success_READ_ONLY()
+ public async Task Success_READ_ONLY()
{
Assert.IsTrue(_sources.Count > 1, "Failed to get buffer data from face image");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static async Task Region_READ_ONLY()
+ public async Task Region_READ_ONLY()
{
Assert.IsTrue(_sources.Count > 1, "Failed to get buffer data from face image");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static async Task Confidence_READ_ONLY()
+ public async Task Confidence_READ_ONLY()
{
Assert.IsTrue(_sources.Count > 1, "Failed to get buffer data from face image");
[Description("Tizen.Multimedia.Vision.ImageFillConfiguration test class")]
public class ImageFillConfigurationTests
{
- private static ImageFillConfiguration _config = null;
+ private ImageFillConfiguration _config = null;
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ImageFillConfiguration_INIT()
+ public void ImageFillConfiguration_INIT()
{
Assert.IsNotNull(_config, "ImageFillConfiguration should not be null after calling constructor.");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void DefaultScaleFactor_CHECK_DEFAULT_VALUE()
+ public void DefaultScaleFactor_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(ImageFillConfiguration.DefaultScaleFactor, 1.2, "DefaultScaleFactor should be 1.2");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void DefaultMaxKeypoints_CHECK_DEFAULT_VALUE()
+ public void DefaultMaxKeypoints_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(ImageFillConfiguration.DefaultMaxKeypoints, 1000, "DefaultMaxKeypoints should be 1000");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ObjectScaleFactor_CHECK_DEFAULT_VALUE()
+ public void ObjectScaleFactor_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.ObjectScaleFactor, 1.2, "Default value of ObjectScaleFactor should be 1.2");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ObjectScaleFactor_READ_WRITE()
+ public void ObjectScaleFactor_READ_WRITE()
{
_config.ObjectScaleFactor = 1.4;
Assert.AreEqual(_config.ObjectScaleFactor, 1.4, "ObjectScaleFactor should be 1.4");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ObjectMaxKeyPoints_CHECK_DEFAULT_VALUE()
+ public void ObjectMaxKeyPoints_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.ObjectMaxKeyPoints, 1000, "Default value of ObjectMaxKeyPoints should be 1000");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ObjectMaxKeyPoints_READ_WRITE()
+ public void ObjectMaxKeyPoints_READ_WRITE()
{
_config.ObjectMaxKeyPoints = 950;
Assert.AreEqual(_config.ObjectMaxKeyPoints, 950, "ObjectMaxKeyPoints should be 950");
[Description("Tizen.Multimedia.Vision.ImageObject test class")]
public class ImageObjectTests
{
- private static ImageObject _imageObject = null;
- private static ImageFillConfiguration _engineCfg = null;
- private static MediaVisionSource _source = null;
- private static async Task PrepareSourceAsync()
+ private ImageObject _imageObject = null;
+ private ImageFillConfiguration _engineCfg = null;
+ private MediaVisionSource _source = null;
+ private async Task PrepareSourceAsync()
{
_source = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "image/target.jpg");
}
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_imageObject?.Dispose();
_engineCfg?.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ImageObject_INIT()
+ public void ImageObject_INIT()
{
Assert.IsNotNull(_imageObject, "Image should not be null after calling constructor.");
}
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "string")]
- public static void ImageObject_with_Path_INIT()
+ public void ImageObject_with_Path_INIT()
{
using (var testObj = new ImageObject(TestHelper.ResourcePath + "image/image_object"))
{
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string")]
- public static void ImageObject_with_Path_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void ImageObject_with_Path_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => new ImageObject(null));
}
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string")]
- public static void ImageObject_with_Path_CHECK_FILE_NOT_FOUND_EXCEPTION()
+ public void ImageObject_with_Path_CHECK_FILE_NOT_FOUND_EXCEPTION()
{
Assert.Throws<FileNotFoundException>(() => new ImageObject("/tmp/fake_object"));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void GetLabel_CHECK_RETURN_VALUE()
+ public void GetLabel_CHECK_RETURN_VALUE()
{
Assert.IsNull(_imageObject.GetLabel(), "Label should be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void SetLabel_CHECK_RETURN_VALUE()
+ public void SetLabel_CHECK_RETURN_VALUE()
{
_imageObject.SetLabel(2);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void RecognitionRate_READ_ONLY()
+ public void RecognitionRate_READ_ONLY()
{
Assert.IsNotNull(_source, "source should be not null");
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "MediaVisionSource")]
- public static void Fill_CHECK_NO_EXCEPTION()
+ public void Fill_CHECK_NO_EXCEPTION()
{
Assert.DoesNotThrow(() => _imageObject.Fill(_source));
}
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource")]
- public static void Fill_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void Fill_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => _imageObject.Fill(null));
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, Rectangle")]
- public static void Fill_with_Roi_CHECK_NO_EXCEPTION()
+ public void Fill_with_Roi_CHECK_NO_EXCEPTION()
{
var roi = new Rectangle(new Point(0, 0), new Size((int)_source.Width, (int)_source.Height));
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, Rectangle")]
- public static void Fill_with_Roi_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void Fill_with_Roi_CHECK_NULL_ARGUMENT_EXCEPTION()
{
var roi = new Rectangle(new Point(0, 0), new Size(100, 100));
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageFillConfiguration")]
- public static void Fill_with_Configuration_CHECK_NO_EXCEPTION()
+ public void Fill_with_Configuration_CHECK_NO_EXCEPTION()
{
Assert.DoesNotThrow(() => _imageObject.Fill(_source, _engineCfg));
}
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageFillConfiguration")]
- public static void Fill_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void Fill_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => _imageObject.Fill(null, _engineCfg));
}
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageFillConfiguration, Rectangle")]
- public static void Fill_with_Roi_Configuration_CHECK_NO_EXCEPTION()
+ public void Fill_with_Roi_Configuration_CHECK_NO_EXCEPTION()
{
var roi = new Rectangle(new Point(0, 0), new Size((int)_source.Width, (int)_source.Height));
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageFillConfiguration, Rectangle")]
- public static void Fill_with_Roi_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void Fill_with_Roi_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
var roi = new Rectangle(new Point(0, 0), new Size(100, 100));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Save_CHECK_RETURN_VALUE()
+ public void Save_CHECK_RETURN_VALUE()
{
string path = TestHelper.TrustedPath + "image_ojbect_test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Save_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void Save_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => _imageObject.Save(null));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Save_CHECK_UNAUTHORIZED_ACCESS_EXCEPTION()
+ public void Save_CHECK_UNAUTHORIZED_ACCESS_EXCEPTION()
{
string restrictedPath = TestHelper.ResourcePath + "image/unautorized_model";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Save_CHECK_DIRECTORY_NOT_FOUND_EXCEPTION()
+ public void Save_CHECK_DIRECTORY_NOT_FOUND_EXCEPTION()
{
_imageObject.SetLabel(1);
_imageObject.Fill(_source);
[Description("Tizen.Multimedia.Vision.ImageRecognitionConfiguration test class")]
public class ImageRecognitionConfigurationTests
{
- private static ImageRecognitionConfiguration _config = null;
+ private ImageRecognitionConfiguration _config = null;
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ImageRecognitionConfiguration_INIT()
+ public void ImageRecognitionConfiguration_INIT()
{
Assert.IsNotNull(_config, "ImageRecognitionConfiguration should not be null after calling constructor.");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void SceneScaleFactor_CHECK_DEFAULT_VALUE()
+ public void SceneScaleFactor_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.SceneScaleFactor, 1.2, "Default value of SceneScaleFactor should be 1.2");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void SceneScaleFactor_READ_WRITE()
+ public void SceneScaleFactor_READ_WRITE()
{
_config.SceneScaleFactor = 1.4;
Assert.AreEqual(_config.SceneScaleFactor, 1.4, "SceneScaleFactor should be 1.4");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void DefaultSceneScaleFactor_READ_ONLY()
+ public void DefaultSceneScaleFactor_READ_ONLY()
{
Assert.AreEqual(ImageRecognitionConfiguration.DefaultSceneScaleFactor, 1.2, "DefaultSceneScaleFactor should be 1.2");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void DefaultSceneMaxKeypoints_READ_ONLY()
+ public void DefaultSceneMaxKeypoints_READ_ONLY()
{
Assert.AreEqual(ImageRecognitionConfiguration.DefaultSceneMaxKeypoints, 5000, "DefaultSceneMaxKeypoints should be 5000");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void DefaultMinKeyPointMatches_READ_ONLY()
+ public void DefaultMinKeyPointMatches_READ_ONLY()
{
Assert.AreEqual(ImageRecognitionConfiguration.DefaultMinKeyPointMatches, 30, "DefaultSceneMaxKeypoints should be 30");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void DefaultRequiredMatchPart_READ_ONLY()
+ public void DefaultRequiredMatchPart_READ_ONLY()
{
Assert.AreEqual(ImageRecognitionConfiguration.DefaultRequiredMatchPart, 0.05, "DefaultRequiredMatchPart should be 0.05");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void DefaultTolerantPartMatchError_READ_ONLY()
+ public void DefaultTolerantPartMatchError_READ_ONLY()
{
Assert.AreEqual(ImageRecognitionConfiguration.DefaultTolerantPartMatchError, 0.1, "DefaultTolerantPartMatchError should be 0.1");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void SceneMaxKeyPoints_CHECK_DEFAULT_VALUE()
+ public void SceneMaxKeyPoints_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.SceneMaxKeyPoints, 5000, "Default value of SceneMaxKeyPoints should be 5000");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void SceneMaxKeyPoints_READ_WRITE()
+ public void SceneMaxKeyPoints_READ_WRITE()
{
_config.SceneMaxKeyPoints = 3000;
Assert.AreEqual(_config.SceneMaxKeyPoints, 3000, "SceneMaxKeyPoints should be 3000");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX,PBM")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void SceneMaxKeyPoints_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
+ public void SceneMaxKeyPoints_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(() => _config.SceneMaxKeyPoints = -1);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void MinKeyPointMatches_CHECK_DEFAULT_VALUE()
+ public void MinKeyPointMatches_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.MinKeyPointMatches, 30, "Default value of MinKeyPointMatches should be 30");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void MinKeyPointMatches_READ_WRITE()
+ public void MinKeyPointMatches_READ_WRITE()
{
_config.MinKeyPointMatches = 40;
Assert.AreEqual(_config.MinKeyPointMatches, 40, "MinKeyPointsMatches should be 40");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX,PBM")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void MinKeyPointMatches_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
+ public void MinKeyPointMatches_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(() => _config.MinKeyPointMatches = -1);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void RequiredMatchingPart_CHECK_DEFAULT_VALUE()
+ public void RequiredMatchingPart_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.RequiredMatchingPart, 0.05, "Default value of RequiredMatchingPart should be 0.05");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void RequiredMatchingPart_READ_WRITE()
+ public void RequiredMatchingPart_READ_WRITE()
{
_config.RequiredMatchingPart = 0.03;
Assert.AreEqual(_config.RequiredMatchingPart, 0.03, "RequiredMatchingPart should be 0.03");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PAM")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void RequiredMatchingPart_CHECK_ABOVE_MAX_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
+ public void RequiredMatchingPart_CHECK_ABOVE_MAX_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(() => _config.RequiredMatchingPart = 2.3);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void RequiredMatchingPart_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
+ public void RequiredMatchingPart_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(() => _config.RequiredMatchingPart = -1.2);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TolerantPartMatchError_CHECK_DEFAULT_VALUE()
+ public void TolerantPartMatchError_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.TolerantPartMatchError, 0.1, "Default value of TolerantPartMatchError should be 0.1");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TolerantPartMatchError_READ_WRITE()
+ public void TolerantPartMatchError_READ_WRITE()
{
_config.TolerantPartMatchError = 0.3;
Assert.AreEqual(_config.TolerantPartMatchError, 0.3, "TolerantPartMatchError should be 0.3");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PAM")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TolerantPartMatchError_CHECK_ABOVE_MAX_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
+ public void TolerantPartMatchError_CHECK_ABOVE_MAX_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(() => _config.TolerantPartMatchError = 2.3);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TolerantPartMatchError_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
+ public void TolerantPartMatchError_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(() => _config.TolerantPartMatchError = -1.2);
}
[Description("Tizen.Multimedia.Vision.ImageRecognitionResult test class")]
public class ImageRecognitionResultTests
{
- private static ImageObject _imageObject = null;
+ private ImageObject _imageObject = null;
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_imageObject?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Success_READ_ONLY()
+ public async Task Success_READ_ONLY()
{
using (MediaVisionSource sourceTarget = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "image/target.jpg"))
using (MediaVisionSource sourceScene = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "image/scene.jpg"))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Region_READ_ONLY()
+ public async Task Region_READ_ONLY()
{
using (MediaVisionSource sourceTarget = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "image/target.jpg"))
using (MediaVisionSource sourceScene = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "image/scene.jpg"))
[Description("Tizen.Multimedia.Vision.ImageRecognizer test class")]
public class ImageRecognizerTests
{
- private static ImageObject _imageObject = null;
+ private ImageObject _imageObject = null;
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_imageObject?.Dispose();
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageObject[]")]
- public static async Task RecognizeAsync_CHECK_RETURN_VALUE()
+ public async Task RecognizeAsync_CHECK_RETURN_VALUE()
{
using (MediaVisionSource sourceTarget = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "image/target.jpg"))
using (MediaVisionSource sourceScene = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "image/scene.jpg"))
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageObject[]")]
- public static async Task RecognizeAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task RecognizeAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
{
await AssertHelper.ThrowsAsync<ArgumentNullException>(() => ImageRecognizer.RecognizeAsync(null, null));
}
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageObject[]")]
- public static async Task RecognizeAsync_CHECK_ARGUMENT_EXCEPTION()
+ public async Task RecognizeAsync_CHECK_ARGUMENT_EXCEPTION()
{
using (MediaVisionSource sourceScene = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "image/scene.jpg"))
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageObject[], ImageRecognitionConfiguration")]
- public static async Task RecognizeAsync_with_Configuration_CHECK_RETURN_VALUE()
+ public async Task RecognizeAsync_with_Configuration_CHECK_RETURN_VALUE()
{
using (MediaVisionSource sourceTarget = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "image/target.jpg"))
using (MediaVisionSource sourceScene = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "image/scene.jpg"))
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageObject[], ImageRecognitionConfiguration")]
- public static async Task RecognizeAsync_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task RecognizeAsync_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
var engineConfig = new ImageRecognitionConfiguration
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageObject[], ImageRecognitionConfiguration")]
- public static async Task RecognizeAsync_with_Configuration_CHECK_ARGUMENT_EXCEPTION()
+ public async Task RecognizeAsync_with_Configuration_CHECK_ARGUMENT_EXCEPTION()
{
using (MediaVisionSource sourceScene = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "image/scene.jpg"))
{
[Description("Tizen.Multimedia.Vision.ImageTracker test class")]
public class ImageTrackerTests
{
- private static ImageTrackingModel _model = null;
- private static List<MediaVisionSource> _sources = null;
+ private ImageTrackingModel _model = null;
+ private List<MediaVisionSource> _sources = null;
- private static async Task PrepareSourcesAsync()
+ private async Task PrepareSourcesAsync()
{
await TestHelper.FillMediaSourceFromImages(_sources, TestHelper.ResourcePath + "image_track/");
}
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_model?.Dispose();
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageTrackingModel")]
- public static async Task TrackAsync_CHECK_RETURN_VALUE()
+ public async Task TrackAsync_CHECK_RETURN_VALUE()
{
Assert.IsTrue(_sources.Count > 1, "Failed to get buffer data from images");
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageTrackingModel")]
- public static async Task TrackAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task TrackAsync_CHECK_NULL_ARGUMENT_EXCEPTION()
{
await AssertHelper.ThrowsAsync<ArgumentNullException>(() => ImageTracker.TrackAsync(null, null));
}
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageTrackingModel")]
- public static async Task TrackAsync_CHECK_ARGUMENT_EXCEPTION()
+ public async Task TrackAsync_CHECK_ARGUMENT_EXCEPTION()
{
using (var source = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "image_track/frame01.jpg"))
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageTrackingModel, ImageTrackingConfiguration")]
- public static async Task TrackAsync_wiht_COnfiguration_CHECK_RETURN_VALUE()
+ public async Task TrackAsync_wiht_COnfiguration_CHECK_RETURN_VALUE()
{
Assert.IsTrue(_sources.Count > 1, "Failed to get buffer data from images");
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageTrackingModel, ImageTrackingConfiguration")]
- public static async Task TrackAsync_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public async Task TrackAsync_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
ImageTrackingConfiguration engineConfig = new ImageTrackingConfiguration
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaVisionSource, ImageTrackingModel, ImageTrackingConfiguration")]
- public static async Task TrackAsync_with_Configuration_CHECK_ARGUMENT_EXCEPTION()
+ public async Task TrackAsync_with_Configuration_CHECK_ARGUMENT_EXCEPTION()
{
using (var source = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "image_track/frame01.jpg"))
{
[Description("Tizen.Multimedia.Vision.ImageTrackingConfiguration test class")]
public class ImageTrackingConfigurationTests
{
- private static ImageTrackingConfiguration _config = null;
+ private ImageTrackingConfiguration _config = null;
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ImageTrackingConfiguration_INIT()
+ public void ImageTrackingConfiguration_INIT()
{
Assert.IsNotNull(_config, "ImageTrackingConfiguration should not be null after calling constructor.");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void DefaultHistoryAmount_READ_ONLY()
+ public void DefaultHistoryAmount_READ_ONLY()
{
Assert.AreEqual(ImageTrackingConfiguration.DefaultHistoryAmount, 3, "DefaultHistoryAmountt should be 3");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void DefaultExpectedOffset_READ_ONLY()
+ public void DefaultExpectedOffset_READ_ONLY()
{
Assert.AreEqual(ImageTrackingConfiguration.DefaultExpectedOffset, 0, "DefaultExpectedOffset should be 0");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void DefaultStabilizationEnabled_READ_ONLY()
+ public void DefaultStabilizationEnabled_READ_ONLY()
{
Assert.AreEqual(ImageTrackingConfiguration.DefaultStabilizationEnabled, true, "DefaultStabilizationEnabled should be true");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void DefaultStabilizationTolerantShift_READ_ONLY()
+ public void DefaultStabilizationTolerantShift_READ_ONLY()
{
Assert.AreEqual(ImageTrackingConfiguration.DefaultStabilizationTolerantShift, 0.00006, "DefaultStabilizationTolerantShift should be 0.00006");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void DefaultStabilizationSpeed_READ_ONLY()
+ public void DefaultStabilizationSpeed_READ_ONLY()
{
Assert.AreEqual(ImageTrackingConfiguration.DefaultStabilizationSpeed, 0.3, "DefaultStabilizationSpeed should be 0.3");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void DefaultStabilizationAcceleration_READ_ONLY()
+ public void DefaultStabilizationAcceleration_READ_ONLY()
{
Assert.AreEqual(ImageTrackingConfiguration.DefaultStabilizationAcceleration, 0.1, "DefaultStabilizationAcceleration should be 0.1");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void HistoryAmount_CHECK_DEFAULT_VALUE()
+ public void HistoryAmount_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.HistoryAmount, 3, "Default value of HistoryAmount should be 3");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void HistoryAmount_READ_WRITE()
+ public void HistoryAmount_READ_WRITE()
{
_config.HistoryAmount = 5;
Assert.AreEqual(_config.HistoryAmount, 5, "HistoryAmount should be 5");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX,PBM")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void HistoryAmount_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
+ public void HistoryAmount_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(() => _config.HistoryAmount = -1);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ExpectedOffset_CHECK_DEFAULT_VALUE()
+ public void ExpectedOffset_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.ExpectedOffset, 0, "Default value of ExpectedOffset should be 0");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ExpectedOffset_READ_WRITE()
+ public void ExpectedOffset_READ_WRITE()
{
_config.ExpectedOffset = 0.5;
Assert.AreEqual(_config.ExpectedOffset, 0.5, "ExpectedOffset should be 0.5");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void StabilizationAcceleration_CHECK_DEFAULT_VALUE()
+ public void StabilizationAcceleration_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.StabilizationAcceleration, 0.1, "Default value of StabilizationAcceleration should be 0.1");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void StabilizationAcceleration_READ_WRITE()
+ public void StabilizationAcceleration_READ_WRITE()
{
_config.StabilizationAcceleration = 0.3;
Assert.AreEqual(_config.StabilizationAcceleration, 0.3, "StabilizationAcceleration should be 0.3");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX,PAM")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void StabilizationAcceleration_CHECK_ABOVE_MAX_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
+ public void StabilizationAcceleration_CHECK_ABOVE_MAX_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(() => _config.StabilizationAcceleration = 2.3);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX,PBM")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void StabilizationAcceleration_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTIOn()
+ public void StabilizationAcceleration_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTIOn()
{
Assert.Throws<ArgumentOutOfRangeException>(() => _config.StabilizationAcceleration = -1.2);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void StabilizationSpeed_CHECK_DEFAULT_VALUE()
+ public void StabilizationSpeed_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.StabilizationSpeed, 0.3, "Default value of StabilizationSpeed should be 0.3");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void StabilizationSpeed_READ_WRITE()
+ public void StabilizationSpeed_READ_WRITE()
{
_config.StabilizationSpeed = 0.6;
Assert.AreEqual(_config.StabilizationSpeed, 0.6, "StabilizationSpeed should be 0.6");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void StabilizationTolerantShift_CHECK_DEFAULT_VALUE()
+ public void StabilizationTolerantShift_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.StabilizationTolerantShift, 0.00006, "Default value of StabilizationTolerantShift should be 0.00006");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void StabilizationTolerantShift_READ_WRITE()
+ public void StabilizationTolerantShift_READ_WRITE()
{
_config.StabilizationTolerantShift = 1.7;
Assert.AreEqual(_config.StabilizationTolerantShift, 1.7, "StabilizationTolerantShift should be 1.7");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void IsStabilizationEnabled_CHECK_DEFAULT_VALUE()
+ public void IsStabilizationEnabled_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.IsStabilizationEnabled, true, "Default value of IsStabilizationEnabled should be true");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void IsStabilizationEnabled_READ_WRITE()
+ public void IsStabilizationEnabled_READ_WRITE()
{
_config.IsStabilizationEnabled = false;
Assert.AreEqual(_config.IsStabilizationEnabled, false, "IsStabilizationEnabled should be false");
[Description("Tizen.Multimedia.Vision.ImageTrackingModel test class")]
public class ImageTrackingModelTests
{
- private static ImageTrackingModel _model = null;
- private static MediaVisionSource _target = null;
+ private ImageTrackingModel _model = null;
+ private MediaVisionSource _target = null;
- private static async Task PrepareTargetAsync()
+ private async Task PrepareTargetAsync()
{
_target = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "image/target.jpg");
}
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_model?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ImageTrackingModel_INIT()
+ public void ImageTrackingModel_INIT()
{
Assert.IsNotNull(_model, "ImageTrackingModel should not be null after calling constructor.");
}
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "string")]
- public static void ImageTrackingModel_with_ModelPath_INIT()
+ public void ImageTrackingModel_with_ModelPath_INIT()
{
using (var testModel = new ImageTrackingModel(TestHelper.ResourcePath + "image_track/image_tracking_model_01"))
{
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string")]
- public static void ImageTrackingModel_with_ModelPath_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void ImageTrackingModel_with_ModelPath_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>( () => new ImageTrackingModel(null));
}
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "string")]
- public static void ImageTrackingModel_with_ModelPath_CHECK_FILE_NOT_FOUND_EXCEPTION()
+ public void ImageTrackingModel_with_ModelPath_CHECK_FILE_NOT_FOUND_EXCEPTION()
{
Assert.Throws<FileNotFoundException>(() =>new ImageTrackingModel("/tmp/fake/fake_model"));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void SetTarget_CHECK_NO_EXCEPTION()
+ public void SetTarget_CHECK_NO_EXCEPTION()
{
using (var obj = new ImageObject())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void SetTarget_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void SetTarget_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => _model.SetTarget(null));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Refresh_CHECK_NO_EXCEPTION()
+ public void Refresh_CHECK_NO_EXCEPTION()
{
using (var obj = new ImageObject())
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Save_CHECK_RETURN_VALUE()
+ public void Save_CHECK_RETURN_VALUE()
{
string path = TestHelper.TrustedPath + "image_track_test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Save_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void Save_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => _model.Save(null));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Save_CHECK_UNAUTHORIZED_ACCESS_EXCEPTION()
+ public void Save_CHECK_UNAUTHORIZED_ACCESS_EXCEPTION()
{
string restrictedPath = TestHelper.ResourcePath + "image_track/fake_model";
Assert.Throws<UnauthorizedAccessException>(() => _model.Save(restrictedPath));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Save_CHECK_DIRECTORY_NOT_FOUND_EXCEPTION()
+ public void Save_CHECK_DIRECTORY_NOT_FOUND_EXCEPTION()
{
string restrictedPath = TestHelper.ResourcePath + "/tmp/fake/mofedl/";
Assert.Throws<DirectoryNotFoundException>(() => _model.Save(restrictedPath));
[Description("Tizen.Multimedia.Vision.MediaVisionSource test class")]
public class MediaVisionSourceTests
{
- private static MediaVisionSource _bufferSource = null;
- private static MediaVisionSource _packetSource = null;
- private static MediaPacket _packet = null;
+ private MediaVisionSource _bufferSource = null;
+ private MediaVisionSource _packetSource = null;
+ private MediaPacket _packet = null;
- public static byte[] CreateBufferTypeRGB888(int width, int height)
+ public byte[] CreateBufferTypeRGB888(int width, int height)
{
if (width <= 0 || height <= 0)
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
bool isMediaVisionSupported = FeatureChecker.IsSupported(Features.BarcodeDetection)
|| FeatureChecker.IsSupported(Features.BarcodeGeneration)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_packetSource?.Dispose();
_bufferSource?.Dispose();
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "byte[], uint, uint, Colorspace")]
- public static void MediaVisionSource_with_Buffer_INIT()
+ public void MediaVisionSource_with_Buffer_INIT()
{
Assert.IsNotNull(_bufferSource, "MediaVisionSource should not be null after calling constructor.");
}
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "byte[], uint, uint, Colorspace")]
- public static void MediaVisionSource_with_Buffer_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void MediaVisionSource_with_Buffer_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => new MediaVisionSource(null, 100, 100, ColorSpace.Rgb888));
}
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "byte[], uint, uint, Colorspace")]
- public static void MediaVisionSource_with_Buffer_CHECK_ARGUMENT_EXCEPTION()
+ public void MediaVisionSource_with_Buffer_CHECK_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentException>(() => new MediaVisionSource(new byte[0], 100, 100, ColorSpace.Rgb888));
}
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "MediaPacket")]
- public static void MediaVisionSource_With_MediaPacket_INIT()
+ public void MediaVisionSource_With_MediaPacket_INIT()
{
Assert.IsNotNull(_packetSource, "MediaVisionSource should not be null after calling constructor.");
}
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "MediaPacket")]
- public static void MediaVisionSource_With_MediaPacket_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void MediaVisionSource_With_MediaPacket_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => new MediaVisionSource(null));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Buffer_READ_ONLY()
+ public void Buffer_READ_ONLY()
{
Assert.AreEqual(_bufferSource.Buffer.Length, 30000, "Buffer length is not correct after FillBuffer");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Height_READ_ONLY()
+ public void Height_READ_ONLY()
{
Assert.AreEqual(_bufferSource.Height, 100, "buffer height is incorrect");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Width_READ_ONLY()
+ public void Width_READ_ONLY()
{
Assert.AreEqual(_bufferSource.Width, 100, "buffer width is incorrect");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Colorspace_READ_ONLY()
+ public void Colorspace_READ_ONLY()
{
Assert.AreEqual(_bufferSource.Colorspace, ColorSpace.Rgb888, "Colorspace is incorrect");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void IsSupportedColorSpace_CHECK_RETURN_VALUE()
+ public void IsSupportedColorSpace_CHECK_RETURN_VALUE()
{
foreach (ColorSpace colorSpace in Enum.GetValues(typeof(ColorSpace)))
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void SupportedColorSpaces_READ_ONLY()
+ public void SupportedColorSpaces_READ_ONLY()
{
List<ColorSpace> supportedColorSpaces = MediaVisionSource.SupportedColorSpaces.ToList();
Assert.AreEqual(supportedColorSpaces.Count(), 11, "It should be 11 colorspaces");
[Description("Tizen.Multimedia.Vision.MovementDetectedEventArgs test class")]
public class MovementDetectedEventArgsTests
{
- private static MovementDetectionConfiguration _config = null;
+ private MovementDetectionConfiguration _config = null;
[SetUp]
- public static void Init()
+ public void Init()
{
bool isSurveillanceSupported = FeatureChecker.IsSupported(Features.FaceRecognition)
|| FeatureChecker.IsSupported(Features.ImageRecognition);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void MovementDetectedEventArgs_INIT()
+ public void MovementDetectedEventArgs_INIT()
{
var regions = new[] {
new Rectangle(10, 10, 100, 200)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Areas_READ_ONLY()
+ public void Areas_READ_ONLY()
{
var regions = new[] {
new Rectangle(10, 10, 100, 200)
public class MovementDetectionConfigurationTests
{
- private static MovementDetectionConfiguration _config = null;
+ private MovementDetectionConfiguration _config = null;
[SetUp]
- public static void Init()
+ public void Init()
{
bool isSurveillanceSupported = FeatureChecker.IsSupported(Features.FaceRecognition)
|| FeatureChecker.IsSupported(Features.ImageRecognition);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void MovementDetectionConfiguration_INIT()
+ public void MovementDetectionConfiguration_INIT()
{
Assert.IsNotNull(_config, "MovementDetectionConfiguration should not be null after calling constructor.");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void DefaultThreshold_READ_ONLY()
+ public void DefaultThreshold_READ_ONLY()
{
Assert.AreEqual(MovementDetectionConfiguration.DefaultThreshold, 10, "DefaultThreshold should be 10");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Threshold_CHECK_DEFAULT_VALUE()
+ public void Threshold_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.Threshold, 10, "Default value of Threshold should be 10");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Threshold_READ_WRITE()
+ public void Threshold_READ_WRITE()
{
_config.Threshold = 15;
Assert.AreEqual(_config.Threshold, 15, "Threshold should be 10");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PAM")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Threshold_CHECK_AMOVE_MAX_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
+ public void Threshold_CHECK_AMOVE_MAX_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(() => _config.Threshold = 256);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Threshold_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
+ public void Threshold_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(() => _config.Threshold = -1);
}
[Description("Tizen.Multimedia.Vision.MovementDetector test class")]
public class MovementDetectorTests
{
- private static MovementDetector _detector = null;
- private static MediaVisionSource _source1 = null;
- private static MediaVisionSource _source2 = null;
+ private MovementDetector _detector = null;
+ private MediaVisionSource _source1 = null;
+ private MediaVisionSource _source2 = null;
- private static async Task PrepareSourcesAsync()
+ private async Task PrepareSourcesAsync()
{
_source1 = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "surv/move_det_1.jpg");
_source2 = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "surv/move_det_2.jpg");
}
[SetUp]
- public static void Init()
+ public void Init()
{
bool isSurveillanceSupported = FeatureChecker.IsSupported(Features.FaceRecognition)
|| FeatureChecker.IsSupported(Features.ImageRecognition);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_detector?.Dispose();
_source1?.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void MovementDetector_INIT()
+ public void MovementDetector_INIT()
{
Assert.IsNotNull(_detector, "MovementDetector should not be null after calling constructor.");
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "SurveillanceSource")]
- public static async Task AddSource_CHECK_NO_EXCEPTION()
+ public async Task AddSource_CHECK_NO_EXCEPTION()
{
var detectorSource = new SurveillanceSource();
Assert.DoesNotThrow(() => _detector.AddSource(detectorSource));
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung")]
[Property("COVPARAM", "SurveillanceSource")]
- public static void AddSource_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void AddSource_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => _detector.AddSource(null));
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "SurveillanceSource, MovementDetectionConfiguration")]
- public static async Task AddSource_with_Configuration_CHECK_RETURN_VALUE()
+ public async Task AddSource_with_Configuration_CHECK_RETURN_VALUE()
{
var engineConfig = new MovementDetectionConfiguration
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "SurveillanceSource, MovementDetectionConfiguration")]
- public static void AddSource_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void AddSource_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
MovementDetectionConfiguration engineConfig = new MovementDetectionConfiguration
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Detected_CHECK_EVENT()
+ public async Task Detected_CHECK_EVENT()
{
using (var eventWaiter = EventAwaiter< MovementDetectedEventArgs>.Create())
{
[Description("Tizen.Multimedia.Vision.PersonAppearanceDetectedEventArgs test class")]
public class PersonAppearanceDetectedEventArgsTests
{
- private static PersonAppearanceDetectionConfiguration _config = null;
+ private PersonAppearanceDetectionConfiguration _config = null;
- private static Rectangle[] _appearRegions = new[] { new Rectangle(10, 10, 100, 200) };
- private static Rectangle[] _disappearRegions = new[] { new Rectangle(200, 300, 100, 200) };
- private static Rectangle[] _trackRegions = new[] { new Rectangle(400, 100, 100, 200) };
+ private Rectangle[] _appearRegions = new[] { new Rectangle(10, 10, 100, 200) };
+ private Rectangle[] _disappearRegions = new[] { new Rectangle(200, 300, 100, 200) };
+ private Rectangle[] _trackRegions = new[] { new Rectangle(400, 100, 100, 200) };
[SetUp]
- public static void Init()
+ public void Init()
{
bool isSurveillanceSupported = FeatureChecker.IsSupported(Features.FaceRecognition)
|| FeatureChecker.IsSupported(Features.ImageRecognition);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void PersonAppearanceDetectedEventArgs_INIT()
+ public void PersonAppearanceDetectedEventArgs_INIT()
{
Assert.IsNotNull(new PersonAppearanceDetectedEventArgs(_appearRegions, _disappearRegions, _trackRegions), "It should not be null");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void AppearanceAreas_READ_ONLY()
+ public void AppearanceAreas_READ_ONLY()
{
Assert.AreEqual(_appearRegions, new PersonAppearanceDetectedEventArgs(_appearRegions, _disappearRegions, _trackRegions).AppearanceAreas);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void DisappearanceAreas_READ_ONLY()
+ public void DisappearanceAreas_READ_ONLY()
{
Assert.AreEqual(_disappearRegions, new PersonAppearanceDetectedEventArgs(_appearRegions, _disappearRegions, _trackRegions).DisappearanceAreas);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void TrackedAreas_READ_ONLY()
+ public void TrackedAreas_READ_ONLY()
{
Assert.AreEqual(_trackRegions, new PersonAppearanceDetectedEventArgs(_appearRegions, _disappearRegions, _trackRegions).TrackedAreas);
}
public class PersonAppearanceDetectionConfigurationTests
{
- private static PersonAppearanceDetectionConfiguration _config = null;
+ private PersonAppearanceDetectionConfiguration _config = null;
[SetUp]
- public static void Init()
+ public void Init()
{
bool isSurveillanceSupported = FeatureChecker.IsSupported(Features.FaceRecognition)
|| FeatureChecker.IsSupported(Features.ImageRecognition);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void PersonAppearanceDetectionConfiguration_INIT()
+ public void PersonAppearanceDetectionConfiguration_INIT()
{
Assert.IsNotNull(_config, "PersonAppearanceDetectionConfiguration should not be null after calling constructor.");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void DefaultSkipFramesCount_READ_ONLY()
+ public void DefaultSkipFramesCount_READ_ONLY()
{
Assert.AreEqual(PersonAppearanceDetectionConfiguration.DefaultSkipFramesCount, 0, "DefaultSkipFramesCount should be 0");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void SkipFramesCount_CHECK_DEFAULT_VALUE()
+ public void SkipFramesCount_CHECK_DEFAULT_VALUE()
{
Assert.AreEqual(_config.SkipFramesCount, 0, "Default value of SkipFramesCount should be 0");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void SkipFramesCount_READ_WRITE()
+ public void SkipFramesCount_READ_WRITE()
{
_config.SkipFramesCount = 2;
Assert.AreEqual(_config.SkipFramesCount, 2, "SkipFramesCount should be 10");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PBM")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void SkipFramesCount_CHEKC_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
+ public void SkipFramesCount_CHEKC_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
{
Assert.Throws< ArgumentOutOfRangeException>(() => _config.SkipFramesCount = -1);
}
[Description("Tizen.Multimedia.Vision.PersonAppearanceDetector test class")]
public class PersonAppearanceDetectorTests
{
- private static PersonAppearanceDetector _detector = null;
- private static MediaVisionSource _source1 = null;
- private static MediaVisionSource _source2 = null;
+ private PersonAppearanceDetector _detector = null;
+ private MediaVisionSource _source1 = null;
+ private MediaVisionSource _source2 = null;
- private static async Task PrepareSourcesAsync()
+ private async Task PrepareSourcesAsync()
{
_source1 = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "surv/move_det_1.jpg");
_source2 = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "surv/pers_det.jpg");
}
[SetUp]
- public static void Init()
+ public void Init()
{
bool isSurveillanceSupported = FeatureChecker.IsSupported(Features.FaceRecognition)
|| FeatureChecker.IsSupported(Features.ImageRecognition);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_detector?.Dispose();
_source1?.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void PersonAppearanceDetector_INIT()
+ public void PersonAppearanceDetector_INIT()
{
Assert.IsNotNull(_detector, "PersonAppearanceDetector should not be null after calling constructor.");
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "SurveillanceSource")]
- public static async Task AddSource_CHECK_NO_EXCEPTION()
+ public async Task AddSource_CHECK_NO_EXCEPTION()
{
var detectorSource = new SurveillanceSource();
Assert.DoesNotThrow(() => _detector.AddSource(detectorSource));
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "SurveillanceSource")]
- public static void AddSource_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void AddSource_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => _detector.AddSource(null));
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
[Property("COVPARAM", "SurveillanceSource, PersonAppearanceDetectionConfiguration")]
- public static async Task AddSource_with_Configuration_CHECK_NO_EXCEPTION()
+ public async Task AddSource_with_Configuration_CHECK_NO_EXCEPTION()
{
var engineConfig = new PersonAppearanceDetectionConfiguration
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "SurveillanceSource, PersonAppearanceDetectionConfiguration")]
- public static void AddSource_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void AddSource_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
var engineConfig = new PersonAppearanceDetectionConfiguration
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Detected_CHECK_EVENT()
+ public async Task Detected_CHECK_EVENT()
{
using (var eventWaiter = EventAwaiter<PersonAppearanceDetectedEventArgs>.Create())
{
public class PersonRecognitionConfigurationTests
{
- private static PersonRecognitionConfiguration _config = null;
- private static readonly string _modelPath = TestHelper.ResourcePath + "surv/face_recog_model_p1";
+ private PersonRecognitionConfiguration _config = null;
+ private readonly string _modelPath = TestHelper.ResourcePath + "surv/face_recog_model_p1";
[SetUp]
- public static void Init()
+ public void Init()
{
bool isSurveillanceSupported = FeatureChecker.IsSupported(Features.FaceRecognition)
|| FeatureChecker.IsSupported(Features.ImageRecognition);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void PersonRecognitionConfiguration_with_ModelPath_INIT()
+ public void PersonRecognitionConfiguration_with_ModelPath_INIT()
{
Assert.IsNotNull(_config, "PersonRecognitionConfiguration should not be null after calling constructor.");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void PersonRecognitionConfiguration_with_ModelPath_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void PersonRecognitionConfiguration_with_ModelPath_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => new PersonRecognitionConfiguration(null));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void FaceRecognitionModelPath_READ_WRITE()
+ public void FaceRecognitionModelPath_READ_WRITE()
{
string newPath = TestHelper.ResourcePath + "surv/face_recog_model_p2";
_config.FaceRecognitionModelPath = newPath;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void FaceRecognitionModelPath_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void FaceRecognitionModelPath_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => _config.FaceRecognitionModelPath = null);
}
[Description("Tizen.Multimedia.Vision.PersonRecognitionInfo test class")]
public class PersonRecognitionInfoTests
{
- private static Rectangle _region = new Rectangle(10, 10, 100, 200);
- private static int _label = 1;
- private static double _confidence = 0.9;
+ private Rectangle _region = new Rectangle(10, 10, 100, 200);
+ private int _label = 1;
+ private double _confidence = 0.9;
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void PersonRecognitionInfo_INIT()
+ public void PersonRecognitionInfo_INIT()
{
Assert.IsNotNull(new PersonRecognitionInfo(_region, 1, 0.9), "It shoud be not null");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Area_READ_ONLY()
+ public void Area_READ_ONLY()
{
Assert.AreEqual(_region, new PersonRecognitionInfo(_region, _label, _confidence).Area);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Label_READ_ONLY()
+ public void Label_READ_ONLY()
{
Assert.AreEqual(_label, new PersonRecognitionInfo(_region, _label, _confidence).Label);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Confidence_READ_ONLY()
+ public void Confidence_READ_ONLY()
{
Assert.AreEqual(_confidence, new PersonRecognitionInfo(_region, _label, _confidence).Confidence);
}
[Description("Tizen.Multimedia.Vision.PersonRecognizedEventArgs test class")]
public class PersonRecognizedEventArgsTests
{
- private static Rectangle _region = new Rectangle(10, 10, 100, 200);
- private static int _label = 1;
- private static double _confidence = 0.9;
+ private Rectangle _region = new Rectangle(10, 10, 100, 200);
+ private int _label = 1;
+ private double _confidence = 0.9;
- private static PersonRecognitionConfiguration _config = null;
+ private PersonRecognitionConfiguration _config = null;
- private static readonly string _modelPath = TestHelper.ResourcePath + "surv/face_recog_model_p1";
+ private readonly string _modelPath = TestHelper.ResourcePath + "surv/face_recog_model_p1";
[SetUp]
- public static void Init()
+ public void Init()
{
bool isSurveillanceSupported = FeatureChecker.IsSupported(Features.FaceRecognition)
|| FeatureChecker.IsSupported(Features.ImageRecognition);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_config?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void PersonRecognizedEventArgs_INIT()
+ public void PersonRecognizedEventArgs_INIT()
{
var infos = new[] { new PersonRecognitionInfo(_region, _label, _confidence) };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Recognitions_READ_ONLY()
+ public void Recognitions_READ_ONLY()
{
var infos = new[] { new PersonRecognitionInfo(_region, _label, _confidence) };
[Description("Tizen.Multimedia.Vision.PersonRecognizer test class")]
public class PersonRecognizerTests
{
- private static PersonRecognizer _recognizer = null;
- private static PersonRecognitionConfiguration _config = null;
- private static readonly string _modelPath = TestHelper.ResourcePath + "surv/face_recog_model_p1";
+ private PersonRecognizer _recognizer = null;
+ private PersonRecognitionConfiguration _config = null;
+ private readonly string _modelPath = TestHelper.ResourcePath + "surv/face_recog_model_p1";
[SetUp]
- public static void Init()
+ public void Init()
{
bool isSurveillanceSupported = FeatureChecker.IsSupported(Features.FaceRecognition)
|| FeatureChecker.IsSupported(Features.ImageRecognition);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_recognizer?.Dispose();
_config?.Dispose();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void PersonRecognizer_INIT()
+ public void PersonRecognizer_INIT()
{
Assert.IsNotNull(_recognizer, "PersonRecognizer should not be null after calling constructor.");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task AddSource_with_Configuration_CHECK_NO_EXCEPTION()
+ public async Task AddSource_with_Configuration_CHECK_NO_EXCEPTION()
{
var recognizerSource = new SurveillanceSource();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void AddSource_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void AddSource_with_Configuration_CHECK_NULL_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentNullException>(() => _recognizer.AddSource(null, null));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void AddSource_with_Configuration_CHECK_ARGUMENT_EXCEPTION()
+ public void AddSource_with_Configuration_CHECK_ARGUMENT_EXCEPTION()
{
string fakePath = "/tmp/fake/face_recog_model_p1";
PersonRecognitionConfiguration engineConfig = new PersonRecognitionConfiguration(fakePath);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Recognized_CHECK_EVENT()
+ public async Task Recognized_CHECK_EVENT()
{
using (var eventWaiter = EventAwaiter<PersonRecognizedEventArgs>.Create())
using (var source = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "surv/p1_09.jpg"))
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Point_INIT()
+ public void Point_INIT()
{
Assert.IsNotNull(new Point(10, 10), "Point should not be null after calling constructor.");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void X_READ_WRITE()
+ public void X_READ_WRITE()
{
var obj = new Point(20, 10);
Assert.AreEqual(obj.X, 20, "X-coordinate is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Y_READ_WRITE()
+ public void Y_READ_WRITE()
{
var obj = new Point(10, 20);
Assert.AreEqual(obj.Y, 20, "Y-coordinate is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void QrConfiguration_INIT()
+ public void QrConfiguration_INIT()
{
Assert.IsNotNull(new QrConfiguration(QrMode.Numeric, ErrorCorrectionLevel.Medium, 30), "QrConfiguration should not be null after calling constructor.");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void QrConfiguration_CHECK_ABOVE_MAX_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
+ public void QrConfiguration_CHECK_ABOVE_MAX_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(() => new QrConfiguration(QrMode.Numeric, ErrorCorrectionLevel.Medium, 50));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void QrConfiguration_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
+ public void QrConfiguration_CHECK_BELOW_MIN_OUT_OF_RANGE_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentOutOfRangeException>(() => new QrConfiguration(QrMode.Numeric, ErrorCorrectionLevel.Medium, 0));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void QrConfiguration_CHECK_ARGUMENT_EXCEPTION()
+ public void QrConfiguration_CHECK_ARGUMENT_EXCEPTION()
{
Assert.Throws<ArgumentException>(() => new QrConfiguration(QrMode.Utf8 + 1, ErrorCorrectionLevel.Medium, 20));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Mode_GET_ENUM_QRMODE_NUMERIC()
+ public void Mode_GET_ENUM_QRMODE_NUMERIC()
{
var obj = new QrConfiguration(QrMode.Numeric, ErrorCorrectionLevel.Low, 30);
Assert.AreEqual(obj.Mode, QrMode.Numeric, "QrMode value is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Mode_GET_ENUM_QRMODE_ALPHANUMERIC()
+ public void Mode_GET_ENUM_QRMODE_ALPHANUMERIC()
{
var obj = new QrConfiguration(QrMode.AlphaNumeric, ErrorCorrectionLevel.Low, 30);
Assert.AreEqual(obj.Mode, QrMode.AlphaNumeric, "QrMode value is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Mode_GET_ENUM_QRMODE_BYTE()
+ public void Mode_GET_ENUM_QRMODE_BYTE()
{
var obj = new QrConfiguration(QrMode.Byte, ErrorCorrectionLevel.Low, 30);
Assert.AreEqual(obj.Mode, QrMode.Byte, "QrMode value is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Mode_GET_ENUM_QRMODE_UTF8()
+ public void Mode_GET_ENUM_QRMODE_UTF8()
{
var obj = new QrConfiguration(QrMode.Utf8, ErrorCorrectionLevel.Low, 30);
Assert.AreEqual(obj.Mode, QrMode.Utf8, "QrMode value is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ErrorCorrectionLevel_GET_ENUM_ERRORCORRECTIONLEVEL_LOW()
+ public void ErrorCorrectionLevel_GET_ENUM_ERRORCORRECTIONLEVEL_LOW()
{
var obj = new QrConfiguration(QrMode.Numeric, ErrorCorrectionLevel.Low, 30);
Assert.AreEqual(obj.ErrorCorrectionLevel, ErrorCorrectionLevel.Low, "ErrorCorrectionLevel value is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ErrorCorrectionLevel_GET_ENUM_ERRORCORRECTIONLEVEL_MEDIUM()
+ public void ErrorCorrectionLevel_GET_ENUM_ERRORCORRECTIONLEVEL_MEDIUM()
{
var obj = new QrConfiguration(QrMode.Numeric, ErrorCorrectionLevel.Medium, 30);
Assert.AreEqual(obj.ErrorCorrectionLevel, ErrorCorrectionLevel.Medium, "ErrorCorrectionLevel value is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ErrorCorrectionLevel_GET_ENUM_ERRORCORRECTIONLEVEL_QUARTILE()
+ public void ErrorCorrectionLevel_GET_ENUM_ERRORCORRECTIONLEVEL_QUARTILE()
{
var obj = new QrConfiguration(QrMode.Numeric, ErrorCorrectionLevel.Quartile, 30);
Assert.AreEqual(obj.ErrorCorrectionLevel, ErrorCorrectionLevel.Quartile, "ErrorCorrectionLevel value is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void ErrorCorrectionLevel_GET_ENUM_ERRORCORRECTIONLEVEL_HIGH()
+ public void ErrorCorrectionLevel_GET_ENUM_ERRORCORRECTIONLEVEL_HIGH()
{
var obj = new QrConfiguration(QrMode.Numeric, ErrorCorrectionLevel.High, 30);
Assert.AreEqual(obj.ErrorCorrectionLevel, ErrorCorrectionLevel.High, "ErrorCorrectionLevel value is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Version_READ_ONLY()
+ public void Version_READ_ONLY()
{
var obj = new QrConfiguration(QrMode.Numeric, ErrorCorrectionLevel.Medium, 30);
Assert.AreEqual(obj.Version, 30, "Version is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Quadrangle_INIT()
+ public void Quadrangle_INIT()
{
Point[] points = new Point[4]
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Quadrangle_CHECK_ARGUMENT_EXCEPTION()
+ public void Quadrangle_CHECK_ARGUMENT_EXCEPTION()
{
Point[] points = new Point[3]
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Points_READ_ONLY()
+ public void Points_READ_ONLY()
{
/* TEST CODE */
Point[] points = new Point[4]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "Point, Size")]
- public static void Rectangle_with_Point_Size_INIT()
+ public void Rectangle_with_Point_Size_INIT()
{
Assert.IsNotNull(new Rectangle(new Point(10, 10), new Size(500, 400)), "Rectangle should not be null after calling constructor.");
}
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
[Property("COVPARAM", "int, int, int, int")]
- public static void Rectangle_with_Coordinate_INIT()
+ public void Rectangle_with_Coordinate_INIT()
{
var obj = new Rectangle(10, 10, 500, 400);
Assert.IsNotNull(obj, "Rectangle should not be null after calling constructor.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void X_READ_WRITE()
+ public void X_READ_WRITE()
{
var rect = new Rectangle(new Point(10, 10), new Size(500, 400));
Assert.AreEqual(rect.Location.X, 10, "Left corner X-coordinate is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Y_READ_WRITE()
+ public void Y_READ_WRITE()
{
var rect = new Rectangle(new Point(10, 10), new Size(500, 400));
Assert.AreEqual(rect.Location.Y, 10, "Left corner Y-coordinate is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Width_READ_WRITE()
+ public void Width_READ_WRITE()
{
var rect = new Rectangle(new Point(10, 10), new Size(500, 400));
Assert.AreEqual(rect.Width, 500, "Incorrect width");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Height_READ_WRITE()
+ public void Height_READ_WRITE()
{
var rect = new Rectangle(new Point(10, 10), new Size(500, 400));
Assert.AreEqual(rect.Height, 400, "Incorrect height");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Location_READ_WRITE()
+ public void Location_READ_WRITE()
{
var rect = new Rectangle(new Point(10, 10), new Size(500, 400));
Assert.AreEqual(rect.Location.X, 10, "Incorrect width");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Size_READ_WRITE()
+ public void Size_READ_WRITE()
{
var rect = new Rectangle(new Point(10, 10), new Size(500, 400));
Assert.AreEqual(rect.Size.Width, 500, "Incorrect width");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Size_INIT()
+ public void Size_INIT()
{
Assert.IsNotNull(new Size(100, 100), "Size should not be null after calling constructor.");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Width_READ_WRITE()
+ public void Width_READ_WRITE()
{
var size = new Size(200, 100);
Assert.AreEqual(size.Width, 200, "Width is incorrect");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Height_READ_WRITE()
+ public void Height_READ_WRITE()
{
var size = new Size(100, 200);
Assert.AreEqual(size.Height, 200, "Height is incorrect");
public class SurveillanceEngineTests
{
- private static MovementDetector _detector = null;
+ private MovementDetector _detector = null;
[SetUp]
- public static void Init()
+ public void Init()
{
bool isSurveillanceSupported = FeatureChecker.IsSupported(Features.FaceRecognition)
|| FeatureChecker.IsSupported(Features.ImageRecognition);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_detector?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void Roi_READ_WRITE()
+ public void Roi_READ_WRITE()
{
Point[] points = {
new Point(440, 130),
Assert.IsTrue(SubClass.Roi[3] == points[3], "Should be " + points[3].ToString());
}
- public static void EventHandlerMovementDetect(object sender, EventArgs e)
+ public void EventHandlerMovementDetect(object sender, EventArgs e)
{
Log.Info(LogUtils.TAG, "EventHandlerMovementDetect");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task RemoveSource_CHECK_NO_EXCEPTION()
+ public async Task RemoveSource_CHECK_NO_EXCEPTION()
{
using (MediaVisionSource source1 = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "surv/move_det_1.jpg"))
using (var eventWaiter = EventAwaiter<MovementDetectedEventArgs>.Create())
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void RemoveSource_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void RemoveSource_CHECK_NULL_ARGUMENT_EXCEPTION()
{
SurveillanceEngine SubClass = _detector;
Assert.Throws<ArgumentNullException>(() => SubClass.RemoveSource(null));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void RemoveSource_CHECK_ARGUMENT_EXCEPTION()
+ public void RemoveSource_CHECK_ARGUMENT_EXCEPTION()
{
var detectorSource = new SurveillanceSource();
public class SurveillanceSourceTests
{
- private static MovementDetector _detector = null;
+ private MovementDetector _detector = null;
- public static void EventHandlerMovementDetect(object sender, EventArgs e)
+ public void EventHandlerMovementDetect(object sender, EventArgs e)
{
Log.Info(LogUtils.TAG, "EventHandlerMovementDetect");
}
[SetUp]
- public static void Init()
+ public void Init()
{
bool isSurveillanceSupported = FeatureChecker.IsSupported(Features.FaceRecognition)
|| FeatureChecker.IsSupported(Features.ImageRecognition);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_detector != null)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static void SurveillanceSource_INIT()
+ public void SurveillanceSource_INIT()
{
Assert.IsNotNull(new SurveillanceSource(), "SurveillanceSource should not be null after calling constructor.");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")]
- public static async Task Push_CHECK_NO_EXCEPTION()
+ public async Task Push_CHECK_NO_EXCEPTION()
{
var detectorSource = new SurveillanceSource();
_detector.AddSource(detectorSource);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static void Push_CHECK_NULL_ARGUMENT_EXCEPTION()
+ public void Push_CHECK_NULL_ARGUMENT_EXCEPTION()
{
var detectorSource = new SurveillanceSource();
Assert.Throws<ArgumentNullException>(() => detectorSource.Push(null));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Tae-Young Chung, ty83.chung@samsung.com")]
- public static async Task Push_CHECK_INVALID_OPERATIONT_EXCEPTION()
+ public async Task Push_CHECK_INVALID_OPERATIONT_EXCEPTION()
{
var detectorSource = new SurveillanceSource();
[Description("Tizen.Content.MediaContent.MediaInfo test")]
public class MediaInfoTests
{
- private static Image _image;
- private static ImageSource _imageSource;
- private static TestPage _testPage = TestPage.GetInstance();
+ private Image _image;
+ private ImageSource _imageSource;
+ private TestPage _testPage = TestPage.GetInstance();
/*-------supporting functions------*/
/*Drawing an UI*/
- private static void CreateImage(string imagepath)
+ private void CreateImage(string imagepath)
{
_image = new Image()
{
[Step(1, "Click run TC")]
[Step(2, "If you see thumbnail image, press back button then press pass.")]
[Postcondition(1, "NA")]
- public static async Task CreateThumbnailAsync_CHECK_THUMBNAILIMG()
+ public async Task CreateThumbnailAsync_CHECK_THUMBNAILIMG()
{
string mediapath = StorageManager.Storages.Where(s => s.StorageType == StorageArea.Internal).
FirstOrDefault().RootDirectory;
[Description("Tizen.Content.MediaContent.MediaCommand Tests")]
class MediaCommandTests
{
- private static MediaDatabase _database;
+ private MediaDatabase _database;
[SetUp]
public void SetUp()
[Description("Tizen.Content.MediaContent.MediaDatabase Tests")]
public class MediaDatabaseTests : TestBase
{
- private static CancellationTokenSource cts;
+ private CancellationTokenSource cts;
[TearDown]
public void Destroy()
Assert.That(count, Is.EqualTo(new DirectoryInfo(TestConstants.FolderPath).GetFiles().Length));
}
- private static int CountOtherFiles()
+ private int CountOtherFiles()
{
return FeatureChecker.IsSupported(TestConstants.OthersFeature) ?
Directory.GetFiles(TestConstants.OtherPath).Length : 0;
[Description("Tizen.Content.MediaContent.MediaInfoCommand Tests")]
public class MediaInfoCommandTests : MediaInfoCommandTestBase
{
- private static CancellationTokenSource cts;
+ private CancellationTokenSource cts;
[TearDown]
public void Destroy()
[Description("Tizen.Content.MediaContent.MediaInfoCommand Tests regarding DetectFace")]
public class MediaInfoCommandDetectFaceTests : MediaInfoCommandTestBase
{
- private static CancellationTokenSource cts;
+ private CancellationTokenSource cts;
[SetUp]
public void SetUp()
public class PlaylistTests : TestBase
{
private const string Name = "my playlist";
- private static readonly string ThumbnailPath = TestConstants.ImageFile;
+ private readonly string ThumbnailPath = TestConstants.ImageFile;
private Playlist _playlist;
{
private const int PlayOrderValue = 789;
private const string Name = "my playlist";
- private static readonly string ThumbnailPath = TestConstants.ImageFile;
+ private readonly string ThumbnailPath = TestConstants.ImageFile;
private int _playlistId;
private string _mediaId;
[Description("Tizen.Messaging.Messages.Message Tests")]
public class MessageTests
{
- static bool isSmsSupported = false;
+ bool isSmsSupported = false;
[OneTimeSetUp]
public void GetFeature()
[Description("Tizen.Messaging.Messages.MessageReceivedEventArgs Tests")]
public class MessageReceivedEventArgsTests
{
- static bool isSmsSupported = false;
- static bool isEmulator = false;
- static private string myNumber = "";
+ bool isSmsSupported = false;
+ bool isEmulator = false;
+ private string myNumber = "";
[OneTimeSetUp]
public void OneTimeInit()
[Description("Tizen.Messaging.Messages.MessagesAddress Tests")]
public class MessagesAddressTests
{
- static bool isSmsSupported = false;
+ bool isSmsSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
[Description("Tizen.Messaging.Messages.MessagesAttachment Tests")]
public class MessagesAttachmentTests
{
- static private string imagePath = "/opt/usr/home/owner/share/res/Default.jpg";
- static private string audioPath = "/opt/usr/home/owner/share/res/audio.amr";
- static private string videoPath = "/opt/usr/home/owner/share/res/V091120_104905.3gp";
+ private string imagePath = "/opt/usr/home/owner/share/res/Default.jpg";
+ private string audioPath = "/opt/usr/home/owner/share/res/audio.amr";
+ private string videoPath = "/opt/usr/home/owner/share/res/V091120_104905.3gp";
- static bool isSmsSupported = false;
+ bool isSmsSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
[Description("Tizen.Messaging.Messages.MessagesManager Tests")]
public class MessagesManagerTests
{
- static bool isSmsSupported = false;
- static bool isMmsSupported = false;
- static bool isEmulator = false;
+ bool isSmsSupported = false;
+ bool isMmsSupported = false;
+ bool isEmulator = false;
- static bool _flag = false;
- static private string myNumber = "";
- static private string destinationNumber = "";
- static private string imagePath = "/opt/usr/home/owner/share/res/Default.jpg";
+ bool _flag = false;
+ private string myNumber = "";
+ private string destinationNumber = "";
+ private string imagePath = "/opt/usr/home/owner/share/res/Default.jpg";
[OneTimeSetUp]
public void OneTimeInit()
}
}
- public static void EventHandlerMessageReceived(object sender, EventArgs e)
+ public void EventHandlerMessageReceived(object sender, EventArgs e)
{
_flag = true;
}
[Description("Tizen.Messaging.Messages.MessagesSearchFilter Tests")]
public class MessagesSearchFilterTests
{
- static bool isSmsSupported = false;
+ bool isSmsSupported = false;
[OneTimeSetUp]
public void OneTimeInit()
public class MmsMessageTests
{
- static bool isSmsSupported = false;
- static bool isMmsSupported = false;
+ bool isSmsSupported = false;
+ bool isMmsSupported = false;
[OneTimeSetUp]
public void GetFeature()
[Description("Tizen.Messaging.Messages.SmsMessage Tests")]
public class SmsMessageTests
{
- static bool isSmsSupported = false;
+ bool isSmsSupported = false;
[OneTimeSetUp]
public void GetFeature()
private const string _mediaPath = "/opt/usr/home/owner/share/res/test_editor.mp3";
private const string _artworkPath = "/opt/usr/home/owner/share/res/test_artwork.jpg";
- private static MetadataEditor _metadata;
+ private MetadataEditor _metadata;
[SetUp]
public void SetUp()
{
[TestFixture]
[Description("Testing Tizen.Multimedia.Artwork class")]
- public static class ArtworkTests
+ public class ArtworkTests
{
[Test]
[Category("P1")]
[Property("SPEC", "Tizen.Multimedia.Artwork.Artwork C")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
- public static void Artwork_CONSTRUCTOR()
+ public void Artwork_CONSTRUCTOR()
{
Assert.That(() => new Artwork(null, ""), Throws.Nothing);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Data_PROPERTY_READ_ONLY()
+ public void Data_PROPERTY_READ_ONLY()
{
var data = new byte[] { 1, 2, 2, 10 };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void MimeType_PROPERTY_READ_ONLY()
+ public void MimeType_PROPERTY_READ_ONLY()
{
const string mimeType = "someMimeType";
{
[TestFixture]
[Description("Testing Tizen.Multimedia.AudioMetadata class")]
- public static class AudioMetadataTests
+ public class AudioMetadataTests
{
- private static MetadataExtractor _metadataExtractor;
- private static Metadata _metadata;
- private static string _path = "/opt/usr/home/owner/share/res/test_meta.mp4";
+ private MetadataExtractor _metadataExtractor;
+ private Metadata _metadata;
+ private string _path = "/opt/usr/home/owner/share/res/test_meta.mp4";
[SetUp]
- public static void Init()
+ public void Init()
{
_metadataExtractor = new MetadataExtractor(_path);
_metadata = _metadataExtractor.GetMetadata();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_metadataExtractor?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void BitRate_PROPERTY_READ_ONLY()
+ public void BitRate_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Audio.BitRate, 44512, "Get AudioBitRate test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Channels_PROPERTY_READ_ONLY()
+ public void Channels_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Audio.Channels, 2, "Get AudioChannels test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void SampleRate_PROPERTY_READ_ONLY()
+ public void SampleRate_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Audio.SampleRate, 48000, "Get AudioSampleRate test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void BitPerSample_PROPERTY_READ_ONLY()
+ public void BitPerSample_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Audio.BitPerSample, 16, "Get AudioBitPerSample test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Codec_PROPERTY_READ_ONLY()
+ public void Codec_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Audio.Codec, "AAC", "Get AudioCodec test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void StreamCount_PROPERTY_READ_ONLY()
+ public void StreamCount_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Audio.StreamCount, 1, "Get AudioStreamCount test failed, the value is not proper");
}
{
[TestFixture]
[Description("Testing Tizen.Multimedia.Metadata class")]
- public static class MetadataTests
+ public class MetadataTests
{
- private static MetadataExtractor _metadataExtractor;
- private static Metadata _metadata;
- private static string _path = "/opt/usr/home/owner/share/res/test_meta.mp4";
+ private MetadataExtractor _metadataExtractor;
+ private Metadata _metadata;
+ private string _path = "/opt/usr/home/owner/share/res/test_meta.mp4";
[SetUp]
- public static void Init()
+ public void Init()
{
_metadataExtractor = new MetadataExtractor(_path);
_metadata = _metadataExtractor.GetMetadata();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_metadataExtractor?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Duration_PROPERTY_READ_ONLY()
+ public void Duration_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Duration, 11883, "Get Duration test fail, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Artist_PROPERTY_READ_ONLY()
+ public void Artist_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Artist, "Test", "Get Artist test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Title_PROPERTY_READ_ONLY()
+ public void Title_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Title, "Test", "Get Title test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Album_PROPERTY_READ_ONLY()
+ public void Album_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Album, "Test", "Get Album test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Genre_PROPERTY_READ_ONLY()
+ public void Genre_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Genre, "Test", "Get Genre test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Author_PROPERTY_READ_ONLY()
+ public void Author_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Author, "Test", "Get Author test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Copyright_PROPERTY_READ_ONLY()
+ public void Copyright_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Copyright, "Test", "Get Copyright test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void DateReleased_PROPERTY_READ_ONLY()
+ public void DateReleased_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.DateReleased, "2001-1-1", "Get Date test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Description_PROPERTY_READ_ONLY()
+ public void Description_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Description, "Test", "Get Description test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Comment_PROPERTY_READ_ONLY()
+ public void Comment_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Comment, "Test", "Get Comment test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void TrackNumber_PROPERTY_READ_ONLY()
+ public void TrackNumber_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.TrackNumber, "1/31144", "Get TrackNumber test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Longitude_PROPERTY_READ_ONLY()
+ public void Longitude_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Longitude, 0.0, "Get Longitude test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Latitude_PROPERTY_READ_ONLY()
+ public void Latitude_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Latitude, 0.0, "Get Latitude test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Altitude_PROPERTY_READ_ONLY()
+ public void Altitude_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Altitude, 0.0, "Get Altitude test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void SyncLyricsCount_PROPERTY_READ_ONLY()
+ public void SyncLyricsCount_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.SyncLyricsCount, 0, "Get SyncLyricsCount test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void DateRecorded_PROPERTY_READ_ONLY()
+ public void DateRecorded_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.DateRecorded, "2014-01-01 09:01:11", "Get RecordingDate test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Rotation_PROPERTY_READ_ONLY()
+ public void Rotation_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Rotation, "90", "Get Rotate test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Content360_PROPERTY_READ_ONLY()
+ public void Content360_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Content360, "0", "Get Content360 test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void AlbumArtist_PROPERTY_READ_ONLY()
+ public void AlbumArtist_PROPERTY_READ_ONLY()
{
Assert.IsNull(_metadata.AlbumArtist, "Get AlbumArtist test failed");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Classification_PROPERTY_READ_ONLY()
+ public void Classification_PROPERTY_READ_ONLY()
{
Assert.IsNull(_metadata.Classification, "Get Classification test failed");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Conductor_PROPERTY_READ_ONLY()
+ public void Conductor_PROPERTY_READ_ONLY()
{
Assert.IsNull(_metadata.Conductor, "Get Conductor test failed");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Rating_PROPERTY_READ_ONLY()
+ public void Rating_PROPERTY_READ_ONLY()
{
Assert.IsNull(_metadata.Rating, "Get Rating test failed");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void UnsyncLyrics_PROPERTY_READ_ONLY()
+ public void UnsyncLyrics_PROPERTY_READ_ONLY()
{
Assert.That(_metadata.UnsyncLyrics, Is.Not.Null);
}
[Property("SPEC", "Tizen.Multimedia.Metadata.Video A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
- public static void Video_PROPERTY_READ_ONLY()
+ public void Video_PROPERTY_READ_ONLY()
{
Assert.IsNotNull(_metadata.Video);
}
[Property("SPEC", "Tizen.Multimedia.Metadata.Audio A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
- public static void Audio_PROPERTY_READ_ONLY()
+ public void Audio_PROPERTY_READ_ONLY()
{
Assert.IsNotNull(_metadata.Audio);
}
{
[TestFixture]
[Description("Testing Tizen.Multimedia.MetadataExtractor class")]
- public static class MetadataExtractorTests
+ public class MetadataExtractorTests
{
private const string LogTag = "TizenTest.Multimedia.MetadataExtractor";
private const string MediaPath = "/opt/usr/home/owner/share/res/test_meta.mp4";
private const string MediaPathForArtwork = "/opt/usr/home/owner/share/res/test_meta.mp3";
- private static MetadataExtractor _metadataExtractor;
- private static MetadataExtractor _metadataExtractorForArtwork;
+ private MetadataExtractor _metadataExtractor;
+ private MetadataExtractor _metadataExtractorForArtwork;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(LogTag, "MetadataExtractor Test Init");
_metadataExtractor = new MetadataExtractor(MediaPath);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(LogTag, "MetadataExtractor Test Destroy");
_metadataExtractorForArtwork?.Dispose();
[Property("CRITERIA", "CONSTR")]
[Property("COVPARAM", "string")]
[Property("AUTHOR", "Minje Ahn, minje.ahn@samsung.com")]
- public static void MetadataExtractor_CHECK_CREATE_CONSTRUCTOR_WITH_PATH()
+ public void MetadataExtractor_CHECK_CREATE_CONSTRUCTOR_WITH_PATH()
{
Assert.DoesNotThrow(() => new MetadataExtractor(MediaPath));
}
[Property("CRITERIA", "CONSTN")]
[Property("COVPARAM", "string")]
[Property("AUTHOR", "Minje Ahn, minje.ahn@samsung.com")]
- public static void MetadataExtractor_CHECK_CREATE_CONSTRUCTOR_WITH_NULL_PATH()
+ public void MetadataExtractor_CHECK_CREATE_CONSTRUCTOR_WITH_NULL_PATH()
{
string null_path = null;
Assert.Throws<ArgumentNullException>(() => new MetadataExtractor(null_path));
[Property("CRITERIA", "CONSTN")]
[Property("COVPARAM", "string")]
[Property("AUTHOR", "Minje Ahn, minje.ahn@samsung.com")]
- public static void MetadataExtractor_CHECK_CREATE_CONSTRUCTOR_WITH_NONEXISTENT_PATH()
+ public void MetadataExtractor_CHECK_CREATE_CONSTRUCTOR_WITH_NONEXISTENT_PATH()
{
Assert.Throws<FileNotFoundException>(() => new MetadataExtractor("/opt/usr/home/owner/share/res/no_exists.mp4"));
}
[Property("CRITERIA", "CONSTR")]
[Property("COVPARAM", "byte[]")]
[Property("AUTHOR", "Minje Ahn, minje.ahn@samsung.com")]
- public static void MetadataExtractor_CHECK_CREATE_CONSTRUCTOR_WITH_BUFFER()
+ public void MetadataExtractor_CHECK_CREATE_CONSTRUCTOR_WITH_BUFFER()
{
byte[] readMediaBuffer;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Minje Ahn, minje.ahn@samsung.com")]
- public static void GetMetadata_CHECK_RESULT()
+ public void GetMetadata_CHECK_RESULT()
{
Assert.IsNotNull(_metadataExtractor.GetMetadata());
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Minje Ahn, minje.ahn@samsung.com")]
- public static void GetArtwork_CHECK_RESULT()
+ public void GetArtwork_CHECK_RESULT()
{
Log.Info(LogTag, "MetadataExtractor Test GetArtwork starting");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Minje Ahn, minje.ahn@samsung.com")]
- public static void GetVideoThumbnail_CHECK_RESULT()
+ public void GetVideoThumbnail_CHECK_RESULT()
{
Log.Info(LogTag, "MetadataExtractor Test GetVideoThumbnail starting");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Minje Ahn, minje.ahn@samsung.com")]
- public static void GetFrameAt_CHECK_RESULT()
+ public void GetFrameAt_CHECK_RESULT()
{
Log.Info(LogTag, "MetadataExtractor Test GetFrameAt starting");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Minje Ahn, minje.ahn@samsung.com")]
- public static void GetSyncLyrics_CHECK_RESULT()
+ public void GetSyncLyrics_CHECK_RESULT()
{
Log.Info(LogTag, "MetadataExtractor Test GetSyncLyrics starting");
{
[TestFixture]
[Description("Testing Tizen.Multimedia.SyncLyrics class")]
- public static class SyncLyricsTests
+ public class SyncLyricsTests
{
[Test]
[Category("P1")]
[Property("SPEC", "Tizen.Multimedia.SyncLyrics.SyncLyrics C")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
- public static void SyncLyrics_CONSTRUCTOR()
+ public void SyncLyrics_CONSTRUCTOR()
{
Assert.DoesNotThrow(() => new SyncLyrics("", 0));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Lyrics_PROPERTY_READ_ONLY()
+ public void Lyrics_PROPERTY_READ_ONLY()
{
const string lyricsValue = "something";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Timestamp_PROPERTY_READ_ONLY()
+ public void Timestamp_PROPERTY_READ_ONLY()
{
const uint tsValue = 1234;
{
[TestFixture]
[Description("Testing Tizen.Multimedia.VideoMetadata class")]
- public static class VideoMetadataTests
+ public class VideoMetadataTests
{
- private static MetadataExtractor _metadataExtractor;
- private static Metadata _metadata;
- private static string _path = "/opt/usr/home/owner/share/res/test_meta.mp4";
+ private MetadataExtractor _metadataExtractor;
+ private Metadata _metadata;
+ private string _path = "/opt/usr/home/owner/share/res/test_meta.mp4";
[SetUp]
- public static void Init()
+ public void Init()
{
_metadataExtractor = new MetadataExtractor(_path);
_metadata = _metadataExtractor.GetMetadata();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_metadataExtractor?.Dispose();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void BitRate_PROPERTY_READ_ONLY()
+ public void BitRate_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Video.BitRate, 909428, "Get Video.BitRate test fail, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Fps_PROPERTY_READ_ONLY()
+ public void Fps_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Video.Fps, 30, "Get VideoFPS test failed");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Width_PROPERTY_READ_ONLY()
+ public void Width_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Video.Width, 320, "Get VideoWidth test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Height_PROPERTY_READ_ONLY()
+ public void Height_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Video.Height, 240, "Get VideoHeight test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void Codec_PROPERTY_READ_ONLY()
+ public void Codec_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Video.Codec, "MPEG4", "Get VideoCodec test failed, the value is not proper");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiyong Min, jiyong.min@samsung.com")]
- public static void StreamCount_PROPERTY_READ_ONLY()
+ public void StreamCount_PROPERTY_READ_ONLY()
{
Assert.AreEqual(_metadata.Video.StreamCount, 1, "Get VideoStreamCount test failed, the value is not proper");
}
[Description("Tizen.Content.MimeType Tests")]
public class MimeUtilTests {
- private static string TAG = "TCT";
- private static string _message;
+ private string TAG = "TCT";
+ private string _message;
[SetUp]
- public static void Init() {
+ public void Init() {
//LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy() {
+ public void Destroy() {
//LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetMimeType_RETURN_VALUE() {
+ public void GetMimeType_RETURN_VALUE() {
/* TEST CODE */
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetMimeType_METHOD_EXCEPTION() {
+ public void GetMimeType_METHOD_EXCEPTION() {
/* TEST CODE */
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetFileExtension_RETURN_VALUE() {
+ public void GetFileExtension_RETURN_VALUE() {
/* TEST CODE */
try{
Tizen.Log.Info(TAG,"Executing TC:GetFileExtension_RETURN_VALUE");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetFileExtension_METHOD_EXCEPTION()
+ public void GetFileExtension_METHOD_EXCEPTION()
{
/* TEST CODE */
try
[Description("Testing Camera class")]
public class CameraTests : CameraTestBase
{
- private static CancellationTokenSource tokenSource = null;
+ private CancellationTokenSource tokenSource = null;
[Test]
[Category("P1")]
public class AudioDeviceTests : AudioManagerTestBase
{
public const string LogTag = "TizenTest.Multimedia.AudioDevice";
- private static bool _isBluetoothAvailable = true;
+ private bool _isBluetoothAvailable = true;
[OneTimeSetUp]
public void OneTimeSetUp()
Log.Info(LogTag, "Bluetooth available : " + _isBluetoothAvailable);
}
- private static void AssertDevice(Func<AudioDevice, bool> deviceCheckFunc)
+ private void AssertDevice(Func<AudioDevice, bool> deviceCheckFunc)
{
TestPage.GetInstance().UnlockUIButton();
[Precondition(1, "Ensure audio jack is disconnected from the device")]
[Step(1, "Click run TC")]
[Step(2, "Insert audio jack to the device")]
- public static async Task Device_PROPERTY_READ_ONLY()
+ public async Task Device_PROPERTY_READ_ONLY()
{
if (IsAudioJackAvailable == false)
{
[Precondition(1, "Ensure audio jack is disconnected from the device")]
[Step(1, "Click run TC")]
[Step(2, "Insert audio jack to the device")]
- public static async Task IsConnected_PROPERTY_READ_ONLY()
+ public async Task IsConnected_PROPERTY_READ_ONLY()
{
if (IsAudioJackAvailable == false)
{
{
[TestFixture]
[Description("Testing Tizen.Multimedia.Display class")]
- public static class DisplayTests
+ public class DisplayTests
{
private const string LogTag = "TizenTest.Multimedia.Display";
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(LogTag, "Display Test Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(LogTag, "Display Test Destroy");
}
[Precondition(1, "N/A")]
[Step(1, "Click run TC")]
[Postcondition(1, "N/A")]
- public static async Task Mode_MANUAL_TEST_DISPLAY()
+ public async Task Mode_MANUAL_TEST_DISPLAY()
{
Assert.True(false, "[NA] VideoView is unavailable yet.");
}
[Precondition(1, "N/A")]
[Step(1, "Click run TC")]
[Postcondition(1, "N/A")]
- public static async Task Rotation_MANUAL_TEST_DISPLAY()
+ public async Task Rotation_MANUAL_TEST_DISPLAY()
{
Assert.True(false, "[NA] VideoView is unavailable yet.");
}
[Precondition(1, "N/A")]
[Step(1, "Click run TC")]
[Postcondition(1, "N/A")]
- public static async Task Visible_MANUAL_TEST_DISPLAY()
+ public async Task Visible_MANUAL_TEST_DISPLAY()
{
Assert.True(false, "[NA] VideoView is unavailable yet.");
}
namespace Tizen.Multimedia.Tests
{
- internal static class TSMultimediaHelper
+ internal class TSMultimediaHelper
{
// below object is using with unsupported message.
private static readonly TestPage _testPage = TestPage.GetInstance();
{
[TestFixture]
[Description("Testing Tizen.Multimedia.Player class")]
- public static class PlayerTests
+ public class PlayerTests
{
private const string LogTag = "TizenTest.Multimedia.Player";
private const string TestSource = "/opt/usr/home/owner/share/res/test.mp3";
- private static Player _player;
- private static TestPage _testPage = TestPage.GetInstance();
- private static Button _button_1;
- private static Button _button_2;
- private static Button _button_3;
- private static TestOperations _operation;
+ private Player _player;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Button _button_1;
+ private Button _button_2;
+ private Button _button_3;
+ private TestOperations _operation;
enum TestOperations
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
_player = new Player();
_player.SetSource(new MediaUriSource(TestSource));
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_player.Dispose();
}
- private static async Task StartTest(int val)
+ private async Task StartTest(int val)
{
/**
* Step1 : click start player starts
}
}
- private static async Task PauseTest(int val)
+ private async Task PauseTest(int val)
{
/**
* Step1 : click start player starts
}
}
- private static async Task StopTest(int val)
+ private async Task StopTest(int val)
{
/**
* Step1 : click start player starts
}
}
- private static async Task MuteTest(int val)
+ private async Task MuteTest(int val)
{
/**
* Step1 : click start player starts and plays for 10 seconds and then stops.
}
}
- private static async Task LoopTest(int val)
+ private async Task LoopTest(int val)
{
/**
* Step1 : click start player starts and stops after 80 seconds
}
}
- private static async Task VolumeTest(int val)
+ private async Task VolumeTest(int val)
{
/**
* Step1 : click start player starts and plays for 30 seconds
}
}
- private static async Task taskselect(int val)
+ private async Task taskselect(int val)
{
switch(_operation)
{
}
}
- private static void CreateButton(string str1, string str2="", string str3="")
+ private void CreateButton(string str1, string str2="", string str3="")
{
Device.BeginInvokeOnMainThread(() =>
{
[Step(1, "Click run TC and click start button")]
[Step(2, "Check if playback starts")]
[Postcondition(1, "N/A")]
- public static async Task Start_MANUAL_TEST_START()
+ public async Task Start_MANUAL_TEST_START()
{
_operation = TestOperations.Start;
CreateButton("Start");
[Step(3, "Click pause button and check if playback pauses")]
[Step(4, "Click resume button and check if playback resumes")]
[Postcondition(1, "N/A")]
- public static async Task Pause_MANUAL_TEST_RESUME()
+ public async Task Pause_MANUAL_TEST_RESUME()
{
_operation = TestOperations.Pause;
CreateButton("Start", "Pause", "Resume");
[Step(3, "Click stop button and check if playback stops")]
[Step(4, "Click start button and check if playback starts from beginning")]
[Postcondition(1, "N/A")]
- public static async Task Stop_MANUAL_TEST_STARTAGAIN()
+ public async Task Stop_MANUAL_TEST_STARTAGAIN()
{
_operation = TestOperations.Stop;
CreateButton("Start", "Stop");
[Step(2, "Check if player is muted")]
[Step(3, "Click unmute button and check if player is unmuted")]
[Postcondition(1, "N/A")]
- public static async Task Mute_MANUAL_TEST()
+ public async Task Mute_MANUAL_TEST()
{
_operation = TestOperations.Mute;
CreateButton("Start", "Mute", "UnMute");
[Step(2, "Check if player is looping")]
[Step(3, "Click unloop button and check if player is not looping")]
[Postcondition(1, "N/A")]
- public static async Task Loop_MANUAL_TEST()
+ public async Task Loop_MANUAL_TEST()
{
_operation = TestOperations.Loop;
CreateButton("Start", "Loop", "UnLoop");
[Step(2, "Check if volume is increasing")]
[Step(3, "Click Vol- button and check if volume is decreasing")]
[Postcondition(1, "N/A")]
- public static async Task Volume_MANUAL_TEST()
+ public async Task Volume_MANUAL_TEST()
{
_operation = TestOperations.Volume;
CreateButton("Start", "Vol+", "Vol-");
{
[TestFixture]
[Description("Testing Tizen.Multimedia.Subtitle class")]
- public static class SubtitleTests
+ public class SubtitleTests
{
private const string LogTag = "TizenTest.Multimedia.Subtitle";
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(LogTag, "Subtitle Test Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(LogTag, "Subtitle Test Destroy");
}
[Step(2, "Click Subtitle button")]
[Step(3, "Check if Subtitles are visible")]
[Postcondition(1, "N/A")]
- public static async Task Updated_MANUAL_TEST_SUBTITLE()
+ public async Task Updated_MANUAL_TEST_SUBTITLE()
{
Assert.True(false, "[NA] VideoView is unavailable yet.");
}
{
[TestFixture]
[Description("Testing Tizen.Multimedia.TonePlayer class")]
- public static class TonePlayerTests
+ public class TonePlayerTests
{
private const string LogTag = "TizenTest.Multimedia.TonePlayer";
- private static TestPage _testPage = TestPage.GetInstance();
- private static Button _button_1;
- private static Button _button_2;
- private static CancellationTokenSource source;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Button _button_1;
+ private Button _button_2;
+ private CancellationTokenSource source;
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
- private static void CreateButton(string str1, string str2="")
+ private void CreateButton(string str1, string str2="")
{
Device.BeginInvokeOnMainThread(() =>
{
[Step(2, "Tone is played continuously, Press cancel button after 1-2 rings.")]
[Step(3, "Press pass button if playing is stopped else fail.")]
[Postcondition(1, "N/A")]
- public static async Task StartAsync_MANUAL_TEST_CANCEL()
+ public async Task StartAsync_MANUAL_TEST_CANCEL()
{
CreateButton("Start", "Cancel");
await ManualTest.WaitForConfirm();
{
[TestFixture]
[Description("Testing Tizen.Multimedia.WavPlayer class")]
- public static class WavPlayerTests
+ public class WavPlayerTests
{
private const string LogTag = "TizenTest.Multimedia.WavPlayer";
private const string inputFilePath = "/opt/usr/home/owner/share/res/test.wav";
- private static TestPage _testPage = TestPage.GetInstance();
- private static Button _button_1;
- private static Button _button_2;
- private static CancellationTokenSource source;
+ private TestPage _testPage = TestPage.GetInstance();
+ private Button _button_1;
+ private Button _button_2;
+ private CancellationTokenSource source;
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
- private static void CreateButton(string str1, string str2="")
+ private void CreateButton(string str1, string str2="")
{
Device.BeginInvokeOnMainThread(() =>
{
[Step(2, "After starting wait for 3-4 seconds and press cancel button.")]
[Step(3, "Press pass button if playing is stopped else fail.")]
[Postcondition(1, "N/A")]
- public static async Task StartAsync_MANUAL_TEST_CANCEL()
+ public async Task StartAsync_MANUAL_TEST_CANCEL()
{
CreateButton("Start", "Cancel");
await ManualTest.WaitForConfirm();
private const AudioStreamBehaviors Behaviors = AudioStreamBehaviors.Fading;
private const string ExtraInfo = "some string";
- private static async Task<AudioStreamPolicyFocusStateChangedEventArgs> RaiseEvent()
+ private async Task<AudioStreamPolicyFocusStateChangedEventArgs> RaiseEvent()
{
using (var eventAwaiter = EventAwaiter<AudioStreamPolicyFocusStateChangedEventArgs>.Create())
using (AudioStreamPolicy toBeTested = new AudioStreamPolicy(AudioStreamType.Media),
private const AudioStreamFocusOptions FocusOptions = AudioStreamFocusOptions.Playback;
private const string ExtraInfo = "extra info string";
- private static async Task<StreamFocusStateChangedEventArgs> RaiseEvent(
+ private async Task<StreamFocusStateChangedEventArgs> RaiseEvent(
AudioStreamType type = AudioStreamType.Media)
{
using (var eventAwaiter = EventAwaiter<StreamFocusStateChangedEventArgs>.Create())
private const AudioVolumeType VolumeType = AudioVolumeType.Ringtone;
private const int NewVolume = 5;
- private static async Task<VolumeChangedEventArgs> RaiseEvent()
+ private async Task<VolumeChangedEventArgs> RaiseEvent()
{
using (var eventAwaiter = EventAwaiter<VolumeChangedEventArgs>.Create())
{
[Description("Testing Tizen.Multimedia.MediaPacket class")]
public class MediaPacketTests
{
- private static readonly MediaFormat SimpleFormat =
+ private readonly MediaFormat SimpleFormat =
new AudioMediaFormat(MediaFormatAudioMimeType.Aac, 1, 2, 3, 4);
- private static ulong _timeDefault = ulong.MaxValue;
- private static ulong _maxBpsDefault = ulong.MaxValue;
+ private ulong _timeDefault = ulong.MaxValue;
+ private ulong _maxBpsDefault = ulong.MaxValue;
[Test]
[Category("P2")]
Assert.IsNotNull(_encoder, "Object should not be null after construction");
}
- private static async Task<IEnumerable<GifFrame>> GetFramesAsync()
+ private async Task<IEnumerable<GifFrame>> GetFramesAsync()
{
using (var decoder = new GifDecoder())
{
public class ThumbnailExtractionResultTests
{
private const string Path = "/opt/usr/home/owner/share/res/test_thumbnail.jpg";
- private static readonly Size Size = new Size(432, 240);
+ private readonly Size Size = new Size(432, 240);
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static async Task RawData_READ_ONLY()
+ public async Task RawData_READ_ONLY()
{
var rawData = (await ThumbnailExtractor.ExtractAsync(Path, Size)).RawData;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static async Task Size_READ_ONLY()
+ public async Task Size_READ_ONLY()
{
Assert.That((await ThumbnailExtractor.ExtractAsync(Path, Size)).Size, Is.EqualTo(Size));
}
private const string PathInvalid = "/opt/usr/home/owner/share/res/";
private const string PathNotSupported = "/opt/usr/home/owner/share/res/unknown_format";
- private static CancellationTokenSource cts;
+ private CancellationTokenSource cts;
[TearDown]
public void Destroy()
[Property("CRITERIA", "MEX")]
[Property("COVPARAM", "string")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void ExtractAsync_WITH_NULL_PATH()
+ public void ExtractAsync_WITH_NULL_PATH()
{
Assert.That(() => ThumbnailExtractor.ExtractAsync(null), Throws.ArgumentNullException);
}
[Property("CRITERIA", "MEX")]
[Property("COVPARAM", "string, Size")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void ExtractAsync_WITH_OUT_OF_RANGE_WIDTH_HEIGHT()
+ public void ExtractAsync_WITH_OUT_OF_RANGE_WIDTH_HEIGHT()
{
Assert.That(() => ThumbnailExtractor.ExtractAsync(Path, new Size(0, 0)),
Throws.TypeOf<ArgumentOutOfRangeException>());
[Property("CRITERIA", "MEX")]
[Property("COVPARAM", "string")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void ExtractAsync_WITH_INVALID_PATH()
+ public void ExtractAsync_WITH_INVALID_PATH()
{
Assert.That(() => ThumbnailExtractor.ExtractAsync(PathInvalid),
Throws.TypeOf<FileNotFoundException>());
[Property("CRITERIA", "MEX")]
[Property("COVPARAM", "string")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static async Task ExtractAsync_WITH_NOT_SUPPORTED()
+ public async Task ExtractAsync_WITH_NOT_SUPPORTED()
{
await AssertHelper.ThrowsAsync<FileFormatException>(
() => ThumbnailExtractor.ExtractAsync(PathNotSupported));
[Property("CRITERIA", "MR")]
[Property("COVPARAM", "string, Size")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static async Task ExtractAsync_CHECK_RESULT_SPECIFIED()
+ public async Task ExtractAsync_CHECK_RESULT_SPECIFIED()
{
var size = new Size(432, 240);
[Property("CRITERIA", "MR")]
[Property("COVPARAM", "string")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static async Task ExtractAsync_CHECK_RESULT_DEFAULT()
+ public async Task ExtractAsync_CHECK_RESULT_DEFAULT()
{
var result = await ThumbnailExtractor.ExtractAsync(PathDefaultSize);
[Property("CRITERIA", "MR")]
[Property("COVPARAM", "string, Size")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static async Task ExtractAsync_CHECK_RESULT_ROUNDUP()
+ public async Task ExtractAsync_CHECK_RESULT_ROUNDUP()
{
var result = await ThumbnailExtractor.ExtractAsync(Path, new Size(430, 240));
[Property("CRITERIA", "MR")]
[Property("COVPARAM", "string, Size, CancellationToken")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void ExtractAsync_CHECK_CANCELLATION()
+ public void ExtractAsync_CHECK_CANCELLATION()
{
cts = new CancellationTokenSource();
[Property("CRITERIA", "MR")]
[Property("COVPARAM", "string, CancellationToken")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static async Task ExtractAsync_CHECK_CANCEL_AFTER_DONE()
+ public async Task ExtractAsync_CHECK_CANCEL_AFTER_DONE()
{
cts = new CancellationTokenSource();
[Description("Tizen.NUI.UIComponents.Button test")]
public class ButtonTests
{
- private static ManualTestNUI _testPage;
- private static WearableManualTestNUI _wearTestPage;
- private static PushButton _button;
- private static float PointSize = 5.0f;
+ private ManualTestNUI _testPage;
+ private WearableManualTestNUI _wearTestPage;
+ private PushButton _button;
+ private float PointSize = 5.0f;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
if (Window.Instance.Size.Width > 1000)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
- private static PropertyMap CreateTextMap(float pointSize, string text)
+ private PropertyMap CreateTextMap(float pointSize, string text)
{
PropertyMap map = new PropertyMap();
map.Add(Visual.Property.Type, new PropertyValue((int)Visual.Type.Text));
return map;
}
- private static void CreateButton(string buttonText)
+ private void CreateButton(string buttonText)
{
_button = new PushButton();
_button.Label = CreateTextMap(PointSize, buttonText);
}
}
- public static bool OnClicked(object sender, EventArgs e)
+ public bool OnClicked(object sender, EventArgs e)
{
Tizen.Log.Fatal("NUI", "PushButton OnClicked!!!!!!!!!!!!!!!!!!!!!");
_button.Label = CreateTextMap(PointSize, "Cliked");
return false;
}
- public static bool OnPressed(object sender, EventArgs e)
+ public bool OnPressed(object sender, EventArgs e)
{
Tizen.Log.Fatal("NUI", "TUnit OnPressed!!!!!!!!!!!!!!!!!!!!!");
_button.Label = CreateTextMap(PointSize, "Pressed");
return false;
}
- public static bool OnReleased(object sender, EventArgs e)
+ public bool OnReleased(object sender, EventArgs e)
{
Tizen.Log.Fatal("NUI", "TUnit OnReleased!!!!!!!!!!!!!!!!!!!!!");
_button.Label = CreateTextMap(PointSize, "Released");
[Description("Tizen.NUI.FocusManager test")]
public class FocusManagerTests
{
- private static ManualTestNUI _testPage;
- private static WearableManualTestNUI _wearTestPage;
- private static PushButton _button1;
- private static FocusManager _focusManager;
- private static float PointSize = 5.0f;
- private static TextLabel _label;
+ private ManualTestNUI _testPage;
+ private WearableManualTestNUI _wearTestPage;
+ private PushButton _button1;
+ private FocusManager _focusManager;
+ private float PointSize = 5.0f;
+ private TextLabel _label;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
_focusManager = FocusManager.Instance;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
- private static PropertyMap CreateTextMap(float pointSize, string text)
+ private PropertyMap CreateTextMap(float pointSize, string text)
{
PropertyMap map = new PropertyMap();
map.Insert("visualType", new PropertyValue("TEXT"));
return map;
}
- private static void CreateTestView(string information)
+ private void CreateTestView(string information)
{
_button1 = new PushButton();
_button1.Label = CreateTextMap(PointSize, information);
_testPage.ExecuteTC(_button1);
}
- public static View OnPreFocusChange(object sender, EventArgs e)
+ public View OnPreFocusChange(object sender, EventArgs e)
{
Tizen.Log.Fatal("NUI", "TUnit PreFocusChanged!!!!!!!!!!!!!!!!!!!!!");
_button1.Label = CreateTextMap(PointSize, "PreFocusChanged");
return _button1;
}
- public static void OnFocusedViewEnterKeyPressed(object sender, EventArgs e)
+ public void OnFocusedViewEnterKeyPressed(object sender, EventArgs e)
{
Tizen.Log.Fatal("NUI", "TUnit FocusedViewEnterKeyPressed!!!!!!!!!!!!!!!!!!!!!");
_button1.Label = CreateTextMap(PointSize, "FocusedViewEnterKeyPressed");
ManualTest.Confirm();
}
- public static void OnFocusGroupChanged(object sender, EventArgs e)
+ public void OnFocusGroupChanged(object sender, EventArgs e)
{
Tizen.Log.Fatal("NUI", "TUnit FocusGroupChanged!!!!!!!!!!!!!!!!!!!!!");
_button1.Label = CreateTextMap(PointSize, "FocusGroupChanged");
[Description("Tizen.NUI.InputMethodContext test")]
public class InputMethodContextTests
{
- private static ManualTestNUI _testPage;
- private static WearableManualTestNUI _wearTestPage;
- private static Window _window;
- private static PushButton _button;
- private static float _PointSize = 5.0f;
- private static TextLabel _label;
- private static TextEditor _textEditor;
+ private ManualTestNUI _testPage;
+ private WearableManualTestNUI _wearTestPage;
+ private Window _window;
+ private PushButton _button;
+ private float _PointSize = 5.0f;
+ private TextLabel _label;
+ private TextEditor _textEditor;
[SetUp]
public void Init()
[Description("Tizen.NUI.UIComponents.Popup test")]
public class PopupTests
{
- private static ManualTestNUI _testPage;
- private static WearableManualTestNUI _wearTestPage;
- private static Window _window;
- private static PushButton _button;
- private static float _PointSize = 5.0f;
- private static TextLabel _label;
- private static Popup _popup;
+ private ManualTestNUI _testPage;
+ private WearableManualTestNUI _wearTestPage;
+ private Window _window;
+ private PushButton _button;
+ private float _PointSize = 5.0f;
+ private TextLabel _label;
+ private Popup _popup;
[SetUp]
public void Init()
[Description("Tizen.NUI.UIComponents.ScrollBar test")]
public class ScrollBarTests
{
- private static ManualTestNUI _testPage;
- private static WearableManualTestNUI _wearTestPage;
- private static PushButton _button;
- private static ScrollBar _scrollBar;
- private static float PointSize = 5.0f;
- private static TextLabel _label;
+ private ManualTestNUI _testPage;
+ private WearableManualTestNUI _wearTestPage;
+ private PushButton _button;
+ private ScrollBar _scrollBar;
+ private float PointSize = 5.0f;
+ private TextLabel _label;
[SetUp]
public void Init()
[Description("Tizen.NUI.UIComponents.Slider test")]
public class SliderTests
{
- private static ManualTestNUI _testPage;
- private static WearableManualTestNUI _wearTestPage;
- private static Window _window;
- private static PushButton _button;
- private static float _PointSize = 5.0f;
- private static TextLabel _label;
- private static Slider _slider;
+ private ManualTestNUI _testPage;
+ private WearableManualTestNUI _wearTestPage;
+ private Window _window;
+ private PushButton _button;
+ private float _PointSize = 5.0f;
+ private TextLabel _label;
+ private Slider _slider;
[SetUp]
public void Init()
[Description("Tizen.NUI.Touch test")]
public class TouchTests
{
- private static ManualTestNUI _testPage;
- private static WearableManualTestNUI _wearTestPage;
- private static Window _window;
- private static PushButton _button;
- private static float _PointSize = 5.0f;
- private static TextLabel _label;
+ private ManualTestNUI _testPage;
+ private WearableManualTestNUI _wearTestPage;
+ private Window _window;
+ private PushButton _button;
+ private float _PointSize = 5.0f;
+ private TextLabel _label;
[SetUp]
public void Init()
[Description("Tizen.NUI.View test")]
public class ViewTests
{
- private static ManualTestNUI _testPage;
- private static WearableManualTestNUI _wearTestPage;
- private static PushButton _button;
- private static float PointSize = 5.0f;
- private static TextLabel _label;
+ private ManualTestNUI _testPage;
+ private WearableManualTestNUI _wearTestPage;
+ private PushButton _button;
+ private float PointSize = 5.0f;
+ private TextLabel _label;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
if (Window.Instance.Size.Width > 1000)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
- private static PropertyMap CreateTextMap(float pointSize, string text)
+ private PropertyMap CreateTextMap(float pointSize, string text)
{
PropertyMap map = new PropertyMap();
map.Insert("visualType", new PropertyValue("TEXT"));
return map;
}
- private static void CreateView(string information)
+ private void CreateView(string information)
{
_button = new PushButton();
_button.Label = CreateTextMap(PointSize, information);
_testPage.ExecuteTC(_button);
}
- public static bool OnViewEvent(object sender, EventArgs e)
+ public bool OnViewEvent(object sender, EventArgs e)
{
Tizen.Log.Fatal("NUI", "TUnit View.Event!!!!!!!!!!!!!!!!!!!!!");
ManualTest.Confirm();
[Description("Tizen.NUI.Window test")]
public class WindowTests
{
- private static ManualTestNUI _testPage;
- private static WearableManualTestNUI _wearTestPage;
- private static Window _window;
- private static PushButton _button;
- private static float PointSize = 5.0f;
- private static TextLabel _label;
+ private ManualTestNUI _testPage;
+ private WearableManualTestNUI _wearTestPage;
+ private Window _window;
+ private PushButton _button;
+ private float PointSize = 5.0f;
+ private TextLabel _label;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
_window = Window.Instance;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
- private static PropertyMap CreateTextMap(float pointSize, string text)
+ private PropertyMap CreateTextMap(float pointSize, string text)
{
PropertyMap map = new PropertyMap();
map.Insert("visualType", new PropertyValue("TEXT"));
return map;
}
- private static void CreateView(string information)
+ private void CreateView(string information)
{
_button = new PushButton();
_button.Label = CreateTextMap(PointSize, information);
_testPage.ExecuteTC(_button);
}
- public static void OnWindowEvent(object sender, EventArgs e)
+ public void OnWindowEvent(object sender, EventArgs e)
{
Tizen.Log.Fatal("NUI", "TUnit Window.Event!!!!!!!!!!!!!!!!!!!!!");
ManualTest.Confirm();
[Description("Tizen.NUI.Adaptor Tests")]
public class AdaptorTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
public void Init()
[Description("Tizen.NUI.AlphaFunction Tests")]
public class AlphaFunctionTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("AlphaFunctionTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
private delegate int MethodDelegate(int x, int y);
- private static int Add(int x, int y)
+ private int Add(int x, int y)
{
return x + y;
}
[Description("Tizen.NUI.Animatable Tests")]
public class AnimatableTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("AnimatableTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.AnimatedImageVisual Tests")]
public class AnimatedImageVisualTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
private static bool _flagComposingPropertyMap;
internal class MyAnimatedImageVisual : AnimatedImageVisual
{
[Description("Tizen.NUI.Animation Tests")]
public class AnimationTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("AnimationTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseHandle.FocusRequestArgs Tests")]
public class FocusRequestArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
public void Init()
[Description("Tizen.NUI.BaseHandle Tests")]
public class BaseHandleTests
{
- private static string TAG = "NUI";
- private static bool _flag = false;
+ private string TAG = "NUI";
+ private bool _flag = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("BaseHandleTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BorderVisual Tests")]
public class BorderVisualTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
private static bool _flagComposingPropertyMap;
internal class MyBorderVisual : BorderVisual
{
[Description("Tizen.NUI.UIComponents.Button Tests")]
public class ButtonTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ButtonTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.UIComponents.CheckBoxButton Tests")]
public class CheckBoxButtonTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, " Init() is called!");
App.MainTitleChangeText("CheckBoxButtonTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, " Destroy() is called!");
}
[Description("Tizen.NUI.Color Tests")]
public class ColorTests
{
- private static string TAG = "Test for Color.cs";
+ private string TAG = "Test for Color.cs";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, " Init() is called!");
App.MainTitleChangeText("ColorTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, " Destroy() is called!");
}
[Description("Tizen.NUI.ColorVisual Tests")]
public class ColorVisualTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
private static bool _flagComposingPropertyMap;
internal class MyColorVisual : ColorVisual
{
public class ContainerTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ContainerTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
private static string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, " Init() is called!");
App.MainTitleChangeText("CustomViewTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, " Destroy() is called!");
}
private static string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, " Init() is called!");
App.MainTitleChangeText("CustomViewRegistryTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, " Destroy() is called!");
}
[Description("Tizen.Degree Tests")]
public class DegreeTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("DegreeTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.Extents Tests")]
public class ExtentsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ExtentsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
public class FlexContainerTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
App.MainTitleChangeText("FlexContainerTests");
App.MainTitleChangeBackgroundColor(null);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Description("Tizen.NUI.FocusManager.FocusChangedEventArgs Tests")]
public class FocusChangedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("FocusChangedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.FocusManager.FocusGroupChangedEventArgs Tests")]
public class FocusGroupChangedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("FocusGroupChangedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.FocusManager.FocusedViewActivatedEventArgs Tests")]
public class FocusedViewActivatedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("FocusedViewActivatedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.FocusManager.FocusedViewEnterKeyEventArgs Tests")]
public class FocusedViewEnterKeyEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("FocusedViewEnterKeyEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.FocusManager.PreFocusChangeEventArgs Tests")]
public class PreFocusChangeEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("PreFocusChangeEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.FocusManager Tests")]
public class FocusManagerTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
public void Init()
[Description("Tizen.NUI.FontClient Tests")]
public class FontClientTests
{
- private static string TAG = "NUI-TCT";
- private static string ttf_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "TizenSansRegular.ttf";
+ private string TAG = "NUI-TCT";
+ private string ttf_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "TizenSansRegular.ttf";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
public class GeometryTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[Test]
[Category("P1")]
[Description("Tizen.NUI.GetResourcesProvider Tests")]
public class GetResourcesProviderTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
public void Init()
[Description("Tizen.NUI.GradientVisual Tests")]
public class GradientVisualTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
private static bool _flagComposingPropertyMap;
internal class MyGradientVisual : GradientVisual
{
[Description("Tizen.NUI.Hover Tests")]
public class HoverTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("HoverTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.ImageView.ResourceReadyEventArgs Tests")]
public class ImageViewResourceReadyEventArgsTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ResourceReadyEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.ImageView Tests")]
public class ImageViewTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
- private static string gif_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "dog-anim.gif";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
+ private string gif_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "dog-anim.gif";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ImageViewTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Feng Jin, feng16.jin@samsung.com")]
- public static void SynchronosLoading_SET_GET_VALUE()
+ public void SynchronosLoading_SET_GET_VALUE()
{
/* TEST CODE */
ImageView imageView = new ImageView();
[Description("Tizen.NUI.ImageVisual Tests")]
public class ImageVisualTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
private static bool _flagComposingPropertyMap;
internal class MyImageVisual : ImageVisual
{
[Description("Tizen.NUI.ImfManager.ActivatedEventArgs Tests")]
public class ImfManagerActivatedEventArgsTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ActivatedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.ImfManager.EventReceivedEventArgs Tests")]
public class ImfManagerEventReceivedEventArgsTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("EventReceivedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.ImfManager.ImfCallbackData Tests")]
public class ImfCallbackDataTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ImfCallbackDataTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.ImfManager.ImfEventData Tests")]
public class ImfEventDataTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ImfEventDataTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.ImfManager.KeyboardTypeChangedEventArgs Tests")]
public class ImfManagerKeyboardTypeChangedEventArgsTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("KeyboardTypeChangedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.ImfManager.LanguageChangedEventArgs Tests")]
public class LanguageChangedEventArgsTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("LanguageChangedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.ImfManager.ResizedEventArgs Tests")]
public class ResizedEventArgsTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ResizedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.ImfManager.StatusChangedEventArgs Tests")]
public class ImfManagerStatusChangedEventArgsTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("StatusChangedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.ImfManager Tests")]
public class ImfManagerTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
- private static bool _flagOnImfActivedEvent, _flagOnImfEventReceivedEvent, _flagOnLanguageChangedEvent, _flagOnResizedEvent, _flagOnStatusChangedEvent;
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private bool _flagOnImfActivedEvent, _flagOnImfEventReceivedEvent, _flagOnLanguageChangedEvent, _flagOnResizedEvent, _flagOnStatusChangedEvent;
[SetUp]
public void Init()
[Description("Tizen.NUI.InputMethod Tests")]
public class TSTInputMethodTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("InputMethodTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.InputMethodContext.ActivatedEventArgs Tests")]
public class InputMethodContextActivatedEventArgsTests
{
- private static string TAG = "NUI";
- private static string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
public void Init()
[Description("Tizen.NUI.InputMethodContext.CallbackData Tests")]
public class InputMethodContextCallbackDataTests
{
- private static string TAG = "NUI";
- private static string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
public void Init()
[Description("Tizen.NUI.InputMethodContext.EventData Tests")]
public class InputMethodContextEventDataTests
{
- private static string TAG = "NUI";
- private static string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
public void Init()
[Description("Tizen.NUI.InputMethodContext.EventReceivedEventArgs Tests")]
public class InputMethodContextEventReceivedEventArgsTests
{
- private static string TAG = "NUI";
- private static string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
public void Init()
[Description("Tizen.NUI.InputMethodContext.KeyboardTypeChangedEventArgs Tests")]
public class InputMethodContextKeyboardTypeChangedEventArgsTests
{
- private static string TAG = "NUI";
- private static string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
public void Init()
[Description("Tizen.NUI.InputMethodContext.LanguageChangedEventArgs Tests")]
public class InputMethodContextLanguageChangedEventArgsTests
{
- private static string TAG = "NUI";
- private static string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
public void Init()
[Description("Tizen.NUI.InputMethodContext.ResizedEventArgs Tests")]
public class InputMethodContextResizedEventArgsTests
{
- private static string TAG = "NUI";
- private static string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
public void Init()
[Description("Tizen.NUI.InputMethodContext.StatusChangedEventArgs Tests")]
public class InputMethodContextStatusChangedEventArgsTests
{
- private static string TAG = "NUI";
- private static string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string _image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
public void Init()
[Description("Tizen.NUI.InputMethodContext Tests")]
public class InputMethodContextTests
{
- private static string TAG = "NUI";
- private static TextEditor _editor;
- private static int _temp;
+ private string TAG = "NUI";
+ private TextEditor _editor;
+ private int _temp;
[SetUp]
public void Init()
[Description("Tizen.NUI.Key Tests")]
public class KeyTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("KeyTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.KeyFrames Tests")]
public class KeyFramesTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("KeyFramesTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.KeyValue Tests")]
public class KeyValueTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("KeyValueTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
public class LayerTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("LayerTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.LongPressGesture Tests")]
public class LongPressGestureTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
public void Init()
[Description("Tizen.NUI.MeshVisual Tests")]
public class MeshVisualTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
private static bool _flagComposingPropertyMap;
internal class MyMeshVisual : MeshVisual
{
[Description("Tizen.NUI.NPatchVisual Tests")]
public class NPatchVisualTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
private static bool _flagComposingPropertyMap;
internal class MyNPatchVisual : NPatchVisual
{
public class NUIApplicationTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("NUIApplicationTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.PaddingType Tests")]
public class PaddingTypeTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("PaddingTypeTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.PanGesture Tests")]
public class PanGestureTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
public void Init()
[Description("Tizen.NUI.Path Tests")]
public class PathTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("PathTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.PinchGesture Tests")]
public class PinchGestureTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
public void Init()
[Description("Tizen.NUI.UIComponents.Popup.HiddenEventArgs Tests")]
public class PopupHiddenEventArgsTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("HiddenEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.UIComponents.Popup.HidingEventArgs Tests")]
public class PopupHidingEventArgsTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("HidingEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.UIComponents.Popup.ShowingEventArgs Tests")]
public class PopupShowingEventArgsTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ShowingEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.UIComponents.Popup.ShownEventArgs Tests")]
public class PopupShownEventArgsTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ShownEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.UIComponents.Popup.TouchedOutsideEventArgs Tests")]
public class PopupTouchedOutsideEventArgsTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("TouchedOutsideEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.UIComponents.Popup Tests")]
public class PopupTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
[SetUp]
public void Init()
[Description("Tizen.NUI.Position Tests")]
public class PositionTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("PositionTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.Position2D Tests")]
public class Position2DTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("Position2DTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.PrimitiveVisual Tests")]
public class PrimitiveVisualTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
private static bool _flagComposingPropertyMap;
internal class MyPrimitiveVisual : PrimitiveVisual
{
[Description("Tizen.NUI.UIComponents.ProgressBar.ValueChangedEventArgs Tests")]
public class ProgressBarValueChangedEventArgsTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ValueChangedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.UIComponents.ProgressBar Tests")]
public class ProgressBarTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ProgressBarTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.PropertyArray Tests")]
public class PropertyArrayTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("PropertyArrayTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
public class PropertyBufferTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
private struct TexturedQuadVertex {public Vector2 position; public Vector2 textureCoordinates; };
[Test]
[Description("Tizen.NUI.PropertyCondition Tests")]
public class PropertyConditionTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
private PropertyCondition propertyCondition;
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("PropertyConditionTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.PropertyKey Tests")]
public class PropertyKeyTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("PropertyKeyTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.PropertyMap Tests")]
public class PropertyMapTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("PropertyMapTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.PropertyNotification.NotifyEventArgs Tests")]
public class PropertyNotificationNotifyEventArgsTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("NotifyEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.PropertyNotification Tests")]
public class PropertyNotificationTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("PropertyNotificationTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.PropertyValue Tests")]
public class PropertyValueTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("PropertyValueTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.UIComponents.PushButton Tests")]
public class PushButtonTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("PushButtonTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.Radian Tests")]
public class RadianTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("RadianTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.UIComponents.RadioButton Tests")]
public class RadioButtonTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "#################### Init() is called!");
App.MainTitleChangeText("RadioButtonTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "#################### Destroy() is called!");
}
[Description("Tizen.Rectangle Tests")]
public class RectangleTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("RectangleTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.RelativeVector2 Tests")]
public class RelativeVector2Tests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("RelativeVector2Tests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.RelativeVector3 Tests")]
public class RelativeVector3Tests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("RelativeVector3Tests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.RelativeVector4 Tests")]
public class RelativeVector4Tests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("RelativeVector4Tests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
public class RendererTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
private string VertexShader = " attribute mediump vec2 aPosition;\n" +
" uniform mediump mat4 uMvpMatrix;\n" +
" \n" +
[Description("Tizen.Rotation Tests")]
public class RotationTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
- private static Vector3 MyCross(Vector3 vector1, Vector3 vector2)
+ private Vector3 MyCross(Vector3 vector1, Vector3 vector2)
{
return new Vector3((vector1.Y * vector2.Z) - (vector1.Z * vector2.Y),
(vector1.Z * vector2.X) - (vector1.X * vector2.Z),
(vector1.X * vector2.Y) - (vector1.Y * vector2.X));
}
- private static float MyDot(Vector3 vector1, Vector3 vector2)
+ private float MyDot(Vector3 vector1, Vector3 vector2)
{
return vector1.X * vector2.X + vector1.Y * vector2.Y + vector1.Z * vector2.Z; ;
}
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("Tests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.SVGVisual Tests")]
public class SVGVisualTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
private static bool _flagComposingPropertyMap;
internal class MySVGVisual : SVGVisual
public class SamplerTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[Test]
[Category("P1")]
[Description("Tizen.NUI.UIComponents.ScrollBar.PanFinishedEventArgs Tests")]
public class PanFinishedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("PanFinishedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.UIComponents.ScrollBar.ScrollIntervalEventArgs Tests")]
public class ScrollIntervalEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ScrollIntervalEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.UIComponents.ScrollBar Tests")]
public class ScrollBarTests
{
- private static string TAG = "NUI";
- private static bool _flagScrollInterval;
+ private string TAG = "NUI";
+ private bool _flagScrollInterval;
private void OnScrollInterval(object sender, EventArgs e)
{
[Description("Tizen.NUI.ScrollView.SnapEvent Tests")]
public class SnapEventTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("SnapEventTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.ScrollView.SnapStartedEventArgs Tests")]
public class SnapStartedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("SnapStartedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.ScrollView Tests")]
public class ScrollViewTests
{
- private static string TAG = "NUI";
- private static bool _flagSnapStarted;
+ private string TAG = "NUI";
+ private bool _flagSnapStarted;
private void OnSnapStarted(object sender, EventArgs e)
{
[Description("Tizen.NUI.ScrollViewEffect Tests")]
public class ScrollViewEffectTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("Tests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.Scrollable.CompletedEventArgs Tests")]
public class ScrollableCompletedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("CompletedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.Scrollable.StartedEventArgs Tests")]
public class ScrollablStartedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("StartedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.Scrollable.UpdatedEventArgs Tests")]
public class ScrollablUpdatedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("UpdatedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.Scrollable Tests")]
public class ScrollableTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ScrollableTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}\r
\r
\r
- private static bool _flagScrollStarted, _flagScrollCompleted;
+ private bool _flagScrollStarted, _flagScrollCompleted;
private void OnScrollStarted(object obj, EventArgs e)\r
{\r
_flagScrollStarted = true;\r
[Description("Tizen.NUI.Shader.Hint Tests")]
public class ShaderHintTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("HintTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
public class ShaderTests
{
- private static string TAG = "NUI-TCT";
+ private string TAG = "NUI-TCT";
private string VertexShader = " attribute mediump vec2 aPosition;\n" +
" uniform mediump mat4 uMvpMatrix;\n" +
" \n" +
[Description("Tizen.NUI.Size Tests")]
public class SizeTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("SizeTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.Size2D Tests")]
public class Size2DTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("Size2DTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
public class MarkReachedEventArgsTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Description("Tizen.NUI.UIComponents.Slider.SlidingFinishedEventArgs Tests")]
public class SlidingFinishedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("SlidingFinishedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.UIComponents.Slider.ValueChangedEventArgs Tests")]
public class ValueChangedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ValueChangedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.UIComponents.Slider Tests")]
public class SliderTests
{
- private static bool checkValue;
- private static bool checkFinish;
- public static bool checkMark;
- private static string TAG = "TCT";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
+ private bool checkValue;
+ private bool checkFinish;
+ public bool checkMark;
+ private string TAG = "TCT";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
public SliderTests()
{
checkValue = false;
checkFinish = true;
return true;
}
- public static bool OnMarkReach(object obj, Slider.MarkReachedEventArgs args)
+ public bool OnMarkReach(object obj, Slider.MarkReachedEventArgs args)
{
checkMark = true;
return true;
[Description("Tizen.NUI.Spin Tests")]
public class SpinTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("SpinTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.StyleManager.StyleChangedEventArgs Tests")]
public class StyleChangedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("StyleChangedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.StyleManager Tests")]
public class StyleManagerTests
{
- private static string TAG = "NUI";
- private static string path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Test_Style_Manager.json";
+ private string TAG = "NUI";
+ private string path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Test_Style_Manager.json";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("StyleManagerTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
Tizen.Log.Info(TAG, "theme path=" + path);
Assert.IsTrue(flag, "StyleChanged is not be called");
}
- private static bool flag = false;
- private static void StyleManager_StyleChanged(object sender, StyleManager.StyleChangedEventArgs e)
+ private bool flag = false;
+ private void StyleManager_StyleChanged(object sender, StyleManager.StyleChangedEventArgs e)
{
flag = true;
}
[Description("Tizen.NUI.TTSPlayer.StateChangedEventArgs Tests")]
public class StateChangedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("StateChangedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.TTSPlayer Tests")]
public class TTSPlayerTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("TTSPlayerTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
public class CellPositionTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("CellPositionTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.TableView Tests")]
public class TableViewTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("TableViewTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.TapGesture Tests")]
public class TapGestureTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
public void Init()
[Description("Tizen.NUI.BaseComponents.TextEditor.ScrollStateChangedEventArgs Tests")]
public class TextEditorScrollStateChangedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ScrollStateChangedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.TextEditor.TextChangedEventArgs Tests")]
public class TextEditorTextChangedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("TextChangedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.TextEditor Tests")]
public class TextEditorTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
public void Init()
[Description("Tizen.NUI.BaseComponents.TextField.MaxLengthReachedEventArgs Tests")]
public class TextFieldMaxLengthReachedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("MaxLengthReachedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.TextField.TextChangedEventArgs Tests")]
public class TextFieldTextChangedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("TextChangedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.TextField Tests")]
public class TextFieldTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
[SetUp]
public void Init()
[Description("Tizen.NUI.BaseComponents.TextLabel Tests")]
public class TextLabelTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("TextLabelTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.TextVisual Tests")]
public class TextVisualTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
private static bool _flagComposingPropertyMap;
internal class MyTextVisual : TextVisual
[Description("Tizen.NUI.Texture Tests")]
public class TextureTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("TextureTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.TextureSet Tests")]
public class TextureSetTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("TextureSetTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.Timer.TickEventArgs Tests")]
public class TimerTickEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("TickEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.Timer Tests")]
public class TimerTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("TimerTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.ToggleButton Tests")]
public class ToggleButtonTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
- private static string image_path1 = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string image_path1 = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ToggleButtonTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.Touch Tests")]
public class TouchTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
public void Init()
[Description("Tizen.NUI.TransitionData Tests")]
public class TransitionDataTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("TransitionDataTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.TypeInfo Tests")]\r
public class TypeInfoTests\r
{\r
- private static string TAG = "NUI";\r
+ private string TAG = "NUI";\r
\r
[SetUp]\r
public void Init()\r
[Description("Tizen.NUI.Vector2 Tests")]
public class Vector2Tests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("Vector2Tests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.Vector3 Tests")]
public class Vector3Tests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("Vector3Tests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.Vector4 Tests")]
public class Vector4Tests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("Vector4Tests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.VideoView.FinishedEventArgs Tests")]
public class FinishedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("FinishedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.VideoView Tests")]
public class VideoViewTests
{
- private static string TAG = "NUI";
- private static string video_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "demoVideo.mp4";
- private static bool _flagOnFinished;
+ private string TAG = "NUI";
+ private string video_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "demoVideo.mp4";
+ private bool _flagOnFinished;
private void OnFinished(object obj, VideoView.FinishedEventArgs args)
{
[Description("Tizen.NUI.BaseComponents.View.ChildAddedEventArgs Tests")]
public class ChildAddedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ChildAddedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.View.ChildRemovedEventArgs Tests")]
public class ChildRemovedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ChildRemovedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.View.HoverEventArgs Tests")]
public class HoverEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("HoverEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.View.KeyEventArgs Tests")]
public class ViewKeyEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("KeyEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.View.LayoutDirectionChangedEventArgs Tests")]
public class ViewLayoutDirectionChangedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("LayoutDirectionChangedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.View.TouchEventArgs Tests")]
public class ViewTouchEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("TouchEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.View.VisibilityChangedEventArgs Tests")]
public class VisibilityChangedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("VisibilityChangedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.View.WheelEventArgs Tests")]
public class ViewWheelEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("WheelEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.BaseComponents.View Tests")]
public class ViewTests
{
- private static string TAG = "NUI";
- private static bool _flag = false;
- private static string _imagePath = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
+ private string TAG = "NUI";
+ private bool _flag = false;
+ private string _imagePath = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
private string _vertexShader = " attribute mediump vec2 aPosition;\n" +
" uniform mediump mat4 uMvpMatrix;\n" +
[Description("Tizen.NUI.VisualAnimator Tests")]
public class VisualAnimatorTests
{
- private static string TAG = "NUI";
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
+ private string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "Tizen.NUI.Tests.png";
private static bool _flagComposingPropertyMap;\r
internal class MyVisualAnimator : VisualAnimator\r
{\r
[Description("Tizen.VisualBase Tests")]
public class VisualBaseTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("VisualBaseTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.VisualFactory Tests")]
public class VisualFactoryTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("VisualFactoryTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.VisualMap Tests")]
public class VisualMapTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
private static bool _flagComposingPropertyMap;\r
internal class MyVisualMap : VisualMap\r
{\r
[Description("NUI VisualView Tests")]
class VisualViewTests
{
- private static string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
- private static string TAG = "NUI";
+ private string image_path = Tizen.Applications.Application.Current.DirectoryInfo.Resource + "picture.png";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("VisualViewTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.WatchTime Tests")]\r
public class WatchTimeTests\r
{\r
- private static string TAG = "NUI";\r
+ private string TAG = "NUI";\r
\r
private bool IsWearable()\r
{\r
[Description("Tizen.NUI.Wheel Tests")]
public class WheelTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("WheelTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.Window.FocusChangedEventArgs Tests")]
public class WindowFocusChangedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("FocusChangedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.Window.KeyEventArgs Tests")]
public class WindowKeyEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("KeyEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.Window.ResizedEventArgs Tests")]
public class WindowResizedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("ResizedEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.Window.SafeNativeWindowHandle Tests")]
public class WindowSafeNativeWindowHandleTests
{
- private static string TAG = "NUI-TCT";
+ private string TAG = "NUI-TCT";
internal class MySafeNativeWindowHandle : Window.SafeNativeWindowHandle\r
{\r
public bool MyReleaseHandle()\r
}
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.Window.TouchEventArgs Tests")]
public class WindowTouchEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("TouchEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.Window.WheelEventArgs Tests")]
public class WindowWheelEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
- public static void Init()
+ public void Init()
{
Tizen.Log.Info(TAG, "Init() is called!");
App.MainTitleChangeText("WheelEventArgsTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Destroy() is called!");
}
[Description("Tizen.NUI.Window.WindowFocusChangedEventArgs Tests")]
public class WindowWindowFocusChangedEventArgsTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
public void Init()
[Description("Tizen.NUI.Window Tests")]
public class WindowTests
{
- private static string TAG = "NUI";
+ private string TAG = "NUI";
[SetUp]
public void Init()
[Description("Tizen.Network.Connection.ConnectionManager Tests")]
public class ConnectionManagerTests
{
- static bool isEthernetSupported = false;
- private static bool _flag = false;
- private static bool s_isEmulator = false;
+ bool isEthernetSupported = false;
+ private bool _flag = false;
+ private bool s_isEmulator = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.ethernet", out isEthernetSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(2, "Unplug the ethernet cable")]
[Step(3, "Testcase will pass automatically if the EthernetCableStateChanged callback is invoked. Otherwise, it will fail")]
[Postcondition(1, "Plug an ethernet cable into your test device")]
- public static async Task EthernetCableStateChanged_EVENT()
+ public async Task EthernetCableStateChanged_EVENT()
{
if (s_isEmulator)
{
}
}
- public static void EventHandlerEthernetCableStateChanged(object sender, EventArgs e)
+ public void EventHandlerEthernetCableStateChanged(object sender, EventArgs e)
{
_flag = true;
}
[Description("Tizen.Network.Connection.EthernetCableStateEventArgs Tests")]
public class EthernetCableStateEventArgsTests
{
- public static EthernetCableState _state;
- public static bool _event;
- static bool isEthernetSupported = false;
- private static bool s_isEmulator = false;
+ public EthernetCableState _state;
+ public bool _event;
+ bool isEthernetSupported = false;
+ private bool s_isEmulator = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
_event = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
- public static void EventHandlerEthernetCableStateChanged(object sender, EventArgs e)
+ public void EventHandlerEthernetCableStateChanged(object sender, EventArgs e)
{
_event = true;
_state = ((EthernetCableStateEventArgs)e).EthernetCableState;
[Step(2, "Unplug the ethernet cable")]
[Step(3, "Testcase will pass automatically if the EthernetCableStateChanged callback is invoked and EthernetCable state is DETACHED. Otherwise, it will fail")]
[Postcondition(1, "Plug an ethernet cable into your test device")]
- public static async Task EthernetCableState_GET()
+ public async Task EthernetCableState_GET()
{
if (s_isEmulator)
{
[Description("Tizen.Network.WiFi.WiFiAP Tests")]
public class WiFiAPTests
{
- static bool isWiFiSupported = false;
- private static bool _flag = false;
+ bool isWiFiSupported = false;
+ private bool _flag = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
PreconditionUtils.SetPrecondition();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(3, "Testcase will pass automatically if the device is successfully connected to the AP")]
[Postcondition(1, "Forget the connected AP")]
[Postcondition(2, "Deactivate WiFi")]
- public static async Task ConnectWpsAsync_CONNECT_TO_A_AP_SUPPORTED_PUSH_BUTTON()
+ public async Task ConnectWpsAsync_CONNECT_TO_A_AP_SUPPORTED_PUSH_BUTTON()
{
WiFiAP ap = null;
try
[Step(3, "Testcase will pass automatically if the device is successfully connected to the AP")]
[Postcondition(1, "Forget the connected AP")]
[Postcondition(2, "Deactivate WiFi")]
- public static async Task ConnectWpsAsync_CONNECT_TO_A_AP_SUPPORTED_PIN()
+ public async Task ConnectWpsAsync_CONNECT_TO_A_AP_SUPPORTED_PIN()
{
WiFiAP ap = null;
try
[Step(3, "Testcase will pass automatically if the device is successfully connected to the AP")]
[Postcondition(1, "Forget the connected AP")]
[Postcondition(2, "Deactivate WiFi")]
- public static async Task ConnectWpsWithoutSsidAsync_CONNECT_TO_A_AP_SUPPORTED_PUSH_BUTTON()
+ public async Task ConnectWpsWithoutSsidAsync_CONNECT_TO_A_AP_SUPPORTED_PUSH_BUTTON()
{
try
{
[Step(3, "Testcase will pass automatically if the device is successfully connected to the AP")]
[Postcondition(1, "Forget the connected AP")]
[Postcondition(2, "Deactivate WiFi")]
- public static async Task ConnectWpsWithoutSsidAsync_CONNECT_TO_A_AP_SUPPORTED_PIN()
+ public async Task ConnectWpsWithoutSsidAsync_CONNECT_TO_A_AP_SUPPORTED_PIN()
{
try
{
[Description("Tizen.Network.Connection.AddressEventArgs Tests")]
public class AddressEventArgsTests
{
- public static bool _flag;
- static bool isWiFiSupported = false;
+ public bool _flag;
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
Log.Info(Globals.LogTag, "InitFixture");
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.wifi", out isWiFiSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
_flag = false;
}
/*setup using for connecting to a PRIVATE AP*/
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan nguyen.vtan@samsung.com")]
- public static async Task IPv4Address_GET()
+ public async Task IPv4Address_GET()
{
/**PRE CONDITION
* Connect to wifi AP
}
}
- public static void Ipv4AddressChangedCallBack(object sender, EventArgs e)
+ public void Ipv4AddressChangedCallBack(object sender, EventArgs e)
{
Log.Info(Globals.LogTag, "IPAddress is changed");
AddressEventArgs eventArgs = (AddressEventArgs)e;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan nguyen.vtan@samsung.com")]
- public static async Task IPv6Address_GET()
+ public async Task IPv6Address_GET()
{
/**PRE CONDITION
* Connect to wifi AP
}
}
- public static void Ipv6AddressChangedCallBack(object sender, EventArgs e)
+ public void Ipv6AddressChangedCallBack(object sender, EventArgs e)
{
Log.Info(Globals.LogTag, "IPAddress is changed");
AddressEventArgs eventArgs = (AddressEventArgs)e;
[Description("Tizen.Network.Connection.CellularAuthInformation Tests")]
public class CellularAuthInformationTests
{
- private static CellularAuthInformation _cellularAuthInformation;
- static bool isTelephonySupported = false;
+ private CellularAuthInformation _cellularAuthInformation;
+ bool isTelephonySupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.telephony", out isTelephonySupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
_cellularAuthInformation = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static void CellularAuthInformation_INIT()
+ public void CellularAuthInformation_INIT()
{
Log.Info(Globals.LogTag, "CellularAuthInformation_INIT start");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static void AuthType_SET_GET()
+ public void AuthType_SET_GET()
{
Log.Info(Globals.LogTag, "AuthType_SET_GET start");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static void Password_SET_GET()
+ public void Password_SET_GET()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static void UserName_SET_GET()
+ public void UserName_SET_GET()
{
try
{
public class CellularProfileTests
{
- static bool isTelephonySupported = false;
+ bool isTelephonySupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.telephony", out isTelephonySupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static void Apn_SET_GET()
+ public void Apn_SET_GET()
{
CellularProfile _cellularProfile = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static void HomeUri_SET_GET()
+ public void HomeUri_SET_GET()
{
CellularProfile _cellularProfile = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static void ServiceType_SET_GET()
+ public void ServiceType_SET_GET()
{
CellularProfile _cellularProfile = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static void PdnType_SET_GET()
+ public void PdnType_SET_GET()
{
CellularProfile _cellularProfile = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static void RoamingPdnType_SET_GET()
+ public void RoamingPdnType_SET_GET()
{
CellularProfile _cellularProfile = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static void CellularAuthInfo_GET_SET()
+ public void CellularAuthInfo_GET_SET()
{
CellularProfile _cellularProfile = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task IsDefault_GET()
+ public async Task IsDefault_GET()
{
CellularProfile _cellularProfile = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static void Hidden_GET()
+ public void Hidden_GET()
{
CellularProfile _cellularProfile = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static void Editable_GET()
+ public void Editable_GET()
{
CellularProfile _cellularProfile = null;
try
[Description("Tizen.Network.Connection.ConnectionItem Tests")]
public class ConnectionItemTests
{
- static bool isWiFiSupported = false;
- static bool isEthernetSupported = false;
+ bool isWiFiSupported = false;
+ bool isEthernetSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.wifi", out isWiFiSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
/*
}
/*setup using for connecting to a PRIVATE AP*/
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
await Task.Delay(1500);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task ConnectionItem_Type_GET()
+ public async Task ConnectionItem_Type_GET()
{
Log.Info(Globals.LogTag, "ConnectionItem_Type_GET start");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task ConnectionItem_State_GET()
+ public async Task ConnectionItem_State_GET()
{
try
{
[Description("Tizen.Network.Connection.ConnectionManager Tests")]
public class ConnectionManagerTests
{
- private static string _nameWiFi;
- private static string _getted;
- private static bool _flag = false;
- static bool isWiFiSupported = false;
- static bool isTelephonySupported = false;
- static bool isBTTetheringSupported = false;
- static bool isEthernetSupported = false;
+ private string _nameWiFi;
+ private string _getted;
+ private bool _flag = false;
+ bool isWiFiSupported = false;
+ bool isTelephonySupported = false;
+ bool isBTTetheringSupported = false;
+ bool isEthernetSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
_getted = null;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
}
/*setup using for connecting to a PRIVATE AP*/
- public static async Task setUp()
+ public async Task setUp()
{
_nameWiFi = networkParameter.wnPRIVATE;
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
}
/*setup using for connecting to a PUBLIC AP*/
- public static async Task setUp_PUBLIC()
+ public async Task setUp_PUBLIC()
{
_nameWiFi = networkParameter.wnPUBLIC;
Log.Info(Globals.LogTag, "Try to connect to " + networkParameter.wnPUBLIC);
await Task.Delay(1500);
}
- public static async Task tearDown()
+ public async Task tearDown()
{
_nameWiFi = null;
await networkSetup.DeactivateWiFi();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan nguyen.vtan@samsung.com")]
- public static void BluetoothState_DEACIVATED_STATE()
+ public void BluetoothState_DEACIVATED_STATE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan nguyen.vtan@samsung.com")]
- public static async Task CellularState_CONNECTED_STATE()
+ public async Task CellularState_CONNECTED_STATE()
{
/**
* PRECONDITION:
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan nguyen.vtan@samsung.com")]
- public static async Task WiFiState_CONNECTED_STATE()
+ public async Task WiFiState_CONNECTED_STATE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan nguyen.vtan@samsung.com")]
- public static async Task WiFiState_DISCONNECTED_STATE()
+ public async Task WiFiState_DISCONNECTED_STATE()
{
WiFiAP _wifiAP = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan nguyen.vtan@samsung.com")]
- public static async Task WiFiState_DEACTIVATED_STATE()
+ public async Task WiFiState_DEACTIVATED_STATE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan nguyen.vtan@samsung.com")]
- public static void EthernetState_DEACTIVATED_STATE()
+ public void EthernetState_DEACTIVATED_STATE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan nguyen.vtan@samsung.com")]
- public static void EthernetCableState_GET()
+ public void EthernetCableState_GET()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan nguyen.vtan@samsung.com")]
- public static async Task CurrentConnection_WiFi_ITEM()
+ public async Task CurrentConnection_WiFi_ITEM()
{
Log.Info(Globals.LogTag, "CurrentConnection_WiFi_ITEM start");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Thao, nguyen.tthao@samsung.com")]
- public static async Task GetIPAddress_DYNAMIC_IPV4()
+ public async Task GetIPAddress_DYNAMIC_IPV4()
{
WiFiAP _wifiAP = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task GetAllIPv6Addresses_WIFI_PROFILE()
+ public async Task GetAllIPv6Addresses_WIFI_PROFILE()
{
WiFiAP _wifiAP = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Thao, nguyen.tthao@samsung.com")]
- public static async Task GetProxy_RETURN_VALUE_IPV4_IPV6()
+ public async Task GetProxy_RETURN_VALUE_IPV4_IPV6()
{
WiFiAP _wifiAP = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Thao, nguyen.tthao@samsung.com")]
- public static async Task GetMacAddress_ALL_CONNECTION_TYPE()
+ public async Task GetMacAddress_ALL_CONNECTION_TYPE()
{
WiFiAP _wifiAP = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task GetStatistics_ALL_STATISTICS_TYPE()
+ public async Task GetStatistics_ALL_STATISTICS_TYPE()
{
WiFiAP _wifiAP = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MAE, MCST")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task ResetStatistics_ALL_STATISTICS_TYPE()
+ public async Task ResetStatistics_ALL_STATISTICS_TYPE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Nguyen Van Tan nguyen.vtan@samsung.com")]
- public static async Task ConnectionTypeChanged_EVENT()
+ public async Task ConnectionTypeChanged_EVENT()
{
try
{
}
}
- public static void EventHandlerConnectionTypeChanged(object sender, EventArgs e)
+ public void EventHandlerConnectionTypeChanged(object sender, EventArgs e)
{
_flag = true;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Nguyen Van Tan nguyen.vtan@samsung.com")]
- public static async Task IPAddressChanged_EVENT()
+ public async Task IPAddressChanged_EVENT()
{
WiFiAP _wifiAP = null;
try
}
}
- public static void EventHandlerIpAddressChanged(object sender, EventArgs e)
+ public void EventHandlerIpAddressChanged(object sender, EventArgs e)
{
Log.Info(Globals.LogTag, "IPCHANGE=" + ((AddressEventArgs)e).IPv4Address);
_flag = true;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Nguyen Van Tan nguyen.vtan@samsung.com")]
- public static async Task ProxyAddressChanged_EVENT()
+ public async Task ProxyAddressChanged_EVENT()
{
Log.Info(Globals.LogTag, "ProxyAddressChanged_EVENT start");
WiFiAP _wifiAP = null;
}
}
- public static void EventHandlerProxyAddressChanged(object sender, EventArgs e)
+ public void EventHandlerProxyAddressChanged(object sender, EventArgs e)
{
Log.Info(Globals.LogTag, "PROXYCHANGE=" + ((AddressEventArgs)e).IPv4Address);
_flag = true;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Thao, nguyen.thao@samsung.com")]
- public static async Task CurrentConnection_Get_Connected_State_WiFi_PUBLIC()
+ public async Task CurrentConnection_Get_Connected_State_WiFi_PUBLIC()
{
Log.Info(Globals.LogTag, "CurrentConnection_Get_Connected_State_WiFi_PUBLIC start");
try
[Property("SPEC", "Tizen.Network.Connection.ConnectionManager.CreateCellularProfile M")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
- public static void CreateCellularProfile_CELLULAR()
+ public void CreateCellularProfile_CELLULAR()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task AddRoute_WiFi()
+ public async Task AddRoute_WiFi()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task AddRoute_ARGUMENTNULLEXCEPTION()
+ public async Task AddRoute_ARGUMENTNULLEXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task RemoveRoute_WiFi()
+ public async Task RemoveRoute_WiFi()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task RemoveRoute_ARGUMENTNULLEXCEPTION()
+ public async Task RemoveRoute_ARGUMENTNULLEXCEPTION()
{
try
{
[Description("Tizen.Network.Connection.ConnectionProfile Tests")]
public class ConnectionProfileTests
{
- public static bool _flag;
- static bool isWiFiSupported = false;
- static bool isEthernetSupported = false;
+ public bool _flag;
+ bool isWiFiSupported = false;
+ bool isEthernetSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
_flag = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
}
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
await Task.Delay(1500);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task Id_GET()
+ public async Task Id_GET()
{
Log.Info(Globals.LogTag, "Id_GET start");
ConnectionProfile _connectionProfile = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task InterfaceName_GET()
+ public async Task InterfaceName_GET()
{
Log.Info(Globals.LogTag, "InterfaceName_GET start");
ConnectionProfile _connectionProfile = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task GetState_IPV4()
+ public async Task GetState_IPV4()
{
Log.Info(Globals.LogTag, "GetState_IPV4 start");
ConnectionProfile _connectionProfile = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task Refresh_REFRESH()
+ public async Task Refresh_REFRESH()
{
Log.Info(Globals.LogTag, "Refresh_REFRESH start");
ConnectionProfile _connectionProfile = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task Name_GET()
+ public async Task Name_GET()
{
Log.Info(Globals.LogTag, "Name_GET start");
ConnectionProfile _connectionProfile = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task Type_GET()
+ public async Task Type_GET()
{
Log.Info(Globals.LogTag, "Type_GET start");
ConnectionProfile _connectionProfile = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task IPv4Settings_SET_GET()
+ public async Task IPv4Settings_SET_GET()
{
Log.Info(Globals.LogTag, "IPv4Settings_SET_GET start");
ConnectionProfile _connectionProfile = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task IPv6Settings_SET_GET()
+ public async Task IPv6Settings_SET_GET()
{
Log.Info(Globals.LogTag, "IPv6Settings_SET_GET start");
ConnectionProfile _connectionProfile = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task ProxyType_SET_GET()
+ public async Task ProxyType_SET_GET()
{
Log.Info(Globals.LogTag, "ProxyType_SET_GET start");
ConnectionProfile _connectionProfile = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task ProxyAddress_SET_GET()
+ public async Task ProxyAddress_SET_GET()
{
Log.Info(Globals.LogTag, "ProxyAddress_SET_GET start");
ConnectionProfile _connectionProfile = null;
}
}
- public static void EventHandlerProfileStateChanged(object sender, EventArgs e)
+ public void EventHandlerProfileStateChanged(object sender, EventArgs e)
{
_flag = true;
Log.Info(Globals.LogTag, "ProfileState" + ((ProfileStateEventArgs)e).State);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task ProfileStateChanged_CHECK_EVENT()
+ public async Task ProfileStateChanged_CHECK_EVENT()
{
Log.Info(Globals.LogTag, "ProfileStateChanged_CHECK_EVENT start");
ConnectionProfile _connectionProfile = null;
[Description("Tizen.Network.ConnectionProfileManager Tests")]
public class ConnectionProfileManagerTests
{
- static IEnumerable<ConnectionProfile> _list;
- private static int _numTask;
- static bool isWiFiSupported = false;
- static bool isTelephonySupported = false;
- static bool isBTTetheringSupported = false;
- static bool isEthernetSupported = false;
+ IEnumerable<ConnectionProfile> _list;
+ private int _numTask;
+ bool isWiFiSupported = false;
+ bool isTelephonySupported = false;
+ bool isBTTetheringSupported = false;
+ bool isEthernetSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
}
/*setup using for connecting to a PRIVATE AP*/
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
await Task.Delay(1500);
}
- public static async Task tearDown()
+ public async Task tearDown()
{
await networkSetup.DeactivateWiFi();
await Task.Delay(1500);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static void GetDefaultCellularProfile_TYPE_INTERNET()
+ public void GetDefaultCellularProfile_TYPE_INTERNET()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task GetDefaultCellularProfile_TYPE_MMS()
+ public async Task GetDefaultCellularProfile_TYPE_MMS()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task SetDefaultCellularProfile_TYPE_MMS()
+ public async Task SetDefaultCellularProfile_TYPE_MMS()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Thao, nguyen.tthao@samsung.com")]
- public static async Task GetDefaultCellularProfile_SIM_INSERTED()
+ public async Task GetDefaultCellularProfile_SIM_INSERTED()
{
ConnectionProfile _currCP = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Tan, nguyen.vtan@samsung.com")]
- public static async Task GetProfileListAsync_REGISTERED()
+ public async Task GetProfileListAsync_REGISTERED()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task GetProfileListAsync_PROFILE_TYPE_CONNECTED()
+ public async Task GetProfileListAsync_PROFILE_TYPE_CONNECTED()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task GetProfileListAsync_PROFILE_TYPE_CONNECTED_NONE()
+ public async Task GetProfileListAsync_PROFILE_TYPE_CONNECTED_NONE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task GetCurrentProfile_RETURN_VALUE()
+ public async Task GetCurrentProfile_RETURN_VALUE()
{
ConnectionProfile _currCP = null;
WiFiAP _wifiAP = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task RemoveProfile_REMOVE()
+ public async Task RemoveProfile_REMOVE()
{
WiFiAP _wifiAP = null;
ConnectionProfile _profile = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task RemoveProfile_REMOVE_TYPE_CELLULAR()
+ public async Task RemoveProfile_REMOVE_TYPE_CELLULAR()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task ConnectProfileAsync_CONNECT_AGAIN_TO_SAME_POINT()
+ public async Task ConnectProfileAsync_CONNECT_AGAIN_TO_SAME_POINT()
{
ConnectionProfile _profile = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Thao, nguyen.tthao@samsung.com")]
- public static async Task ConnectProfileAsync_CONNECT_TO_NEW_POINT()
+ public async Task ConnectProfileAsync_CONNECT_TO_NEW_POINT()
{
ConnectionProfile _currCP = null;
ConnectionProfile _currCP1 = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task DisconnectProfileAsync_DISCONNECT_AP()
+ public async Task DisconnectProfileAsync_DISCONNECT_AP()
{
ConnectionProfile _profile = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyukin, hyukin.kwon@samsung.com")]
- public static async Task AddCellularProfile_ADD_A_NEW()
+ public async Task AddCellularProfile_ADD_A_NEW()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Hyukin, hyukin.kwon@samsung.com")]
- public static async Task SetDefaultCellularProfile_TYPE_INTERNET()
+ public async Task SetDefaultCellularProfile_TYPE_INTERNET()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task UpdateProfile_UPDATE_A_PROFILE()
+ public async Task UpdateProfile_UPDATE_A_PROFILE()
{
try
{
[Description("Tizen.Network.Connection.ConnectionProfileStateEventArgs Tests")]
public class ConnectionProfileStateEventArgsTests
{
- public static bool _flag;
- static bool isWiFiSupported = false;
+ public bool _flag;
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.wifi", out isWiFiSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
}
/*setup using for connecting to a PRIVATE AP*/
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
}
- public static void EventHandlerProfileStateChanged(object sender, EventArgs e)
+ public void EventHandlerProfileStateChanged(object sender, EventArgs e)
{
_flag = true;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan nguyen.vtan@samsung.com")]
- public static async Task ConnectionProfileState_GET()
+ public async Task ConnectionProfileState_GET()
{
_flag = false;
ConnectionProfile _connectionProfile = null;
[Description("Tizen.Network.WiFi.ConnectionStateChangedEventArgs test")]
public class ConnectionStateChangedEventArgsTests
{
- private static bool _flag;
- static bool isWiFiSupported = false;
+ private bool _flag;
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
_flag = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
}
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
}
- private static void EventHandlerConnectionStateChangedCBState(object sender, EventArgs e)
+ private void EventHandlerConnectionStateChangedCBState(object sender, EventArgs e)
{
if (WiFiManager.ConnectionState.ToString() == ((ConnectionStateChangedEventArgs)e).State.ToString())
_flag = true;
}
- private static void EventHandlerConnectionStateChangedCBAp(object sender, EventArgs e)
+ private void EventHandlerConnectionStateChangedCBAp(object sender, EventArgs e)
{
_flag = true;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task State_PROPERTY()
+ public async Task State_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task AP_PROPERTY()
+ public async Task AP_PROPERTY()
{
WiFiAP _wifiAP1 = null;
WiFiAP _wifiAP2 = null;
[Description("Tizen.Network.Connection.ConnectionTypeEventArgs Tests")]
public class ConnectionTypeEventArgsTests
{
- public static bool _flag;
- static bool isWiFiSupported = false;
- static bool isEthernetSupported = false;
+ public bool _flag;
+ bool isWiFiSupported = false;
+ bool isEthernetSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
_flag = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
_flag = false;
}
/*setup using for connecting to a PRIVATE AP*/
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
await Task.Delay(1500);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan nguyen.vtan@samsung.com")]
- public static async Task ConnectionType_GET()
+ public async Task ConnectionType_GET()
{
try
{
}
}
- public static void ConnectionTypeChangedCB(object sender, EventArgs e)
+ public void ConnectionTypeChangedCB(object sender, EventArgs e)
{
_flag = true;
}
[Description("Tizen.Network.WiFi.DeviceStateChangedEventArgs test")]
public class DeviceStateChangedEventArgsTests
{
- private static bool _flag;
- static bool isWiFiSupported = false;
+ private bool _flag;
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
_flag = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Posconditions for each TEST");
}
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
}
- public static async Task tearDown()
+ public async Task tearDown()
{
await networkSetup.DeactivateWiFi();
}
- private static void EventHandlerDeviceStateChangedCB(object sender, EventArgs e)
+ private void EventHandlerDeviceStateChangedCB(object sender, EventArgs e)
{
_flag = true;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task State_PROPERTY()
+ public async Task State_PROPERTY()
{
try
{
[Description("Tizen.Network.Connection.IAddressInformation test")]
public class IAddressInformationTests
{
- static bool isWiFiSupported = false;
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.wifi", out isWiFiSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
}
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
await Task.Delay(1500);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task Dns1_PROPERTY()
+ public async Task Dns1_PROPERTY()
{
ConnectionProfile _connectionProfile = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task Dns2_PROPERTY()
+ public async Task Dns2_PROPERTY()
{
ConnectionProfile _connectionProfile = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task Gateway_PROPERTY()
+ public async Task Gateway_PROPERTY()
{
ConnectionProfile _connectionProfile = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task SubnetMask_PROPERTY()
+ public async Task SubnetMask_PROPERTY()
{
ConnectionProfile _connectionProfile = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task IP_PROPERTY()
+ public async Task IP_PROPERTY()
{
ConnectionProfile _connectionProfile = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task IPConfigType_PROPERTY()
+ public async Task IPConfigType_PROPERTY()
{
ConnectionProfile _connectionProfile = null;
try
iAddressInformation.IPConfigType = IPConfigType.Fixed;
Assert.AreEqual((int)(IPConfigType.Fixed), (int)(iAddressInformation.IPConfigType), "IpConfigType property should be return Fixed after setting");
iAddressInformation.IPConfigType = IPConfigType.Static;
- Assert.AreEqual((int)(IPConfigType.Static), (int)(iAddressInformation.IPConfigType), "IpConfigType property should be return Static after setting");
+ Assert.AreEqual((int)(IPConfigType.Static), (int)(iAddressInformation.IPConfigType), "IpConfigType property should be return after setting");
iAddressInformation.IPConfigType = IPConfigType.Auto;
Assert.AreEqual((int)(IPConfigType.Auto), (int)(iAddressInformation.IPConfigType), "IpConfigType property should be return Auto after setting");
iAddressInformation.IPConfigType = IPConfigType.None;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task PrefixLength_PROPERTY()
+ public async Task PrefixLength_PROPERTY()
{
Log.Info(Globals.LogTag, "PrefixLength_SET_GET start");
ConnectionProfile _connectionProfile = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task DnsConfigType_PROPERTY()
+ public async Task DnsConfigType_PROPERTY()
{
Log.Info(Globals.LogTag, "DnsConfigType_SET_GET start");
ConnectionProfile _connectionProfile = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task DhcpServerAddress_PROPERTY()
+ public async Task DhcpServerAddress_PROPERTY()
{
Log.Info(Globals.LogTag, "DhcpServerAddress_PROPERTY start");
ConnectionProfile _connectionProfile = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seonah Moon, seonah1.moon@samsung.com")]
- public static async Task DhcpLeaseDuration_PROPERTY()
+ public async Task DhcpLeaseDuration_PROPERTY()
{
Log.Info(Globals.LogTag, "DhcpLeaseDuration_PROPERTY start");
ConnectionProfile _connectionProfile = null;
[Description("Tizen.Network.Connection.ProfileStateEventArgs Test")]
public class ProfileStateEventArgsTests
{
- private static bool _flag;
- static bool isWiFiSupported = false;
+ private bool _flag;
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
_flag = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
}
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
await Task.Delay(1500);
}
- private static void EventHandlerProfileStateChangedCB(object sender, EventArgs e)
+ private void EventHandlerProfileStateChangedCB(object sender, EventArgs e)
{
_flag = true;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task State_PROPERTY()
+ public async Task State_PROPERTY()
{
ConnectionProfile _connectionProfile = null;
try
[Description("Tizen.Network.WiFi.RssiLevelChangedEventArgs test")]
public class RssiLevelChangedEventArgsTests
{
- private static bool _flag;
- static bool isWiFiSupported = false;
+ private bool _flag;
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
_flag = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditional for each TEST");
}
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
await Task.Delay(1500);
}
- private static void EventHandlerRssiLevelChangedCB(object sender, EventArgs e)
+ private void EventHandlerRssiLevelChangedCB(object sender, EventArgs e)
{
_flag = true;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task Level_PROPERTY()
+ public async Task Level_PROPERTY()
{
try
{
[Description("Tizen.Network.WiFi.ScanStateChangedEventArgs test")]
public class ScanStateChangedEventArgsTests
{
- private static bool _flag;
- static bool isWiFiSupported = false;
+ private bool _flag;
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
_flag = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditional for each TEST");
}
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
}
- private static void EventHandlerScanStateChangedCB(object sender, ScanStateChangedEventArgs State)
+ private void EventHandlerScanStateChangedCB(object sender, ScanStateChangedEventArgs State)
{
if (!_flag && (State.State == WiFiScanState.Scanning))
{
[Description("Tizen.Network.WiFi.WiFiAP Tests")]
public class WiFiAPTests
{
- private static string _essid = "WiFi_AP1";
- private static string _essid_UTF8 = "안녕하세요";
- static bool isWiFiSupported = false;
+ private string _essid = "WiFi_AP1";
+ private string _essid_UTF8 = "안녕하세요";
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.wifi", out isWiFiSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
}
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
}
- public static async Task tearDown()
+ public async Task tearDown()
{
await networkSetup.DeactivateWiFi();
}
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ngo Van Hai, hai.nv3@samsung.com")]
[Property("COVPARAM", "string")]
- public static void WiFiAP_INIT()
+ public void WiFiAP_INIT()
{
WiFiAP _wifiAP = null;
try
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Nguyen Thao, nguyen.tthao@samsung.com")]
[Property("COVPARAM", "string")]
- public static void WiFiAP_INIT_UTF_8_NAME()
+ public void WiFiAP_INIT_UTF_8_NAME()
{
WiFiAP _wifiAP = null;
try
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Nguyen Thao, nguyen.tthao@samsung.com")]
[Property("COVPARAM", "string, bool")]
- public static void WiFiAP_INIT_HIDDEN()
+ public void WiFiAP_INIT_HIDDEN()
{
WiFiAP _wifiAP = null;
try
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Thao, nguyen.tthao@samsung.com")]
[Property("MODIFIER", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task Refresh_REFRESH()
+ public async Task Refresh_REFRESH()
{
Log.Info(Globals.LogTag, "Start Refresh_REFRESH");
WiFiAP _wifiAP = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task ConnectAsync_CONNECT_TO_AN_AP()
+ public async Task ConnectAsync_CONNECT_TO_AN_AP()
{
WiFiAP _wifiAP = null;
WiFiAP _wifiAP2 = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task DisconnectAsync_DISCONNECT_FROM_AP()
+ public async Task DisconnectAsync_DISCONNECT_FROM_AP()
{
WiFiAP _wifiAP = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static void NetworkInformation_PROPERTY()
+ public void NetworkInformation_PROPERTY()
{
WiFiAP _wifiAP = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static void SecurityInformation_PROPERTY()
+ public void SecurityInformation_PROPERTY()
{
WiFiAP _wifiAP = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task ForgetAP_FORGET_AP()
+ public async Task ForgetAP_FORGET_AP()
{
WiFiAP _wifiAP = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task ForgetAPAsync_FORGET_AP()
+ public async Task ForgetAPAsync_FORGET_AP()
{
WiFiAP _wifiAP = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task ForgetAPAsync_OBJECT_DISPOSED_EXCEPTION()
+ public async Task ForgetAPAsync_OBJECT_DISPOSED_EXCEPTION()
{
WiFiAP _wifiAP = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task ForgetAPAsync_INVALID_OPERATION_EXCEPTION()
+ public async Task ForgetAPAsync_INVALID_OPERATION_EXCEPTION()
{
WiFiAP _wifiAP = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task Update_UPDATE()
+ public async Task Update_UPDATE()
{
WiFiAP _wifiAP = null;
WiFiNetwork _wiFiNetwork = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task CancelWps_CANCELWPS()
+ public async Task CancelWps_CANCELWPS()
{
Log.Info(Globals.LogTag, "CancelWps_CANCELWPS");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task CancelWps_INVALID_OPERATION_EXCEPTION()
+ public async Task CancelWps_INVALID_OPERATION_EXCEPTION()
{
Log.Info(Globals.LogTag, "CancelWps_CANCELWPS");
[Description("Tizen.Tizen.Network.WiFi.WiFiConfiguration Test class for managing the configuration of WiFi")]
public class WiFiConfigurationTests
{
- private static string _wants;
- static bool isWiFiSupported = false;
+ private string _wants;
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
_wants = null;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
}
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
await Task.Delay(1500);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task WiFiConfiguration_INITIALIZE_SECURE_NONE()
+ public async Task WiFiConfiguration_INITIALIZE_SECURE_NONE()
{
WiFiAP _wifiAP = null;
WiFiConfiguration _wiFiConfig = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task WiFiConfiguration_INITIALIZE_SECURE_WEP()
+ public async Task WiFiConfiguration_INITIALIZE_SECURE_WEP()
{
WiFiAP _wifiAP = null;
WiFiConfiguration _wiFiConfig = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task WiFiConfiguration_INITIALIZE_SECURE_WPAPSK()
+ public async Task WiFiConfiguration_INITIALIZE_SECURE_WPAPSK()
{
WiFiAP _wifiAP = null;
WiFiConfiguration _wiFiConfig = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task WiFiConfiguration_INITIALIZE_SECURE_WPA2PSK()
+ public async Task WiFiConfiguration_INITIALIZE_SECURE_WPA2PSK()
{
WiFiAP _wifiAP = null;
WiFiConfiguration _wiFiConfig = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task WiFiConfiguration_INITIALIZE_SECURE_EAP()
+ public async Task WiFiConfiguration_INITIALIZE_SECURE_EAP()
{
WiFiAP _wifiAP = null;
WiFiConfiguration _wiFiConfig = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task Name_PROPERTY()
+ public async Task Name_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiConfiguration _wiFiConfig = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task SecurityType_PROPERTY()
+ public async Task SecurityType_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiConfiguration _wiFiConfig = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task IsHidden_PROPERTY()
+ public async Task IsHidden_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiConfiguration _wiFiConfig = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task ProxyAddress_PROPERTY()
+ public async Task ProxyAddress_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiConfiguration _wiFiConfig = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task EapConfiguration_PROPERTY()
+ public async Task EapConfiguration_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiConfiguration _wiFiConfig = null;
[Description("Tizen.Network.WiFi.WiFiEap Test class for managing the EAP information of access point(AP)")]
public class WiFiEapTests
{
- private static WiFiAP _wiFiAp = null;
- private static WiFiSecurity _wiFiSecurity = null;
- private static WiFiEap _wiFiEap = null;
- private static string _clientCertFile;
- private static string _userName;
- private static string _privateKeyFile;
- private static string _passWrd;
- private static string _wants;
- static bool isWiFiSupported = false;
+ private WiFiAP _wiFiAp = null;
+ private WiFiSecurity _wiFiSecurity = null;
+ private WiFiEap _wiFiEap = null;
+ private string _clientCertFile;
+ private string _userName;
+ private string _privateKeyFile;
+ private string _passWrd;
+ private string _wants;
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/network.wifi", out isWiFiSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
//Console.WriteLine("HYUKIN Postconditions for each TEST");
//LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
}
- public static void setUp()
+ public void setUp()
{
//Console.WriteLine("HYUKIN Preconditions for each TEST");
//LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static void SetClientCertFile_SET_VALUE()
+ public void SetClientCertFile_SET_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static void GetClientCertFile_GET_VALUE()
+ public void GetClientCertFile_GET_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static void SetUserName_SET_VALUE()
+ public void SetUserName_SET_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static void SetPassword_SET_VALUE()
+ public void SetPassword_SET_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static void GetUserName_GET_VALUE()
+ public void GetUserName_GET_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static void SetPrivateKeyFile_SET_VALUE()
+ public void SetPrivateKeyFile_SET_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static void GetPrivateKeyFile_GET_VALUE()
+ public void GetPrivateKeyFile_GET_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static void IsPasswordSet_RETURN()
+ public void IsPasswordSet_RETURN()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static void EapType_PROPERTY()
+ public void EapType_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static void AuthenticationType_PROPERTY()
+ public void AuthenticationType_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static void CaCertificationFile_PROPERTY()
+ public void CaCertificationFile_PROPERTY()
{
try
{
class WiFiEapConfigurationTests
{
- private static WiFiConfiguration _wiFiConfig = null;
- private static WiFiAP _wifiAP = null;
- private static WiFiEapConfiguration _wiFiEapConfig = null;
- private static string _privateKey;
- private static string _clientCert;
- private static string _wants;
- static bool isWiFiSupported = false;
+ private WiFiConfiguration _wiFiConfig = null;
+ private WiFiAP _wifiAP = null;
+ private WiFiEapConfiguration _wiFiEapConfig = null;
+ private string _privateKey;
+ private string _clientCert;
+ private string _wants;
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
_wants = networkParameter.wnPRIVATE;
_privateKey = "privatekey";
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_wifiAP = null;
_wiFiConfig = null;
_wiFiEapConfig = null;
}
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(_wants, networkParameter.wType.wPrivate, networkParameter.wPASS);
_wifiAP = WiFiManager.GetConnectedAP();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task SetClientCertFile_SET_VALUE()
+ public async Task SetClientCertFile_SET_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task GetClientCertFile_GET_VALUE()
+ public async Task GetClientCertFile_GET_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task AnonymousIdentify_PROPERTY()
+ public async Task AnonymousIdentify_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task AuthenticationType_PROPERTY()
+ public async Task AuthenticationType_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task CaCertificationFile_PROPERTY()
+ public async Task CaCertificationFile_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task EapType_PROPERTY()
+ public async Task EapType_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task Identity_PROPERTY()
+ public async Task Identity_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task SubjectMatch_PROPERTY()
+ public async Task SubjectMatch_PROPERTY()
{
try
{
[Description("Tizen.Network.WiFiManager Tests")]
public class WiFiManagerTests
{
- private static bool _flag;
- static bool isWiFiSupported = false;
+ private bool _flag;
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.wifi", out isWiFiSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
_flag = false;
}
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
await Task.Delay(1500);
}
- public static async Task tearDown()
+ public async Task tearDown()
{
await networkSetup.DeactivateWiFi();
await Task.Delay(1500);
}
- public static void EventHandlerRssi(object sender, RssiLevelChangedEventArgs Rssi)
+ public void EventHandlerRssi(object sender, RssiLevelChangedEventArgs Rssi)
{
var wiFiRssiLevel = WiFiRssiLevel.Level0;
if (Rssi.Level != wiFiRssiLevel)
wiFiRssiLevel = Rssi.Level;
}
- public static void EventHandlerDevice(object sender, DeviceStateChangedEventArgs Event)
+ public void EventHandlerDevice(object sender, DeviceStateChangedEventArgs Event)
{
if (Event.State == WiFiDeviceState.Activated)
_flag = true;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task ActivateAsync_OPEN_WiFi()
+ public async Task ActivateAsync_OPEN_WiFi()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task ActivateWithPickerAsync_OPEN()
+ public async Task ActivateWithPickerAsync_OPEN()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task DeactivateAsync_DEACTIVE_WIFI()
+ public async Task DeactivateAsync_DEACTIVE_WIFI()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task GetConnectedAP_GET_CURRENT_AP()
+ public async Task GetConnectedAP_GET_CURRENT_AP()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task GetFoundAPs_SCAN_AND_GET_ALL_AP()
+ public async Task GetFoundAPs_SCAN_AND_GET_ALL_AP()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task GetFoundSpecificAPs_GET_A_CERTAIN_AP()
+ public async Task GetFoundSpecificAPs_GET_A_CERTAIN_AP()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task GetWiFiConfigurations_GETlist_OF_WIFI_CONFIG()
+ public async Task GetWiFiConfigurations_GETlist_OF_WIFI_CONFIG()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task SaveWiFiConfiguration_SAVE_GET()
+ public async Task SaveWiFiConfiguration_SAVE_GET()
{
WiFiConfiguration _wiFiConfiguration = null;
WiFiAP _wifiAP = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task DeviceStateChanged_CHECK_CB()
+ public async Task DeviceStateChanged_CHECK_CB()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task RssiLevelChanged_CHECK_CB()
+ public async Task RssiLevelChanged_CHECK_CB()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task ConnectionState_PROPERTY()
+ public async Task ConnectionState_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task IsActive_PROPERTY()
+ public async Task IsActive_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task InterfaceName_PROPERTY()
+ public async Task InterfaceName_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task MacAddress_PROPERTY()
+ public async Task MacAddress_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task ScanAsync_SCAN()
+ public async Task ScanAsync_SCAN()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task ScanSpecificAPAsync_SCAN()
+ public async Task ScanSpecificAPAsync_SCAN()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nguyen Thao, nguyen.tthao@samsung.com")]
- public static async Task ScanSpecificAPAsync_SCAN_HIDDEN_AP()
+ public async Task ScanSpecificAPAsync_SCAN_HIDDEN_AP()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task ConnectionStateChanged_CHECK_CB()
+ public async Task ConnectionStateChanged_CHECK_CB()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Cheoleun Moon chleun.moon@samsung.com")]
- public static async Task BackgroundScanFinished_CHECK_CB_EVENT()
+ public async Task BackgroundScanFinished_CHECK_CB_EVENT()
{
try
{
}
}
- public static void BackgroundScanFinished(object sender, EventArgs e)
+ public void BackgroundScanFinished(object sender, EventArgs e)
{
_flag = true;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task BssidScanAsync_BSSIDSCAN()
+ public async Task BssidScanAsync_BSSIDSCAN()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task GetFoundBssids_BSSIDSCAN_AND_GET_ALL_AP()
+ public async Task GetFoundBssids_BSSIDSCAN_AND_GET_ALL_AP()
{
try
{
}
}
- public static void EventHandlerScanState(object sender, ScanStateChangedEventArgs State)
+ public void EventHandlerScanState(object sender, ScanStateChangedEventArgs State)
{
if (State.State == WiFiScanState.Scanning)
_flag = true;
[Description("Tizen.Network.WiFi.WiFiNetwork Tests")]
public class WiFiNetworkTests
{
- static bool isWiFiSupported = false;
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Console.WriteLine("Preconditions for each TESTCASE");
Information.TryGetValue("http://tizen.org/feature/network.wifi", out isWiFiSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Console.WriteLine("Postconditions for each TESTCASE");
}
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task Essid_PROPERTY()
+ public async Task Essid_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiNetwork _wiFiNetwork = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Cheoleun, chleun.moon@samsung.com")]
- public static async Task RawSsid_PROPERTY()
+ public async Task RawSsid_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiNetwork _wiFiNetwork = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task Bssid_PROPERTY()
+ public async Task Bssid_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiNetwork _wiFiNetwork = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task GetBssids_GET()
+ public async Task GetBssids_GET()
{
WiFiAP _wifiAP = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task CountryCode_PROPERTY()
+ public async Task CountryCode_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiNetwork _wiFiNetwork = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task ConnectionState_PROPERTY()
+ public async Task ConnectionState_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiNetwork _wiFiNetwork = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task Frequency_PROPERTY()
+ public async Task Frequency_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiNetwork _wiFiNetwork = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task IsFavorite_PROPERTY()
+ public async Task IsFavorite_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiNetwork _wiFiNetwork = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task IsPasspoint_PROPERTY()
+ public async Task IsPasspoint_PROPERTY()
{
Log.Info(Globals.LogTag, "Start IsPasspoint_PROPERTY");
WiFiAP _wifiAP = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task MaxSpeed_PROPERTY()
+ public async Task MaxSpeed_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiNetwork _wiFiNetwork = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task Rssi_PROPERTY()
+ public async Task Rssi_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiNetwork _wiFiNetwork = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task RssiLevel_PROPERTY()
+ public async Task RssiLevel_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiNetwork _wiFiNetwork = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task ProxyAddress_PROPERTY()
+ public async Task ProxyAddress_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiNetwork _wiFiNetwork = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task ProxyType_PROPERTY()
+ public async Task ProxyType_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiNetwork _wiFiNetwork = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task IPv4Setting_PROPERTY()
+ public async Task IPv4Setting_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiNetwork _wiFiNetwork = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task IPv6Setting_PROPERTY()
+ public async Task IPv6Setting_PROPERTY()
{
WiFiAP _wifiAP = null;
WiFiNetwork _wiFiNetwork = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static async Task GetAllIPv6Addresses_GET()
+ public async Task GetAllIPv6Addresses_GET()
{
WiFiAP _wifiAP = null;
try
[Description("Tizen.Network.Connection.WiFiProfile Tests")]
class WiFiProfileTests
{
- private static ConnectionProfile _connectionProfile;
- private static WiFiAP _wiFiAp;
- private static WiFiNetwork _wiFiNetwork;
- private static WiFiProfile _wiFiProfile;
- private static WiFiSecurity _wiFiSecurity;
- static bool isWiFiSupported = false;
+ private ConnectionProfile _connectionProfile;
+ private WiFiAP _wiFiAp;
+ private WiFiNetwork _wiFiNetwork;
+ private WiFiProfile _wiFiProfile;
+ private WiFiSecurity _wiFiSecurity;
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
_connectionProfile = null;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
_wiFiProfile = null;
}
- public static async Task setUp()
+ public async Task setUp()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
_wiFiAp = WiFiManager.GetConnectedAP();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task Essid_PROPERTY()
+ public async Task Essid_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task Bssid_PROPERTY()
+ public async Task Bssid_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task Rssi_PROPERTY()
+ public async Task Rssi_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task Frequency_PROPERTY()
+ public async Task Frequency_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task MaxSpeed_PROPERTY()
+ public async Task MaxSpeed_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task SecurityType_PROPERTY()
+ public async Task SecurityType_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task EncryptionType_PROPERTY()
+ public async Task EncryptionType_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task PassphraseRequired_PROPERTY()
+ public async Task PassphraseRequired_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task WpsSupported_PROPERTY()
+ public async Task WpsSupported_PROPERTY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")]
- public static async Task SetPassphrase_CHECK_STATUS()
+ public async Task SetPassphrase_CHECK_STATUS()
{
try
{
{
[TestFixture]
[Description("Tizen.Network.WiFi.WiFiSecurity Tests")]
- public static class WiFiSecurityTests
+ public class WiFiSecurityTests
{
- private static WiFiSecurity _wiFiSecurity;
- private static string _wiFiName;
- private static WiFiEncryptionType _wiFiEncryptionType;
- private static WiFiSecurityType _wiFiSecuType;
- static bool isWiFiSupported = false;
+ private WiFiSecurity _wiFiSecurity;
+ private string _wiFiName;
+ private WiFiEncryptionType _wiFiEncryptionType;
+ private WiFiSecurityType _wiFiSecuType;
+ bool isWiFiSupported = false;
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
networkParameter.SetPrecondition();
}
[SetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/network.wifi", out isWiFiSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_wiFiSecurity = null;
_wiFiName = null;
}
- public static void init()
+ public void init()
{
_wiFiName = networkParameter.wnPRIVATE;
}
- public static async Task setup()
+ public async Task setup()
{
await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Pham Phuong Dong, dong.phuong@samsung.com")]
- public static void EncryptionType_SET_GET()
+ public void EncryptionType_SET_GET()
{
WiFiAP _wiFiAp = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Pham Phuong Dong, dong.phuong@samsung.com")]
- public static void SecurityType_SET_GET()
+ public void SecurityType_SET_GET()
{
WiFiAP _wiFiAp = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Pham Phuong Dong, dong.phuong@samsung.com")]
- public static async Task SetPassphrase_CHECK_STATUS()
+ public async Task SetPassphrase_CHECK_STATUS()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Pham Phuong Dong, dong.phuong@samsung.com")]
- public static void EapInformation_SET_GET()
+ public void EapInformation_SET_GET()
{
WiFiAP _wiFiAp = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Nguyen Van Tan, nguyen.vtan@samsung.com")]
- public static async Task IsWpsSupported_GET()
+ public async Task IsWpsSupported_GET()
{
WiFiAP _wiFiAp = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ngo Thi Huong, huong.nt1@samsung.com")]
- public static async Task IsPassphraseRequired_GET()
+ public async Task IsPassphraseRequired_GET()
{
WiFiAP _wiFiAp = null;
try
public class WpsInfoTests
{
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static void WpsInfo_INIT()
+ public void WpsInfo_INIT()
{
WpsInfo info = new WpsPbcInfo();
Assert.IsInstanceOf<WpsInfo>(info, "Creating WpsInfo is failed");
public class WpsPbcInfoTests
{
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
- public static void WpsPbcInfo_INIT()
+ public void WpsPbcInfo_INIT()
{
WpsPbcInfo info = new WpsPbcInfo();
Assert.IsInstanceOf<WpsPbcInfo>(info, "Creating WpsPbcInfo is failed");
public class WpsPinInfoTests
{
[OneTimeSetUp]
- public static void InitFixture()
+ public void InitFixture()
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Info(Globals.LogTag, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Info(Globals.LogTag, "Postconditions for each TEST");
}
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Cheoleun Moon, chleun.moon@samsung.com")]
[Property("COVPARAM", "string")]
- public static void WpsPinInfo_INIT()
+ public void WpsPinInfo_INIT()
{
WpsPinInfo info = new WpsPinInfo("12345678");
Assert.IsInstanceOf<WpsPinInfo>(info, "Creating WpsPinInfo is failed");
[Description("Tizen.Network.Nfc.HostCardEmulationEventArgs Tests")]
public class HostCardEmulationEventArgsTests
{
- private static bool _nfcFeature = false;
- private static bool _ceFeature = false;
- private static bool _hceFeature = false;
+ private bool _nfcFeature = false;
+ private bool _ceFeature = false;
+ private bool _hceFeature = false;
- private static NfcCardEmulationAdapter _cardEmulationAdapter = null;
- private static HostCardEmulationEventArgs _eventArgs = null;
+ private NfcCardEmulationAdapter _cardEmulationAdapter = null;
+ private HostCardEmulationEventArgs _eventArgs = null;
- public static void HostCardEmulationCallback(object sender, HostCardEmulationEventArgs e)
+ public void HostCardEmulationCallback(object sender, HostCardEmulationEventArgs e)
{
_eventArgs = e;
}
- public static async Task WaitHceEvent()
+ public async Task WaitHceEvent()
{
int count = 0;
_eventArgs = null;
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Step(2, "Send the Apdu using the NFC reader within 8 seconds after pressing the Run button")]
[Step(3, "If after send the Apdu, error is None, test case will pass automatically else it will fail")]
- public static async Task Apdu_READ_ONLY()
+ public async Task Apdu_READ_ONLY()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Send the Apdu using the NFC reader within 8 seconds after pressing the Run button.")]
[Step(3, "If after send the Apdu, error is None, test case will pass automatically else it will fail")]
- public static async Task HceEvent_READ_ONLY()
+ public async Task HceEvent_READ_ONLY()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Send the Apdu using the NFC reader within 8 seconds after pressing the Run button.")]
[Step(3, "If after send the Apdu, error is None, test case will pass automatically else it will fail")]
- public static async Task SecureElement_READ_ONLY()
+ public async Task SecureElement_READ_ONLY()
{
try
{
[Description("Tizen.Network.Nfc.NdefMessageDiscoveredEventArgs Tests")]
public class NdefMessageDiscoveredEventArgsTests
{
- private static bool _nfcFeature = false;
- private static bool _tagFeature = false;
- private static bool _p2pFeature = false;
+ private bool _nfcFeature = false;
+ private bool _tagFeature = false;
+ private bool _p2pFeature = false;
- private static NdefMessageDiscoveredEventArgs _eventArgs = null;
- public static void NdefMessageDiscoveredCallback(object sender, NdefMessageDiscoveredEventArgs e)
+ private NdefMessageDiscoveredEventArgs _eventArgs = null;
+ public void NdefMessageDiscoveredCallback(object sender, NdefMessageDiscoveredEventArgs e)
{
_eventArgs = e;
}
- public static async Task WaitNdefMessageDiscovered()
+ public async Task WaitNdefMessageDiscovered()
{
int count = 0;
_eventArgs = null;
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Step(2, "Attach tag device")]
[Step(3, "If after attach device, error is None, test case will pass automatically else it will fail")]
- public static async Task NdefMessage_READ_ONLY()
+ public async Task NdefMessage_READ_ONLY()
{
try
{
[Description("Tizen.Network.Nfc.NfcCardEmulationAdapter Tests")]
public class NfcCardEmulationAdapterTests
{
- private static bool _nfcFeature = false;
- private static bool _ceFeature = false;
- private static bool _hceFeature = false;
- private static bool _checkFlag = false;
+ private bool _nfcFeature = false;
+ private bool _ceFeature = false;
+ private bool _hceFeature = false;
+ private bool _checkFlag = false;
- private static NfcCardEmulationAdapter _cardEmulationAdapter = null;
- private static HostCardEmulationEventArgs _hceEventArgs = null;
- private static SecureElementEventArgs _seEventArgs = null;
+ private NfcCardEmulationAdapter _cardEmulationAdapter = null;
+ private HostCardEmulationEventArgs _hceEventArgs = null;
+ private SecureElementEventArgs _seEventArgs = null;
- public static void HostCardEmulationCallback(object sender, HostCardEmulationEventArgs e)
+ public void HostCardEmulationCallback(object sender, HostCardEmulationEventArgs e)
{
_hceEventArgs = e;
}
- public static void SecureElementCallback(object sender, SecureElementEventArgs e)
+ public void SecureElementCallback(object sender, SecureElementEventArgs e)
{
_seEventArgs = e;
}
- public static async Task WaitHceEventActivated()
+ public async Task WaitHceEventActivated()
{
int count = 0;
_hceEventArgs = null;
}
}
}
- public static async Task WaitHceEventDeactivated()
+ public async Task WaitHceEventDeactivated()
{
int count = 0;
_hceEventArgs = null;
}
}
}
- public static async Task WaitHceEventApduReceived()
+ public async Task WaitHceEventApduReceived()
{
int count = 0;
_hceEventArgs = null;
}
}
- public static async Task WaitSeEvent()
+ public async Task WaitSeEvent()
{
int count = 0;
_hceEventArgs = null;
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Step(2, "Send the Apdu using the NFC reader within 8 seconds after pressing the Run button")]
[Step(3, "If after send the Apdu, error is None, test case will pass automatically else it will fail")]
- public static async Task HostCardEmulationEvent_HOST_CARD_EMULATION_EVENT_LISTEN_TYPE_ACTIVATED()
+ public async Task HostCardEmulationEvent_HOST_CARD_EMULATION_EVENT_LISTEN_TYPE_ACTIVATED()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Send the Apdu using the NFC reader, and detach the NFC reader within 8 seconds after pressing the Run button")]
[Step(4, "If after send the Apdu, error is None, test case will pass automatically else it will fail")]
- public static async Task HostCardEmulationEvent_HOST_CARD_EMULATION_EVENT_LISTEN_TYPE_DEACTIVATED()
+ public async Task HostCardEmulationEvent_HOST_CARD_EMULATION_EVENT_LISTEN_TYPE_DEACTIVATED()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Send the Apdu using the NFC reader within 8 seconds after pressing the Run button")]
[Step(3, "If after send the Apdu, error is None, test case will pass automatically else it will fail")]
- public static async Task HostCardEmulationEvent_HOST_CARD_EMULATION_EVENT_LISTEN_TYPE_APDU_RECEIVED()
+ public async Task HostCardEmulationEvent_HOST_CARD_EMULATION_EVENT_LISTEN_TYPE_APDU_RECEIVED()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Contact to nfc reader closely")]
[Step(3, "If after contact to nfc reader, error is None, test case will pass automatically else it will fail")]
- public static async Task SecureElementEvent_EVENT_LISTEN()
+ public async Task SecureElementEvent_EVENT_LISTEN()
{
try
{
[Precondition(2, "Make this TC application ready for HCE through NFC setting")]
[Step(1, "Tap the Run button")]
[Step(2, "If after tap the Run button, error is None, test case will pass automatically else it will fail")]
- public static void IsActivatedHandlerForAid_METHOD_RETURN()
+ public void IsActivatedHandlerForAid_METHOD_RETURN()
{
try
{
[Precondition(2, "Make this TC application ready for HCE through NFC setting")]
[Step(1, "Tap the Run button")]
[Step(2, "If after tap the Run button, error is None, test case will pass automatically else it will fail")]
- public static void IsActivatedHandlerForCategory_METHOD_RETURN()
+ public void IsActivatedHandlerForCategory_METHOD_RETURN()
{
try
{
[Description("Tizen.Network.Nfc.NfcManager Tests")]
public class NfcManagerTests
{
- private static bool _nfcFeature = false;
- private static bool _tagFeature = false;
- private static bool _p2pFeature = false;
+ private bool _nfcFeature = false;
+ private bool _tagFeature = false;
+ private bool _p2pFeature = false;
- private static NdefMessageDiscoveredEventArgs _eventArgs = null;
+ private NdefMessageDiscoveredEventArgs _eventArgs = null;
- public static void NdefMessageDiscoveredCallback(object sender, NdefMessageDiscoveredEventArgs e)
+ public void NdefMessageDiscoveredCallback(object sender, NdefMessageDiscoveredEventArgs e)
{
_eventArgs = e;
}
- public static async Task WaitHceEvent()
+ public async Task WaitHceEvent()
{
int count = 0;
_eventArgs = null;
}
}
- public static async Task WaitNdefMessageDiscovered()
+ public async Task WaitNdefMessageDiscovered()
{
int count = 0;
_eventArgs = null;
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Step(2, "Attach tag device")]
[Step(3, "If after attach device, error is None, test case will pass automatically else it will fail")]
- public static async Task NdefMessageDiscovered_EVENT_LISTEN()
+ public async Task NdefMessageDiscovered_EVENT_LISTEN()
{
try
{
[Description("Tizen.Network.Nfc.NfcP2p Tests")]
public class NfcP2pTests
{
- private static bool _nfcFeature = false;
- private static bool _p2pFeature = false;
+ private bool _nfcFeature = false;
+ private bool _p2pFeature = false;
- public static NfcP2pAdapter _p2pAdapter = null;
- public static P2pTargetDiscoveredEventArgs _p2pTargetDiscoveredEventArgs = null;
- public static P2pDataReceivedEventArgs _p2pDataReceivedEventArgs = null;
+ public NfcP2pAdapter _p2pAdapter = null;
+ public P2pTargetDiscoveredEventArgs _p2pTargetDiscoveredEventArgs = null;
+ public P2pDataReceivedEventArgs _p2pDataReceivedEventArgs = null;
- public static void P2pTargetDiscoveredCallback(object sender, P2pTargetDiscoveredEventArgs e)
+ public void P2pTargetDiscoveredCallback(object sender, P2pTargetDiscoveredEventArgs e)
{
_p2pTargetDiscoveredEventArgs = e;
}
- public static void P2pDataReceivedCallback(object sender, P2pDataReceivedEventArgs e)
+ public void P2pDataReceivedCallback(object sender, P2pDataReceivedEventArgs e)
{
_p2pDataReceivedEventArgs = e;
}
- public static async Task WaitTargetDiscovered()
+ public async Task WaitTargetDiscovered()
{
int count = 0;
_p2pTargetDiscoveredEventArgs = null;
}
}
- public static async Task WaitDataReceived()
+ public async Task WaitDataReceived()
{
int count = 0;
_p2pDataReceivedEventArgs = null;
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Step(2, "Attach the Nfc p2p device to the device.")]
[Step(3, "If after attach p2p device, error is None, test case will pass automatically else it will fail")]
- public static async Task SendNdefMessageAsync_METHOD_RETURN()
+ public async Task SendNdefMessageAsync_METHOD_RETURN()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Attach the Nfc p2p device to the device.")]
[Step(3, "If after attach p2p device, error is None, test case will pass automatically else it will fail")]
- public static async Task P2pDataReceived_EVENT_LISTEN()
+ public async Task P2pDataReceived_EVENT_LISTEN()
{
try
{
[Description("Tizen.Network.Nfc.NfcP2pAdapter Tests")]
public class NfcP2pAdapterTests
{
- private static bool _nfcFeature = false;
- private static bool _p2pFeature = false;
+ private bool _nfcFeature = false;
+ private bool _p2pFeature = false;
- public static NfcP2pAdapter _p2pAdapter = null;
- public static P2pTargetDiscoveredEventArgs _p2pTargetDiscoveredEventArgs = null;
- public static void P2pTargetDiscoveredCallback(object sender, P2pTargetDiscoveredEventArgs e)
+ public NfcP2pAdapter _p2pAdapter = null;
+ public P2pTargetDiscoveredEventArgs _p2pTargetDiscoveredEventArgs = null;
+ public void P2pTargetDiscoveredCallback(object sender, P2pTargetDiscoveredEventArgs e)
{
_p2pTargetDiscoveredEventArgs = e;
}
- public static async Task WaitTargetDiscovered()
+ public async Task WaitTargetDiscovered()
{
int count = 0;
_p2pTargetDiscoveredEventArgs = null;
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Step(2, "Attach the Nfc p2p device to the device.")]
[Step(3, "If after attach p2p device, error is None, test case will pass automatically else it will fail")]
- public static async Task GetConnectedTarget_METHOD_RETURN()
+ public async Task GetConnectedTarget_METHOD_RETURN()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Attach the Nfc p2p device to the device.")]
[Step(3, "If after attach p2p device, error is None, test case will pass automatically else it will fail")]
- public static async Task P2pTargetDiscovered_EVENT_LISTEN()
+ public async Task P2pTargetDiscovered_EVENT_LISTEN()
{
try
{
[Description("Tizen.Network.Nfc.NfcSecureElement Tests")]
public class NfcSecureElementTests
{
- private static bool _nfcFeature = false;
- private static bool _ceFeature = false;
- private static bool _hceFeature = false;
+ private bool _nfcFeature = false;
+ private bool _ceFeature = false;
+ private bool _hceFeature = false;
- private static NfcCardEmulationAdapter _cardEmulationAdapter = null;
- private static HostCardEmulationEventArgs _eventArgs = null;
+ private NfcCardEmulationAdapter _cardEmulationAdapter = null;
+ private HostCardEmulationEventArgs _eventArgs = null;
- public static void HostCardEmulationCallback(object sender, HostCardEmulationEventArgs e)
+ public void HostCardEmulationCallback(object sender, HostCardEmulationEventArgs e)
{
_eventArgs = e;
}
- public static async Task WaitHceEvent()
+ public async Task WaitHceEvent()
{
int count = 0;
_eventArgs = null;
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Step(2, "Send the Apdu using the NFC reader within 8 seconds after pressing the Run button")]
[Step(3, "If after send the Apdu, error is None, test case will pass automatically else it will fail")]
- public static async Task HceSendApduResponse_METHOD_RETURN()
+ public async Task HceSendApduResponse_METHOD_RETURN()
{
try
{
[Description("Tizen.Network.Nfc.NfcTag Tests")]
public class NfcTagTests
{
- private static bool _nfcFeature = false;
- private static bool _tagFeature = false;
+ private bool _nfcFeature = false;
+ private bool _tagFeature = false;
- public static NfcTagAdapter _tagAdapter = null;
- public static TagDiscoveredEventArgs _eventArgs = null;
+ public NfcTagAdapter _tagAdapter = null;
+ public TagDiscoveredEventArgs _eventArgs = null;
- public static void TagDiscoveredCallback(object sender, TagDiscoveredEventArgs e)
+ public void TagDiscoveredCallback(object sender, TagDiscoveredEventArgs e)
{
_eventArgs = e;
}
- public static async Task WaitTagDiscovered()
+ public async Task WaitTagDiscovered()
{
int count = 0;
_eventArgs = null;
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Step(2, "Attach the tag to the device.")]
[Step(3, "If after attach tag, error is None, test case will pass automatically else it will fail")]
- public static async Task IsSupportNdef_READ_ONLY()
+ public async Task IsSupportNdef_READ_ONLY()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Attach the tag to the device.")]
[Step(3, "If after attach tag, error is None, test case will pass automatically else it will fail")]
- public static async Task MaximumNdefSize_READ_ONLY()
+ public async Task MaximumNdefSize_READ_ONLY()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Attach the tag to the device.")]
[Step(3, "If after attach tag, error is None, test case will pass automatically else it will fail")]
- public static async Task NdefSize_READ_ONLY()
+ public async Task NdefSize_READ_ONLY()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Attach the tag to the device.")]
[Step(3, "If after attach tag, error is None, test case will pass automatically else it will fail")]
- public static async Task Type_READ_ONLY()
+ public async Task Type_READ_ONLY()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Attach the tag to the device.")]
[Step(3, "If after attach tag, error is None, test case will pass automatically else it will fail")]
- public static async Task ForeachInformation_METHOD_RETURN()
+ public async Task ForeachInformation_METHOD_RETURN()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Attach the tag to the device.")]
[Step(3, "If after attach tag, error is None, test case will pass automatically else it will fail")]
- public static async Task ReadNdefMessageAsync_METHOD_RETURN()
+ public async Task ReadNdefMessageAsync_METHOD_RETURN()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Attach the tag to the device.")]
[Step(3, "If after attach tag, error is None, test case will pass automatically else it will fail")]
- public static async Task WriteNdefMessageAsync_METHOD_RETURN()
+ public async Task WriteNdefMessageAsync_METHOD_RETURN()
{
try
{
[Description("Tizen.Network.Nfc.NfcTagAdapter Tests")]
public class NfcTagAdapterTests
{
- private static bool _nfcFeature = false;
- private static bool _tagFeature = false;
+ private bool _nfcFeature = false;
+ private bool _tagFeature = false;
- public static NfcTagAdapter _tagAdapter = null;
- public static TagDiscoveredEventArgs _eventArgs = null;
+ public NfcTagAdapter _tagAdapter = null;
+ public TagDiscoveredEventArgs _eventArgs = null;
- public static void TagDiscoveredCallback(object sender, TagDiscoveredEventArgs e)
+ public void TagDiscoveredCallback(object sender, TagDiscoveredEventArgs e)
{
_eventArgs = e;
}
- public static async Task WaitTagDiscovered()
+ public async Task WaitTagDiscovered()
{
int count = 0;
_eventArgs = null;
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Step(2, "Attach the tag to the device.")]
[Step(3, "If after attach tag, error is None, test case will pass automatically else it will fail")]
- public static async Task GetConnectedTag_METHOD_RETURN()
+ public async Task GetConnectedTag_METHOD_RETURN()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Attach the tag to the device.")]
[Step(3, "If after attach tag, error is None, test case will pass automatically else it will fail")]
- public static async Task TagDiscovered_EVENT_LISTEN()
+ public async Task TagDiscovered_EVENT_LISTEN()
{
try
{
[Description("Tizen.Network.Nfc.NfcTagInformation Tests")]
public class NfcTagInformationTests
{
- private static bool _nfcFeature = false;
- private static bool _tagFeature = false;
+ private bool _nfcFeature = false;
+ private bool _tagFeature = false;
- public static NfcTagAdapter _tagAdapter = null;
- public static TagDiscoveredEventArgs _eventArgs = null;
+ public NfcTagAdapter _tagAdapter = null;
+ public TagDiscoveredEventArgs _eventArgs = null;
- public static void TagDiscoveredCallback(object sender, TagDiscoveredEventArgs e)
+ public void TagDiscoveredCallback(object sender, TagDiscoveredEventArgs e)
{
_eventArgs = e;
}
- public static async Task WaitTagDiscovered()
+ public async Task WaitTagDiscovered()
{
int count = 0;
_eventArgs = null;
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Step(2, "Attach the tag to the device.")]
[Step(3, "If after attach tag, error is None, test case will pass automatically else it will fail")]
- public static async Task InformationValue_READ_ONLY()
+ public async Task InformationValue_READ_ONLY()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Attach the tag to the device.")]
[Step(3, "If after attach tag, error is None, test case will pass automatically else it will fail")]
- public static async Task Key_READ_ONLY()
+ public async Task Key_READ_ONLY()
{
try
{
[Description("Tizen.Network.Nfc.P2pDataReceivedEventArgs Tests")]
public class P2pDataReceivedEventArgsTests
{
- private static bool _nfcFeature = false;
- private static bool _p2pFeature = false;
+ private bool _nfcFeature = false;
+ private bool _p2pFeature = false;
- public static NfcP2pAdapter _p2pAdapter = null;
- public static P2pTargetDiscoveredEventArgs _p2pTargetDiscoveredEventArgs = null;
- public static P2pDataReceivedEventArgs _p2pDataReceivedEventArgs = null;
+ public NfcP2pAdapter _p2pAdapter = null;
+ public P2pTargetDiscoveredEventArgs _p2pTargetDiscoveredEventArgs = null;
+ public P2pDataReceivedEventArgs _p2pDataReceivedEventArgs = null;
- public static void P2pTargetDiscoveredCallback(object sender, P2pTargetDiscoveredEventArgs e)
+ public void P2pTargetDiscoveredCallback(object sender, P2pTargetDiscoveredEventArgs e)
{
_p2pTargetDiscoveredEventArgs = e;
}
- public static void P2pDataReceivedCallback(object sender, P2pDataReceivedEventArgs e)
+ public void P2pDataReceivedCallback(object sender, P2pDataReceivedEventArgs e)
{
_p2pDataReceivedEventArgs = e;
}
- public static async Task WaitTargetDiscovered()
+ public async Task WaitTargetDiscovered()
{
int count = 0;
_p2pTargetDiscoveredEventArgs = null;
}
}
- public static async Task WaitDataReceived()
+ public async Task WaitDataReceived()
{
int count = 0;
_p2pDataReceivedEventArgs = null;
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(2, "Attach the Nfc p2p device to the device.")]
[Step(3, "Send the NdefMessage via device.")]
[Step(4, "If after p2p device send the Ndef Message, error is None, test case will pass automatically else it will fail")]
- public static async Task NdefMessage_READ_ONLY()
+ public async Task NdefMessage_READ_ONLY()
{
try
{
[Step(2, "Attach the Nfc p2p device to the device.")]
[Step(3, "Send the NdefMessage via device.")]
[Step(4, "If after p2p device send the Ndef Message, error is None, test case will pass automatically else it will fail")]
- public static async Task P2pTarget_READ_ONLY()
+ public async Task P2pTarget_READ_ONLY()
{
try
{
[Description("Tizen.Network.Nfc.P2pTargetDiscoveredEventArgs Tests")]
public class P2pTargetDiscoveredEventArgsTests
{
- static bool _nfcFeature = false;
- static bool _p2pFeature = false;
+ bool _nfcFeature = false;
+ bool _p2pFeature = false;
- public static NfcP2pAdapter _p2pAdapter = null;
- public static P2pTargetDiscoveredEventArgs _p2pTargetDiscoveredEventArgs = null;
- public static void P2pTargetDiscoveredCallback(object sender, P2pTargetDiscoveredEventArgs e)
+ public NfcP2pAdapter _p2pAdapter = null;
+ public P2pTargetDiscoveredEventArgs _p2pTargetDiscoveredEventArgs = null;
+ public void P2pTargetDiscoveredCallback(object sender, P2pTargetDiscoveredEventArgs e)
{
_p2pTargetDiscoveredEventArgs = e;
}
- public static async Task WaitTargetDiscovered()
+ public async Task WaitTargetDiscovered()
{
int count = 0;
_p2pTargetDiscoveredEventArgs = null;
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Step(2, "Attach the Nfc p2p device to the device.")]
[Step(3, "If after attach p2p device, error is None, test case will pass automatically else it will fail")]
- public static async Task P2pTarget_READ_ONLY()
+ public async Task P2pTarget_READ_ONLY()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Attach the Nfc p2p device to the device.")]
[Step(3, "If after attach p2p device, error is None, test case will pass automatically else it will fail")]
- public static async Task Type_READ_ONLY()
+ public async Task Type_READ_ONLY()
{
try
{
[Description("Tizen.Network.Nfc.SecureElementEventArgs Tests")]
public class SecureElementEventArgsTests
{
- private static bool _nfcFeature = false;
- private static bool _ceFeature = false;
+ private bool _nfcFeature = false;
+ private bool _ceFeature = false;
- private static NfcCardEmulationAdapter _cardEmulationAdapter = null;
- private static SecureElementEventArgs _seEventArgs = null;
+ private NfcCardEmulationAdapter _cardEmulationAdapter = null;
+ private SecureElementEventArgs _seEventArgs = null;
- public static void SecureElementCallback(object sender, SecureElementEventArgs e)
+ public void SecureElementCallback(object sender, SecureElementEventArgs e)
{
_seEventArgs = e;
}
- public static async Task WaitSeEvent()
+ public async Task WaitSeEvent()
{
int count = 0;
_seEventArgs = null;
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Step(2, "Contact to nfc reader closely")]
[Step(3, "If after contact to nfc reader, error is None, test case will pass automatically else it will fail")]
- public static async Task EventType_READ_ONLY()
+ public async Task EventType_READ_ONLY()
{
try
{
[Description("Tizen.Network.Nfc.TagDiscoveredEventArgs Tests")]
public class TagDiscoveredEventArgsTests
{
- static bool _nfcFeature = false;
- static bool _tagFeature = false;
+ bool _nfcFeature = false;
+ bool _tagFeature = false;
- public static NfcTagAdapter _tagAdapter = null;
- public static TagDiscoveredEventArgs _eventArgs = null;
+ public NfcTagAdapter _tagAdapter = null;
+ public TagDiscoveredEventArgs _eventArgs = null;
- public static void TagDiscoveredCallback(object sender, TagDiscoveredEventArgs e)
+ public void TagDiscoveredCallback(object sender, TagDiscoveredEventArgs e)
{
_eventArgs = e;
}
- public static async Task WaitTagDiscovered()
+ public async Task WaitTagDiscovered()
{
int count = 0;
_eventArgs = null;
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Step(2, "Attach the tag to the device.")]
[Step(3, "If after attach tag, error is None, test case will pass automatically else it will fail")]
- public static async Task Tag_READ_ONLY()
+ public async Task Tag_READ_ONLY()
{
try
{
[Step(1, "Tap the Run button")]
[Step(2, "Attach the tag to the device.")]
[Step(3, "If after attach tag, error is None, test case will pass automatically else it will fail")]
- public static async Task Type_READ_ONLY()
+ public async Task Type_READ_ONLY()
{
try
{
[Description("NfcCardEmulationAdapter Tests")]
public class NfcCardEmulationAdapterTests
{
- static bool isNfcSupported = false;
- static bool isCeSupported = false;
- static bool isHceSupported = false;
+ bool isNfcSupported = false;
+ bool isCeSupported = false;
+ bool isHceSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug("TCT", "[TestCase] nfc ce Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug("TCT", "[TestCase] nfc ce Posconditions for each TEST");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void GetCardEmulationMode_RETURN_VALUE()
+ public void GetCardEmulationMode_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void EnableCardEmulation_CHECK_CARD_EMULATION_STATUS()
+ public void EnableCardEmulation_CHECK_CARD_EMULATION_STATUS()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void DisableCardEmulation_CHECK_CARD_EMULATION_STATUS()
+ public void DisableCardEmulation_CHECK_CARD_EMULATION_STATUS()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void DisableTransactionForegroundDispatch_METHOD_CALL_AND_CHECK_SUCCESS()
+ public void DisableTransactionForegroundDispatch_METHOD_CALL_AND_CHECK_SUCCESS()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void UnregisterAid_METHOD_CALL_WITH_HCE_PAYMENT()
+ public void UnregisterAid_METHOD_CALL_WITH_HCE_PAYMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void RegisterAid_METHOD_CALL_WITH_HCE_OTHER()
+ public void RegisterAid_METHOD_CALL_WITH_HCE_OTHER()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void UnregisterAid_METHOD_CALL_WITH_HCE_OTHER()
+ public void UnregisterAid_METHOD_CALL_WITH_HCE_OTHER()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void RegisterAid_METHOD_CALL_WITH_ESE_PAYMENT()
+ public void RegisterAid_METHOD_CALL_WITH_ESE_PAYMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void UnregisterAid_METHOD_CALL_WITH_ESE_PAYMENT()
+ public void UnregisterAid_METHOD_CALL_WITH_ESE_PAYMENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void RegisterAid_METHOD_CALL_WITH_ESE_OTHER()
+ public void RegisterAid_METHOD_CALL_WITH_ESE_OTHER()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void UnregisterAid_METHOD_CALL_WITH_ESE_OTHER()
+ public void UnregisterAid_METHOD_CALL_WITH_ESE_OTHER()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jihoon Jung, jh8801.jung@samsung.com")]
- public static void ForeachRegisteredAidInformations_CHECK_EXCEPTION()
+ public void ForeachRegisteredAidInformations_CHECK_EXCEPTION()
{
/*
* TEST CODE
[Description("NfcManager Tests")]
public class NfcManagerTests
{
- static bool isNfcSupported = false;
- static bool isTagSupported = false;
- static bool isP2pSupported = false;
- static bool isCeSupported = false;
- static bool flagStateChanged = false;
+ bool isNfcSupported = false;
+ bool isTagSupported = false;
+ bool isP2pSupported = false;
+ bool isCeSupported = false;
+ bool flagStateChanged = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void IsActivated_PROPERTY_READ_ONLY()
+ public void IsActivated_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void TagFilterType_PROPERTY_SET_GET()
+ public void TagFilterType_PROPERTY_SET_GET()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void SecureElementType_PROPERTY_SET_GET()
+ public void SecureElementType_PROPERTY_SET_GET()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void SystemHandlerEnabled_PROPERTY_SET_GET()
+ public void SystemHandlerEnabled_PROPERTY_SET_GET()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void CachedNdefMessage_PROPERTY_READ_ONLY()
+ public void CachedNdefMessage_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void GetTagAdapter_RETURN_VALUE()
+ public void GetTagAdapter_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void GetP2pAdapter_RETURN_VALUE()
+ public void GetP2pAdapter_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void GetCardEmulationAdapter_RETURN_VALUE()
+ public void GetCardEmulationAdapter_RETURN_VALUE()
{
/* TEST CODE */
try
[Description("NfcNdefMessage Tests")]
public class NfcNdefMessageTests
{
- static bool isSupported = false;
+ bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.nfc", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void RecordCount_PROPERTY_READ_ONLY()
+ public void RecordCount_PROPERTY_READ_ONLY()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void NfcNdefMessage_CREATE_DEFAULT_MESSAGE()
+ public void NfcNdefMessage_CREATE_DEFAULT_MESSAGE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void AppendRecord_RETURN_VALUE()
+ public void AppendRecord_RETURN_VALUE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void InsertRecord_RETURN_VALUE()
+ public void InsertRecord_RETURN_VALUE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void RemoveRecord_RETURN_VALUE()
+ public void RemoveRecord_RETURN_VALUE()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void GetRecord_RETURN_VALUE()
+ public void GetRecord_RETURN_VALUE()
{
/* TEST CODE */
try
[Description("NfcNdefRecord Tests")]
public class NfcNdefRecordTests
{
- static bool isSupported = false;
+ bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.nfc", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void Id_PROPERTY_READ_ONLY()
+ public void Id_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void Payload_PROPERTY_READ_ONLY()
+ public void Payload_PROPERTY_READ_ONLY()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void Type_PROPERTY_READ_ONLY()
+ public void Type_PROPERTY_READ_ONLY()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void Tnf_PROPERTY_READ_ONLY()
+ public void Tnf_PROPERTY_READ_ONLY()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void Text_PROPERTY_READ_ONLY()
+ public void Text_PROPERTY_READ_ONLY()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void LanguageCode_PROPERTY_READ_ONLY()
+ public void LanguageCode_PROPERTY_READ_ONLY()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void EncodeType_PROPERTY_READ_ONLY()
+ public void EncodeType_PROPERTY_READ_ONLY()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void Uri_PROPERTY_READ_ONLY()
+ public void Uri_PROPERTY_READ_ONLY()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
- public static void MimeType_PROPERTY_READ_ONLY()
+ public void MimeType_PROPERTY_READ_ONLY()
{
/* TEST CODE */
try
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
[Property("COVPARAM", "Tizen.Network.Nfc.NfcRecordTypeNameFormat, byte[], byte[], byte[], Uint")] //NfcNdefRecord(Tizen.Network.Nfc.NfcRecordTypeNameFormat, byte[], byte[], byte[], Uint)
- public static void NfcNdefRecord_CREATE_RECORD_USING_PAYLOAD()
+ public void NfcNdefRecord_CREATE_RECORD_USING_PAYLOAD()
{
/* TEST CODE */
try
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
[Property("COVPARAM", "string, string, Tizen.Network.Nfc.NfcEncodeType")] //NfcNdefRecord(string, string, Tizen.Network.Nfc.NfcEncodeType)
- public static void NfcNdefRecord_CREATE_TEXT_RECORD()
+ public void NfcNdefRecord_CREATE_TEXT_RECORD()
{
/* TEST CODE */
try
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
[Property("COVPARAM", "string")] //NfcNdefRecord(string)
- public static void NfcNdefRecord_CREATE_URI_RECORD()
+ public void NfcNdefRecord_CREATE_URI_RECORD()
{
/* TEST CODE */
try
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Gowtham, gowtham.ab@samsung.com")]
[Property("COVPARAM", "string, byte[], Uint")] //NfcNdefRecord(string, byte[], Uint)
- public static void NfcNdefRecord_CREATE_MIME_TYPE_RECORD()
+ public void NfcNdefRecord_CREATE_MIME_TYPE_RECORD()
{
/* TEST CODE */
try
[Description("Tizen.Network.Nfc.NfcRegisteredAidInformation Tests")]
public class NfcRegisteredAidInformationTests
{
- static bool isNfcSupported = false;
- static bool isCeSupported = false;
- static bool isHceSupported = false;
+ bool isNfcSupported = false;
+ bool isCeSupported = false;
+ bool isHceSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Aid_READ_ONLY()
+ public void Aid_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void ReadOnly_READ_ONLY()
+ public void ReadOnly_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void SeType_READ_ONLY()
+ public void SeType_READ_ONLY()
{
try
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");\r
}\r
\r
- public static void Disconnected(object s,EventArgs e) {\r
+ public void Disconnected(object s,EventArgs e) {\r
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "disconnected");\r
}\r
\r
[Description("NotificationDeleteEventArgs Api Tests")]
public class NotificationDeleteEventArgsTests
{
- private static int _uniqueNumber = 0;
+ private int _uniqueNumber = 0;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- private static void ChangedEventForUniqueNumber(object sender, NotificationDeleteEventArgs args)
+ private void ChangedEventForUniqueNumber(object sender, NotificationDeleteEventArgs args)
{
_uniqueNumber = args.UniqueNumber;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void NotificationDeleteEventArgs_INIT()
+ public void NotificationDeleteEventArgs_INIT()
{
NotificationDeleteEventArgs deleteEventArgs = new NotificationDeleteEventArgs();
Assert.IsInstanceOf<NotificationDeleteEventArgs>(deleteEventArgs, "NotificationDeleteEventArgs object is not of correct instance");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task UniqueNumber_PROPERTY_READ_ONLY()
+ public async Task UniqueNumber_PROPERTY_READ_ONLY()
{
try
{
[Description("NotificationEventArgs.AccessoryArgs Api Tests")]
public class NotificationEventArgsAccessoryArgsTests
{
- private static NotificationEventListener.AccessoryOption _soundoption;
- private static string _soundpath;
- private static bool _isvibration = false;
- private static NotificationEventListener.AccessoryOption _ledoption;
- private static int _ledonms;
- private static int _ledoffms;
- private static Color _ledcolor;
+ private NotificationEventListener.AccessoryOption _soundoption;
+ private string _soundpath;
+ private bool _isvibration = false;
+ private NotificationEventListener.AccessoryOption _ledoption;
+ private int _ledonms;
+ private int _ledoffms;
+ private Color _ledcolor;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- private static void ChangedEventForSoundOption(object sender, NotificationEventArgs args)
+ private void ChangedEventForSoundOption(object sender, NotificationEventArgs args)
{
_soundoption = args.Accessory.SoundOption;
}
- private static void ChangedEventForSoundPath(object sender, NotificationEventArgs args)
+ private void ChangedEventForSoundPath(object sender, NotificationEventArgs args)
{
_soundpath = args.Accessory.SoundPath;
}
- private static void ChangedEventForCanVibrate(object sender, NotificationEventArgs args)
+ private void ChangedEventForCanVibrate(object sender, NotificationEventArgs args)
{
_isvibration = args.Accessory.CanVibrate;
}
- private static void ChangedEventForLedOption(object sender, NotificationEventArgs args)
+ private void ChangedEventForLedOption(object sender, NotificationEventArgs args)
{
_ledoption = args.Accessory.LedOption;
}
- private static void ChangedEventForLedOnMs(object sender, NotificationEventArgs args)
+ private void ChangedEventForLedOnMs(object sender, NotificationEventArgs args)
{
_ledonms = args.Accessory.LedOnMillisecond;
}
- private static void ChangedEventForLedOffMs(object sender, NotificationEventArgs args)
+ private void ChangedEventForLedOffMs(object sender, NotificationEventArgs args)
{
_ledoffms = args.Accessory.LedOffMillisecond;
}
- private static void ChangedEventForLedColor(object sender, NotificationEventArgs args)
+ private void ChangedEventForLedColor(object sender, NotificationEventArgs args)
{
_ledcolor = args.Accessory.LedColor;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void AccessoryArgs_INIT()
+ public void AccessoryArgs_INIT()
{
NotificationEventArgs.AccessoryArgs accessoryArgs = new NotificationEventArgs.AccessoryArgs();
Assert.IsInstanceOf<NotificationEventArgs.AccessoryArgs>(accessoryArgs, "AccessoryArgs object is not of correct instance");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task SoundOption_GET_ENUM_OFF()
+ public async Task SoundOption_GET_ENUM_OFF()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task SoundOption_GET_ENUM_ON()
+ public async Task SoundOption_GET_ENUM_ON()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task SoundOption_GET_ENUM_CUSTOM()
+ public async Task SoundOption_GET_ENUM_CUSTOM()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task SoundPath_PROPERTY_READ_ONLY()
+ public async Task SoundPath_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task CanVibrate_PROPERTY_READ_ONLY()
+ public async Task CanVibrate_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task LedOption_GET_ENUM_OFF()
+ public async Task LedOption_GET_ENUM_OFF()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task LedOption_GET_ENUM_ON()
+ public async Task LedOption_GET_ENUM_ON()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task LedOption_GET_ENUM_CUSTOM()
+ public async Task LedOption_GET_ENUM_CUSTOM()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task LedOnMillisecond_PROPERTY_READ_ONLY()
+ public async Task LedOnMillisecond_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task LedOffMillisecond_PROPERTY_READ_ONLY()
+ public async Task LedOffMillisecond_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task LedColor_PROPERTY_READ_ONLY()
+ public async Task LedColor_PROPERTY_READ_ONLY()
{
try
{
[Description("NotificationEventArgs.ActiveStyleArgs Api Tests")]
public class NotificationEventArgsActiveStyleArgsTests
{
- private static bool _autoremove;
- private static string _backgroundimage;
- private static int _hideTimeout;
- private static int _deleteTimeout;
- private static string _buttontext;
- private static int _replymax;
- private static AppControl action;
- private static ButtonIndex index;
+ private bool _autoremove;
+ private string _backgroundimage;
+ private int _hideTimeout;
+ private int _deleteTimeout;
+ private string _buttontext;
+ private int _replymax;
+ private AppControl action;
+ private ButtonIndex index;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- private static void ChangedEventForIsAutoRemove(object sender, NotificationEventArgs args)
+ private void ChangedEventForIsAutoRemove(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
_autoremove = style.IsAutoRemove;
}
- private static void ChangedEventForBackgroundImage(object sender, NotificationEventArgs args)
+ private void ChangedEventForBackgroundImage(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
_backgroundimage = style.BackgroundImage;
}
- private static void ChangedEventForHideTimeout(object sender, NotificationEventArgs args)
+ private void ChangedEventForHideTimeout(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
_hideTimeout = style.HideTimeout;
}
- private static void ChangedEventForDeleteTimeout(object sender, NotificationEventArgs args)
+ private void ChangedEventForDeleteTimeout(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
_deleteTimeout = style.DeleteTimeout;
}
- private static void ChangedEventForButton(object sender, NotificationEventArgs args)
+ private void ChangedEventForButton(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
}
}
- private static void ChangedEventForReply(object sender, NotificationEventArgs args)
+ private void ChangedEventForReply(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
NotificationEventArgs.ReplyActionArgs action = style.Reply;
_replymax = action.ReplyMax;
}
- private static void ChangedEventForHiddenByUserAction(object sender, NotificationEventArgs args)
+ private void ChangedEventForHiddenByUserAction(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
action = style.HiddenByUserAction;
}
- private static void ChangedEventForHiddenByTimeoutAction(object sender, NotificationEventArgs args)
+ private void ChangedEventForHiddenByTimeoutAction(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
action = null;
action = style.HiddenByTimeoutAction;
}
- private static void ChangedEventForHiddenByExternalAction(object sender, NotificationEventArgs args)
+ private void ChangedEventForHiddenByExternalAction(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
action = null;
action = style.HiddenByExternalAction;
}
- private static void ChangedEventForDefaultButton(object sender, NotificationEventArgs args)
+ private void ChangedEventForDefaultButton(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
index = style.DefaultButton;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void ActiveStyleArgs_INIT()
+ public void ActiveStyleArgs_INIT()
{
NotificationEventArgs.ActiveStyleArgs activeStyle = new NotificationEventArgs.ActiveStyleArgs();
Assert.IsInstanceOf<NotificationEventArgs.ActiveStyleArgs>(activeStyle, "ActiveStyleArgs object is not of correct instance");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task IsAutoRemove_PROPERTY_READ_ONLY()
+ public async Task IsAutoRemove_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task BackgroundImage_PROPERTY_READ_ONLY()
+ public async Task BackgroundImage_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task HideTimeout_PROPERTY_READ_ONLY()
+ public async Task HideTimeout_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task DeleteTimeout_PROPERTY_READ_ONLY()
+ public async Task DeleteTimeout_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Button_PROPERTY_READ_ONLY()
+ public async Task Button_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Reply_PROPERTY_READ_ONLY()
+ public async Task Reply_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static async Task HiddenByUserAction_PROPERTY_READ_ONLY()
+ public async Task HiddenByUserAction_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static async Task HiddenByTimeoutAction_PROPERTY_READ_ONLY()
+ public async Task HiddenByTimeoutAction_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static async Task HiddenByExternalAction_PROPERTY_READ_ONLY()
+ public async Task HiddenByExternalAction_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static async Task DefaultButton_GET_ENUM_FIRST()
+ public async Task DefaultButton_GET_ENUM_FIRST()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static async Task DefaultButton_GET_ENUM_SECOND()
+ public async Task DefaultButton_GET_ENUM_SECOND()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static async Task DefaultButton_GET_ENUM_THIRD()
+ public async Task DefaultButton_GET_ENUM_THIRD()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static async Task DefaultButton_GET_ENUM_NONE()
+ public async Task DefaultButton_GET_ENUM_NONE()
{
try
{
[Description("NotificationEventArgs.ButtonActionArgs Api Tests")]
public class NotificationEventArgsButtonActionArgsTests
{
- private static NotificationEventListener.ButtonIndex _buttonindex;
- private static string _buttonimagepath;
- private static string _buttontext;
- private static AppControl _buttonaction;
+ private NotificationEventListener.ButtonIndex _buttonindex;
+ private string _buttonimagepath;
+ private string _buttontext;
+ private AppControl _buttonaction;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- private static void ChangedEventForButtonIndex(object sender, NotificationEventArgs args)
+ private void ChangedEventForButtonIndex(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
}
}
- private static void ChangedEventForButtonText(object sender, NotificationEventArgs args)
+ private void ChangedEventForButtonText(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
}
}
- private static void ChangedEventForButtonImagePath(object sender, NotificationEventArgs args)
+ private void ChangedEventForButtonImagePath(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
}
}
- private static void ChangedEventForButtonAction(object sender, NotificationEventArgs args)
+ private void ChangedEventForButtonAction(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void ButtonActionArgs_INIT()
+ public void ButtonActionArgs_INIT()
{
NotificationEventArgs.ButtonActionArgs button = new NotificationEventArgs.ButtonActionArgs();
Assert.IsInstanceOf<NotificationEventArgs.ButtonActionArgs>(button, "ButtonActionArgs object is not of correct instance");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Index_GET_ENUM_FIRST()
+ public async Task Index_GET_ENUM_FIRST()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Index_GET_ENUM_SECOND()
+ public async Task Index_GET_ENUM_SECOND()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Index_GET_ENUM_THIRD()
+ public async Task Index_GET_ENUM_THIRD()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Text_PROPERTY_READ_ONLY()
+ public async Task Text_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task ImagePath_PROPERTY_READ_ONLY()
+ public async Task ImagePath_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Action_PROPERTY_READ_ONLY()
+ public async Task Action_PROPERTY_READ_ONLY()
{
try
{
[Description("NotificationEventArgs.IndicatorStyleArgs Api Tests")]
public class NotificationEventIndicatorStyleArgsTests
{
- private static string _iconpath;
- private static string _subtext;
+ private string _iconpath;
+ private string _subtext;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- private static void ChangedEventForIconPath(object sender, NotificationEventArgs args)
+ private void ChangedEventForIconPath(object sender, NotificationEventArgs args)
{
NotificationEventArgs.IndicatorStyleArgs style = args.GetStyle<NotificationEventArgs.IndicatorStyleArgs>();
_iconpath = style.IconPath;
}
- private static void ChangedEventForSubText(object sender, NotificationEventArgs args)
+ private void ChangedEventForSubText(object sender, NotificationEventArgs args)
{
NotificationEventArgs.IndicatorStyleArgs style = args.GetStyle<NotificationEventArgs.IndicatorStyleArgs>();
_subtext = style.SubText;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void IndicatorStyleArgs_INIT()
+ public void IndicatorStyleArgs_INIT()
{
NotificationEventArgs.IndicatorStyleArgs indicatorStyle = new NotificationEventArgs.IndicatorStyleArgs();
Assert.IsInstanceOf<NotificationEventArgs.IndicatorStyleArgs>(indicatorStyle, "IndicatorStyleArgs object is not of correct instance");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task IconPath_PROPERTY_READ_ONLY()
+ public async Task IconPath_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task SubText_PROPERTY_READ_ONLY()
+ public async Task SubText_PROPERTY_READ_ONLY()
{
try
{
[Description("NotificationEventArgs.LockStyleArgs Api Tests")]
public class NotificationEventArgsLockStyleArgsTests
{
- private static string _iconpath;
- private static string _thumbnail;
+ private string _iconpath;
+ private string _thumbnail;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- private static void ChangedEventForIconPath(object sender, NotificationEventArgs args)
+ private void ChangedEventForIconPath(object sender, NotificationEventArgs args)
{
NotificationEventArgs.LockStyleArgs style = args.GetStyle<NotificationEventArgs.LockStyleArgs>();
_iconpath = style.IconPath;
}
- private static void ChangedEventForThumbnail(object sender, NotificationEventArgs args)
+ private void ChangedEventForThumbnail(object sender, NotificationEventArgs args)
{
NotificationEventArgs.LockStyleArgs style = args.GetStyle<NotificationEventArgs.LockStyleArgs>();
_thumbnail = style.Thumbnail;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void LockStyleArgs_INIT()
+ public void LockStyleArgs_INIT()
{
NotificationEventArgs.LockStyleArgs lockStyle = new NotificationEventArgs.LockStyleArgs();
Assert.IsInstanceOf<NotificationEventArgs.LockStyleArgs>(lockStyle, "LockStyleArgs object is not of correct instance");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task IconPath_PROPERTY_READ_ONLY()
+ public async Task IconPath_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Thumbnail_PROPERTY_READ_ONLY()
+ public async Task Thumbnail_PROPERTY_READ_ONLY()
{
try
{
[Description("NotificationEventArgs.ProgressArgs Api Tests")]
public class NotificationEventArgsProgressArgsTests
{
- private static NotificationEventListener.ProgressCategory _category;
- private static double _current;
- private static double _max;
+ private NotificationEventListener.ProgressCategory _category;
+ private double _current;
+ private double _max;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- private static void ChangedEventForCategory(object sender, NotificationEventArgs args)
+ private void ChangedEventForCategory(object sender, NotificationEventArgs args)
{
_category = args.Progress.Category;
}
- private static void ChangedEventForCurrent(object sender, NotificationEventArgs args)
+ private void ChangedEventForCurrent(object sender, NotificationEventArgs args)
{
_current = args.Progress.Current;
}
- private static void ChangedEventForMax(object sender, NotificationEventArgs args)
+ private void ChangedEventForMax(object sender, NotificationEventArgs args)
{
_max = args.Progress.Max;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void ProgressArgs_INIT()
+ public void ProgressArgs_INIT()
{
NotificationEventArgs.ProgressArgs progress = new NotificationEventArgs.ProgressArgs();
Assert.IsInstanceOf<NotificationEventArgs.ProgressArgs>(progress, "ProgressArgs object is not of correct instance");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Category_GET_ENUM_PERCENT()
+ public async Task Category_GET_ENUM_PERCENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Category_GET_ENUM_TIME()
+ public async Task Category_GET_ENUM_TIME()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Category_GET_ENUM_PENDINGBAR()
+ public async Task Category_GET_ENUM_PENDINGBAR()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Current_PROPERTY_READ_ONLY()
+ public async Task Current_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC", "Tizen.Applications.NotificationEventListener.NotificationEventArgs.ProgressArgs.Max A")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
- public static async Task Max_PROPERTY_READ_ONLY()
+ public async Task Max_PROPERTY_READ_ONLY()
{
try
{
[Description("NotificationEventArgs.ReplyActionArgs Api Tests")]
public class NotificationEventArgsReplyActionArgsTests
{
- private static int _replymax;
- private static string _placeholdertext;
- private static NotificationEventListener.ButtonIndex _parentIndex;
- private static string _buttontext;
+ private int _replymax;
+ private string _placeholdertext;
+ private NotificationEventListener.ButtonIndex _parentIndex;
+ private string _buttontext;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- private static void ChangedEventForParentIndex(object sender, NotificationEventArgs args)
+ private void ChangedEventForParentIndex(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
NotificationEventArgs.ReplyActionArgs action = style.Reply;
_parentIndex = action.ParentIndex;
}
- private static void ChangedEventForPlaceHolderText(object sender, NotificationEventArgs args)
+ private void ChangedEventForPlaceHolderText(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
NotificationEventArgs.ReplyActionArgs action = style.Reply;
_placeholdertext = action.PlaceHolderText;
}
- private static void ChangedEventForReplyMax(object sender, NotificationEventArgs args)
+ private void ChangedEventForReplyMax(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
NotificationEventArgs.ReplyActionArgs action = style.Reply;
_replymax = action.ReplyMax;
}
- private static void ChangedEventForButton(object sender, NotificationEventArgs args)
+ private void ChangedEventForButton(object sender, NotificationEventArgs args)
{
NotificationEventArgs.ActiveStyleArgs style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
NotificationEventArgs.ReplyActionArgs action = style.Reply;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void ReplyActionArgs_INIT()
+ public void ReplyActionArgs_INIT()
{
NotificationEventArgs.ReplyActionArgs reply = new NotificationEventArgs.ReplyActionArgs();
Assert.IsInstanceOf<NotificationEventArgs.ReplyActionArgs>(reply, "ReplyActionArgs object is not of correct instance");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task ParentIndex_GET_ENUM_FIRST()
+ public async Task ParentIndex_GET_ENUM_FIRST()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task ParentIndex_GET_ENUM_SECOND()
+ public async Task ParentIndex_GET_ENUM_SECOND()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task ParentIndex_GET_ENUM_THIRD()
+ public async Task ParentIndex_GET_ENUM_THIRD()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task PlaceHolderText_PROPERTY_READ_ONLY()
+ public async Task PlaceHolderText_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task ReplyMax_PROPERTY_READ_ONLY()
+ public async Task ReplyMax_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Button_PROPERTY_READ_ONLY()
+ public async Task Button_PROPERTY_READ_ONLY()
{
try
{
[Description("NotificationEventArgs Api Tests")]
public class NotificationEventArgsTests
{
- private static string _appid;
- private static int _uniqueNumber;
- private static string _title;
- private static string _content;
- private static string _icon;
- private static string _subicon;
- private static int _count = 0;
- private static bool _IsVisibletimestamp;
- private static DateTime _timestamp;
- private static string _tag;
- private static AppControl _appControl;
- private static NotificationEventListener.NotificationProperty _property;
- private static bool _IsVisible;
- private static Bundle _ExtraData;
- private static ICollection<string> _ExtraDataKey;
- private static string _key;
- private static NotificationEventArgs.ProgressArgs _progress;
- private static NotificationEventArgs.AccessoryArgs _accessory;
- private static NotificationEventArgs.ActiveStyleArgs _style;
+ private string _appid;
+ private int _uniqueNumber;
+ private string _title;
+ private string _content;
+ private string _icon;
+ private string _subicon;
+ private int _count = 0;
+ private bool _IsVisibletimestamp;
+ private DateTime _timestamp;
+ private string _tag;
+ private AppControl _appControl;
+ private NotificationEventListener.NotificationProperty _property;
+ private bool _IsVisible;
+ private Bundle _ExtraData;
+ private ICollection<string> _ExtraDataKey;
+ private string _key;
+ private NotificationEventArgs.ProgressArgs _progress;
+ private NotificationEventArgs.AccessoryArgs _accessory;
+ private NotificationEventArgs.ActiveStyleArgs _style;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- private static void ChangedEventForUniqueNumber(object sender, NotificationEventArgs args)
+ private void ChangedEventForUniqueNumber(object sender, NotificationEventArgs args)
{
_uniqueNumber = args.UniqueNumber;
}
- private static void ChangedEventForAppID(object sender, NotificationEventArgs args)
+ private void ChangedEventForAppID(object sender, NotificationEventArgs args)
{
_appid = args.AppID;
}
- private static void ChangedEventForTitle(object sender, NotificationEventArgs args)
+ private void ChangedEventForTitle(object sender, NotificationEventArgs args)
{
_title = args.Title;
}
- private static void ChangedEventForContent(object sender, NotificationEventArgs args)
+ private void ChangedEventForContent(object sender, NotificationEventArgs args)
{
_content = args.Content;
}
- private static void ChangedEventForIcon(object sender, NotificationEventArgs args)
+ private void ChangedEventForIcon(object sender, NotificationEventArgs args)
{
_icon = args.Icon;
}
- private static void ChangedEventForSubIcon(object sender, NotificationEventArgs args)
+ private void ChangedEventForSubIcon(object sender, NotificationEventArgs args)
{
_subicon = args.SubIcon;
}
- private static void ChangedEventForIsTimeStampVisible(object sender, NotificationEventArgs args)
+ private void ChangedEventForIsTimeStampVisible(object sender, NotificationEventArgs args)
{
_IsVisibletimestamp = args.IsTimeStampVisible;
}
- private static void ChangedEventForTimeStamp(object sender, NotificationEventArgs args)
+ private void ChangedEventForTimeStamp(object sender, NotificationEventArgs args)
{
_timestamp = args.TimeStamp;
}
- private static void ChangedEventForCount(object sender, NotificationEventArgs args)
+ private void ChangedEventForCount(object sender, NotificationEventArgs args)
{
_count = args.Count;
}
- private static void ChangedEventForTag(object sender, NotificationEventArgs args)
+ private void ChangedEventForTag(object sender, NotificationEventArgs args)
{
_tag = args.Tag;
}
- private static void ChangedEventForAction(object sender, NotificationEventArgs args)
+ private void ChangedEventForAction(object sender, NotificationEventArgs args)
{
_appControl = args.Action;
}
- private static void ChangedEventForProperty(object sender, NotificationEventArgs args)
+ private void ChangedEventForProperty(object sender, NotificationEventArgs args)
{
_property = args.Property;
}
- private static void ChangedEventForIsVisible(object sender, NotificationEventArgs args)
+ private void ChangedEventForIsVisible(object sender, NotificationEventArgs args)
{
_IsVisible = args.IsVisible;
}
- private static void ChangedEventForProgress(object sender, NotificationEventArgs args)
+ private void ChangedEventForProgress(object sender, NotificationEventArgs args)
{
_progress = args.Progress;
}
- private static void ChangedEventForAccessory(object sender, NotificationEventArgs args)
+ private void ChangedEventForAccessory(object sender, NotificationEventArgs args)
{
_accessory = args.Accessory;
}
- private static void ChangedEventForExtraDataKey(object sender, NotificationEventArgs args)
+ private void ChangedEventForExtraDataKey(object sender, NotificationEventArgs args)
{
_ExtraDataKey = args.ExtraDataKey;
foreach (string key in _ExtraDataKey)
}
}
- private static void ChangedEventForGetExtraData(object sender, NotificationEventArgs args)
+ private void ChangedEventForGetExtraData(object sender, NotificationEventArgs args)
{
_ExtraDataKey = args.ExtraDataKey;
foreach (string key in _ExtraDataKey)
}
}
- private static void ChangedEventForGetStyle(object sender, NotificationEventArgs args)
+ private void ChangedEventForGetStyle(object sender, NotificationEventArgs args)
{
_style = args.GetStyle<NotificationEventArgs.ActiveStyleArgs>();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void NotificationEventArgs_INIT()
+ public void NotificationEventArgs_INIT()
{
NotificationEventArgs notificationEventArgs = new NotificationEventArgs();
Assert.IsInstanceOf<NotificationEventArgs>(notificationEventArgs, "NotificationEventArgs object is not of correct instance");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task UniqueNumber_PROPERTY_READ_ONLY()
+ public async Task UniqueNumber_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task AppID_PROPERTY_READ_ONLY()
+ public async Task AppID_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Title_PROPERTY_READ_ONLY()
+ public async Task Title_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Content_PROPERTY_READ_ONLY()
+ public async Task Content_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Icon_PROPERTY_READ_ONLY()
+ public async Task Icon_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task SubIcon_PROPERTY_READ_ONLY()
+ public async Task SubIcon_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task IsTimeStampVisible_PROPERTY_READ_ONLY()
+ public async Task IsTimeStampVisible_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task TimeStamp_PROPERTY_READ_ONLY()
+ public async Task TimeStamp_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Count_PROPERTY_READ_ONLY()
+ public async Task Count_PROPERTY_READ_ONLY()
{
int countLocal = 3;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Tag_PROPERTY_READ_ONLY()
+ public async Task Tag_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Action_PROPERTY_READ_ONLY()
+ public async Task Action_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Property_GET_ENUM_DisplayOnlySimMode()
+ public async Task Property_GET_ENUM_DisplayOnlySimMode()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Property_GET_ENUM_DISABLELAUNCH()
+ public async Task Property_GET_ENUM_DISABLELAUNCH()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Property_GET_ENUM_DISABLEAUTODELETE()
+ public async Task Property_GET_ENUM_DISABLEAUTODELETE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO,PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Property_GET_ENUM_VOLATILEDISPLAY()
+ public async Task Property_GET_ENUM_VOLATILEDISPLAY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task IsVisible_CHECK_DEFAULT_VALUE()
+ public async Task IsVisible_CHECK_DEFAULT_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task IsVisible_PROPERTY_READ_ONLY()
+ public async Task IsVisible_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Progress_PROPERTY_READ_ONLY()
+ public async Task Progress_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Accessory_PROPERTY_READ_ONLY()
+ public async Task Accessory_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task ExtraDataKey_PROPERTY_READ_ONLY()
+ public async Task ExtraDataKey_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task GetExtraData_RETURN_VALUE()
+ public async Task GetExtraData_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task GetStyle_RETURN_VALUE()
+ public async Task GetStyle_RETURN_VALUE()
{
try
{
[Description("NotificationListenerManager Api Tests")]
public class NotificationListenerManagerTests
{
- private static bool _addEvent = false;
- private static bool _updateEvent = false;
- private static bool _deleteEvent = false;
+ private bool _addEvent = false;
+ private bool _updateEvent = false;
+ private bool _deleteEvent = false;
- private static string _appid;
- private static int _uniqueNumber;
+ private string _appid;
+ private int _uniqueNumber;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- private static void AddEventHandle(object sender, NotificationEventArgs args)
+ private void AddEventHandle(object sender, NotificationEventArgs args)
{
_appid = args.AppID;
_uniqueNumber = args.UniqueNumber;
_addEvent = true;
}
- private static void UpdateEventHandle(object sender, NotificationEventArgs args)
+ private void UpdateEventHandle(object sender, NotificationEventArgs args)
{
_updateEvent = true;
}
- private static void DeleteChangedEvent(object sender, NotificationDeleteEventArgs args)
+ private void DeleteChangedEvent(object sender, NotificationDeleteEventArgs args)
{
_deleteEvent = true;
}
- private static void ChangedEvent(object sender, NotificationEventArgs args)
+ private void ChangedEvent(object sender, NotificationEventArgs args)
{
_appid = args.AppID;
_uniqueNumber = args.UniqueNumber;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void NotificationListenerManager_INIT()
+ public void NotificationListenerManager_INIT()
{
NotificationListenerManager manager = new NotificationListenerManager();
Assert.IsInstanceOf<NotificationListenerManager>(manager, "NotificationListenerManager object is not of correct instance");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Added_CHECK_EVENT()
+ public async Task Added_CHECK_EVENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Updated_CHECK_EVENT()
+ public async Task Updated_CHECK_EVENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Deleted_CHECK_EVENT()
+ public async Task Deleted_CHECK_EVENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task Delete_TYPES_RETURN_VALUE()
+ public async Task Delete_TYPES_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void Delete_CHECK_WITH_EXCEPTION()
+ public void Delete_CHECK_WITH_EXCEPTION()
{
Assert.Throws<ArgumentException>(() => NotificationListenerManager.Delete(null, -1));
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR,MCST")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task DeleteAll_TYPES_RETURN_VALUE()
+ public async Task DeleteAll_TYPES_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static async Task GetList_TYPES_RETURN_VALUE()
+ public async Task GetList_TYPES_RETURN_VALUE()
{
try
{
[Description("Manual Tests for Notification.Accessory Properties and methods")]
public class NotificationAccessorySetTests
{
- private static string _resourcePath = "/opt/usr/home/owner/share/res/";
- private static bool isEmulator = false;
- private static bool isMobile = false;
+ private string _resourcePath = "/opt/usr/home/owner/share/res/";
+ private bool isEmulator = false;
+ private bool isMobile = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
isEmulator = ManualTest.IsEmulator();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
[Step(1, "Click run TC")]
[Step(2, "Check if sound is played for the notification")]
- public static async Task SoundOption_MANUAL_TEST()
+ public async Task SoundOption_MANUAL_TEST()
{
if (isMobile == false)
{
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
[Step(1, "Click run TC")]
[Step(2, "Check if sound is played for the notification")]
- public static async Task SoundPath_MANUAL_TEST()
+ public async Task SoundPath_MANUAL_TEST()
{
if (isMobile == false)
{
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
[Step(1, "Click run TC")]
[Step(2, "Check if phone vibrates for the notification")]
- public static async Task CanVibrate_MANUAL_TEST()
+ public async Task CanVibrate_MANUAL_TEST()
{
if (isMobile == false || isEmulator == true)
{
[Precondition(1, "Device Should Support Led features")]
[Step(1, "Click run TC")]
[Step(2, "Check if Led blinks on posting notification")]
- public static async Task LedOption_MANUAL_TEST()
+ public async Task LedOption_MANUAL_TEST()
{
if (isMobile == false)
{
[Precondition(1, "Device Should Support Led features")]
[Step(1, "Click run TC")]
[Step(2, "Check if Led blinks with red color on posting notification")]
- public static async Task LedColor_MANUAL_TEST()
+ public async Task LedColor_MANUAL_TEST()
{
if (isMobile == false)
{
[Description("Manual Tests for Notification.ActiveStyle Properties and methods")]
public class NotificationActiveStyleTests
{
- private static string _resourcePath = "/opt/usr/home/owner/share/res/";
- private static string _testAppId = "org.tizen.memo";
- private static bool isMobile = false;
+ private string _resourcePath = "/opt/usr/home/owner/share/res/";
+ private string _testAppId = "org.tizen.memo";
+ private bool isMobile = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
isMobile = ManualTest.IsMobile();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(4, "Check if both buttons have button image on them")]
[Step(5, "Click on first button and check if test app opens")]
[Step(6, "Click on second button and check if setting app opens")]
- public static async Task AddButtonAction_MANUAL_TEST()
+ public async Task AddButtonAction_MANUAL_TEST()
{
if (isMobile == false)
{
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
[Step(1, "Click run TC")]
[Step(2, "Check if notification will be not disappeared about 8 sec later")]
- public static async Task IsAutoRemove_MANUAL_TEST()
+ public async Task IsAutoRemove_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(1, "Click run TC")]
[Step(2, "Click Button2")]
[Step(3, "Check if Direct-reply is appearing on posted notification")]
- public static async Task ReplyAction_MANUAL_TEST()
+ public async Task ReplyAction_MANUAL_TEST()
{
if (isMobile == false)
{
[Description("Manual Tests for Notification.IndicatorStyle Properties")]
public class NotificationIndicatorStyleTests
{
- private static string _resourcePath = "/opt/usr/home/owner/share/res/";
- private static string _testAppId = "org.tizen.memo";
- private static bool isMobile = false;
+ private string _resourcePath = "/opt/usr/home/owner/share/res/";
+ private string _testAppId = "org.tizen.memo";
+ private bool isMobile = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
isMobile = ManualTest.IsMobile();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(1, "Click run TC")]
[Step(2, "Press the physical home button to get out the app")]
[Step(3, "Check if Icon is appearing the right side of indicator")]
- public static async Task IconPath_MANUAL_TEST()
+ public async Task IconPath_MANUAL_TEST()
{
if (isMobile == false)
{
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
[Step(1, "Click run TC")]
[Step(2, "Check if sub text is appearing on indicator")]
- public static async Task SubText_MANUAL_TEST()
+ public async Task SubText_MANUAL_TEST()
{
if (isMobile == false)
{
[Description("Manual Tests for Notification.LockStyle Properties")]
public class NotificationLockStyleTests
{
- private static string _resourcePath = "/opt/usr/home/owner/share/res/";
- private static bool isMobile = false;
+ private string _resourcePath = "/opt/usr/home/owner/share/res/";
+ private bool isMobile = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
isMobile = ManualTest.IsMobile();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(2, "Turn off and on display for check lockscreen")]
[Step(3, "Wait about 2 second")]
[Step(4, "Check if Icon appears on notification in lock")]
- public static async Task IconPath_MANUAL_TEST()
+ public async Task IconPath_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(1, "Click run TC")]
[Step(2, "Turn off and on screen for check lockscreen")]
[Step(3, "Check if Thumbnail Image appears on notification in lockscreen")]
- public static async Task ThumbnailPath_MANUAL_TEST()
+ public async Task ThumbnailPath_MANUAL_TEST()
{
if (isMobile == false)
{
[Description("Manual Tests for Notification.ProgressType Properties and methods")]
public class NotificationProgressTypeTests
{
- private static bool isMobile = false;
+ private bool isMobile = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
isMobile = ManualTest.IsMobile();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- static void UpdateProgress(Object obj)
+ void UpdateProgress(Object obj)
{
Notification notification = (Notification)obj;
for (double current = 1.0; current <= 100.0; current = current + 1.0)
[Step(1, "Click run TC")]
[Step(2, "Open notification tray")]
[Step(3, "Check if Progress value is changed from 0 to 100 percent appears on notification")]
- public static async Task ProgressCurrent_MANUAL_TEST()
+ public async Task ProgressCurrent_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(1, "Click run TC")]
[Step(2, "Open notification tray")]
[Step(3, "Check if pendingbar is appearing on notification")]
- public static async Task Category_PENDINGBAR_MANUAL_TEST()
+ public async Task Category_PENDINGBAR_MANUAL_TEST()
{
if (isMobile == false)
{
[Description("Manual Tests for Notification Properties and methods")]
public class NotificationTests
{
- private static string _resourcePath = "/opt/usr/home/owner/share/res/";
- private static bool isMobile = false;
+ private string _resourcePath = "/opt/usr/home/owner/share/res/";
+ private bool isMobile = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
isMobile = ManualTest.IsMobile();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(1, "Click run TC")]
[Step(2, "Open notification tray")]
[Step(3, "Check if Title appears on notification types")]
- public static async Task Title_MANUAL_TEST()
+ public async Task Title_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(1, "Click run TC")]
[Step(2, "Open notification tray")]
[Step(3, "Check if Content appears on notification types")]
- public static async Task Content_MANUAL_TEST()
+ public async Task Content_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(1, "Click run TC")]
[Step(2, "Open notification tray")]
[Step(3, "Check if Icon appears on notification types")]
- public static async Task Icon_MANUAL_TEST()
+ public async Task Icon_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(1, "Click run TC")]
[Step(2, "Open notification tray")]
[Step(3, "Check if setting app is not opened and remove notification when click on notification")]
- public static async Task Property_DisableAppLaunch_MANUAL_TEST()
+ public async Task Property_DisableAppLaunch_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(2, "Open notification tray")]
[Step(3, "Click notification")]
[Step(4, "Check if notification is disable auto delete notification")]
- public static async Task Property_DisableAutoDelete_MANUAL_TEST()
+ public async Task Property_DisableAutoDelete_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(3, "Check if notification is existed")]
[Step(4, "Reboot device")]
[Step(5, "After reboot, If notification is removed, then please press pass")]
- public static async Task Property_VolatileDisplay_MANUAL_TEST()
+ public async Task Property_VolatileDisplay_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(1, "Click run TC")]
[Step(2, "Open notification tray")]
[Step(3, "Check if SubIcon appears on posted notification")]
- public static async Task SubIcon_MANUAL_TEST()
+ public async Task SubIcon_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(1, "Click run TC")]
[Step(2, "Open notification tray")]
[Step(3, "Check if current time information disappears on notification types")]
- public static async Task IsTimeStampVisible_MANUAL_TEST()
+ public async Task IsTimeStampVisible_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(1, "Click run TC")]
[Step(2, "Open notification tray")]
[Step(3, "Check if TimeStamp appears '10:10 AM' on notification types")]
- public static async Task TimeStamp_MANUAL_TEST()
+ public async Task TimeStamp_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(2, "Open notification tray")]
[Step(3, "Click on notification")]
[Step(4, "Check if settings app is invoked when you click on notification")]
- public static async Task Action_MANUAL_TEST()
+ public async Task Action_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(1, "Click run TC")]
[Step(2, "Open notification tray")]
[Step(3, "Check if Event count '3' appears on notification")]
- public static async Task Count_MANUAL_TEST()
+ public async Task Count_MANUAL_TEST()
{
if (isMobile == false)
{
[Description("Manual Tests for NotificationManager methods")]
public class NotificationManagerTests
{
- private static string _resourcePath = "/opt/usr/home/owner/share/res/";
- private static string _testAppId = "org.tizen.memo";
- private static bool isMobile = false;
+ private string _resourcePath = "/opt/usr/home/owner/share/res/";
+ private string _testAppId = "org.tizen.memo";
+ private bool isMobile = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
isMobile = ManualTest.IsMobile();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
[Step(1, "Click run TC")]
[Step(2, "Check if notification appears in notification tray")]
- public static async Task Post_MANUAL_TEST()
+ public async Task Post_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(2, "Check if notification appears in notification tray")]
[Step(3, "Check value of title and wait 2 seconds")]
[Step(4, "Check value of new title")]
- public static async Task Update_MANUAL_TEST()
+ public async Task Update_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(2, "Check if notification appears in notification tray")]
[Step(3, "Wait 2 seconds")]
[Step(4, "Check if notification is deleted from tray")]
- public static async Task Delete_MANUAL_TEST()
+ public async Task Delete_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(2, "Check if notification appears in notification tray")]
[Step(3, "Wait 2 seconds")]
[Step(4, "Check if all notifications are deleted from tray")]
- public static async Task DeleteAll_MANUAL_TEST()
+ public async Task DeleteAll_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(2, "Check if notification appears in notification tray")]
[Step(3, "Check value of title and wait 2 seconds")]
[Step(4, "Check value of load title")]
- public static async Task Load_MANUAL_TEST()
+ public async Task Load_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(1, "Click run TC")]
[Step(2, "Check if notification appears in notification tray")]
[Step(3, "Check value of title is \"SaveTemplate Title\"")]
- public static async Task SaveTemplate_MANUAL_TEST()
+ public async Task SaveTemplate_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(1, "Click run TC")]
[Step(2, "If GetBlockState method return Allowed, set pass automatically")]
[Postcondition(1, "You must turn off Blocked mode. However Mobile Emulator doesn't have this option in settings. So, you can turn off block mode on TM1")]
- public static async Task GetBlockState_Allowed_MANUAL_TEST()
+ public async Task GetBlockState_Allowed_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(1, "Click run TC")]
[Step(2, "If GetBlockState method return Blocked, set pass automatically")]
[Postcondition(1, "You must turn on Allow notifications")]
- public static async Task GetBlockState_Blocked_MANUAL_TEST()
+ public async Task GetBlockState_Blocked_MANUAL_TEST()
{
if (isMobile == false)
{
[Step(1, "Click run TC")]
[Step(2, "If GetBlockState method return DoNotDisturb, set pass automatically")]
[Postcondition(1, "You must turn off DoNotDisturb mode")]
- public static async Task GetBlockState_DoNotDisturb_MANUAL_TEST()
+ public async Task GetBlockState_DoNotDisturb_MANUAL_TEST()
{
if (isMobile == false)
{
public class NotificationAccessorySetTests
{
[SetUp]
- public static void Init() {
+ public void Init() {
}
[TearDown]
- public static void Destroy() {
+ public void Destroy() {
}
[Test]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void AccessorySet_INIT()
+ public void AccessorySet_INIT()
{
/* TEST CODE */
Notification.AccessorySet accessory = new Notification.AccessorySet();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void SoundOption_PROPERTY_READ_WRITE()
+ public void SoundOption_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
AccessoryOption option = AccessoryOption.Custom;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void SoundOption_DEFAULT_VALUE()
+ public void SoundOption_DEFAULT_VALUE()
{
/* PRECONDITION */
Notification.AccessorySet accessory = new Notification.AccessorySet();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void SoundOption_GET_OFF()
+ public void SoundOption_GET_OFF()
{
/* PRECONDITION */
AccessoryOption option = AccessoryOption.Off;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void SoundOption_GET_ON()
+ public void SoundOption_GET_ON()
{
/* PRECONDITION */
AccessoryOption option = AccessoryOption.On;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void SoundOption_GET_CUSTOM()
+ public void SoundOption_GET_CUSTOM()
{
/* PRECONDITION */
AccessoryOption option = AccessoryOption.Custom;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void SoundPath_PROPERTY_READ_WRITE()
+ public void SoundPath_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string path = "resource path";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void CanVibrate_PROPERTY_READ_WRITE()
+ public void CanVibrate_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
bool isVibration = true;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void CanVibrate_DEFAULT_VALUE()
+ public void CanVibrate_DEFAULT_VALUE()
{
/* PRECONDITION */
Notification.AccessorySet accessory = new Notification.AccessorySet();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void LedOption_PROPERTY_READ_WRITE()
+ public void LedOption_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
AccessoryOption option = AccessoryOption.On;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void LedOption_DEFAULT_VALUE()
+ public void LedOption_DEFAULT_VALUE()
{
/* PRECONDITION */
Notification.AccessorySet accessory = new Notification.AccessorySet();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void LedOption_GET_OFF()
+ public void LedOption_GET_OFF()
{
/* PRECONDITION */
AccessoryOption option = AccessoryOption.Off;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void LedOption_GET_ON()
+ public void LedOption_GET_ON()
{
/* PRECONDITION */
AccessoryOption option = AccessoryOption.On;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void LedOption_GET_CUSTOM()
+ public void LedOption_GET_CUSTOM()
{
/* PRECONDITION */
AccessoryOption option = AccessoryOption.Custom;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void LedOnMillisecond_PROPERTY_READ_WRITE()
+ public void LedOnMillisecond_PROPERTY_READ_WRITE()
{
int onMs = 100;
/* PRECONDITION */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void LedOffMillisecond_PROPERTY_READ_WRITE()
+ public void LedOffMillisecond_PROPERTY_READ_WRITE()
{
int offMs = 100;
/* PRECONDITION */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void LedColor_PROPERTY_READ_WRITE()
+ public void LedColor_PROPERTY_READ_WRITE()
{
Color color = Color.Green;
/* PRECONDITION */
public class NotificationActiveStyleTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ActiveStyle_INIT()
+ public void ActiveStyle_INIT()
{
/* TEST CODE */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void IsAutoRemove_PROPERTY_READ_WRITE()
+ public void IsAutoRemove_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
bool autoremove = false;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void IsAutoRemove_DEFAULT_VALUE()
+ public void IsAutoRemove_DEFAULT_VALUE()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void BackgroundImage_PROPERTY_READ_WRITE()
+ public void BackgroundImage_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string path = "background image path";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void DefaultButton_PROPERTY_DEFAULT_VALUE()
+ public void DefaultButton_PROPERTY_DEFAULT_VALUE()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void DefaultButton_PROPERTY_READ_WRITE()
+ public void DefaultButton_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
ButtonIndex index = ButtonIndex.Second;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void DefaultButton_GET_ENUM_FIRST()
+ public void DefaultButton_GET_ENUM_FIRST()
{
/* PRECONDITION */
ButtonIndex index = ButtonIndex.First;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void DefaultButton_GET_ENUM_SECOND()
+ public void DefaultButton_GET_ENUM_SECOND()
{
/* PRECONDITION */
ButtonIndex index = ButtonIndex.Second;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void DefaultButton_GET_ENUM_THIRD()
+ public void DefaultButton_GET_ENUM_THIRD()
{
/* PRECONDITION */
ButtonIndex index = ButtonIndex.Third;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void DefaultButton_GET_ENUM_NONE()
+ public void DefaultButton_GET_ENUM_NONE()
{
/* PRECONDITION */
ButtonIndex index = ButtonIndex.None;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void HiddenByUserAction_PROPERTY_READ_WRITE()
+ public void HiddenByUserAction_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string appId = "org.tizen.test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void HiddenByTimeoutAction_PROPERTY_READ_WRITE()
+ public void HiddenByTimeoutAction_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string appId = "org.tizen.test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void HiddenByExternalAction_PROPERTY_READ_WRITE()
+ public void HiddenByExternalAction_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string appId = "org.tizen.test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void SetRemoveTime_CHECK_INVALID_PARAMETER_EXCEPTION()
+ public void SetRemoveTime_CHECK_INVALID_PARAMETER_EXCEPTION()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void SetRemoveTime_CHECK_STATUS()
+ public void SetRemoveTime_CHECK_STATUS()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void SetRemoveTime_CHECK_RETURN_VALUE()
+ public void SetRemoveTime_CHECK_RETURN_VALUE()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void GetRemoveTime_RETURN_VALUE()
+ public void GetRemoveTime_RETURN_VALUE()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void AddButtonAction_CHECK_INVALID_PARAMETER_EXCEPTION()
+ public void AddButtonAction_CHECK_INVALID_PARAMETER_EXCEPTION()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void AddButtonAction_CHECK_RETURN_VALUE()
+ public void AddButtonAction_CHECK_RETURN_VALUE()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void AddButtonAction_CHECK_FIRST_BUTTON_STATUS()
+ public void AddButtonAction_CHECK_FIRST_BUTTON_STATUS()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void AddButtonAction_CHECK_SECOND_BUTTON_STATUS()
+ public void AddButtonAction_CHECK_SECOND_BUTTON_STATUS()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void AddButtonAction_CHECK_THIRD_BUTTON_STATUS()
+ public void AddButtonAction_CHECK_THIRD_BUTTON_STATUS()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void GetButtonAction_CHECK_INVALID_PARAMETER_EXCEPTION()
+ public void GetButtonAction_CHECK_INVALID_PARAMETER_EXCEPTION()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void GetButtonAction_RETURN_VALUE_FIRST()
+ public void GetButtonAction_RETURN_VALUE_FIRST()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void GetButtonAction_RETURN_VALUE_SECOND()
+ public void GetButtonAction_RETURN_VALUE_SECOND()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void GetButtonAction_RETURN_VALUE_THIRD()
+ public void GetButtonAction_RETURN_VALUE_THIRD()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR MAE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void RemoveButtonAction_RETURN_VALUE_CHECK_FIRST_BUTTON()
+ public void RemoveButtonAction_RETURN_VALUE_CHECK_FIRST_BUTTON()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR MAE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void RemoveButtonAction_RETURN_VALUE_CHECK_SECOND_BUTTON()
+ public void RemoveButtonAction_RETURN_VALUE_CHECK_SECOND_BUTTON()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR MAE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void RemoveButtonAction_RETURN_VALUE_CHECK_THIRD_BUTTON()
+ public void RemoveButtonAction_RETURN_VALUE_CHECK_THIRD_BUTTON()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ReplyAction_PROPERTY_READ_WRITE()
+ public void ReplyAction_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
Notification.ActiveStyle style = new Notification.ActiveStyle();
public class NotificationButtonActionTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ButtonAction_INIT()
+ public void ButtonAction_INIT()
{
/* TEST CODE */
Notification.ButtonAction action = new Notification.ButtonAction();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Index_PROPERTY_READ_WRITE()
+ public void Index_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
ButtonIndex index = ButtonIndex.Second;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Index_GET_ENUM_FIRST()
+ public void Index_GET_ENUM_FIRST()
{
/* PRECONDITION */
ButtonIndex index = ButtonIndex.First;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Index_GET_ENUM_SECOND()
+ public void Index_GET_ENUM_SECOND()
{
/* PRECONDITION */
ButtonIndex index = ButtonIndex.Second;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Index_GET_ENUM_THIRD()
+ public void Index_GET_ENUM_THIRD()
{
/* PRECONDITION */
ButtonIndex index = ButtonIndex.Third;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Index_GET_ENUM_NONE()
+ public void Index_GET_ENUM_NONE()
{
/* PRECONDITION */
ButtonIndex index = ButtonIndex.None;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Text_PROPERTY_READ_WRITE()
+ public void Text_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string text = "text";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ImagePath_PROPERTY_READ_WRITE()
+ public void ImagePath_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string path = "imagepath";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Action_PROPERTY_READ_WRITE()
+ public void Action_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
AppControl appControl = new AppControl { ApplicationId = "org.tizen.app" };
public class NotificationIndicatorStyleTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void IndicatorStyle_INIT()
+ public void IndicatorStyle_INIT()
{
/* TEST CODE */
Notification.IndicatorStyle style = new Notification.IndicatorStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void IconPath_PROPERTY_READ_WRITE()
+ public void IconPath_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string path = "icon path";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void SubText_PROPERTY_READ_WRITE()
+ public void SubText_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string text = "sub text";
public class NotificationLockStyleTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void LockStyle_INIT()
+ public void LockStyle_INIT()
{
/* TEST CODE */
Notification.LockStyle style = new Notification.LockStyle();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void IconPath_PROPERTY_READ_WRITE()
+ public void IconPath_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string path = "icon path";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ThumbnailPath_PROPERTY_READ_WRITE()
+ public void ThumbnailPath_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string path = "thumbnail path";
public class NotificationProgressTypeTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ProgressType_INIT()
+ public void ProgressType_INIT()
{
/* TEST CODE */
Notification.ProgressType Progress = new Notification.ProgressType(ProgressCategory.Percent, 0.0, 100.0);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ProgressType_INIT_FOR_INPUT_INVALID_PARAMETER()
+ public void ProgressType_INIT_FOR_INPUT_INVALID_PARAMETER()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW, PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Category_PROPERTY_GET_ENUM_PERCENT()
+ public void Category_PROPERTY_GET_ENUM_PERCENT()
{
/* PRECONDITION */
ProgressCategory category = ProgressCategory.Percent;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW, PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Category_PROPERTY_GET_ENUM_TIME()
+ public void Category_PROPERTY_GET_ENUM_TIME()
{
/* PRECONDITION */
ProgressCategory category = ProgressCategory.Time;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW, PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Category_PROPERTY_GET_ENUM_PENDING_BAR()
+ public void Category_PROPERTY_GET_ENUM_PENDING_BAR()
{
/* PRECONDITION */
ProgressCategory category = ProgressCategory.PendingBar;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ProgressCurrent_PROPERTY_READ_WRITE()
+ public void ProgressCurrent_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
double current = 10.0;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ProgressCurrent_PROPERTY_FOR_INVALID_PARAMTER()
+ public void ProgressCurrent_PROPERTY_FOR_INVALID_PARAMTER()
{
/* PRECONDITION */
Notification.ProgressType Progress = new Notification.ProgressType(ProgressCategory.Percent, 0.0, 100.0);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ProgressMax_PROPERTY_READ_WRITE()
+ public void ProgressMax_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
double max = 50.0;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ProgressMax_PROPERTY_FOR_INVALID_PARAMTER()
+ public void ProgressMax_PROPERTY_FOR_INVALID_PARAMTER()
{
/* PRECONDITION */
Notification.ProgressType Progress = new Notification.ProgressType(ProgressCategory.Percent, 0.0, 100.0);
public class NotificationReplyActionTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ReplyAction_INIT()
+ public void ReplyAction_INIT()
{
/* TEST CODE */
Notification.ReplyAction action = new Notification.ReplyAction();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW, PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ParentIndex_PROPERTY_GET_ENUM_FIRST()
+ public void ParentIndex_PROPERTY_GET_ENUM_FIRST()
{
ButtonIndex index = ButtonIndex.First;
/* PRECONDITION */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW, PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ParentIndex_PROPERTY_GET_ENUM_NONE()
+ public void ParentIndex_PROPERTY_GET_ENUM_NONE()
{
ButtonIndex index = ButtonIndex.None;
/* PRECONDITION */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW, PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ParentIndex_PROPERTY_GET_ENUM_SECOND()
+ public void ParentIndex_PROPERTY_GET_ENUM_SECOND()
{
ButtonIndex index = ButtonIndex.Second;
/* PRECONDITION */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW, PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ParentIndex_PROPERTY_GET_ENUM_THIRD()
+ public void ParentIndex_PROPERTY_GET_ENUM_THIRD()
{
ButtonIndex index = ButtonIndex.Third;
/* PRECONDITION */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void PlaceHolderText_PROPERTY_READ_WRITE()
+ public void PlaceHolderText_PROPERTY_READ_WRITE()
{
string text = "text";
/* PRECONDITION */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ReplyMax_PROPERTY_READ_WRITE()
+ public void ReplyMax_PROPERTY_READ_WRITE()
{
int max = 90;
/* PRECONDITION */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ReplyMax_PROPERTY_CHECK_DEFAULT_VALUE()
+ public void ReplyMax_PROPERTY_CHECK_DEFAULT_VALUE()
{
int defaultMax = 160;
/* PRECONDITION */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Button_PROPERTY_READ_WRITE()
+ public void Button_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
Notification.ReplyAction action = new Notification.ReplyAction();
public class NotificationTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Notification_INIT()
+ public void Notification_INIT()
{
/* TEST CODE */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Tag_PROPERTY_READ_WRITE()
+ public void Tag_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string tag = "TAG";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Title_PROPERTY_READ_WRITE()
+ public void Title_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string title = "Hello notification";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Icon_PROPERTY_READ_WRITE()
+ public void Icon_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string icon = "icon path";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void SubIcon_PROPERTY_READ_WRITE()
+ public void SubIcon_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string icon = "sub icon path";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Content_PROPERTY_READ_WRITE()
+ public void Content_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string content = "welcome to notification world";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void IsTimeStampVisible_DEFAULT_VALUE()
+ public void IsTimeStampVisible_DEFAULT_VALUE()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void IsTimeStampVisible_PROPERTY_READ_WRITE()
+ public void IsTimeStampVisible_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
bool isVisible = false;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void TimeStamp_PROPERTY_READ_WRITE()
+ public void TimeStamp_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
DateTime time = DateTime.Now;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Action_PROPERTY_READ_WRITE()
+ public void Action_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string appId = "org.tizen.test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Count_PROPERTY_READ_WRITE()
+ public void Count_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
int count = 5;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Count_CHECK_FOR_INVALID_PARAMETER()
+ public void Count_CHECK_FOR_INVALID_PARAMETER()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Property_PROPERTY_READ_WRITE()
+ public void Property_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
NotificationProperty property = NotificationProperty.DisableAppLaunch | NotificationProperty.DisableAutoDelete;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Property_CHECK_DEFAULT_VALUE()
+ public void Property_CHECK_DEFAULT_VALUE()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Property_GET_ENUM_DisplayOnlySimMode()
+ public void Property_GET_ENUM_DisplayOnlySimMode()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Property_GET_ENUM_DISABLEAPPLAUNCH()
+ public void Property_GET_ENUM_DISABLEAPPLAUNCH()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Property_GET_ENUM_DISABLEAUTODELETE()
+ public void Property_GET_ENUM_DISABLEAUTODELETE()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Property_GET_ENUM_VOLATILEDISPLAY()
+ public void Property_GET_ENUM_VOLATILEDISPLAY()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Accessory_PROPERTY_READ_WRITE()
+ public void Accessory_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
int offMs = 30;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Progress_PROPERTY_READ_WRITE()
+ public void Progress_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
Notification.ProgressType progress = new Notification.ProgressType(ProgressCategory.Percent, 0.0, 100.0);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void IsVisible_PROPERTY_READ_WRITE()
+ public void IsVisible_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
bool IsVisible = false;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void IsVisible_PROPERTY_DEFAULT_VALUE()
+ public void IsVisible_PROPERTY_DEFAULT_VALUE()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void AddStyle_CHECK_INVALID_PARAMETER_EXCEPTION()
+ public void AddStyle_CHECK_INVALID_PARAMETER_EXCEPTION()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void AddStyle_INPUT_FOR_INDICATOR_STYLE()
+ public void AddStyle_INPUT_FOR_INDICATOR_STYLE()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void AddStyle_INPUT_FOR_LOCK_STYLE()
+ public void AddStyle_INPUT_FOR_LOCK_STYLE()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void AddStyle_INPUT_FOR_ACTIVE_STYLE()
+ public void AddStyle_INPUT_FOR_ACTIVE_STYLE()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void GetStyle_RETURN_VALUE_FOR_INDICATOR_STYLE()
+ public void GetStyle_RETURN_VALUE_FOR_INDICATOR_STYLE()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void GetStyle_RETURN_VALUE_FOR_LOCK_STYLE()
+ public void GetStyle_RETURN_VALUE_FOR_LOCK_STYLE()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MAE")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void GetStyle_RETURN_VALUE_FOR_ACTIVE_STYLE()
+ public void GetStyle_RETURN_VALUE_FOR_ACTIVE_STYLE()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void GetStyle_CHECK_INVALID_PARAMETER_EXCEPTION()
+ public void GetStyle_CHECK_INVALID_PARAMETER_EXCEPTION()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void RemoveStyle_CHECK_FOR_INVALID_PARAMETER()
+ public void RemoveStyle_CHECK_FOR_INVALID_PARAMETER()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void RemoveStyle_CHECK_RETURN_VALUE()
+ public void RemoveStyle_CHECK_RETURN_VALUE()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void SetExtraData_CHECK_FOR_NULL_INPUT()
+ public void SetExtraData_CHECK_FOR_NULL_INPUT()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR MCST")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void SetExtraData_CHECK_FOR_REPLACE_DATA()
+ public void SetExtraData_CHECK_FOR_REPLACE_DATA()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void GetExtraData_CHECK_FOR_RETURN_VALUE()
+ public void GetExtraData_CHECK_FOR_RETURN_VALUE()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void GetExtraData_CHECK_INVALID_PARAMETER_EXCEPTION()
+ public void GetExtraData_CHECK_INVALID_PARAMETER_EXCEPTION()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void RemoveExtraData_CHECK_INVALID_PARAMETER_EXCEPTION()
+ public void RemoveExtraData_CHECK_INVALID_PARAMETER_EXCEPTION()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR MCST")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void RemoveExtraData_CHECK_RETURN_VALUE()
+ public void RemoveExtraData_CHECK_RETURN_VALUE()
{
/* PRECONDITION */
Notification notification = new Notification();
public class NotificationManagerTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Post_RETURN_VALUE()
+ public void Post_RETURN_VALUE()
{
/* PRECONDITION */
Notification notification = new Notification();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Update_RETURN_VALUE()
+ public void Update_RETURN_VALUE()
{
string newTitle = "newTitle";
string tag = "updateTag";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Delete_RETURN_VALUE()
+ public void Delete_RETURN_VALUE()
{
/* PRECONDITION */
string tag = "tag";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void DeleteAll_RETURN_VALUE()
+ public void DeleteAll_RETURN_VALUE()
{
/* PRECONDITION */
string tag = "tag";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Load_RETURN_VALUE()
+ public void Load_RETURN_VALUE()
{
/* PRECONDITION */
string title = "Title";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void SaveTemplate_RETURN_VALUE()
+ public void SaveTemplate_RETURN_VALUE()
{
/* PRECONDITION */
string title = "Title";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void LoadTemplate_RETURN_VALUE()
+ public void LoadTemplate_RETURN_VALUE()
{
/* PRECONDITION */
string title = "Title";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Post_CHECK_FOR_NULL_INPUT()
+ public void Post_CHECK_FOR_NULL_INPUT()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Update_CHECK_FOR_NULL_INPUT()
+ public void Update_CHECK_FOR_NULL_INPUT()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Delete_CHECK_FOR_NULL_INPUT()
+ public void Delete_CHECK_FOR_NULL_INPUT()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Load_CHECK_FOR_NULL_INPUT()
+ public void Load_CHECK_FOR_NULL_INPUT()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Load_CHECK_FOR_INCORRECT_TAG()
+ public void Load_CHECK_FOR_INCORRECT_TAG()
{
/* PRECONDITION */
string tag = "test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void SaveTemplate_CHECK_FOR_NULL_INPUT()
+ public void SaveTemplate_CHECK_FOR_NULL_INPUT()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void LoadTemplate_CHECK_FOR_NULL_INPUT()
+ public void LoadTemplate_CHECK_FOR_NULL_INPUT()
{
/* TEST CODE */
try
[Description("Tizen.Network.Nsd.DnssdBrowser Tests")]
public class DnssdBrowserTests
{
- private static bool s_isDnssdSupported = false;
- private static bool s_isEmulator = false;
+ private bool s_isDnssdSupported = false;
+ private bool s_isEmulator = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.service_discovery.dnssd", out s_isDnssdSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Postcondition(1, "Tap Deregister button in another device")]
[Postcondition(2, "Turn off WiFi in both the devices")]
- public static async Task ServiceFound_CHECK_EVENT_DNSSD()
+ public async Task ServiceFound_CHECK_EVENT_DNSSD()
{
if (s_isEmulator)
{
[Step(1, "Tap the Run button")]
[Postcondition(1, "Tap Deregister button in another device")]
[Postcondition(2, "Turn off WiFi in both the devices")]
- public static async Task StartDiscovery_BROWSE_DNSSD_SERVICES()
+ public async Task StartDiscovery_BROWSE_DNSSD_SERVICES()
{
if (s_isEmulator)
{
[Step(1, "Tap the Run button")]
[Postcondition(1, "Tap Deregister button in another device")]
[Postcondition(2, "Turn off WiFi in both the devices")]
- public static async Task StopDiscovery_STOP_DNSSD_DISCOVERY()
+ public async Task StopDiscovery_STOP_DNSSD_DISCOVERY()
{
if (s_isEmulator)
{
[Description("Tizen.Network.Nsd.DnssdService Tests")]
public class DnssdServiceTests
{
- private static bool s_isDnssdSupported = false;
- private static bool s_isEmulator = false;
+ private bool s_isDnssdSupported = false;
+ private bool s_isEmulator = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.service_discovery.dnssd", out s_isDnssdSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Postcondition(1, "Tap Deregister button in another device")]
[Postcondition(2, "Turn off WiFi in both the devices")]
- public static async Task IP_PROPERTY_READ_ONLY()
+ public async Task IP_PROPERTY_READ_ONLY()
{
if (s_isEmulator)
{
[Step(1, "Tap the Run button")]
[Step(2, "Tap Register button. Wait till the label shows Service registered successfully")]
[Step(3, "Tap Deregister button")]
- public static async Task RegisterService_REGISTER_DNSSD_SERVICE()
+ public async Task RegisterService_REGISTER_DNSSD_SERVICE()
{
if (s_isEmulator)
{
[Description("Tizen.Network.Nsd.DnssdServiceFoundEventArgs Tests")]
public class DnssdServiceFoundEventArgsTests
{
- private static bool s_isDnssdSupported = false;
- private static bool s_isEmulator = false;
+ private bool s_isDnssdSupported = false;
+ private bool s_isEmulator = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.service_discovery.dnssd", out s_isDnssdSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Postcondition(1, "Tap Unregister button in another device")]
[Postcondition(2, "Turn off WiFi in both the devices")]
- public static async Task State_PROPERTY_READ_ONLY()
+ public async Task State_PROPERTY_READ_ONLY()
{
if (s_isEmulator)
{
[Step(1, "Tap the Run button")]
[Postcondition(1, "Tap Unregister button in another device")]
[Postcondition(2, "Turn off WiFi in both the devices")]
- public static async Task Service_PROPERTY_READ_ONLY()
+ public async Task Service_PROPERTY_READ_ONLY()
{
if (s_isEmulator)
{
[Description("Tizen.Network.Nsd.DnssdBrowser Tests")]
public class IPAddressInformationTests
{
- private static bool s_isDnssdSupported = false;
- private static bool s_isEmulator = false;
+ private bool s_isDnssdSupported = false;
+ private bool s_isEmulator = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.service_discovery.dnssd", out s_isDnssdSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Postcondition(1, "Tap Deregister button in another device")]
[Postcondition(2, "Turn off WiFi in both the devices")]
- public static async Task IPv4Address_PROPERTY_READ_ONLY()
+ public async Task IPv4Address_PROPERTY_READ_ONLY()
{
if (s_isEmulator)
{
[Step(1, "Tap the Run button")]
[Postcondition(1, "Tap Deregister button in another device")]
[Postcondition(2, "Turn off WiFi in both the devices")]
- public static async Task IPv6Address_PROPERTY_READ_ONLY()
+ public async Task IPv6Address_PROPERTY_READ_ONLY()
{
if (s_isEmulator)
{
[Description("Tizen.Network.Nsd.SsdpBrowser Tests")]
public class SsdpBrowserTests
{
- private static bool s_isSsdpSupported = false;
- private static bool s_isEmulator = false;
+ private bool s_isSsdpSupported = false;
+ private bool s_isEmulator = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.service_discovery.ssdp", out s_isSsdpSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Postcondition(1, "Tap Deregister button in another device")]
[Postcondition(2, "Turn off WiFi in both the devices")]
- public static async Task ServiceFound_CHECK_EVENT_SSDP()
+ public async Task ServiceFound_CHECK_EVENT_SSDP()
{
if (s_isEmulator)
{
[Step(1, "Tap the Run button")]
[Postcondition(1, "Tap Deregister button in another device")]
[Postcondition(2, "Turn off WiFi in both the devices")]
- public static async Task StartDiscovery_BROWSE_SSDP_SERVICES()
+ public async Task StartDiscovery_BROWSE_SSDP_SERVICES()
{
if (s_isEmulator)
{
[Step(1, "Tap the Run button")]
[Postcondition(1, "Tap Deregister button in another device")]
[Postcondition(2, "Turn off WiFi in both the devices")]
- public static async Task StopDiscovery_STOP_SSDP_DISCOVERY()
+ public async Task StopDiscovery_STOP_SSDP_DISCOVERY()
{
if (s_isEmulator)
{
[Description("Tizen.Network.Nsd.SsdpService Tests")]
public class SsdpServiceTests
{
- private static bool s_isSsdpSupported = false;
- private static bool s_isEmulator = false;
+ private bool s_isSsdpSupported = false;
+ private bool s_isEmulator = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.service_discovery.ssdp", out s_isSsdpSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Step(2, "Tap Register button. Wait till the label shows Service registered successfully")]
[Step(3, "Tap Deregister button")]
- public static async Task RegisterService_REGISTER_SSDP_SERVICE()
+ public async Task RegisterService_REGISTER_SSDP_SERVICE()
{
if (s_isEmulator)
{
[Description("Tizen.Network.Nsd.SsdpServiceFoundEventArgs Tests")]
public class SsdpServiceFoundEventArgsTests
{
- private static bool s_isSsdpSupported = false;
- private static bool s_isEmulator = false;
+ private bool s_isSsdpSupported = false;
+ private bool s_isEmulator = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.service_discovery.ssdp", out s_isSsdpSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST");
}
[Step(1, "Tap the Run button")]
[Postcondition(1, "Tap Unregister button in another device")]
[Postcondition(2, "Turn off WiFi in both the devices")]
- public static async Task State_PROPERTY_READ_ONLY()
+ public async Task State_PROPERTY_READ_ONLY()
{
if (s_isEmulator)
{
[Step(1, "Tap the Run button")]
[Postcondition(1, "Tap Unregister button in another device")]
[Postcondition(2, "Turn off WiFi in both the devices")]
- public static async Task Service_PROPERTY_READ_ONLY()
+ public async Task Service_PROPERTY_READ_ONLY()
{
if (s_isEmulator)
{
[Description("Tizen.Network.Nsd.DnssdBrowser Tests")]
public class DnssdBrowserTests
{
- private static bool s_isDnssdSupported = false;
- private static string s_serviceType = "_http._tcp";
+ private bool s_isDnssdSupported = false;
+ private string s_serviceType = "_http._tcp";
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/network.service_discovery.dnssd", out s_isDnssdSupported);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void DnssdBrowser_INIT()
+ public void DnssdBrowser_INIT()
{
Log.Info("Tizen.Network.Nsd", "started tc DnssdBrowser_INIT");
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN, CONSTX")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void DnssdBrowser_INIT_CHECK_EXCEPTION()
+ public void DnssdBrowser_INIT_CHECK_EXCEPTION()
{
/* TEST CODE */
try
[Description("Tizen.Network.Nsd.DnssdService Tests")]
public class DnssdServiceTests
{
- private static bool s_isDnssdSupported = false;
- private static string s_serviceType = "_http._tcp";
+ private bool s_isDnssdSupported = false;
+ private string s_serviceType = "_http._tcp";
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/network.service_discovery.dnssd", out s_isDnssdSupported);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void DnssdService_INIT()
+ public void DnssdService_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN, CONSTX")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void DnssdService_INIT_CHECK_EXCEPTION()
+ public void DnssdService_INIT_CHECK_EXCEPTION()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Name_PROPERTY_READ_WRITE()
+ public void Name_PROPERTY_READ_WRITE()
{
DnssdService dnssdService = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Name_PROPERTY_SET_CHECK_EXCEPTION()
+ public void Name_PROPERTY_SET_CHECK_EXCEPTION()
{
DnssdService dnssdService = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Name_PROPERTY_GET_CHECK_NULL()
+ public void Name_PROPERTY_GET_CHECK_NULL()
{
DnssdService dnssdService = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Type_PROPERTY_READ_ONLY()
+ public void Type_PROPERTY_READ_ONLY()
{
DnssdService dnssdService = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Port_PROPERTY_READ_WRITE()
+ public void Port_PROPERTY_READ_WRITE()
{
DnssdService dnssdService = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Port_PROPERTY_SET_CHECK_EXCEPTION()
+ public void Port_PROPERTY_SET_CHECK_EXCEPTION()
{
DnssdService dnssdService = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Port_PROPERTY_CHECK_DEFAULT_VALUE()
+ public void Port_PROPERTY_CHECK_DEFAULT_VALUE()
{
DnssdService dnssdService = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void AddTXTRecord_CHECK_NO_EXCEPTION()
+ public void AddTXTRecord_CHECK_NO_EXCEPTION()
{
INsdService dnssdService = null;
DnssdService dnsService = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void AddTXTRecord_PARAM_NULL_CHECK_EXCEPTION()
+ public void AddTXTRecord_PARAM_NULL_CHECK_EXCEPTION()
{
INsdService dnssdService = null;
DnssdService dnsService = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void AddTXTRecord_CHECK_EXCEPTION()
+ public void AddTXTRecord_CHECK_EXCEPTION()
{
INsdService dnssdService = null;
DnssdService dnsService = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void RemoveTXTRecord_CHECK_NO_EXCEPTION()
+ public void RemoveTXTRecord_CHECK_NO_EXCEPTION()
{
INsdService dnssdService = null;
DnssdService dnsService = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void RemoveTXTRecord_PARAM_NULL_CHECK_EXCEPTION()
+ public void RemoveTXTRecord_PARAM_NULL_CHECK_EXCEPTION()
{
INsdService dnssdService = null;
DnssdService dnsService = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void RegisterService_DNSSD_CHECK_NO_EXCEPTION()
+ public void RegisterService_DNSSD_CHECK_NO_EXCEPTION()
{
INsdService service = null;
DnssdService dnssdService = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void DeregisterService_DNSSD_CHECK_NO_EXCEPTION()
+ public void DeregisterService_DNSSD_CHECK_NO_EXCEPTION()
{
INsdService service = null;
DnssdService dnssdService = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "cheoleun moon, chleun.moon@samsung.com")]
- public static void Dispose_CHECK_NO_EXCEPTION()
+ public void Dispose_CHECK_NO_EXCEPTION()
{
try
{
[Description("Tizen.Network.Nsd.SsdpBrowser Tests")]
public class SsdpBrowserTests
{
- private static bool s_isSsdpSupported = false;
- private static string s_target = "upnp:rootdevice";
+ private bool s_isSsdpSupported = false;
+ private string s_target = "upnp:rootdevice";
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/network.service_discovery.ssdp", out s_isSsdpSupported);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void SsdpBrowser_INIT()
+ public void SsdpBrowser_INIT()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN, CONSTX")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void SsdpBrowser_INIT_CHECK_EXCEPTION()
+ public void SsdpBrowser_INIT_CHECK_EXCEPTION()
{
/* TEST CODE */
try
[Description("Tizen.Network.Nsd.SsdpService Tests")]
public class SsdpServiceTests
{
- private static bool s_isSsdpSupported = false;
- private static string s_target = "upnp:rootdevice";
+ private bool s_isSsdpSupported = false;
+ private string s_target = "upnp:rootdevice";
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/network.service_discovery.ssdp", out s_isSsdpSupported);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void SsdpService_INIT()
+ public void SsdpService_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTN, CONSTX")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void SsdpService_INIT_CHECK_EXCEPTION()
+ public void SsdpService_INIT_CHECK_EXCEPTION()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Usn_PROPERTY_READ_WRITE()
+ public void Usn_PROPERTY_READ_WRITE()
{
SsdpService ssdpService = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Usn_PROPERTY_SET_CHECK_EXCEPTION()
+ public void Usn_PROPERTY_SET_CHECK_EXCEPTION()
{
SsdpService ssdpService = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Usn_PROPERTY_GET_CHECK_NULL()
+ public void Usn_PROPERTY_GET_CHECK_NULL()
{
SsdpService ssdpService = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Target_PROPERTY_READ_ONLY()
+ public void Target_PROPERTY_READ_ONLY()
{
SsdpService ssdpService = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Url_PROPERTY_READ_WRITE()
+ public void Url_PROPERTY_READ_WRITE()
{
SsdpService ssdpService = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Url_PROPERTY_SET_CHECK_EXCEPTION()
+ public void Url_PROPERTY_SET_CHECK_EXCEPTION()
{
SsdpService ssdpService = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Url_PROPERTY_GET_CHECK_NULL()
+ public void Url_PROPERTY_GET_CHECK_NULL()
{
SsdpService ssdpService = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void RegisterService_SSDP_CHECK_NO_EXCEPTION()
+ public void RegisterService_SSDP_CHECK_NO_EXCEPTION()
{
INsdService service = null;
SsdpService ssdpService = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void RegisterService_SSDP_CHECK_EXCEPTION()
+ public void RegisterService_SSDP_CHECK_EXCEPTION()
{
INsdService service = null;
SsdpService ssdpService = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void DeregisterService_SSDP_CHECK_NO_EXCEPTION()
+ public void DeregisterService_SSDP_CHECK_NO_EXCEPTION()
{
INsdService service = null;
SsdpService ssdpService = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "cheoleun moon, chleun.moon@samsung.com")]
- public static void Dispose_CHECK_NO_EXCEPTION()
+ public void Dispose_CHECK_NO_EXCEPTION()
{
try
{
public class AuthorizationResponseTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Step(1, "Tap the Run button")]
[Step(2, "Authorize the request by entering your LinkedIn user credentials on the webpage")]
[Postcondition(1, "None")]
- public static async Task Code_PROPERTY_READ_ONLY()
+ public async Task Code_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Step(1, "Tap the Run button")]
[Step(2, "Authorize the request by entering your LinkedIn user credentials on the webpage")]
[Postcondition(1, "None")]
- public static async Task State_PROPERTY_READ_ONLY()
+ public async Task State_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Step(1, "Tap the Run button")]
[Step(2, "Authorize the request by entering your LinkedIn user credentials on the webpage")]
[Postcondition(1, "None")]
- public static async Task GetCustomValue_RETURN_TYPE()
+ public async Task GetCustomValue_RETURN_TYPE()
{
/*
* PRECONDITION
public class ClientCredentialsAuthorizerTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Step(1, "Tap the Run button")]
[Step(2, "Authorize the request by entering yout Twitter user credentials on the webpage")]
[Postcondition(1, "None")]
- public static async Task GetAccessTokenAsync_RETURN_TYPE()
+ public async Task GetAccessTokenAsync_RETURN_TYPE()
{
/*
* PRECONDITION
public class CodeGrantAuthorizerTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Step(1, "Tap the Run button")]
[Step(2, "Authorize the request by entering your LinkedIn user credentials on the webpage")]
[Postcondition(1,"None")]
- public static async Task AuthorizeAsync_CHECK_RETURN_TYPE()
+ public async Task AuthorizeAsync_CHECK_RETURN_TYPE()
{
var authorizer = new CodeGrantAuthorizer();
Assert.IsNotNull(authorizer, "Object should not be null after construction");
[Step(1, "Tap the Run button")]
[Step(2, "Authorize the request by entering your LinkedIn user credentials on the webpage")]
[Postcondition(1, "None")]
- public static async Task GetAccessTokenAsync_CHECK_RETURN_TYPE()
+ public async Task GetAccessTokenAsync_CHECK_RETURN_TYPE()
{
var authorizer = new CodeGrantAuthorizer();
Assert.IsNotNull(authorizer, "Object should not be null after construction");
public class ImplicitGrantAuthorizerTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Step(1, "Tap the Run button")]
[Step(2, "Authorize the request by entering your LinkedIn user credentials on the webpage")]
[Postcondition(1, "None")]
- public static async Task AuthorizeAsync_CHECK_RETURN_TYPE()
+ public async Task AuthorizeAsync_CHECK_RETURN_TYPE()
{
/*
* PRECONDITION
namespace Tizen.Account.OAuth2.Tests
{
- internal static class OAuth2Helper
+ internal class OAuth2Helper
{
internal const string CODE_GRANT_RESPONSE_TYPE_SPEC = "code";
internal const string IMPLICIT_GRANT_RESPONSE_TYPE_SPEC = "token";
};
}
- internal static ResourceOwnerPwdCredentialsTokenRequest CreateRoPwdTokenRequest(bool dummy = false)
+ internal ResourceOwnerPwdCredentialsTokenRequest CreateRoPwdTokenRequest(bool dummy = false)
{
return new ResourceOwnerPwdCredentialsTokenRequest()
{
};
}
- internal static RefreshTokenRequest CreateRefreshTokenRequest(bool dummy = false)
+ internal RefreshTokenRequest CreateRefreshTokenRequest(bool dummy = false)
{
return new RefreshTokenRequest()
{
[Description("Tests Tizen.Account.OAuth2.AccessToken class")]
public class AccessTokenTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task ExpiresIn_PROPERTY_READ_ONLY()
+ public async Task ExpiresIn_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task Token_PROPERTY_READ_ONLY()
+ public async Task Token_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task TokenType_PROPERTY_READ_ONLY()
+ public async Task TokenType_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task Scope_PROPERTY_READ_ONLY()
+ public async Task Scope_PROPERTY_READ_ONLY()
{
try
{
[Description("Tests Tizen.Account.OAuth2.AuthorizationRequest class")]
public class AuthorizationRequestTests
{
- private static AuthorizationRequest[] _requests;
- static bool isOAuth2Supported = false;
+ private AuthorizationRequest[] _requests;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_requests = null;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void AuthorizationRequest_INIT()
+ public void AuthorizationRequest_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void ResponseType_PROPERTY_READ_ONLY()
+ public void ResponseType_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void ClientSecrets_PROPERTY_READ_WRITE()
+ public void ClientSecrets_PROPERTY_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void AuthorizationEndpoint_PROPERTY_READ_WRITE()
+ public void AuthorizationEndpoint_PROPERTY_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void TokenEndpoint_PROPERTY_READ_WRITE()
+ public void TokenEndpoint_PROPERTY_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void RedirectionEndPoint_PROPERTY_READ_WRITE()
+ public void RedirectionEndPoint_PROPERTY_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void Scopes_PROPERTY_READ_WRITE()
+ public void Scopes_PROPERTY_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void State_PROPERTY_READ_WRITE()
+ public void State_PROPERTY_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void CustomData_PROPERTY_READ_WRITE()
+ public void CustomData_PROPERTY_READ_WRITE()
{
/*
* PRECONDITION
[Description("Tests Tizen.Account.OAuth2.Authorizer class")]
public class AuthorizerTests
{
- private static Authorizer[] _authorizers;
- static bool isOAuth2Supported = false;
+ private Authorizer[] _authorizers;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_authorizers = null;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void Authorizer_INIT()
+ public void Authorizer_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void IsRequestInProgress_PROPERTY_READ_ONLY()
+ public void IsRequestInProgress_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task RefreshAccessTokenAsync_CHECK_EXCEPTION()
+ public async Task RefreshAccessTokenAsync_CHECK_EXCEPTION()
{
/*
* PRECONDITION
[Description("Tests Tizen.Account.OAuth2.ClientCredentials class")]
public class ClientCredentialsTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void ClientCredentials_INIT()
+ public void ClientCredentials_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void Id_PROPERTY_READ_WRITE()
+ public void Id_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void Secret_PROPERTY_READ_WRITE()
+ public void Secret_PROPERTY_READ_WRITE()
{
try
{
[Description("Tests Tizen.Account.OAuth2.ClientCredentialsAuthorizer class")]
public class ClientCredentialsAuthorizerTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void ClientCredentialsAuthorizer_INIT()
+ public void ClientCredentialsAuthorizer_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task AuthorizeAsync_CHECK_EXCEPTION()
+ public async Task AuthorizeAsync_CHECK_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task RefreshAccessTokenAsync_CHECK_EXCEPTION()
+ public async Task RefreshAccessTokenAsync_CHECK_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task GetAccessTokenAsync_CHECK_EXCEPTION()
+ public async Task GetAccessTokenAsync_CHECK_EXCEPTION()
{
try
{
[Description("Tests Tizen.Account.OAuth2.ClientCredentialsTokenRequest class")]
public class ClientCredentialsTokenRequestTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void ClientCredentialsTokenRequest_INIT()
+ public void ClientCredentialsTokenRequest_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void GrantType_PROPERTY_READ_ONLY()
+ public void GrantType_PROPERTY_READ_ONLY()
{
try
{
[Description("Tests Tizen.Account.OAuth2.CodeGrantAuthorizationRequest class")]
public class CodeGrantAuthorizationRequestTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void CodeGrantAuthorizationRequest_INIT()
+ public void CodeGrantAuthorizationRequest_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void ResponseType_PROPERTY_READ_ONLY()
+ public void ResponseType_PROPERTY_READ_ONLY()
{
try
{
[Description("Tests Tizen.Account.OAuth2.CodeGrantAuthorizer class")]
public class CodeGrantAuthorizerTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void CodeGrantAuthorizer_INIT()
+ public void CodeGrantAuthorizer_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task AuthorizeAsync_CHECK_EXCEPTION()
+ public async Task AuthorizeAsync_CHECK_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task GetAccessTokenAsync_CHECK_EXCEPTION()
+ public async Task GetAccessTokenAsync_CHECK_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void ClearCookies_CHECK_NO_EXCEPTION()
+ public void ClearCookies_CHECK_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void ClearCache_CHECK_NO_EXCEPTION()
+ public void ClearCache_CHECK_NO_EXCEPTION()
{
try
{
[Description("Tests Tizen.Account.OAuth2.CodeGrantTokenRequest class")]
public class CodeGrantTokenRequestTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void CodeGrantTokenRequest_INIT()
+ public void CodeGrantTokenRequest_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void GrantType_PROPERTY_READ_ONLY()
+ public void GrantType_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void Code_PROPERTY_READ_WRITE()
+ public void Code_PROPERTY_READ_WRITE()
{
try
{
[Description("Tests Tizen.Account.OAuth2.ImplicitGrantAuthorizationRequest class")]
public class ImplicitGrantAuthorizationRequestTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void ImplicitGrantAuthorizationRequest_INIT()
+ public void ImplicitGrantAuthorizationRequest_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void ResponseType_PROPERTY_READ_ONLY()
+ public void ResponseType_PROPERTY_READ_ONLY()
{
try
{
[Description("Tests Tizen.Account.OAuth2.ImplicitGrantAuthorizer class")]
public class ImplicitGrantAuthorizerTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void ImplicitGrantAuthorizer_INIT()
+ public void ImplicitGrantAuthorizer_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task AuthorizeAsync_EXCEPTION()
+ public async Task AuthorizeAsync_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task GetAccessTokenAsync_CHECK_EXCEPTION()
+ public async Task GetAccessTokenAsync_CHECK_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task RefreshAccessTokenAsync_CHECK_EXCEPTION()
+ public async Task RefreshAccessTokenAsync_CHECK_EXCEPTION()
{
try
{
[Description("Tests Tizen.Account.OAuth2.OAuth2ErrorResponse class")]
public class OAuth2ErrorResponseTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task ServerErrorCode_PROPERTY_READ_ONLY()
+ public async Task ServerErrorCode_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task PlatformErrorCode_PROPERTY_READ_ONLY()
+ public async Task PlatformErrorCode_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task Error_PROPERTY_READ_ONLY()
+ public async Task Error_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task ErrorUri_PROPERTY_READ_ONLY()
+ public async Task ErrorUri_PROPERTY_READ_ONLY()
{
try
{
[Description("Tests Tizen.Account.OAuth2.OAuth2Exception class")]
public class OAuth2ExceptionTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task Error_PROPERTY_READ_ONLY()
+ public async Task Error_PROPERTY_READ_ONLY()
{
try
{
[Description("Tests Tizen.Account.OAuth2.RefreshToken class")]
public class RefreshTokenTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task Token_PROPERTY_READ_ONLY()
+ public async Task Token_PROPERTY_READ_ONLY()
{
try
{
[Description("Tests Tizen.Account.OAuth2.RefreshTokenRequest class")]
public class RefreshTokenRequestTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void RefreshTokenRequest_INIT()
+ public void RefreshTokenRequest_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void GrantType_PROPERTY_READ_ONLY()
+ public void GrantType_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void RefreshToken_PROPERTY_READ_WRITE()
+ public void RefreshToken_PROPERTY_READ_WRITE()
{
try
{
[Description("Tests Tizen.Account.OAuth2.ResourceOwnerPwdCredentialsAuthorizer class")]
public class ResourceOwnerPwdCredentialsAuthorizerTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void ResourceOwnerPwdCredentialsAuthorizer_INIT()
+ public void ResourceOwnerPwdCredentialsAuthorizer_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task AuthorizeAsync_CHECK_EXCEPTION()
+ public async Task AuthorizeAsync_CHECK_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task GetAccessTokenAsync_CHECK_EXCEPTION()
+ public async Task GetAccessTokenAsync_CHECK_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task GetAccessTokenAsync_RETURN_TYPE()
+ public async Task GetAccessTokenAsync_RETURN_TYPE()
{
try
{
[Description("Tests Tizen.Account.OAuth2.ResourceOwnerPwdCredentialsTokenRequest class")]
public class ResourceOwnerPwdCredentialsTokenRequestTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void ResourceOwnerPwdCredentialsTokenRequest_INIT()
+ public void ResourceOwnerPwdCredentialsTokenRequest_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void GrantType_PROPERTY_READ_ONLY()
+ public void GrantType_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void Username_PROPERTY_READ_WRITE()
+ public void Username_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void Password_PROPERTY_READ_WRITE()
+ public void Password_PROPERTY_READ_WRITE()
{
try
{
[Description("Tests Tizen.Account.OAuth2.TokenRequest class")]
public class TokenRequestTests
{
- private static TokenRequest[] _requests;
- static bool isOAuth2Supported = false;
+ private TokenRequest[] _requests;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_requests = null;
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void TokenRequest_INIT()
+ public void TokenRequest_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void GrantType_PROPERTY_READ_ONLY()
+ public void GrantType_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void ClientSecrets_PROPERTY_READ_WRITE()
+ public void ClientSecrets_PROPERTY_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void TokenEndpoint_PROPERTY_READ_WRITE()
+ public void TokenEndpoint_PROPERTY_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void RedirectionEndPoint_PROPERTY_READ_WRITE()
+ public void RedirectionEndPoint_PROPERTY_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void Scopes_PROPERTY_READ_WRITE()
+ public void Scopes_PROPERTY_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void CustomData_PROPERTY_READ_WRITE()
+ public void CustomData_PROPERTY_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void AuthenticationScheme_PROPERTY_GET_ENUM_AUTHENTICATIONSCHEME_BASIC()
+ public void AuthenticationScheme_PROPERTY_GET_ENUM_AUTHENTICATIONSCHEME_BASIC()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void AuthenticationScheme_PROPERTY_SET_GET_ENUM_AUTHENTICATIONSCHEME_BASIC()
+ public void AuthenticationScheme_PROPERTY_SET_GET_ENUM_AUTHENTICATIONSCHEME_BASIC()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void AuthenticationScheme_PROPERTY_SET_GET_ENUM_AUTHENTICATIONSCHEME_DIGEST()
+ public void AuthenticationScheme_PROPERTY_SET_GET_ENUM_AUTHENTICATIONSCHEME_DIGEST()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void AuthenticationScheme_PROPERTY_SET_GET_ENUM_AUTHENTICATIONSCHEME_REQUESTBODY()
+ public void AuthenticationScheme_PROPERTY_SET_GET_ENUM_AUTHENTICATIONSCHEME_REQUESTBODY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static void State_PROPERTY_READ_WRITE()
+ public void State_PROPERTY_READ_WRITE()
{
/*
* PRECONDITION
[Description("Tests Tizen.Account.OAuth2.TokenResponse class")]
public class TokenResponseTests
{
- static bool isOAuth2Supported = false;
+ bool isOAuth2Supported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
// check whether feature is supported or not.
Information.TryGetValue("http://tizen.org/feature/oauth2", out isOAuth2Supported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task AccessToken_PROPERTY_READ_ONLY()
+ public async Task AccessToken_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task State_PROPERTY_READ_ONLY()
+ public async Task State_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task RefreshToken_PROPERTY_READ_ONLY()
+ public async Task RefreshToken_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jyothi Kumar Sambolu, s.jyothi@samsung.com")]
- public static async Task GetCustomValue_RETURN_TYPE()
+ public async Task GetCustomValue_RETURN_TYPE()
{
try
{
namespace Tizen.Account.OAuth2.Tests
{
- internal static class OAuth2Helper
+ internal class OAuth2Helper
{
internal const string CODE_GRANT_RESPONSE_TYPE_SPEC = "code";
internal const string IMPLICIT_GRANT_RESPONSE_TYPE_SPEC = "token";
public class PackageTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"GetSizeInformationAsync() for org.tizen.Application called successfully\"")]
[Postcondition(1, "Close the terminal.")]
- public static async Task GetSizeInformationAsync_RETURN_VALUE_EXTERNAL()
+ public async Task GetSizeInformationAsync_RETURN_VALUE_EXTERNAL()
{
if (!TestHelper.AvailableExternalStorage)
{
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"org.tizen.Application is installed at external storage\"")]
[Postcondition(1, "Close the terminal.")]
- public static async Task InstalledStorageType_GET_ENUM_EXTERNAL()
+ public async Task InstalledStorageType_GET_ENUM_EXTERNAL()
{
if (!TestHelper.AvailableExternalStorage)
{
public class PackageManagerTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"org.tizen.Application is installed at external storage\"")]
[Postcondition(1, "Close the terminal.")]
- public static async Task Move_ENUM_TPK_EXTERNAL()
+ public async Task Move_ENUM_TPK_EXTERNAL()
{
if (!TestHelper.AvailableExternalStorage)
{
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"org.tizen.Application is installed at internal storage\"")]
[Postcondition(1, "Close the terminal.")]
- public static async Task Move_ENUM_TPK_INTERNAL()
+ public async Task Move_ENUM_TPK_INTERNAL()
{
if (!TestHelper.AvailableExternalStorage)
{
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"e59UAykA8s is installed at external storage\"")]
[Postcondition(1, "Close the terminal.")]
- public static async Task Move_ENUM_WGT_EXTERNAL()
+ public async Task Move_ENUM_WGT_EXTERNAL()
{
if (!TestHelper.AvailableExternalStorage)
{
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"e59UAykA8s is installed at internal storage\"")]
[Postcondition(1, "Close the terminal.")]
- public static async Task Move_ENUM_WGT_INTERNAL()
+ public async Task Move_ENUM_WGT_INTERNAL()
{
if (!TestHelper.AvailableExternalStorage)
{
[Description("Tizen.Applications.PackageSizeInformation test")]
public class PackageSizeInformationTests
{
- private static String _pkgid = "org.tizen.Application";
+ private String _pkgid = "org.tizen.Application";
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"ExternalDataSize of org.tizen.Application: 0\"")]
[Postcondition(1, "Close the terminal.")]
- public static async Task ExternalDataSize_READ_ONLY()
+ public async Task ExternalDataSize_READ_ONLY()
{
if (!TestHelper.AvailableExternalStorage)
{
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"ExternalCacheSize of org.tizen.Application: 0\"")]
[Postcondition(1, "Close the terminal.")]
- public static async Task ExternalCacheSize_READ_ONLY()
+ public async Task ExternalCacheSize_READ_ONLY()
{
if (!TestHelper.AvailableExternalStorage)
{
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"ExternalAppSize of org.tizen.Application: 5242880\"")]
[Postcondition(1, "Close the terminal.")]
- public static async Task ExternalAppSize_READ_ONLY()
+ public async Task ExternalAppSize_READ_ONLY()
{
if (!TestHelper.AvailableExternalStorage)
{
namespace Tizen.Applications.Tests
{
- internal static class TestData
+ internal class TestData
{
internal static string LogTag = "Tizen.PackageManager.Manual.Tests";
internal static string TpkPkgId = "org.tizen.Application";
internal static long ExternalAppSize = 0;
}
- internal static class TestHelper
+ internal class TestHelper
{
private static bool ExternalStorageAvailable = false;
private static TestPage _testPage = TestPage.GetInstance();
[Description("Tizen.Applications.Package test class")]
public class PackageTests
{
- private static Package TpkPackage = null;
- private static Package WgtPackage = null;
+ private Package TpkPackage = null;
+ private Package WgtPackage = null;
[TestFixtureSetUp]
- public static void Init()
+ public void Init()
{
TpkPackage = TestHelper.TpkPackage;
WgtPackage = TestHelper.WgtPackage;
}
[TestFixtureTearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void GetApplications_RETURN_VALUE()
+ public void GetApplications_RETURN_VALUE()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghyun Yeon, jungh.yeon@samsung.com")]
- public static void CompareCertInfo_RETURN_VALUE()
+ public void CompareCertInfo_RETURN_VALUE()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "PRECONDITION: Test package list should not be empty");
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.ApplicationType")]
- public static void GetApplications_ENUM_ALL()
+ public void GetApplications_ENUM_ALL()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: testPackage should not be null");
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.ApplicationType")]
- public static void GetApplications_ENUM_UI()
+ public void GetApplications_ENUM_UI()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: testPackage should not be null");
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.ApplicationType")]
- public static void GetApplications_ENUM_SERVICE()
+ public void GetApplications_ENUM_SERVICE()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task GetSizeInformationAsync_RETURN_VALUE_INTERNAL()
+ public async Task GetSizeInformationAsync_RETURN_VALUE_INTERNAL()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: tpk testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task GetSizeInformationAsync_RETURN_VALUE_EXTERNAL()
+ public async Task GetSizeInformationAsync_RETURN_VALUE_EXTERNAL()
{
// PRECONDITION
if (!TestHelper.AvailableExternalStorage)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Id_READ_ONLY()
+ public void Id_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: tpk testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Label_READ_ONLY()
+ public void Label_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: tpk testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void IconPath_READ_ONLY()
+ public void IconPath_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: tpk testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Version_READ_ONLY()
+ public void Version_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: tpk testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void PackageType_GET_ENUM_ALL()
+ public void PackageType_GET_ENUM_ALL()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: tpk testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void InstalledStorageType_GET_ENUM_INTERNAL()
+ public void InstalledStorageType_GET_ENUM_INTERNAL()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: tpk testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void InstalledStorageType_GET_ENUM_EXTERNAL()
+ public void InstalledStorageType_GET_ENUM_EXTERNAL()
{
// PRECONDITION
if (!TestHelper.AvailableExternalStorage)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void RootPath_READ_ONLY()
+ public void RootPath_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: tpk testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void TizenExpansionPackageName_READ_ONLY()
+ public void TizenExpansionPackageName_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: tpk testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void IsSystemPackage_READ_ONLY()
+ public void IsSystemPackage_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: tpk testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void IsRemovable_READ_ONLY()
+ public void IsRemovable_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: tpk testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void IsPreloaded_READ_ONLY()
+ public void IsPreloaded_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: tpk testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void IsAccessible_READ_ONLY()
+ public void IsAccessible_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: tpk testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Certificates_READ_ONLY()
+ public void Certificates_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Privileges_READ_ONLY()
+ public void Privileges_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: testPackage should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void InstalledTime_READ_ONLY()
+ public void InstalledTime_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(TpkPackage, "Precondition failed: testPackage should not be null");
[Description("Tizen.Applications.PackageCertificate test class")]
public class PackageCertificateTests
{
- private static Package _tpkPackage = null;
- private static PackageCertificate _authorCertificate = null;
- private static PackageCertificate _distributorCertificate = null;
+ private Package _tpkPackage = null;
+ private PackageCertificate _authorCertificate = null;
+ private PackageCertificate _distributorCertificate = null;
[TestFixtureSetUp]
- public static void Init()
+ public void Init()
{
_tpkPackage = TestHelper.TpkPackage;
Assert.IsNotNull(_tpkPackage, "PRECONDITION: Failed to get TpkPackage for test");
}
[TestFixtureTearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Root_READ_ONLY()
+ public void Root_READ_ONLY()
{
//PRECONDITION
Assert.IsNotNull(_authorCertificate, "PRECONDITION: Failed to get author certificate instance for test");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Intermediate_READ_ONLY()
+ public void Intermediate_READ_ONLY()
{
//PRECONDITION
Assert.IsNotNull(_authorCertificate, "PRECONDITION: Failed to get author certificate instance for test");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Signer_READ_ONLY()
+ public void Signer_READ_ONLY()
{
//PRECONDITION
Assert.IsNotNull(_authorCertificate, "PRECONDITION: Failed to get author certificate instance for test");
public class PackageFilterTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void PackageFilter_INIT()
+ public void PackageFilter_INIT()
{
// TEST CODE
PackageFilter filter = new PackageFilter();
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.IDictionary<string,bool>")]
- public static void PackageFilter_INIT_WITH_FILTER()
+ public void PackageFilter_INIT_WITH_FILTER()
{
// TEST CODE
Dictionary<string, bool> filters = new Dictionary<string, bool>();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Filters_READ_ONLY()
+ public void Filters_READ_ONLY()
{
// TEST CODE
Dictionary<string, bool> filters = new Dictionary<string, bool>();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Keys_READ_ONLY()
+ public void Keys_READ_ONLY()
{
string disable = "PMINFO_PKGINFO_PROP_PACKAGE_DISABLE";
string preload = "PMINFO_PKGINFO_PROP_PACKAGE_PRELOAD";
private const string TepResourcePkgPath3 = "/home/owner/share/res/tepresource-hashvalue03.tep";
private const string TepResourcePkgPath4 = "/home/owner/share/res/tepresource-hashvalue04.tep";
- private static EventHandler<PackageManagerEventArgs> _installProgressCallback;
- private static EventHandler<PackageManagerEventArgs> _updateProgressCallback;
- private static EventHandler<PackageManagerEventArgs> _uninstallProgressCallback;
- private static EventHandler<PackageManagerEventArgs> _moveProgressCallback;
- private static EventHandler<PackageManagerEventArgs> _clearDataProgressCallback;
+ private EventHandler<PackageManagerEventArgs> _installProgressCallback;
+ private EventHandler<PackageManagerEventArgs> _updateProgressCallback;
+ private EventHandler<PackageManagerEventArgs> _uninstallProgressCallback;
+ private EventHandler<PackageManagerEventArgs> _moveProgressCallback;
+ private EventHandler<PackageManagerEventArgs> _clearDataProgressCallback;
[TestFixtureSetUp]
- public static void Init()
+ public void Init()
{
}
[TestFixtureTearDown]
- public static void Destroy()
+ public void Destroy()
{
}
- internal static string PackagePath(string packageId, PackageType type)
+ internal string PackagePath(string packageId, PackageType type)
{
return string.Format("/home/owner/share/res/{0}.{1}", packageId, type.ToString().ToLower());
}
- internal static void Debug(string msg)
+ internal void Debug(string msg)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, msg);
}
- internal static bool IsInstalled(string packageId)
+ internal bool IsInstalled(string packageId)
{
try
{
}
}
- private static async Task<bool> Install(string packagePath, string tepPath, PackageType packageType)
+ private async Task<bool> Install(string packagePath, string tepPath, PackageType packageType)
{
WaitHelper WaitHandle = new WaitHelper();
_installProgressCallback = (s, e) =>
return result;
}
- private static async Task<bool> InstallWithCb(string packagePath, string tepPath, PackageType packageType)
+ private async Task<bool> InstallWithCb(string packagePath, string tepPath, PackageType packageType)
{
WaitHelper WaitHandle = new WaitHelper();
PackageManager.RequestEventCallback InstallRequestCallback = (type, pkgid, eventType, eventState, progress) =>
return result;
}
- private static async Task<bool> Uninstall(string packageId, PackageType packageType)
+ private async Task<bool> Uninstall(string packageId, PackageType packageType)
{
WaitHelper WaitHandle = new WaitHelper();
_uninstallProgressCallback = (s, e) =>
return result;
}
- private static async Task<bool> UninstallWithCb(string packageId, PackageType packageType)
+ private async Task<bool> UninstallWithCb(string packageId, PackageType packageType)
{
WaitHelper WaitHandle = new WaitHelper();
PackageManager.RequestEventCallback UninstallRequestCallback = (type, pkgid, eventType, eventState, progress) =>
return result;
}
- private static async Task<bool> Move(string packageId, PackageType packageType, StorageType storageType)
+ private async Task<bool> Move(string packageId, PackageType packageType, StorageType storageType)
{
WaitHelper WaitHandle = new WaitHelper();
_moveProgressCallback = (s, e) =>
return result; // pass value returned from Install API to caller
}
- private static async Task<bool> MoveWithCb(string packageId, PackageType packageType, StorageType storageType)
+ private async Task<bool> MoveWithCb(string packageId, PackageType packageType, StorageType storageType)
{
WaitHelper WaitHandle = new WaitHelper();
PackageManager.RequestEventCallback MoveRequestCallback = (type, pkgid, eventType, eventState, progress) =>
return result; // pass value returned from Install API to caller
}
- private static async Task<bool> ClearDataDirectory(string packagId)
+ private async Task<bool> ClearDataDirectory(string packagId)
{
WaitHelper WaitHandle = new WaitHelper();
_clearDataProgressCallback = (s, e) =>
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jongmyoeng Ko, jongmyeong.ko@samsung.com")]
- public static async Task ClearCacheDirectory_RETURN_VALUE()
+ public async Task ClearCacheDirectory_RETURN_VALUE()
{
// PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jongmyeong Ko, jongmyeong.ko@samsung.com")]
- public static async Task ClearDataDirectory_RETURN_VALUE()
+ public async Task ClearDataDirectory_RETURN_VALUE()
{
// PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task ClearAllCacheDirectory_RETURN_VALUE()
+ public async Task ClearAllCacheDirectory_RETURN_VALUE()
{
// PRECONDITION
// 1. This test optionaly requires some applications installed on SD card to test if external cache gettting cleared properly
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void GetPackageIdByApplicationId_RETURN_VALUE()
+ public void GetPackageIdByApplicationId_RETURN_VALUE()
{
// PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void GetPackage_RETURN_VALUE()
+ public void GetPackage_RETURN_VALUE()
{
// PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void GetPackages_RETURN_VALUE()
+ public void GetPackages_RETURN_VALUE()
{
// TEST CODE
var pkgList = PackageManager.GetPackages();
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.PackageFilter")]
- public static void GetPackages_filters_RETURN_VALUE()
+ public void GetPackages_filters_RETURN_VALUE()
{
// PRECONDITION
Dictionary<string, bool> filters = new Dictionary<string, bool>();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task GetTotalSizeInformationAsync_RETURN_VALUE()
+ public async Task GetTotalSizeInformationAsync_RETURN_VALUE()
{
// TEST CODE
var sizeInfo = await PackageManager.GetTotalSizeInformationAsync();
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string")]
- public static async Task Install_TPK()
+ public async Task Install_TPK()
{
// PRECONDITION
// 1. Given package must not be installed on test device, if so then uninstall it
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static async Task Install_TPK_WITH_TEP()
+ public async Task Install_TPK_WITH_TEP()
{
// PRECONDITION
// 1. Given package must not be installed on test device, if so then uninstall it
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string, Tizen.Applications.PackageType")]
- public static async Task Install_TPK_WITH_TYPE()
+ public async Task Install_TPK_WITH_TYPE()
{
// PRECONDITION
// 1. Given package must not be installed on test device, if so then uninstall it
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongmyeong Ko, jongmyeong.ko@samsung.com")]
[Property("COVPARAM", "string, string, Tizen.Applications.PackageType")]
- public static async Task Install_TPK_WITH_TEP_AND_TYPE()
+ public async Task Install_TPK_WITH_TEP_AND_TYPE()
{
// PRECONDITION
// 1. Given package must not be installed on test device, if so then uninstall it
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string")]
- public static async Task Install_WGT()
+ public async Task Install_WGT()
{
// PRECONDITION
// 1. Test package must not be installed on test device, if so then uninstall it
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Jongmyeong Ko, jongmyeong.ko@samsung.com")]
- public static async Task RequestEventCallback_CHECK_INVOKE()
+ public async Task RequestEventCallback_CHECK_INVOKE()
{
//TEST CODE
bool is_invoked = false;
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongmyeong Ko, jongmyeong.ko@samsung.com")]
[Property("COVPARAM", "string, RequestEventCallback")]
- public static async Task Install_TPK_WITH_CB()
+ public async Task Install_TPK_WITH_CB()
{
// PRECONDITION
// 1. Given package must not be installed on test device, if so then uninstall it
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongmyeong Ko, jongmyeong.ko@samsung.com")]
[Property("COVPARAM", "string, string, RequestEventCallback")]
- public static async Task Install_TPK_WITH_CB_AND_TEP()
+ public async Task Install_TPK_WITH_CB_AND_TEP()
{
// PRECONDITION
// 1. Given package must not be installed on test device, if so then uninstall it
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongmyeong Ko, jongmyeong.ko@samsung.com")]
[Property("COVPARAM", "string, Tizen.Applications.PackageType, RequestEventCallback")]
- public static async Task Install_TPK_WITH_CB_AND_TYPE()
+ public async Task Install_TPK_WITH_CB_AND_TYPE()
{
// PRECONDITION
// 1. Given package must not be installed on test device, if so then uninstall it
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jongmyeong Ko, jongmyeong.ko@samsung.com")]
[Property("COVPARAM", "string, string, Tizen.Applications.PackageType, RequestEventCallback")]
- public static async Task Install_TPK_WITH_CB_AND_TEP_AND_TYPE()
+ public async Task Install_TPK_WITH_CB_AND_TEP_AND_TYPE()
{
// PRECONDITION
// 1. Given package must not be installed on test device, if so then uninstall it
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Jongmyeong Ko, jongmyeong.ko@samsung.com")]
[Property("COVPARAM", "string")]
- public static async Task Uninstall_TPK()
+ public async Task Uninstall_TPK()
{
// PRECONDITION
// 1. Test package must be installed on test device, if not then install it
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string, Tizen.Applications.PackageType")]
- public static async Task Uninstall_TPK_WITH_TYPE()
+ public async Task Uninstall_TPK_WITH_TYPE()
{
// PRECONDITION
// 1. Test package must be installed on test device, if not then install it
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string")]
- public static async Task Uninstall_WGT()
+ public async Task Uninstall_WGT()
{
// PRECONDITION
// 1. Test package must be installed on test device, if not then install it
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Jongmyeong Ko, jongmyeong.ko@samsung.com")]
[Property("COVPARAM", "string, RequestEventCallback")]
- public static async Task Uninstall_TPK_WITH_CB()
+ public async Task Uninstall_TPK_WITH_CB()
{
// PRECONDITION
// 1. Test package must be installed on test device, if not then install it
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Jongmyeong Ko, jongmyeong.ko@samsung.com")]
[Property("COVPARAM", "string, Tizen.Applications.PackageType, RequestEventCallback")]
- public static async Task Uninstall_TPK_WITH_CB_AND_TYPE()
+ public async Task Uninstall_TPK_WITH_CB_AND_TYPE()
{
// PRECONDITION
// 1. Test package must be installed on test device, if not then install it
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Jongmyeong Ko, jongmyeong.ko@samsung.com")]
[Property("COVPARAM", "string, Tizen.Applications.StorageType")]
- public static async Task Move_TPK()
+ public async Task Move_TPK()
{
// PRECONDITION
if (!TestHelper.AvailableExternalStorage)
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string, Tizen.Applications.PackageType, Tizen.Applications.StorageType")]
- public static async Task Move_TPK_WITH_TYPE()
+ public async Task Move_TPK_WITH_TYPE()
{
// PRECONDITION
if (!TestHelper.AvailableExternalStorage)
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
[Property("COVPARAM", "string, Tizen.Applications.StorageType")]
- public static async Task Move_WGT()
+ public async Task Move_WGT()
{
// PRECONDITION
if (!TestHelper.AvailableExternalStorage)
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Jongmyeong Ko, jongmyeong.ko@samsung.com")]
[Property("COVPARAM", "string, Tizen.Applications.StorageType, RequestEventCallback")]
- public static async Task Move_TPK_WITH_CB()
+ public async Task Move_TPK_WITH_CB()
{
// PRECONDITION
if (!TestHelper.AvailableExternalStorage)
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Jongmyeong Ko, jongmyeong.ko@samsung.com")]
[Property("COVPARAM", "string, Tizen.Applications.PackageType, Tizen.Applications.StorageType, RequestEventCallback")]
- public static async Task Move_TPK_WITH_CB_AND_TYPE()
+ public async Task Move_TPK_WITH_CB_AND_TYPE()
{
// PRECONDITION
if (!TestHelper.AvailableExternalStorage)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task InstallProgressChanged_CHECK_EVENT()
+ public async Task InstallProgressChanged_CHECK_EVENT()
{
// PRECONDITION
// 1. Test package must not be installed on test device, if so then uninstall it
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task UpdateProgressChanged_CHECK_EVENT()
+ public async Task UpdateProgressChanged_CHECK_EVENT()
{
// PRECONDITION
// 1. Test package must be installed on test device, if not then install it
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Jongmyeong Ko, jongmyeong.ko@samsung.com")]
- public static async Task ClearDataProgressChanged_CHECK_EVENT()
+ public async Task ClearDataProgressChanged_CHECK_EVENT()
{
// PRECONDITION
// 1. Test package must be installed on test device, if not then install it
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task UninstallProgressChanged_CHECK_EVENT()
+ public async Task UninstallProgressChanged_CHECK_EVENT()
{
// PRECONDITION
// 1. Test package must be installed on test device, if not then install it
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Jongmyeong Ko, jongmyeong.ko@samsung.com")]
- public static async Task MoveProgressChanged_CHECK_EVENT()
+ public async Task MoveProgressChanged_CHECK_EVENT()
{
// PRECONDITION
if (!TestHelper.AvailableExternalStorage)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghyun Yeon, jungh.yeon@samsung.com")]
- public static void CompareCertInfo_RETURN_VALUE()
+ public void CompareCertInfo_RETURN_VALUE()
{
// PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghyun Yeon, jungh.yeon@samsung.com")]
- public static void GetPermissionTypeByApplicationId_RETURN_VALUE()
+ public void GetPermissionTypeByApplicationId_RETURN_VALUE()
{
// PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghyun Yeon, jungh.yeon@samsung.com")]
- public static void IsPreloadPackageByApplicationId_RETURN_VALUE()
+ public void IsPreloadPackageByApplicationId_RETURN_VALUE()
{
// PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Junghyun Yeon, jungh.yeon@samsung.com")]
- public static void CompareCertInfoByApplicationId_RETURN_VALUE()
+ public void CompareCertInfoByApplicationId_RETURN_VALUE()
{
// PRECONDITION
[Description("Tizen.Applications.PackageManagerEventArgs test class")]
public class PackageManagerEventArgsTests
{
- private static string _tpkTestPkg = "/home/owner/share/res/tpkeventtest.tpk";
- private static string _tpkTestPkgCracked = "/home/owner/share/res/tpkeventcracked.tpk";
- private static string _wgtTestPkg = "/home/owner/share/res/WgtEventTest.wgt";
- private static string _tpkTestPkgId = "tpkeventtest";
- private static string _tpkTestPkgIdCracked = "tpkeventcracked";
- private static string _wgtTestPkgId = "xH6k3uceAf";
-
- private static bool _waitFlag = false;
- private static List<PackageManagerEventArgs> _testEventArgsList = new List<PackageManagerEventArgs>();
- private static EventHandler<PackageManagerEventArgs> _eventArgsCallback;
- private static EventHandler<PackageManagerEventArgs> _eventArgsCallbackForFail;
-
- private static bool _initialized = false;
- private static PackageManagerEventArgs _eventArgStarted;
- private static PackageManagerEventArgs _eventArgProcessing;
- private static PackageManagerEventArgs _eventArgFailed;
- private static PackageManagerEventArgs _eventArgCompleted;
- private static PackageManagerEventArgs _tpkEventArg;
- private static PackageManagerEventArgs _wgtEventArg;
-
- private static void Debug(string msg)
+ private string _tpkTestPkg = "/home/owner/share/res/tpkeventtest.tpk";
+ private string _tpkTestPkgCracked = "/home/owner/share/res/tpkeventcracked.tpk";
+ private string _wgtTestPkg = "/home/owner/share/res/WgtEventTest.wgt";
+ private string _tpkTestPkgId = "tpkeventtest";
+ private string _tpkTestPkgIdCracked = "tpkeventcracked";
+ private string _wgtTestPkgId = "xH6k3uceAf";
+
+ private bool _waitFlag = false;
+ private List<PackageManagerEventArgs> _testEventArgsList = new List<PackageManagerEventArgs>();
+ private EventHandler<PackageManagerEventArgs> _eventArgsCallback;
+ private EventHandler<PackageManagerEventArgs> _eventArgsCallbackForFail;
+
+ private bool _initialized = false;
+ private PackageManagerEventArgs _eventArgStarted;
+ private PackageManagerEventArgs _eventArgProcessing;
+ private PackageManagerEventArgs _eventArgFailed;
+ private PackageManagerEventArgs _eventArgCompleted;
+ private PackageManagerEventArgs _tpkEventArg;
+ private PackageManagerEventArgs _wgtEventArg;
+
+ private void Debug(string msg)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, msg);
}
- private static async Task WaitForEvent(int timeInSeconds)
+ private async Task WaitForEvent(int timeInSeconds)
{
int count = 0;
while (true)
}
}
- private static async Task EventTests(string pkgPath, string pkgid, PackageType type)
+ private async Task EventTests(string pkgPath, string pkgid, PackageType type)
{
// TEST CODE
WaitHelper waitHandle = new WaitHelper();
}
}
- static async Task EventTestsForFailCase()
+ async Task EventTestsForFailCase()
{
// TEST CODE
WaitHelper waitHandle = new WaitHelper();
PackageManager.InstallProgressChanged -= _eventArgsCallbackForFail;
}
- private static bool IsInstalled(string packageId)
+ private bool IsInstalled(string packageId)
{
try
{
}
}
- static async Task InitializeEventArgs()
+ async Task InitializeEventArgs()
{
if (_initialized) return;
await EventTests(_tpkTestPkg, _tpkTestPkgId, PackageType.TPK);
}
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task PackageType_GET_ENUM_PACKAGETYPE_TPK()
+ public async Task PackageType_GET_ENUM_PACKAGETYPE_TPK()
{
//PRECONDITION
await InitializeEventArgs();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task PackageType_GET_ENUM_PACKAGETYPE_WGT()
+ public async Task PackageType_GET_ENUM_PACKAGETYPE_WGT()
{
//PRECONDITION
await InitializeEventArgs();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task PackageId_READ_ONLY()
+ public async Task PackageId_READ_ONLY()
{
//PRECONDITION
await InitializeEventArgs();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task State_GET_ENUM_PACKAGEEVENTSTATE_STARTED()
+ public async Task State_GET_ENUM_PACKAGEEVENTSTATE_STARTED()
{
//PRECONDITION
await InitializeEventArgs();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task State_GET_ENUM_PACKAGEEVENTSTATE_PROCESSING()
+ public async Task State_GET_ENUM_PACKAGEEVENTSTATE_PROCESSING()
{
//PRECONDITION
await InitializeEventArgs();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task State_GET_ENUM_PACKAGEEVENTSTATE_COMPLETED()
+ public async Task State_GET_ENUM_PACKAGEEVENTSTATE_COMPLETED()
{
//PRECONDITION
await InitializeEventArgs();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task State_GET_ENUM_PACKAGEEVENTSTATE_FAILED()
+ public async Task State_GET_ENUM_PACKAGEEVENTSTATE_FAILED()
{
//PRECONDITION
await EventTestsForFailCase();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task Progress_READ_ONLY()
+ public async Task Progress_READ_ONLY()
{
//PRECONDITION
await InitializeEventArgs();
[Description("Tizen.Applications.PackageSizeInformation test class")]
public class PackageSizeInformationTests
{
- private static Package _tpkPackage = null;
- private static Package _wgtPackage = null;
- private static PackageSizeInformation _SizeInformation = null;
- private static PackageSizeInformation _externalSizeInformation = null;
+ private Package _tpkPackage = null;
+ private Package _wgtPackage = null;
+ private PackageSizeInformation _SizeInformation = null;
+ private PackageSizeInformation _externalSizeInformation = null;
[TestFixtureSetUp]
- public static void Init()
+ public void Init()
{
_tpkPackage = TestHelper.TpkPackage;
Assert.IsNotNull(_tpkPackage, "PRECONDITION: Failed to get TpkPackage for test");
}
[TestFixtureTearDown]
- public static void Destroy()
+ public void Destroy()
{
}
- static async Task<PackageSizeInformation> TpkSizeInformation()
+ async Task<PackageSizeInformation> TpkSizeInformation()
{
if (_SizeInformation == null)
{
return _SizeInformation;
}
- static async Task<PackageSizeInformation> WgtSizeInformation()
+ async Task<PackageSizeInformation> WgtSizeInformation()
{
if (_externalSizeInformation == null)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task DataSize_READ_ONLY()
+ public async Task DataSize_READ_ONLY()
{
// PRECONDITION
var sizeInformation = await TpkSizeInformation();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task CacheSize_READ_ONLY()
+ public async Task CacheSize_READ_ONLY()
{
// PRECONDITION
var sizeInformation = await TpkSizeInformation();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task AppSize_READ_ONLY()
+ public async Task AppSize_READ_ONLY()
{
// PRECONDITION
var sizeInformation = await TpkSizeInformation();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task ExternalDataSize_READ_ONLY()
+ public async Task ExternalDataSize_READ_ONLY()
{
// PRECONDITION
if (!TestHelper.AvailableExternalStorage)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task ExternalCacheSize_READ_ONLY()
+ public async Task ExternalCacheSize_READ_ONLY()
{
// PRECONDITION
if (!TestHelper.AvailableExternalStorage)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static async Task ExternalAppSize_READ_ONLY()
+ public async Task ExternalAppSize_READ_ONLY()
{
// PRECONDITION
if (!TestHelper.AvailableExternalStorage)
}
}
- public static class TestHelper
+ public class TestHelper
{
private static bool ExternalStorageAvailable;
}
}
- internal static class TpkTestData
+ internal class TpkTestData
{
internal static string Id = "tpkpkgtest";
internal static string AppId = "tpkpkgtest";
internal static int AllAppCount = 2;
}
- internal static class WgtTestData
+ internal class WgtTestData
{
internal static string Id = "JGvAAJHzxu";
internal static string AppId = "JGvAAJHzxu.WgtPkgTest";
[Description("Tizen.PhonenumberUtils.PhonenumberUtils Tests")]
public class PhonenumberUtilsTests
{
- static PhonenumberUtils utils = null;
- static bool isTelephonySupported = false;
- static private string _number = "01012345678";
+ PhonenumberUtils utils = null;
+ bool isTelephonySupported = false;
+ private string _number = "01012345678";
[OneTimeSetUp]
public void OneTimeInit()
/// <summary>
/// Holds privilege that will be tested
/// </summary>
- private static string _privilege;
+ private string _privilege;
/// <summary>
/// Holds Correct method return value
/// </summary>
- private static CheckResult _correctResult;
+ private CheckResult _correctResult;
/// <summary>
/// Initializes environment before TCT test runs.
/// </summary>
[SetUp]
- public static void Init()
+ public void Init()
{
if (Profile.GetProfile().CompareTo(Profile.MobileProfile) != 0)
{
/// <summary>
/// Checks Privileges status and displays results.
/// </summary>
- private static void Check()
+ private void Check()
{
foreach (string privilege in Constans.Privileges)
{
/// <summary>
/// Checks Privilege status and displays results.
/// </summary>
- private static void CheckSinglePrivilege()
+ private void CheckSinglePrivilege()
{
CheckResult result = TestBase.CheckPermission(_privilege);
string labelText = "Execute number: " + executeCount++ + " Privilege: \n" + _privilege + "\nStatus: " + result;
/// </summary>
/// <param name="sender">Sender</param>
/// <param name="e">Event arguments</param>
- private static void OnClick(object sender, EventArgs e)
+ private void OnClick(object sender, EventArgs e)
{
CheckSinglePrivilege();
}
/// </summary>
/// <param name="sender">Sender</param>
/// <param name="e">Event arguments</param>
- private static void OnClickMultiplePrivileges(object sender, EventArgs e)
+ private void OnClickMultiplePrivileges(object sender, EventArgs e)
{
Check();
}
[Step(4, " Good output: Privilege:\nhttp://tizen.org/privilege/account.read\nStatus: Ask")]
[Step(5, " Good output: Privilege:\nhttp://tizen.org/privilege/account.write\nStatus: Ask")]
[Step(6, " Good output: Privilege:\nhttp://tizen.org/privilege/call\nStatus: Ask")]
- public static async Task CheckPermission_REAL_PRIVILEGES()
+ public async Task CheckPermission_REAL_PRIVILEGES()
{
CreateLayout();
_button.Clicked += OnClickMultiplePrivileges;
[Step(3, " Check Logs output (inside program)")]
[Step(4, " Good output: Privilege:\nIamVeryLongStringIamVeryLongStringIamVeryLongStringIamVeryLongStringIamVeryLongStringIamVeryLongStringIamVeryLongStringIamVeryLongStringIamVeryLongStringIamVeryLongString\nStatus: Deny")]
[Postcondition(1, "NA")]
- public static async Task CheckPermission_LONG_STRING()
+ public async Task CheckPermission_LONG_STRING()
{
CreateLayout();
_privilege = Constans.LongString;
[Step(3, " Check Logs output (inside program)")]
[Step(4, " Good output: Privilege:\n\nStatus: Deny\nCan not check permission for .\nException message: Invalid parameter")]
[Postcondition(1, "NA")]
- public static async Task CheckPermission_STRING_EMPTY()
+ public async Task CheckPermission_STRING_EMPTY()
{
CreateLayout();
_privilege = Constans.Empty;
[Step(3, " Check Logs output (inside program)")]
[Step(4, " Good output: Privilege:\nrandom_string\nStatus: Deny\n")]
[Postcondition(1, "NA")]
- public static async Task CheckPermission_NON_EXISTING()
+ public async Task CheckPermission_NON_EXISTING()
{
CreateLayout();
_privilege = Constans.NoExisting;
[Step(3, " Check Logs output (inside program)")]
[Step(4, " Good output: Privilege:\nHttp://TIZen.Org/PrIVIlege/AccOunt.Read\nStatus: Deny\n")]
[Postcondition(1, "NA")]
- public static async Task CheckPermission_RANDOM_LETTER_CASE_PRIVILEGE()
+ public async Task CheckPermission_RANDOM_LETTER_CASE_PRIVILEGE()
{
CreateLayout();
_privilege = Constans.RandomLetterCasePrivilege;
[Step(3, " Check Logs output (inside program)")]
[Step(4, " Good output: Privilege:\n#@!$%^&*()+-_[]{}'\"\\|/.,;:?<>'`~\nStatus: Deny\n")]
[Postcondition(1, "NA")]
- public static async Task CheckPermission_SPECIAL_CHARACTERS()
+ public async Task CheckPermission_SPECIAL_CHARACTERS()
{
CreateLayout();
_privilege = Constans.SpecialCharacters;
[Step(3, " Check Logs output (inside program)")]
[Step(4, " Good output: Privilege:\n\nStatus: Deny\nCan not check permission for .\nException message: Invalid parameter")]
[Postcondition(1, "NA")]
- public static async Task CheckPermission_STRING_NULL()
+ public async Task CheckPermission_STRING_NULL()
{
CreateLayout();
_privilege = Constans.Null;
[Step(3, " Check Logs output (inside program)")]
[Step(4, " Good output: Privilege:\nHTTP://TIZEN.ORG/PRIVILEGE/ACCOUNT.READ\nStatus: Deny")]
[Postcondition(1, "NA")]
- public static async Task CheckPermission_UPPER_LETTER_CASE_PRIVILEGE()
+ public async Task CheckPermission_UPPER_LETTER_CASE_PRIVILEGE()
{
CreateLayout();
_privilege = Constans.UpperLetterCasePrivilege;
/// Initializes environment before TCT test runs.
/// </summary>
[SetUp]
- public static void Init()
+ public void Init()
{
if (Profile.GetProfile().CompareTo(Profile.MobileProfile) != 0)
{
/// Destroys event handlers after TCT test runs
/// </summary>
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
foreach (string privilege in Constans.Privileges)
/// </summary>
/// <param name="sender">Sender object</param>
/// <param name="e">Event arguments</param>
- private static void PPM_RequestResponse(object sender, RequestResponseEventArgs e)
+ private void PPM_RequestResponse(object sender, RequestResponseEventArgs e)
{
if (e.cause == CallCause.Answer)
{
/// Setups event handler for catching PrivilegeManager responses.
/// </summary>
/// <param name="privilege">Privilege name</param>
- private static void SetupPPMHandler(string privilege)
+ private void SetupPPMHandler(string privilege)
{
PrivacyPrivilegeManager.ResponseContext context = null;
if (PrivacyPrivilegeManager.GetResponseContext(privilege).TryGetTarget(out context))
/// </summary>
/// <param name="sender">Sender</param>
/// <param name="e">Event arguments</param>
- private static void OnClick(object sender, EventArgs e)
+ private void OnClick(object sender, EventArgs e)
{
Check();
}
/// <summary>
/// Checks Privileges status and displays results.
/// </summary>
- private static void Check()
+ private void Check()
{
foreach (string privilege in Constans.Privileges)
{
[Postcondition(3, " Open \"Privacy settings\"")]
[Postcondition(4, " Open \"Accounts\" and uncheck Tizen.Security.PrivacyManager")]
[Postcondition(5, " Open \"Call\" and uncheck Tizen.Security.PrivacyManager")]
- public static async Task ResponseFetched_GET_RESPONSE_CONTEXT()
+ public async Task ResponseFetched_GET_RESPONSE_CONTEXT()
{
CreateLayout();
_button.Clicked += OnClick;
[Postcondition(3, " Open \"Privacy settings\"")]
[Postcondition(4, " Open \"Accounts\" and uncheck Tizen.Security.PrivacyManager")]
[Postcondition(5, " Open \"Call\" and uncheck Tizen.Security.PrivacyManager")]
- public static async Task GetResponseContext_DENY_FOREVER()
+ public async Task GetResponseContext_DENY_FOREVER()
{
CreateLayout();
_button.Clicked += OnClick;
[Postcondition(3, " Open \"Privacy settings\"")]
[Postcondition(4, " Open \"Accounts\" and uncheck Tizen.Security.PrivacyManager")]
[Postcondition(5, " Open \"Call\" and uncheck Tizen.Security.PrivacyManager")]
- public static async Task GetResponseContext_DENY_ONCE()
+ public async Task GetResponseContext_DENY_ONCE()
{
CreateLayout();
_button.Clicked += OnClick;
/// <summary>
/// Holds privilege that will be tested
/// </summary>
- private static string _privilege;
+ private string _privilege;
/// <summary>
/// Initializes environment before TCT test runs.
/// </summary>
[SetUp]
- public static void Init()
+ public void Init()
{
if (Profile.GetProfile().CompareTo(Profile.MobileProfile) != 0)
{
/// </summary>
/// <param name="sender">Sender</param>
/// <param name="e">Event arguments</param>
- private static void OnClickMultiplePrivileges(object sender, EventArgs e)
+ private void OnClickMultiplePrivileges(object sender, EventArgs e)
{
Check();
}
/// </summary>
/// <param name="sender">Sender</param>
/// <param name="e">Event arguments</param>
- private static void OnClick(object sender, EventArgs e)
+ private void OnClick(object sender, EventArgs e)
{
CheckSinglePrivilege();
}
/// <summary>
/// Checks Privileges status and displays results.
/// </summary>
- private static void Check()
+ private void Check()
{
foreach (string privilege in Constans.Privileges)
{
/// <summary>
/// Checks Privileges status and displays results.
/// </summary>
- private static void CheckSinglePrivilege()
+ private void CheckSinglePrivilege()
{
CheckResult result = TestBase.CheckPermission(_privilege);
Color backgroundColor = Color.Red;
[Postcondition(3, " Open \"Privacy settings\"")]
[Postcondition(4, " Open \"Accounts\" and uncheck Tizen.Security.PrivacyManager")]
[Postcondition(5, " Open \"Call\" and uncheck Tizen.Security.PrivacyManager")]
- public static async Task RequestPermission_REAL_PRIVILEGES()
+ public async Task RequestPermission_REAL_PRIVILEGES()
{
CreateLayout();
_button.Clicked += OnClickMultiplePrivileges;
[Step(3, " Check Logs output (inside program)")]
[Step(4, " Good output: Privilege:\n\nStatus: Deny\nCan not check permission for .\nException message: Invalid parameter")]
[Postcondition(1, "NA")]
- public static async Task RequestPermission_STRING_EMPTY()
+ public async Task RequestPermission_STRING_EMPTY()
{
CreateLayout();
_privilege = Constans.Empty;
[Step(3, " Check Logs output (inside program)")]
[Step(4, " Good output: Privilege:\n\nStatus: Deny\nCan not check permission for IamVeryLongStringIamVeryLongStringIamVeryLongStringIamVeryLongStringIamVeryLongStringIamVeryLongStringIamVeryLongStringIamVeryLongStringIamVeryLongStringIamVeryLongString.\nException message: Invalid parameter")]
[Postcondition(1, "NA")]
- public static async Task RequestPermission_LONG_STRING()
+ public async Task RequestPermission_LONG_STRING()
{
CreateLayout();
_privilege = Constans.LongString;
[Step(3, " Check Logs output (inside program)")]
[Step(4, " Good output: Privilege:\n\nStatus: Deny\nCan not check permission for random_string.\nException message: Invalid parameter")]
[Postcondition(1, "NA")]
- public static async Task RequestPermission_NON_EXISTING()
+ public async Task RequestPermission_NON_EXISTING()
{
CreateLayout();
_privilege = Constans.NoExisting;
[Step(3, " Check Logs output (inside program)")]
[Step(4, " Good output: Privilege:\n\nStatus: Deny\nCan not check permission for Http://TIZen.Org/PrIVIlege/AccOunt.Read. \nException message: Invalid parameter")]
[Postcondition(1, "NA")]
- public static async Task RequestPermission_RANDOM_LETTER_CASE_PRIVILEGE()
+ public async Task RequestPermission_RANDOM_LETTER_CASE_PRIVILEGE()
{
CreateLayout();
_privilege = Constans.RandomLetterCasePrivilege;
[Step(3, " Check Logs output (inside program)")]
[Step(4, " Good output: Privilege:\n\nStatus: Deny\nCan not check permission for #@!$%^&*()+-_[]{}'\"\\|/.,;:?<>'`~.\nException message: Invalid parameter")]
[Postcondition(1, "NA")]
- public static async Task RequestPermission_SPECIAL_CHARACTERS()
+ public async Task RequestPermission_SPECIAL_CHARACTERS()
{
CreateLayout();
_privilege = Constans.SpecialCharacters;
[Step(3, " Check Logs output (inside program)")]
[Step(4, " Good output: Privilege:\n\nStatus: Deny\nCan not check permission for .\nException message: Invalid parameter")]
[Postcondition(1, "NA")]
- public static async Task RequestPermission_STRING_NULL()
+ public async Task RequestPermission_STRING_NULL()
{
CreateLayout();
_privilege = Constans.Null;
[Step(3, " Check Logs output (inside program)")]
[Step(4, " Good output: Privilege:\n\nStatus: Deny\nCan not check permission for HTTP://TIZEN.ORG/PRIVILEGE/ACCOUNT.READ. \nException message: Invalid parameter")]
[Postcondition(1, "NA")]
- public static async Task RequestPermission_UPPER_LETTER_CASE_PRIVILEGE()
+ public async Task RequestPermission_UPPER_LETTER_CASE_PRIVILEGE()
{
CreateLayout();
_privilege = Constans.UpperLetterCasePrivilege;
/// Initializes environment before TCT test runs.
/// </summary>
[SetUp]
- public static void Init()
+ public void Init()
{
if (Profile.GetProfile().CompareTo(Profile.MobileProfile) != 0)
{
[Step(1, "Click run TC")]
[Step(2, "Click button")]
[Postcondition(1, "NA")]
- public static void RequestResponseEventArgs_CONSTRUCTOR()
+ public void RequestResponseEventArgs_CONSTRUCTOR()
{
try
{
[Step(1, "Click run TC")]
[Step(2, "Click button")]
[Postcondition(1, "NA")]
- public static void cause_READ_ONLY()
+ public void cause_READ_ONLY()
{
try
{
[Step(1, "Click run TC")]
[Step(2, "Click button")]
[Postcondition(1, "NA")]
- public static void result_READ_ONLY()
+ public void result_READ_ONLY()
{
try
{
[Step(1, "Click run TC")]
[Step(2, "Click button")]
[Postcondition(1, "NA")]
- public static void privilege_READ_ONLY()
+ public void privilege_READ_ONLY()
{
try
{
/// <summary>
/// Holds TestPage instance
/// </summary>
- protected static TestPage _testPage = TestPage.GetInstance();
+ protected TestPage _testPage = TestPage.GetInstance();
/// <summary>
/// Holds Buton
/// </summary>
- protected static Button _button;
+ protected Button _button;
/// <summary>
/// Holds ListView
/// </summary>
- protected static ListView _listView;
+ protected ListView _listView;
/// <summary>
/// Holds list of Labels with logs
/// </summary>
- protected static ObservableCollection<Label> _UIlist;
+ protected ObservableCollection<Label> _UIlist;
/// <summary>
/// Holds execute number, enumerates every time user clicks button
/// </summary>
- protected static int executeCount = 1;
+ protected int executeCount = 1;
/// <summary>
/// Creates UI for test case.
/// </summary>
- protected static void CreateLayout()
+ protected void CreateLayout()
{
executeCount = 1;
[Description("Tizen.Security.Privilege Tests")]
public class PrivilegeTests {
- private static string internetPrivilege = "http://tizen.org/privilege/internet";
- private static string internetDisplayName = "Accessing Internet";
- private static string internetDescription = "This application can access the Internet. This may result in additional charges depending on your payment plan.";
+ private string internetPrivilege = "http://tizen.org/privilege/internet";
+ private string internetDisplayName = "Accessing Internet";
+ private string internetDescription = "This application can access the Internet. This may result in additional charges depending on your payment plan.";
- private static string notDefinedPrivilege = "http://tizen.org/privilege/notdefined";
- private static string notDefinedDisplayName = "notdefined";
- private static string notDefinedDescription = "This privilege is not defined.";
+ private string notDefinedPrivilege = "http://tizen.org/privilege/notdefined";
+ private string notDefinedDisplayName = "notdefined";
+ private string notDefinedDescription = "This privilege is not defined.";
- private static string accountPrivacyDisplayName = "Accounts";
- private static string accountReadPrivilege = "http://tizen.org/privilege/account.read";
- private static string contactReadPrivilege = "http://tizen.org/privilege/contact.read";
+ private string accountPrivacyDisplayName = "Accounts";
+ private string accountReadPrivilege = "http://tizen.org/privilege/account.read";
+ private string contactReadPrivilege = "http://tizen.org/privilege/contact.read";
- private static string apiVersion = "3.0";
- private static PackageType tpk = PackageType.TPK;
- private static PackageType wgt = PackageType.WGT;
+ private string apiVersion = "3.0";
+ private PackageType tpk = PackageType.TPK;
+ private PackageType wgt = PackageType.WGT;
- static bool isPrivacyPrivilegeSupported = true;
+ bool isPrivacyPrivilegeSupported = true;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/security.privacy_privilege", out isPrivacyPrivilegeSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static void GetDisplayName_RETURN_VALUE()
+ public void GetDisplayName_RETURN_VALUE()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
[Property("COVPARAM", "string, string, Tizen.Applications.PackageType")]
- public static void GetDisplayName_PACKAGETYPE_RETURN_VALUE()
+ public void GetDisplayName_PACKAGETYPE_RETURN_VALUE()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static void GetDisplayName_NOT_DEFINED_RETURN_VALUE()
+ public void GetDisplayName_NOT_DEFINED_RETURN_VALUE()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
[Property("COVPARAM", "string, string, Tizen.Applications.PackageType")]
- public static void GetDisplayName_PACKAGETYPE_NOT_DEFINED_RETURN_VALUE()
+ public void GetDisplayName_PACKAGETYPE_NOT_DEFINED_RETURN_VALUE()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static void GetDisplayName_NULL_PARAM()
+ public void GetDisplayName_NULL_PARAM()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
[Property("COVPARAM", "string, string, Tizen.Applications.PackageType")]
- public static void GetDisplayName_PACKAGETYPE_NULL_PARAM()
+ public void GetDisplayName_PACKAGETYPE_NULL_PARAM()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static void GetDescription_RETURN_VALUE()
+ public void GetDescription_RETURN_VALUE()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
[Property("COVPARAM", "string, string, Tizen.Applications.PackageType")]
- public static void GetDescription_PACKAGETYPE_RETURN_VALUE()
+ public void GetDescription_PACKAGETYPE_RETURN_VALUE()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static void GetDescription_NOT_DEFINED_RETURN_VALUE()
+ public void GetDescription_NOT_DEFINED_RETURN_VALUE()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
[Property("COVPARAM", "string, string, Tizen.Applications.PackageType")]
- public static void GetDescription_PACKAGETYPE_NOT_DEFINED_RETURN_VALUE()
+ public void GetDescription_PACKAGETYPE_NOT_DEFINED_RETURN_VALUE()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
[Property("COVPARAM", "string, string")]
- public static void GetDescription_NULL_PARAM()
+ public void GetDescription_NULL_PARAM()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
[Property("COVPARAM", "string, string, Tizen.Applications.PackageType")]
- public static void GetDescription_PACKAGETYPE_NULL_PARAM()
+ public void GetDescription_PACKAGETYPE_NULL_PARAM()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
- public static void GetPrivacyDisplayName_RETURN_VALUE()
+ public void GetPrivacyDisplayName_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
- public static void GetPrivacyDisplayName_NOT_PRIVACY()
+ public void GetPrivacyDisplayName_NOT_PRIVACY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
- public static void GetPrivacyDisplayName_NULL_PARAM()
+ public void GetPrivacyDisplayName_NULL_PARAM()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
- public static void GetPrivacyPrivilegeStatus_RETURN_VALUE_TRUE()
+ public void GetPrivacyPrivilegeStatus_RETURN_VALUE_TRUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
- public static void GetPrivacyPrivilegeStatus_RETURN_VALUE_FALSE()
+ public void GetPrivacyPrivilegeStatus_RETURN_VALUE_FALSE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
- public static void GetPrivacyPrivilegeStatus_NOT_PRIVACY()
+ public void GetPrivacyPrivilegeStatus_NOT_PRIVACY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Yunjin Lee, yunjin-.lee@samsung.com")]
- public static void GetPrivacyPrivilegeStatus_NULL_PARAM()
+ public void GetPrivacyPrivilegeStatus_NULL_PARAM()
{
try
{
{
[SetUp]
- public static void Init()
+ public void Init()
{
PushHelper.TestFlag = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void PushServiceConnect_NO_EXCEPTION()
+ public void PushServiceConnect_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void PushServiceDisconnect_NO_EXCEPTION()
+ public void PushServiceDisconnect_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void PushServiceConnect_PushServiceDisconnect_MULTIPLE_NO_EXCEPTION()
+ public void PushServiceConnect_PushServiceDisconnect_MULTIPLE_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task PushServerRegister_RETURN_VALUE()
+ public async Task PushServerRegister_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task PushServerRegister_InvalidOperationException()
+ public async Task PushServerRegister_InvalidOperationException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task PushServerUnregister_RETURN_VALUE()
+ public async Task PushServerUnregister_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task PushServerUnregister_InvalidOperationException()
+ public async Task PushServerUnregister_InvalidOperationException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task GetRegistrationId_RETURN_VALUE()
+ public async Task GetRegistrationId_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task GetUnreadNotifications_NO_EXCEPTION()
+ public async Task GetUnreadNotifications_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task NotificationReceived_CHECK_EVENT()
+ public async Task NotificationReceived_CHECK_EVENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task StateChanged_CHECK_EVENT()
+ public async Task StateChanged_CHECK_EVENT()
{
try
{
{
[SetUp]
- public static void Init()
+ public void Init()
{
PushHelper.TestFlag = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Error_PROPERTY_READ_ONLY()
+ public async Task Error_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task State_PROPERTY_READ_ONLY_ENUM_ALL()
+ public async Task State_PROPERTY_READ_ONLY_ENUM_ALL()
{
//TODO : need to simulate the other conditions, currently only Registered and Unregistered are supported in this TC
{
[SetUp]
- public static void Init()
+ public void Init()
{
PushHelper.TestFlag = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task AppData_PROPERTY_READ_ONLY()
+ public async Task AppData_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Message_PROPERTY_READ_ONLY()
+ public async Task Message_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task ReceivedAt_PROPERTY_READ_ONLY()
+ public async Task ReceivedAt_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task RequestId_PROPERTY_READ_ONLY()
+ public async Task RequestId_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Sender_PROPERTY_READ_ONLY()
+ public async Task Sender_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task SessionInfo_PROPERTY_READ_ONLY()
+ public async Task SessionInfo_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Type_PROPERTY_READ_ONLY()
+ public async Task Type_PROPERTY_READ_ONLY()
{
try
{
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task ServerMessage_PROPERTY_READ_ONLY()
+ public async Task ServerMessage_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task ServerResult_PROPERTY_READ_ONLY_ENUM_ALL()
+ public async Task ServerResult_PROPERTY_READ_ONLY_ENUM_ALL()
{
try
{
{
[TestFixture]
[Description("Test Tizen.Multimedia.RecorderInterruptingEventArgs class.")]
- public static class RecorderInterruptingEventArgsTests
+ public class RecorderInterruptingEventArgsTests
{
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Reason_PROPERTY_READ_ONLY()
+ public void Reason_PROPERTY_READ_ONLY()
{
AssertHelper.PropertyReadOnly<RecorderInterruptingEventArgs>(
nameof(RecorderInterruptingEventArgs.Reason));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void State_PROPERTY_READ_ONLY()
+ public void State_PROPERTY_READ_ONLY()
{
AssertHelper.PropertyReadOnly<RecorderInterruptingEventArgs>(
nameof(RecorderInterruptingEventArgs.State));
{
[TestFixture]
[Description("Test Tizen.Multimedia.RecordingErrorOccurredEventArgs class.")]
- public static class RecordingErrorOccurredEventArgsTests
+ public class RecordingErrorOccurredEventArgsTests
{
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "JungHo Kim, jhyo.kim@samsung.com")]
- public static void Error_PROPERTY_READ_ONLY()
+ public void Error_PROPERTY_READ_ONLY()
{
AssertHelper.PropertyReadOnly<RecordingErrorOccurredEventArgs>(
nameof(RecordingErrorOccurredEventArgs.Error));
private RecorderVideoCodec? _notSupportedVideoCodec;
private RecorderFileFormat? _notSupportedFileFormat;
- private static IEnumerable<T> GetEnumValues<T>()
+ private IEnumerable<T> GetEnumValues<T>()
{
return Enum.GetValues(typeof(T)).Cast<T>();
}
[Description("RemoteView Tests")]
public class RemoteViewTests
{
- private static string _widgetId = "org.tizen.WidgetApp";
- private static string _content = "RemoteViewTests";
- private static Window _window;
- private static Background _background;
- private static RemoteView _remoteView;
- private static double _period = 0;
+ private string _widgetId = "org.tizen.WidgetApp";
+ private string _content = "RemoteViewTests";
+ private Window _window;
+ private Background _background;
+ private RemoteView _remoteView;
+ private double _period = 0;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug("[TCT]", "START");
if (_window == null)
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug("[TCT]", "START");
RemoteViewFactory.Shutdown();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void Layout_PROPERTY_GET()
+ public void Layout_PROPERTY_GET()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void Id_PROPERTY_GET()
+ public void Id_PROPERTY_GET()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void Period_PROPERTY_GET()
+ public void Period_PROPERTY_GET()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void Content_PROPERTY_GET()
+ public void Content_PROPERTY_GET()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void Title_PROPERTY_GET()
+ public void Title_PROPERTY_GET()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void PauseAll_WIDGET_APP()
+ public void PauseAll_WIDGET_APP()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void ResumeAll_WIDGET_APP()
+ public void ResumeAll_WIDGET_APP()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void Pause_WIDGET_APP()
+ public void Pause_WIDGET_APP()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void Resume_WIDGET_APP()
+ public void Resume_WIDGET_APP()
{
/*
* PRECONDITION
[Description("RemoteViewFactory Tests")]
public class RemoteViewFactoryTests
{
- private static string _widgetId = "org.tizen.WidgetApp";
- private static Window _window;
- private static Background _background;
- private static string _content = "RemoteViewTests";
- private static double _period = 0;
- private static bool _flag;
+ private string _widgetId = "org.tizen.WidgetApp";
+ private Window _window;
+ private Background _background;
+ private string _content = "RemoteViewTests";
+ private double _period = 0;
+ private bool _flag;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug("[TCT]", "START");
_window = new Window(Application.Current.ApplicationInfo.ApplicationId);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug("[TCT]", "START");
if (_flag)
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
[Property("COVPARAM", "ElmSharp.EvasObject")]
- public static void Init_INIT()
+ public void Init_INIT()
{
/*
* PRECONDITION
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
[Property("COVPARAM", "ElmSharp.EvasObject, string, string, double, bool, bool, bool")]
- public static void Create_RETURN_REMOTEVIEW()
+ public void Create_RETURN_REMOTEVIEW()
{
/*
* PRECONDITION
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
[Property("COVPARAM", "ElmSharp.EvasObject, string, string, double, bool, bool, bool")]
- public static void Create_SHOW_LOADINGMESSAGE()
+ public void Create_SHOW_LOADINGMESSAGE()
{
/*
* PRECONDITION
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
[Property("COVPARAM", "ElmSharp.EvasObject, string, string, double, bool, bool, bool")]
- public static void Create_SHOW_OVERALYTEXT()
+ public void Create_SHOW_OVERALYTEXT()
{
/*
* PRECONDITION
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
[Property("COVPARAM", "ElmSharp.EvasObject, string, string, double, bool, bool, bool")]
- public static void Create_SHOW_PREVIEWIMAGE()
+ public void Create_SHOW_PREVIEWIMAGE()
{
/*
* PRECONDITION
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
[Property("COVPARAM", "ElmSharp.EvasObject, string, string, double, bool, bool, bool")]
- public static void Create_DO_NOT_SHOW_PRVIEWIMAGE_OVERALYTEXT_LOADINGMESSAGE()
+ public void Create_DO_NOT_SHOW_PRVIEWIMAGE_OVERALYTEXT_LOADINGMESSAGE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void Shutdown_FINI()
+ public void Shutdown_FINI()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void AesCbcCipherParameters_INIT()
+ public void AesCbcCipherParameters_INIT()
{
/* TEST CODE */
Assert.AreEqual(
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void AesCfbCipherParameters_INIT()
+ public void AesCfbCipherParameters_INIT()
{
/* TEST CODE */
Assert.AreEqual(
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void IV_READ_WRITE()
+ public void IV_READ_WRITE()
{
/* TEST CODE */
Crypto.AesCipherParameters cipherParams = new Crypto.AesCbcCipherParameters();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void AesCtrCipherParameters_INIT()
+ public void AesCtrCipherParameters_INIT()
{
/* TEST CODE */
Assert.AreEqual(
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void CounterLength_READ_WRITE()
+ public void CounterLength_READ_WRITE()
{
/* TEST CODE */
var cipherParams = new Crypto.AesCtrCipherParameters();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void AesGcmCipherParameters_INIT()
+ public void AesGcmCipherParameters_INIT()
{
/* TEST CODE */
Assert.AreEqual(
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void TagLength_READ_WRITE()
+ public void TagLength_READ_WRITE()
{
/* TEST CODE */
var cipherParams = new Crypto.AesGcmCipherParameters();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void AAD_READ_WRITE()
+ public void AAD_READ_WRITE()
{
/* TEST CODE */
var cipherParams = new Crypto.AesGcmCipherParameters();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Load_RETURN_TYPE()
+ public void Load_RETURN_TYPE()
{
/* TEST CODE */
Assert.IsNotNull(CertificateTests.LoadDefaultCert());
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Load_INVALID_FILE()
+ public void Load_INVALID_FILE()
{
/* TEST CODE */
Assert.Throws<InvalidOperationException>(delegate {
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Certificate_INIT_WITH_BINARY()
+ public void Certificate_INIT_WITH_BINARY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Binary_READ_WRITE()
+ public void Binary_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Format_READ_WRITE()
+ public void Format_READ_WRITE()
{
/*
* PRECONDITION
public class CertificateManagerTests
{
private static string[] _aliases = {"C#API_CERT_TEST", "C#API_CERT_TEST2"};
- private static string _alias = _aliases[0];
- private static string _certPath = TestUtils.TestConfig.CertLeafPath;
- private static string _certIntermediatePath = TestUtils.TestConfig.CertIntermediatePath;
+ private string _alias = _aliases[0];
+ private string _certPath = TestUtils.TestConfig.CertLeafPath;
+ private string _certIntermediatePath = TestUtils.TestConfig.CertIntermediatePath;
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Save_CHECK_STATUS()
+ public void Save_CHECK_STATUS()
{
/* TEST CODE */
Assert.DoesNotThrow(delegate {
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Save_WITH_DUPLICATED_ALIAS()
+ public void Save_WITH_DUPLICATED_ALIAS()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Save_WITH_INVALID_CERTIFICATE()
+ public void Save_WITH_INVALID_CERTIFICATE()
{
Assert.Throws<ArgumentException>(delegate {
CertificateManager.Save(
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Save_WITH_NULL_PARAM()
+ public void Save_WITH_NULL_PARAM()
{
Assert.Throws<ArgumentNullException>(delegate {
CertificateManager.Save(
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Get_RETURN_TYPE()
+ public void Get_RETURN_TYPE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Get_PASSWORD_PROTECTED_DATA()
+ public void Get_PASSWORD_PROTECTED_DATA()
{
string password = "test_password";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Get_WITH_INVALID_PASSWORD()
+ public void Get_WITH_INVALID_PASSWORD()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void GetAliases_RETURN_TYPE()
+ public void GetAliases_RETURN_TYPE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void GetAliases_WITH_VACANT_REPO()
+ public void GetAliases_WITH_VACANT_REPO()
{
/*
* PRECONDITION
[Property("CRITERIA", "MR")]
[Property("COVPARAM", "Tizen.Security.SecureRepository.Certificate, System.Collections.Generic.IEnumerable<Tizen.Security.SecureRepository.Certificate>")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void GetCertificateChain_RETURN_TYPE()
+ public void GetCertificateChain_RETURN_TYPE()
{
/*
* PRECONDITION
[Property("CRITERIA", "MEX")]
[Property("COVPARAM", "Tizen.Security.SecureRepository.Certificate, System.Collections.Generic.IEnumerable<Tizen.Security.SecureRepository.Certificate>")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void GetCertificateChain_WITH_NULL_CERTIFICATES()
+ public void GetCertificateChain_WITH_NULL_CERTIFICATES()
{
Assert.Throws<ArgumentNullException>(delegate {
CertificateManager.GetCertificateChain(null, null);
[Property("CRITERIA", "MEX")]
[Property("COVPARAM", "Tizen.Security.SecureRepository.Certificate, System.Collections.Generic.IEnumerable<Tizen.Security.SecureRepository.Certificate>")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void GetCertificateChain_WITH_INVALID_CERTIFICATES()
+ public void GetCertificateChain_WITH_INVALID_CERTIFICATES()
{
/*
* PRECONDITION
[Property("CRITERIA", "MR")]
[Property("COVPARAM", "Tizen.Security.SecureRepository.Certificate, System.Collections.Generic.IEnumerable<Tizen.Security.SecureRepository.Certificate>, System.Collections.Generic.IEnumerable<Tizen.Security.SecureRepository.Certificate>, bool")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void GetCertificateChain_CHECK_RETURN_WITH_TRUSTEDCERT()
+ public void GetCertificateChain_CHECK_RETURN_WITH_TRUSTEDCERT()
{
/*
* PRECONDITION
[Property("CRITERIA", "MEX")]
[Property("COVPARAM", "Tizen.Security.SecureRepository.Certificate, System.Collections.Generic.IEnumerable<Tizen.Security.SecureRepository.Certificate>, System.Collections.Generic.IEnumerable<Tizen.Security.SecureRepository.Certificate>, bool")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void GetCertificateChain_WITH_TRUSTED_WITH_NULL_CERTIFICATES()
+ public void GetCertificateChain_WITH_TRUSTED_WITH_NULL_CERTIFICATES()
{
/*
* PRECONDITION
[Property("CRITERIA", "MEX")]
[Property("COVPARAM", "Tizen.Security.SecureRepository.Certificate, System.Collections.Generic.IEnumerable<Tizen.Security.SecureRepository.Certificate>, System.Collections.Generic.IEnumerable<Tizen.Security.SecureRepository.Certificate>, bool")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void GetCertificateChain_WITH_TRUSTED_WITH_INVALID_CERTIFICATES()
+ public void GetCertificateChain_WITH_TRUSTED_WITH_INVALID_CERTIFICATES()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void CheckOcsp_RETURN_TYPE()
+ public void CheckOcsp_RETURN_TYPE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void CheckOcsp_NULL_CHAIN()
+ public void CheckOcsp_NULL_CHAIN()
{
Assert.Throws<ArgumentNullException>(delegate {
CertificateManager.CheckOcsp(null);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Cipher_INIT_WITH_CIHPERPARAMETERS()
+ public void Cipher_INIT_WITH_CIHPERPARAMETERS()
{
/* TEST CODE */
Assert.IsNotNull(new Crypto.Cipher(new Crypto.AesCbcCipherParameters()));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Parameters_READ_ONLY()
+ public void Parameters_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Encrypt_AES_KEY()
+ public void Encrypt_AES_KEY()
{
string aesKeyAlias = "aes_cipher_encrypt_test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Decrypt_AES_KEY()
+ public void Decrypt_AES_KEY()
{
string aesKeyAlias = "aes_cipher_decrypt_test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Decrypt_AES_KEY_WITH_OPTIONAL_FIELDS()
+ public void Decrypt_AES_KEY_WITH_OPTIONAL_FIELDS()
{
string aesKeyAlias = "aes_cipher_decrypt_test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Encrypt_RSA_KEY()
+ public void Encrypt_RSA_KEY()
{
string rsaPrivateKeyAlias = "rsa_private_cipher_encrypt_test";
string rsaPublicKeyAlias = "rsa_public_cipher_encrypt_test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Decrypt_RSA_KEY()
+ public void Decrypt_RSA_KEY()
{
string rsaPrivateKeyAlias = "rsa_private_cipher_encrypt_test";
string rsaPublicKeyAlias = "rsa_public_cipher_encrypt_test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Encrypt_WITH_PASSWORD()
+ public void Encrypt_WITH_PASSWORD()
{
string rsaPrivateKeyAlias = "rsa_private_cipher_encrypt_test";
string rsaPublicKeyAlias = "rsa_public_cipher_encrypt_test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Decrypt_WITH_PASSWORD()
+ public void Decrypt_WITH_PASSWORD()
{
string rsaPrivateKeyAlias = "rsa_private_cipher_encrypt_test";
string rsaPublicKeyAlias = "rsa_public_cipher_encrypt_test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Encrypt_NULL_ARGUMENTS()
+ public void Encrypt_NULL_ARGUMENTS()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Encrypt_WITH_WRONG_PASSWORD()
+ public void Encrypt_WITH_WRONG_PASSWORD()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Decrypt_NULL_ARGUMENTS()
+ public void Decrypt_NULL_ARGUMENTS()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Decrypt_WITH_WRONG_PASSWORD()
+ public void Decrypt_WITH_WRONG_PASSWORD()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Decrypt_WITH_INVALID_CIPHERTEXT()
+ public void Decrypt_WITH_INVALID_CIPHERTEXT()
{
string aesKeyAlias = "aes_cipher_decrypt_test";
string password = "test_password";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Algorithm_READ()
+ public void Algorithm_READ()
{
Crypto.CipherParameters cipherParams = new Crypto.AesCfbCipherParameters();
Assert.AreEqual(cipherParams.Algorithm, Crypto.CipherAlgorithmType.AesCfb);
public class DataManagerTests
{
private static string[] _aliases = {"C#API_DATA_TEST", "C#API_DATA_TEST2"};
- private static string _alias = _aliases[0];
- private static byte[] _data = Util.GenerateRandom(10);
+ private string _alias = _aliases[0];
+ private byte[] _data = Util.GenerateRandom(10);
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Save_CHECK_STATUS()
+ public void Save_CHECK_STATUS()
{
/* TEST CODE */
DataManager.Save(_alias, _data, new Policy());
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Save_WITH_DUPLICATED_ALIAS()
+ public void Save_WITH_DUPLICATED_ALIAS()
{
/* PRECONDITION */
DataManager.Save(_alias, Util.GenerateRandom(20), new Policy());
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Save_WITH_NULL_ALIAS()
+ public void Save_WITH_NULL_ALIAS()
{
/* TEST CODE */
Assert.Throws<ArgumentNullException>(delegate {
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Get_RETURN_TYPE()
+ public void Get_RETURN_TYPE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Get_PASSWORD_PROTECTED_DATA()
+ public void Get_PASSWORD_PROTECTED_DATA()
{
string password = "test_password";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Get_WITH_INVALID_PASSWORD()
+ public void Get_WITH_INVALID_PASSWORD()
{
string password = "test_password";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Get_WITH_NULL_ALIAS()
+ public void Get_WITH_NULL_ALIAS()
{
Assert.Throws<ArgumentNullException>(delegate {
DataManager.Get(null, null);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void GetAliases_RETURN_TYPE()
+ public void GetAliases_RETURN_TYPE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void DsaSignatureParameters_INIT()
+ public void DsaSignatureParameters_INIT()
{
/* TEST CODE */
Assert.AreEqual(
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void EcdsaSignatureParameters_INIT()
+ public void EcdsaSignatureParameters_INIT()
{
/* TEST CODE */
Assert.AreEqual(
}
[TestFixtureSetUp]
- public static void Init()
+ public void Init()
{
Assert.DoesNotThrow(delegate {
KeyManager.CreateAesKey(128, _alias, new Policy());
}
[TestFixtureTearDown]
- public static void Cleanup()
+ public void Cleanup()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Key_INIT()
+ public void Key_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Binary_READ_WRITE()
+ public void Binary_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Type_READ_WRITE()
+ public void Type_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void BinaryPassword_READ_WRITE()
+ public void BinaryPassword_READ_WRITE()
{
/*
* PRECONDITION
public class KeyManagerTests
{
private static string[] _aliases = {"C#API_KEY_TEST", "C#API_KEY_TEST2"};
- private static string _alias = _aliases[0];
- private static Key _aesKey = null;
+ private string _alias = _aliases[0];
+ private Key _aesKey = null;
[TestFixtureSetUp]
- public static void Init()
+ public void Init()
{
Assert.DoesNotThrow(delegate {
KeyManager.CreateAesKey(128, "_aes_default_key", new Policy());
}
[TestFixtureTearDown]
- public static void Cleanup()
+ public void Cleanup()
{
Assert.DoesNotThrow(delegate {
KeyManager.RemoveAlias("_aes_default_key");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Save_CHECK_STATUS()
+ public void Save_CHECK_STATUS()
{
/* TEST CODE */
Assert.DoesNotThrow(delegate {
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Save_WITH_DUPLICATED_ALIAS()
+ public void Save_WITH_DUPLICATED_ALIAS()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Save_WITH_NULL_ALIAS()
+ public void Save_WITH_NULL_ALIAS()
{
Assert.Throws<ArgumentNullException>(delegate {
KeyManager.Save(null, null, new Policy());
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Save_WITH_INVALID_KEY()
+ public void Save_WITH_INVALID_KEY()
{
Assert.Throws<ArgumentException>(delegate {
KeyManager.Save(_alias, new Key(null, KeyType.Aes, null), new Policy());
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Get_RETURN_TYPE()
+ public void Get_RETURN_TYPE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Get_PASSWORD_PROTECTED_KEY()
+ public void Get_PASSWORD_PROTECTED_KEY()
{
string password = "test_password";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Get_WITH_INVALID_PASSWORD()
+ public void Get_WITH_INVALID_PASSWORD()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Get_WITH_NULL_ALIAS()
+ public void Get_WITH_NULL_ALIAS()
{
/* TEST CODE */
Assert.Throws<ArgumentNullException>(delegate {
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void GetAliases_RETURN_TYPE()
+ public void GetAliases_RETURN_TYPE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void GetAliases_WITH_VACANT_REPO()
+ public void GetAliases_WITH_VACANT_REPO()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void CreateRsaKeyPair_CHECK_STATUS()
+ public void CreateRsaKeyPair_CHECK_STATUS()
{
var sizes = new int[] { 1024, 2048 };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void CreateRsaKeyPair_INVALID_ARGUMENTS()
+ public void CreateRsaKeyPair_INVALID_ARGUMENTS()
{
Assert.Throws<ArgumentException>(delegate {
KeyManager.CreateRsaKeyPair(
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void CreateRsaKeyPair_DUPLICATED_ALIAS()
+ public void CreateRsaKeyPair_DUPLICATED_ALIAS()
{
int size = 1024;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void CreateDsaKeyPair_CHECK_STATUS()
+ public void CreateDsaKeyPair_CHECK_STATUS()
{
var sizes = new int[] { 1024, 2048 };
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void CreateDsaKeyPair_INVALID_ARGUMENTS()
+ public void CreateDsaKeyPair_INVALID_ARGUMENTS()
{
Assert.Throws<ArgumentException>(delegate {
KeyManager.CreateDsaKeyPair(
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void CreateDsaKeyPair_DUPLICATED_ALIAS()
+ public void CreateDsaKeyPair_DUPLICATED_ALIAS()
{
int size = 1024;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void CreateEcdsaKeyPair_CHECK_STATUS()
+ public void CreateEcdsaKeyPair_CHECK_STATUS()
{
var types = new EllipticCurveType[] {
EllipticCurveType.Prime192V1,
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void CreateEcdsaKeyPair_INVALID_ARGUMENTS()
+ public void CreateEcdsaKeyPair_INVALID_ARGUMENTS()
{
Assert.Throws<ArgumentException>(delegate {
KeyManager.CreateEcdsaKeyPair(
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void CreateEcdsaKeyPair_DUPLICATED_ALIAS()
+ public void CreateEcdsaKeyPair_DUPLICATED_ALIAS()
{
KeyManager.CreateEcdsaKeyPair(
EllipticCurveType.Prime256V1, _aliases[0], _aliases[1],
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void CreateAesKey_CHECK_STATUS()
+ public void CreateAesKey_CHECK_STATUS()
{
/* TEST CODE */
Assert.DoesNotThrow(delegate {
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void CreateAesKey_INVALID_ARGUMENTS()
+ public void CreateAesKey_INVALID_ARGUMENTS()
{
Assert.Throws<ArgumentException>(delegate {
KeyManager.CreateAesKey(117, _alias, new Policy());
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void CreateAesKey_DUPLICATED_ALIAS()
+ public void CreateAesKey_DUPLICATED_ALIAS()
{
KeyManager.CreateAesKey(128, _alias, new Policy());
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void CreateFullAlias_RETURN_TYPE()
+ public void CreateFullAlias_RETURN_TYPE()
{
/* Test Code */
string ownderId = "TEST_OWNER";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void CreateFullSystemAlias_RETURN_TYPE()
+ public void CreateFullSystemAlias_RETURN_TYPE()
{
/* Test Code */
string alias = "TEST_ALIAS";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void RemoveAlias_CHECK_STATUS()
+ public void RemoveAlias_CHECK_STATUS()
{
string _alias = "test_alias";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void RemoveAlias_WITH_NULL_ALIAS()
+ public void RemoveAlias_WITH_NULL_ALIAS()
{
/* TEST CODE */
Assert.Throws<ArgumentNullException>(delegate {
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void RemoveAlias_WITH_INVALID_ALIAS()
+ public void RemoveAlias_WITH_INVALID_ALIAS()
{
string _alias = "test_alias";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void SetPermission_VALID()
+ public void SetPermission_VALID()
{
string _alias = "test_alias";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void SetPermission_NULL_PARAMETERS()
+ public void SetPermission_NULL_PARAMETERS()
{
string _alias = "test_alias";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void SetPermission_INVALID_ALIAS()
+ public void SetPermission_INVALID_ALIAS()
{
string _alias = "test_alias";
[Description("Tizen.Security.SecureRepository.Pkcs12 Tests")]
public class Pkcs12Tests
{
- private static string _p12Path = TestUtils.TestConfig.Pkcs12Path;
- private static string _p12Pass = "password";
+ private string _p12Path = TestUtils.TestConfig.Pkcs12Path;
+ private string _p12Pass = "password";
[Test]
[Category("P1")]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Load_RETURN_TYPE()
+ public void Load_RETURN_TYPE()
{
/* TEST CODE */
Assert.IsNotNull(Pkcs12.Load(_p12Path, _p12Pass));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Load_NULL_FILEPATH()
+ public void Load_NULL_FILEPATH()
{
Assert.Throws<ArgumentNullException>(delegate {
Pkcs12.Load(null, _p12Pass);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Load_INVALID_FILE()
+ public void Load_INVALID_FILE()
{
Assert.Throws<InvalidOperationException>(delegate {
Pkcs12.Load("invalid_file_path", _p12Pass);
[Property("CRITERIA", "CONSTR")]
[Property("COVPARAM", "Tizen.Security.SecureRepository.Key")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Pkcs12_INIT_WITH_PRIVATE_KEY()
+ public void Pkcs12_INIT_WITH_PRIVATE_KEY()
{
/*
* PRECONDITION
[Property("CRITERIA", "CONSTR")]
[Property("COVPARAM", "Tizen.Security.SecureRepository.Key, Tizen.Security.SecureRepository.Certificate, System.Collections.Generic.IEnumerable<Tizen.Security.SecureRepository.Certificate>")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Pkcs12_INIT_WITH_PRIVATE_KEY_CERT_CA_CHAIN()
+ public void Pkcs12_INIT_WITH_PRIVATE_KEY_CERT_CA_CHAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void PrivateKey_READ_WRITE()
+ public void PrivateKey_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Certificate_READ_WRITE()
+ public void Certificate_READ_WRITE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void CaChain_READ_WRITE()
+ public void CaChain_READ_WRITE()
{
/*
* PRECONDITION
public class Pkcs12ManagerTests
{
private static string[] _aliases = { "C#API_PKCS12_TEST", "C#API_PKCS12_TEST2" };
- private static string _alias = _aliases[0];
- private static string _p12Path = TestUtils.TestConfig.Pkcs12Path;
- private static string _p12Pass = "password";
+ private string _alias = _aliases[0];
+ private string _p12Path = TestUtils.TestConfig.Pkcs12Path;
+ private string _p12Pass = "password";
- private static Pkcs12 GetPkcs12()
+ private Pkcs12 GetPkcs12()
{
return Pkcs12.Load(_p12Path, _p12Pass);
}
- private static void AssertEqual(Pkcs12 p1, Pkcs12 p2)
+ private void AssertEqual(Pkcs12 p1, Pkcs12 p2)
{
if (p1 == null && p2 == null)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Save_CHECK_STATUS()
+ public void Save_CHECK_STATUS()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Save_WITH_DUPLICATED_ALIAS()
+ public void Save_WITH_DUPLICATED_ALIAS()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Save_WITH_INVALID_PKCS12()
+ public void Save_WITH_INVALID_PKCS12()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Save_WITH_NULL_ALIAS()
+ public void Save_WITH_NULL_ALIAS()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Get_RETURN_TYPE()
+ public void Get_RETURN_TYPE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Get_WITH_INVALID_ALIAS_PASSWORD()
+ public void Get_WITH_INVALID_ALIAS_PASSWORD()
{
string password = "test_password";
string invalidPassword = "invalid_password";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Get_WITH_NULL_ALIAS()
+ public void Get_WITH_NULL_ALIAS()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Policy_INIT()
+ public void Policy_INIT()
{
/* TEST CODE */
var policy = new Policy();
[Property("CRITERIA", "CONSTR")]
[Property("COVPARAM", "string, bool")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Policy_INIT_WITH_PASSWORD_EXTRACTABLE()
+ public void Policy_INIT_WITH_PASSWORD_EXTRACTABLE()
{
string password = "test_password";
bool extractable = false;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Password_READ_WRITE()
+ public void Password_READ_WRITE()
{
string password = "test_password";
bool extractable = false;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Extractable_READ_WRITE()
+ public void Extractable_READ_WRITE()
{
string password = "test_password";
bool extractable = false;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void RsaOaepCipherParameters_INIT()
+ public void RsaOaepCipherParameters_INIT()
{
/* TEST CODE */
Assert.AreEqual(
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void RsaSignatureParameters_INIT()
+ public void RsaSignatureParameters_INIT()
{
/* TEST CODE */
Assert.AreEqual(
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void RsaPadding_READ_WRITE()
+ public void RsaPadding_READ_WRITE()
{
/* TEST CODE */
var param = new Crypto.RsaSignatureParameters();
[Description("Tizen.Security.SecureRepository.Crypto.Signature Tests")]
public class SignatureTests
{
- public static void TestSign(bool useDefaultPassword, bool testInvalidPassword)
+ public void TestSign(bool useDefaultPassword, bool testInvalidPassword)
{
string privateKeyAlias = "private_signature_sign_test";
string publicKeyAlias = "public_signature_sign_test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Signature_INIT_WITH_SIGNATUREPARAMETERS()
+ public void Signature_INIT_WITH_SIGNATUREPARAMETERS()
{
/* TEST CODE */
Crypto.SignatureParameters rsaParam = new Crypto.RsaSignatureParameters();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dongsun Lee, ds73.lee@samsung.com")]
- public static void Parameters_READ_ONLY()
+ public void Parameters_READ_ONLY()
{
/* TEST CODE */
Crypto.SignatureParameters rsaParam = new Crypto.RsaSignatureParameters();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Sign_RETURN_TYPE()
+ public void Sign_RETURN_TYPE()
{
bool useDefaultPassword = true;
bool testInvalidPassword = false;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Sign_WITH_PASSWORD()
+ public void Sign_WITH_PASSWORD()
{
bool useDefaultPassword = false;
bool testInvalidPassword = false;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Sign_WITH_INVALID_PASSWORD()
+ public void Sign_WITH_INVALID_PASSWORD()
{
bool useDefaultPassword = false;
bool testInvalidPassword = true;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Sign_NULL_ARGUMENTS()
+ public void Sign_NULL_ARGUMENTS()
{
/*
* PRECONDITION
});
}
- public static void TestVerify(bool testWithValidSignature, bool useDefaultPassword, bool testInvalidPassword)
+ public void TestVerify(bool testWithValidSignature, bool useDefaultPassword, bool testInvalidPassword)
{
string privateKeyAlias = "private_signature_verify_test";
string publicKeyAlias = "public_signature_verify_test";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Verify_RETURN_TYPE()
+ public void Verify_RETURN_TYPE()
{
bool testValidSignature = true;
bool useDefaultPassword = true;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Verify_WITH_INVALID_SIGNATURE()
+ public void Verify_WITH_INVALID_SIGNATURE()
{
bool testValidSignature = false;
bool useDefaultPassword = true;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Verify_WITH_PASSWORD()
+ public void Verify_WITH_PASSWORD()
{
bool testValidSignature = true;
bool useDefaultPassword = false;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Verify_WITH_INVALID_PASSWORD()
+ public void Verify_WITH_INVALID_PASSWORD()
{
bool testValidSignature = true;
bool useDefaultPassword = false;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void Verify_NULL_ARGUMENTS()
+ public void Verify_NULL_ARGUMENTS()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void SignatureAlgorithm_READ()
+ public void SignatureAlgorithm_READ()
{
/* TEST CODE */
Assert.AreEqual(
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Kyungwook Tak, k.tak@samsung.com")]
- public static void HashAlgorithm_READ_WRITE()
+ public void HashAlgorithm_READ_WRITE()
{
/* TEST CODE */
Crypto.SignatureParameters param = new Crypto.RsaSignatureParameters();
{
[TestFixture]
[Description("Testing Tizen.Sensor.Accelerometer class")]
- public static class AccelerometerTests
+ public class AccelerometerTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.accelerometer");
}
[Precondition(1, "Accelerometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Accelerometer test: Shake/Tilt the phone up/down or left/right")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.AccelerometerDataUpdatedEventArgs class")]
- public static class AccelerometerDataUpdatedEventArgsTests
+ public class AccelerometerDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.accelerometer");
}
[Precondition(1, "Accelerometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Accelerometer test: Shake/Tilt the phone up/down or left/right")]
- public static async Task X_PROPERTY_READ_ONLY()
+ public async Task X_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "Accelerometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Accelerometer test: Shake/Tilt the phone up/down or left/right")]
- public static async Task Y_PROPERTY_READ_ONLY()
+ public async Task Y_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "Accelerometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "AccelerometerDataUpdatedEventArgs test: Move/Shake the phone up/down or left/right")]
- public static async Task Z_PROPERTY_READ_ONLY()
+ public async Task Z_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.FaceDownGestureDetector class")]
- public static class FaceDownGestureDetectorTests
+ public class FaceDownGestureDetectorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.gesture_recognition");
}
[Precondition(1, "FaceDownGestureDetector should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Flip The test device from face to back")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.FaceDownGestureDetectorDataUpdatedEventArgs class")]
- public static class FaceDownGestureDetectorDataUpdatedEventArgsTests
+ public class FaceDownGestureDetectorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.gesture_recognition");
}
[Precondition(1, "FaceDownGestureDetector sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Flip The test device from face to back")]
- public static async Task FaceDown_PROPERTY_READ_ONLY()
+ public async Task FaceDown_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.GravitySensor class")]
- public static class GravitySensorTests
+ public class GravitySensorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.gravity");
}
[Precondition(1, "GravitySensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "GravitySensor Test: Shake/Tilt the phone up/down or left/right")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
[Precondition(1, "GravitySensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Accuracy changed event: Its difficult to reproduce this event. Accuracy may change when make big 8-like gestures with the device OR the device is exposed to strong electromagnetic fields/ferrous metal objects.")]
- public static async Task AccuracyChanged_CHECK_EVENT()
+ public async Task AccuracyChanged_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.GravitySensorDataUpdatedEventArgs class")]
- public static class GravitySensorDataUpdatedEventArgsTests
+ public class GravitySensorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.gravity");
}
[Precondition(1, "GravitySensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "GravitySensor Test: Shake/Tilt the phone up/down or left/right")]
- public static async Task X_PROPERTY_READ_ONLY()
+ public async Task X_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "GravitySensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "GravitySensor Test: Shake/Tilt the phone up/down or left/right")]
- public static async Task Y_PROPERTY_READ_ONLY()
+ public async Task Y_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "GravitySensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "GravitySensor Test: Shake/Tilt the phone up/down or left/right")]
- public static async Task Z_PROPERTY_READ_ONLY()
+ public async Task Z_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.Gyroscope class")]
- public static class GyroscopeTests
+ public class GyroscopeTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.gyroscope");
}
[Precondition(1, "Gyroscope sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor event: Spin/Turn the test device")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.GyroscopeDataUpdatedEventArgs class")]
- public static class GyroscopeDataUpdatedEventArgsTests
+ public class GyroscopeDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.gyroscope");
}
[Precondition(1, "Gyroscope sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor event: Spin/Turn the test device")]
- public static async Task X_PROPERTY_READ_ONLY()
+ public async Task X_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "Gyroscope sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor event: Spin/Turn the test device")]
- public static async Task Y_PROPERTY_READ_ONLY()
+ public async Task Y_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "Gyroscope sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor event: Spin/Turn the test device")]
- public static async Task Z_PROPERTY_READ_ONLY()
+ public async Task Z_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.GyroscopeRotationVectorSensor class")]
- public static class GyroscopeRotationVectorSensorTests
+ public class GyroscopeRotationVectorSensorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.gyroscope_rotation_vector");
}
[Precondition(1, "GyroscopeRotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor data update event: Rotate the test device")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.GyroscopeRotationVectorSensorDataUpdatedEventArgs class")]
- public static class GyroscopeRotationVectorSensorDataUpdatedEventArgsTests
+ public class GyroscopeRotationVectorSensorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.gyroscope_rotation_vector");
}
[Precondition(1, "GyroscopeRotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor data update event: Rotate the test device")]
- public static async Task Accuracy_PROPERTY_READ_ONLY()
+ public async Task Accuracy_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "GyroscopeRotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor data update event: Rotate the test device")]
- public static async Task W_PROPERTY_READ_ONLY()
+ public async Task W_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "GyroscopeRotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor data update event: Rotate the test device")]
- public static async Task X_PROPERTY_READ_ONLY()
+ public async Task X_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "GyroscopeRotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor data update event: Rotate the test device")]
- public static async Task Y_PROPERTY_READ_ONLY()
+ public async Task Y_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "GyroscopeRotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor data update event: Rotate the test device")]
- public static async Task Z_PROPERTY_READ_ONLY()
+ public async Task Z_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.HeartRateMonitor class")]
- public static class HeartRateMonitorTests
+ public class HeartRateMonitorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.heart_rate_monitor");
}
[Precondition(1, "HeartRateMonitor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Heart rate monitor event: Measure heart rate using the test device")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.HeartRateMonitorDataUpdatedEventArgs class")]
- public static class HeartRateMonitorDataUpdatedEventArgsTests
+ public class HeartRateMonitorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.heart_rate_monitor");
}
[Precondition(1, "HeartRateMonitor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Heart rate monitor event: Measure heart rate using the test device")]
- public static async Task HeartRate_PROPERTY_READ_ONLY()
+ public async Task HeartRate_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.HumiditySensor class")]
- public static class HumiditySensorTests
+ public class HumiditySensorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.humidity");
}
[Precondition(1, "HumiditySensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Expose device to humidity changes")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.HumiditySensorDataUpdatedEventArgs class")]
- public static class HumiditySensorDataUpdatedEventArgsTests
+ public class HumiditySensorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.humidity");
}
[Precondition(1, "HumiditySensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Expose device to humidity changes")]
- public static async Task Humidity_PROPERTY_READ_ONLY()
+ public async Task Humidity_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.InVehicleActivityDetector class")]
- public static class InVehicleActivityDetectorTests
+ public class InVehicleActivityDetectorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.activity_recognition");
}
[Precondition(1, "InVehicleActivityDetector should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Test with the test device in a moving vehicle")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
if (ManualTest.IsWearable() && InVehicleActivityDetector.IsSupported)
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.InVehicleActivityDetectorDataUpdatedEventArgs class")]
- public static class InVehicleActivityDetectorDataUpdatedEventArgsTests
+ public class InVehicleActivityDetectorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.activity_recognition");
}
[Precondition(1, "InVehicleActivityDetector sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Test with the test device in a moving vehicle")]
- public static async Task InVehicle_PROPERTY_READ_ONLY()
+ public async Task InVehicle_PROPERTY_READ_ONLY()
{
if (ManualTest.IsWearable() && InVehicleActivityDetector.IsSupported)
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.LightSensor class")]
- public static class LightSensorTests
+ public class LightSensorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.photometer");
}
[Precondition(1, "LightSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Expose the test device to light variations")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.LightSensorDataUpdatedEventArgs class")]
- public static class LightSensorDataUpdatedEventArgsTests
+ public class LightSensorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.photometer");
}
[Precondition(1, "LightSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Expose the test device to light variations")]
- public static async Task Level_PROPERTY_READ_ONLY()
+ public async Task Level_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.LinearAccelerationSensor class")]
- public static class LinearAccelerationSensorTests
+ public class LinearAccelerationSensorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.linear_acceleration");
}
[Precondition(1, "LinearAccelerationSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "LinearAccelerationSensor test: Move/Shake the phone up/down or left/right")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
[Precondition(1, "LinearAccelerationSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Accuracy changed event: Its difficult to reproduce this event. Accuracy may change when make big 8-like gestures with the device OR the device is exposed to strong electromagnetic fields/ferrous metal objects.")]
- public static async Task AccuracyChanged_CHECK_EVENT()
+ public async Task AccuracyChanged_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.LinearAccelerationSensorDataUpdatedEventArgs class")]
- public static class LinearAccelerationSensorDataUpdatedEventArgsTests
+ public class LinearAccelerationSensorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.linear_acceleration");
}
[Precondition(1, "LinearAccelerationSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "LinearAccelerationSensor test: Move/Shake the phone up/down or left/right")]
- public static async Task X_PROPERTY_READ_ONLY()
+ public async Task X_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "LinearAccelerationSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "LinearAccelerationSensor test: Move/Shake the phone up/down or left/right")]
- public static async Task Y_PROPERTY_READ_ONLY()
+ public async Task Y_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "LinearAccelerationSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "LinearAccelerationSensor test: Move/Shake the phone up/down or left/right")]
- public static async Task Z_PROPERTY_READ_ONLY()
+ public async Task Z_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.Magnetometer class")]
- public static class MagnetometerTests
+ public class MagnetometerTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.magnetometer");
}
[Precondition(1, "Magnetometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Magnetometer test: Move/Shake the phone up/down or left/right")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try {
/* TEST CODE */
[Precondition(1, "Magnetometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Accuracy changed event: Its difficult to reproduce this event. Accuracy may change when make big 8-like gestures with the device OR the device is exposed to strong electromagnetic fields/ferrous metal objects.")]
- public static async Task AccuracyChanged_CHECK_EVENT()
+ public async Task AccuracyChanged_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.MagnetometerDataUpdatedEventArgs class")]
- public static class MagnetometerDataUpdatedEventArgsTests
+ public class MagnetometerDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.magnetometer");
}
[Precondition(1, "Magnetometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Magnetometer test: Move/Shake the phone up/down or left/right")]
- public static async Task X_PROPERTY_READ_ONLY()
+ public async Task X_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "Magnetometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Magnetometer test: Move/Shake the phone up/down or left/right")]
- public static async Task Y_PROPERTY_READ_ONLY()
+ public async Task Y_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "Magnetometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Magnetometer test: Move/Shake the phone up/down or left/right")]
- public static async Task Z_PROPERTY_READ_ONLY()
+ public async Task Z_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.MagnetometerRotationVectorSensor class")]
- public static class MagnetometerRotationVectorSensorTests
+ public class MagnetometerRotationVectorSensorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.geomagnetic_rotation_vector");
}
[Precondition(1, "MagnetometerRotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "MagnetometerRotationVectorSensor sensor data update event: Rotate the test device")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
[Precondition(1, "MagnetometerRotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Accuracy changed event: Its difficult to reproduce this event. Accuracy may change when make big 8-like gestures with the device OR the device is exposed to strong electromagnetic fields/ferrous metal objects.")]
- public static async Task AccuracyChanged_CHECK_EVENT()
+ public async Task AccuracyChanged_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.MagnetometerRotationVectorSensorDataUpdatedEventArgs class")]
- public static class MagnetometerRotationVectorSensorDataUpdatedEventArgsTests
+ public class MagnetometerRotationVectorSensorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.geomagnetic_rotation_vector");
}
[Precondition(1, "MagnetometerRotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "MagnetometerRotationVectorSensor sensor data update event: Rotate the test device")]
- public static async Task Accuracy_PROPERTY_READ_ONLY()
+ public async Task Accuracy_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "MagnetometerRotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "MagnetometerRotationVectorSensor sensor data update event: Rotate the test device")]
- public static async Task W_PROPERTY_READ_ONLY()
+ public async Task W_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "MagnetometerRotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "MagnetometerRotationVectorSensor sensor data update event: Rotate the test device")]
- public static async Task X_PROPERTY_READ_ONLY()
+ public async Task X_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "MagnetometerRotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "MagnetometerRotationVectorSensor sensor data update event: Rotate the test device")]
- public static async Task Y_PROPERTY_READ_ONLY()
+ public async Task Y_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "MagnetometerRotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "MagnetometerRotationVectorSensor sensor data update event: Rotate the test device")]
- public static async Task Z_PROPERTY_READ_ONLY()
+ public async Task Z_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.OrientationSensor class")]
- public static class OrientationSensorTests
+ public class OrientationSensorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.tiltmeter");
}
[Precondition(1, "OrientationSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "OrientationSensor sensor data update event: Change the orientation of the test device")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
[Precondition(1, "OrientationSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Accuracy changed event: Its difficult to reproduce this event. Accuracy may change when make big 8-like gestures with the device OR the device is exposed to strong electromagnetic fields/ferrous metal objects.")]
- public static async Task AccuracyChanged_CHECK_EVENT()
+ public async Task AccuracyChanged_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.OrientationSensorDataUpdatedEventArgs class")]
- public static class OrientationSensorDataUpdatedEventArgsTests
+ public class OrientationSensorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.tiltmeter");
}
[Precondition(1, "OrientationSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "OrientationSensor sensor data update event: Change the orientation of the test device")]
- public static async Task Azimuth_PROPERTY_READ_ONLY()
+ public async Task Azimuth_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "OrientationSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "OrientationSensor sensor data update event: Change the orientation of the test device")]
- public static async Task Pitch_PROPERTY_READ_ONLY()
+ public async Task Pitch_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "OrientationSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "OrientationSensor sensor data update event: Change the orientation of the test device")]
- public static async Task Roll_PROPERTY_READ_ONLY()
+ public async Task Roll_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.Pedometer class")]
- public static class PedometerTests
+ public class PedometerTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.pedometer");
}
[Precondition(1, "Pedometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Pedometer sensor data update event: Move the test device so that it can count no.of steps")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.PedometerDataUpdatedEventArgs class")]
- public static class PedometerDataUpdatedEventArgsTests
+ public class PedometerDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.pedometer");
}
[Precondition(1, "Pedometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Pedometer sensor data update event: Move the test device so that it can count no.of steps")]
- public static async Task CalorieBurned_PROPERTY_READ_ONLY()
+ public async Task CalorieBurned_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "Pedometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Pedometer sensor data update event: Move the test device so that it can count no.of steps")]
- public static async Task LastSpeed_PROPERTY_READ_ONLY()
+ public async Task LastSpeed_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "Pedometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Pedometer sensor data update event: Move the test device so that it can count no.of steps")]
- public static async Task LastSteppingFrequency_PROPERTY_READ_ONLY()
+ public async Task LastSteppingFrequency_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "Pedometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Pedometer sensor data update event: Move the test device so that it can count no.of steps")]
- public static async Task LastStepStatus_PROPERTY_READ_ONLY()
+ public async Task LastStepStatus_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "Pedometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Pedometer sensor data update event: Move the test device so that it can count no.of steps")]
- public static async Task MovingDistance_PROPERTY_READ_ONLY()
+ public async Task MovingDistance_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "Pedometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Pedometer sensor data update event: Move the test device so that it can count no.of steps")]
- public static async Task RunStepCount_PROPERTY_READ_ONLY()
+ public async Task RunStepCount_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "Pedometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Pedometer sensor data update event: Move the test device so that it can count no.of steps")]
- public static async Task StepCount_PROPERTY_READ_ONLY()
+ public async Task StepCount_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "Pedometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Pedometer sensor data update event: Move the test device so that it can count no.of steps")]
- public static async Task WalkStepCount_PROPERTY_READ_ONLY()
+ public async Task WalkStepCount_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.PickUpGestureDetector class")]
- public static class PickUpGestureDetectorTests
+ public class PickUpGestureDetectorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.gesture_recognition");
}
[Step(1, "Tap the Run button")]
[Step(2, "Place the device on a flat table")]
[Step(3, "Pick up the test device")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.PickUpGestureDetectorDataUpdatedEventArgs class")]
- public static class PickUpGestureDetectorDataUpdatedEventArgsTests
+ public class PickUpGestureDetectorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.gesture_recognition");
}
[Step(1, "Tap the Run button")]
[Step(2, "Place the device on a flat table")]
[Step(3, "Pick up the test device")]
- public static async Task PickUp_PROPERTY_READ_ONLY()
+ public async Task PickUp_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.PressureSensor class")]
- public static class PressureSensorTests
+ public class PressureSensorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.barometer");
}
[Precondition(1, "PressureSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "PressureSensor sensor data update event: Expose the device to aire pressure variations")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.PressureSensorDataUpdatedEventArgs class")]
- public static class PressureSensorDataUpdatedEventArgsTests
+ public class PressureSensorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.barometer");
}
[Precondition(1, "PressureSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "PressureSensor sensor data update event: Expose the device to aire pressure variations")]
- public static async Task Pressure_PROPERTY_READ_ONLY()
+ public async Task Pressure_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.ProximitySensor class")]
- public static class ProximitySensorTests
+ public class ProximitySensorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.proximity");
}
[Precondition(1, "ProximitySensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "ProximitySensor sensor data update event: Move the test device near to/far from any object")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.ProximitySensorDataUpdatedEventArgs class")]
- public static class ProximitySensorDataUpdatedEventArgsTests
+ public class ProximitySensorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.proximity");
}
[Precondition(1, "ProximitySensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "ProximitySensor sensor data update event: Move the test device near to/far from any object")]
- public static async Task Proximity_PROPERTY_READ_ONLY()
+ public async Task Proximity_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.RotationVectorSensor class")]
- public static class RotationVectorSensorTests
+ public class RotationVectorSensorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.rotation_vector");
}
[Precondition(1, "RotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "RotationVectorSensor sensor data update event: Rotate the test device")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
[Precondition(1, "RotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Accuracy changed event: Its difficult to reproduce this event. Accuracy may change when make big 8-like gestures with the device OR the device is exposed to strong electromagnetic fields/ferrous metal objects.")]
- public static async Task AccuracyChanged_CHECK_EVENT()
+ public async Task AccuracyChanged_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.RotationVectorSensorDataUpdatedEventArgs class")]
- public static class RotationVectorSensorDataUpdatedEventArgsTests
+ public class RotationVectorSensorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.rotation_vector");
}
[Test]
- [Category("P1")]
+ [Category("P1")]
[Description("Check accuracy when RotationVectorSensor DataUpdated event is triggered")]
[Property("SPEC", "Tizen.Sensor.RotationVectorSensorDataUpdatedEventArgs.Accuracy A")]
[Property("SPEC_URL", "-")]
[Precondition(1, "RotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "RotationVectorSensor sensor data update event: Rotate the test device")]
- public static async Task Accuracy_PROPERTY_READ_ONLY()
+ public async Task Accuracy_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "RotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "RotationVectorSensor sensor data update event: Rotate the test device")]
- public static async Task Y_PROPERTY_READ_ONLY()
+ public async Task Y_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "RotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "RotationVectorSensor sensor data update event: Rotate the test device")]
- public static async Task W_PROPERTY_READ_ONLY()
+ public async Task W_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "RotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "RotationVectorSensor sensor data update event: Rotate the test device")]
- public static async Task X_PROPERTY_READ_ONLY()
+ public async Task X_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "RotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "RotationVectorSensor sensor data update event: Rotate the test device")]
- public static async Task Z_PROPERTY_READ_ONLY()
+ public async Task Z_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.RunningActivityDetector class")]
- public static class RunningActivityDetectorTests
+ public class RunningActivityDetectorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.activity_recognition");
}
[Precondition(1, "RunningActivityDetector should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Pretend running with the device")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.RunningActivityDetectorDataUpdatedEventArgs class")]
- public static class RunningActivityDetectorDataUpdatedEventArgsTests
+ public class RunningActivityDetectorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.activity_recognition");
}
[Precondition(1, "RunningActivityDetector sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Pretend running with the device")]
- public static async Task Running_PROPERTY_READ_ONLY()
+ public async Task Running_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.SensorAccuracyChangedEventArgs class")]
- public static class SensorAccuracyChangedEventArgsTests
+ public class SensorAccuracyChangedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.rotation_vector");
}
[Precondition(1, "RotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Accuracy changed event: Its difficult to reproduce this event. Accuracy may change when make big 8-like gestures with the device OR the device is exposed to strong electromagnetic fields/ferrous metal objects.")]
- public static async Task Accuracy_PROPERTY_READ_ONLY()
+ public async Task Accuracy_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "RotationVectorSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Accuracy changed event: Its difficult to reproduce this event. Accuracy may change when make big 8-like gestures with the device OR the device is exposed to strong electromagnetic fields/ferrous metal objects.")]
- public static async Task TimeSpan_PROPERTY_READ_ONLY()
+ public async Task TimeSpan_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.SleepMonitor class")]
- public static class SleepMonitorTests
+ public class SleepMonitorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.sleep_monitor");
}
[Precondition(1, "SleepMonitor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Waiting for 20 minutes for the callback without touching the device")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.SleepMonitorDataUpdatedEventArgs class")]
- public static class SleepMonitorDataUpdatedEventArgsTests
+ public class SleepMonitorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.sleep_monitor");
}
[Precondition(1, "SleepMonitor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Waiting for 20 minutes for the callback without touching the device")]
- public static async Task SleepState_PROPERTY_READ_ONLY()
+ public async Task SleepState_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.StationaryActivityDetector class")]
- public static class StationaryActivityDetectorTests
+ public class StationaryActivityDetectorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.activity_recognition");
}
[Precondition(1, "StationaryActivityDetector should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Keep the device stationary for more than 2 minutes")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.StationaryActivityDetectorDataUpdatedEventArgs class")]
- public static class StationaryActivityDetectorDataUpdatedEventArgsTests
+ public class StationaryActivityDetectorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.activity_recognition");
}
[Precondition(1, "StationaryActivityDetector sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Keep the device stationary for more than 2 minutes")]
- public static async Task Stationary_PROPERTY_READ_ONLY()
+ public async Task Stationary_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.TemperatureSensor class")]
- public static class TemperatureSensorTests
+ public class TemperatureSensorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.temperature");
}
[Precondition(1, "TemperatureSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "TemperatureSensor sensor data update event: Expose the device to change in surrounding temperatures")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.TemperatureSensorDataUpdatedEventArgs class")]
- public static class TemperatureSensorDataUpdatedEventArgsTests
+ public class TemperatureSensorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.temperature");
}
[Precondition(1, "TemperatureSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "TemperatureSensor sensor data update event: Expose the device to change in surrounding temperatures")]
- public static async Task Temperature_PROPERTY_READ_ONLY()
+ public async Task Temperature_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.UltravioletSensor class")]
- public static class UltravioletSensorTests
+ public class UltravioletSensorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.ultraviolet");
}
[Precondition(1, "UltravioletSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "UltravioletSensor sensor data update event: Expose the device to change in surrounding uv radiation")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.UltravioletSensorDataUpdatedEventArgs class")]
- public static class UltravioletSensorDataUpdatedEventArgsTests
+ public class UltravioletSensorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.ultraviolet");
}
[Precondition(1, "UltravioletSensor sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "UltravioletSensor sensor data update event: Expose the device to change in surrounding uv radiation")]
- public static async Task UltravioletIndex_PROPERTY_READ_ONLY()
+ public async Task UltravioletIndex_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.UncalibratedGyroscope class")]
- public static class UncalibratedGyroscopeTests
+ public class UncalibratedGyroscopeTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.gyroscope.uncalibrated");
}
[Precondition(1, "UncalibratedGyroscope sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor event: Spin/Turn the test device")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.UncalibratedGyroscopeDataUpdatedEventArgs class")]
- public static class UncalibratedGyroscopeDataUpdatedEventArgsTests
+ public class UncalibratedGyroscopeDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.gyroscope.uncalibrated");
}
[Precondition(1, "UncalibratedGyroscope sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor event: Spin/Turn the test device")]
- public static async Task X_PROPERTY_READ_ONLY()
+ public async Task X_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "UncalibratedGyroscope sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor event: Spin/Turn the test device")]
- public static async Task Y_PROPERTY_READ_ONLY()
+ public async Task Y_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "UncalibratedGyroscope sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor event: Spin/Turn the test device")]
- public static async Task Z_PROPERTY_READ_ONLY()
+ public async Task Z_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "UncalibratedGyroscope sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor event: Spin/Turn the test device")]
- public static async Task BiasX_PROPERTY_READ_ONLY()
+ public async Task BiasX_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "UncalibratedGyroscope sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor event: Spin/Turn the test device")]
- public static async Task BiasY_PROPERTY_READ_ONLY()
+ public async Task BiasY_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "UncalibratedGyroscope sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Gyroscope sensor event: Spin/Turn the test device")]
- public static async Task BiasZ_PROPERTY_READ_ONLY()
+ public async Task BiasZ_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.UncalibratedMagnetometer class")]
- public static class UncalibratedMagnetometerTests
+ public class UncalibratedMagnetometerTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.magnetometer.uncalibrated");
}
[Precondition(1, "UncalibratedMagnetometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "UncalibratedMagnetometer test: Move/Shake the phone up/down or left/right")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
[Precondition(1, "UncalibratedMagnetometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Accuracy changed event: Its difficult to reproduce this event. Accuracy may change when make big 8-like gestures with the device OR the device is exposed to strong electromagnetic fields/ferrous metal objects.")]
- public static async Task AccuracyChanged_CHECK_EVENT()
+ public async Task AccuracyChanged_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.UncalibratedMagnetometerDataUpdatedEventArgs class")]
- public static class UncalibratedMagnetometerDataUpdatedEventArgsTests
+ public class UncalibratedMagnetometerDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.magnetometer.uncalibrated");
}
[Precondition(1, "UncalibratedMagnetometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "UncalibratedMagnetometer test: Move/Shake the phone up/down or left/right")]
- public static async Task X_PROPERTY_READ_ONLY()
+ public async Task X_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "UncalibratedMagnetometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "UncalibratedMagnetometer test: Move/Shake the phone up/down or left/right")]
- public static async Task Y_PROPERTY_READ_ONLY()
+ public async Task Y_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "UncalibratedMagnetometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "UncalibratedMagnetometer test: Move/Shake the phone up/down or left/right")]
- public static async Task Z_PROPERTY_READ_ONLY()
+ public async Task Z_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "UncalibratedMagnetometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "UncalibratedMagnetometer test: Move/Shake the phone up/down or left/right")]
- public static async Task BiasX_PROPERTY_READ_ONLY()
+ public async Task BiasX_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "UncalibratedMagnetometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "UncalibratedMagnetometer test: Move/Shake the phone up/down or left/right")]
- public static async Task BiasY_PROPERTY_READ_ONLY()
+ public async Task BiasY_PROPERTY_READ_ONLY()
{
try
{
[Precondition(1, "UncalibratedMagnetometer sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "UncalibratedMagnetometer test: Move/Shake the phone up/down or left/right")]
- public static async Task BiasZ_PROPERTY_READ_ONLY()
+ public async Task BiasZ_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.WalkingActivityDetector class")]
- public static class WalkingActivityDetectorTests
+ public class WalkingActivityDetectorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.activity_recognition");
}
[Precondition(1, "WalkingActivityDetector should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Pretend walking with the device")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.WalkingActivityDetectorDataUpdatedEventArgs class")]
- public static class WalkingActivityDetectorDataUpdatedEventArgsTests
+ public class WalkingActivityDetectorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.activity_recognition");
}
[Precondition(1, "WalkingActivityDetector sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "Pretend walking with the device")]
- public static async Task Walking_PROPERTY_READ_ONLY()
+ public async Task Walking_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.WristUpGestureDetector class")]
- public static class WristUpGestureDetectorTests
+ public class WristUpGestureDetectorTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.gesture_recognition");
}
[Precondition(1, "WristUpGestureDetector should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "WristUpGestureDetector data update event: Move and face up the test device")]
- public static async Task DataUpdated_CHECK_EVENT()
+ public async Task DataUpdated_CHECK_EVENT()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.WristUpGestureDetectorDataUpdatedEventArgs class")]
- public static class WristUpGestureDetectorDataUpdatedEventArgsTests
+ public class WristUpGestureDetectorDataUpdatedEventArgsTests
{
private static bool _support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
_support = TSSensorHelper.CheckCapability("http://tizen.org/feature/sensor.gesture_recognition");
}
[Precondition(1, "WristUpGestureDetector sensor should be available")]
[Step(1, "Tap the Run button")]
[Step(2, "WristUpGestureDetector sensor data update event: Move and face up the test device")]
- public static async Task WristUp_PROPERTY_READ_ONLY()
+ public async Task WristUp_PROPERTY_READ_ONLY()
{
try
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.Accelerometer class")]
- public static class AccelerometerTests
+ public class AccelerometerTests
{
private static string AccelerometerKey = "http://tizen.org/feature/sensor.accelerometer";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Accelerometer_INIT()
+ public void Accelerometer_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = Accelerometer.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = Accelerometer.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void X_PROPERTY_READ_ONLY()
+ public void X_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Y_PROPERTY_READ_ONLY()
+ public void Y_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Z_PROPERTY_READ_ONLY()
+ public void Z_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.ActivityDetector class")]
- public static class ActivityDetectorTests
+ public class ActivityDetectorTests
{
private static List<ActivityDetector> detectors = new List<ActivityDetector>();
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
if (StationaryActivityDetector.IsSupported)
detectors.Add(new StationaryActivityDetector(0));
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
foreach (var item in detectors)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void ActivityAccuracy_PROPERTY_READ_ONLY()
+ public void ActivityAccuracy_PROPERTY_READ_ONLY()
{
/* TESTCODE */
foreach (var item in detectors)
{
[TestFixture]
[Description("Testing Tizen.Sensor.FaceDownGestureDetector class")]
- public static class FaceDownGestureDetectorTests
+ public class FaceDownGestureDetectorTests
{
private static string GestureKey = "http://tizen.org/feature/sensor.gesture_recognition";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void FaceDownGestureDetector_INIT()
+ public void FaceDownGestureDetector_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = FaceDownGestureDetector.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = FaceDownGestureDetector.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void FaceDown_PROPERTY_READ_ONLY()
+ public void FaceDown_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.GravitySensor class")]
- public static class GravitySensorTests
+ public class GravitySensorTests
{
private static string GravityKey = "http://tizen.org/feature/sensor.gravity";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void GravitySensor_INIT()
+ public void GravitySensor_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = GravitySensor.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = GravitySensor.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void X_PROPERTY_READ_ONLY()
+ public void X_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Y_PROPERTY_READ_ONLY()
+ public void Y_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Z_PROPERTY_READ_ONLY()
+ public void Z_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.Gyroscope class")]
- public static class GyroscopeTests
+ public class GyroscopeTests
{
private static string GyroscopeKey = "http://tizen.org/feature/sensor.gyroscope";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Gyroscope_INIT()
+ public void Gyroscope_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = Gyroscope.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = Gyroscope.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void X_PROPERTY_READ_ONLY()
+ public void X_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Y_PROPERTY_READ_ONLY()
+ public void Y_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Z_PROPERTY_READ_ONLY()
+ public void Z_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.GyroscopeRotationVectorSensor class")]
- public static class GyroscopeRotationVectorSensorTests
+ public class GyroscopeRotationVectorSensorTests
{
private static string GyroscopeRVKey = "http://tizen.org/feature/sensor.gyroscope_rotation_vector";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void GyroscopeRotationVectorSensor_INIT()
+ public void GyroscopeRotationVectorSensor_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = GyroscopeRotationVectorSensor.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = GyroscopeRotationVectorSensor.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void W_PROPERTY_READ_ONLY()
+ public void W_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void X_PROPERTY_READ_ONLY()
+ public void X_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Y_PROPERTY_READ_ONLY()
+ public void Y_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Z_PROPERTY_READ_ONLY()
+ public void Z_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Accuracy_PROPERTY_READ_ONLY()
+ public void Accuracy_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.HeartRateMonitor class")]
- public static class HeartRateMonitorTests
+ public class HeartRateMonitorTests
{
private static string HRMKey = "http://tizen.org/feature/sensor.heart_rate_monitor";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void HeartRateMonitor_INIT()
+ public void HeartRateMonitor_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = HeartRateMonitor.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = HeartRateMonitor.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void HeartRate_PROPERTY_READ_ONLY()
+ public void HeartRate_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.HumiditySensor class")]
- public static class HumiditySensorTests
+ public class HumiditySensorTests
{
private static string HumidityKey = "http://tizen.org/feature/sensor.humidity";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void HumiditySensor_INIT()
+ public void HumiditySensor_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = HumiditySensor.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = HumiditySensor.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Humidity_PROPERTY_READ_ONLY()
+ public void Humidity_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.InVehicleActivityDetector class")]
- public static class InVehicleActivityDetectorTests
+ public class InVehicleActivityDetectorTests
{
private static string ActivityKey = "http://tizen.org/feature/sensor.activity_recognition";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void InVehicleActivityDetector_INIT()
+ public void InVehicleActivityDetector_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = InVehicleActivityDetector.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = InVehicleActivityDetector.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void InVehicle_PROPERTY_READ_ONLY()
+ public void InVehicle_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.LightSensor class")]
- public static class LightSensorTests
+ public class LightSensorTests
{
private static string LightKey = "http://tizen.org/feature/sensor.photometer";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void LightSensor_INIT()
+ public void LightSensor_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = LightSensor.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = LightSensor.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Level_PROPERTY_READ_ONLY()
+ public void Level_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.LinearAccelerationSensor class")]
- public static class LinearAccelerationSensorTests
+ public class LinearAccelerationSensorTests
{
private static string LinearAccelerationKey = "http://tizen.org/feature/sensor.linear_acceleration";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void LinearAccelerationSensor_INIT()
+ public void LinearAccelerationSensor_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = LinearAccelerationSensor.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = LinearAccelerationSensor.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void X_PROPERTY_READ_ONLY()
+ public void X_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Y_PROPERTY_READ_ONLY()
+ public void Y_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Z_PROPERTY_READ_ONLY()
+ public void Z_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.Magnetometer class")]
- public static class MagnetometerTests
+ public class MagnetometerTests
{
private static string MagnetometerKey = "http://tizen.org/feature/sensor.magnetometer";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Magnetometer_INIT()
+ public void Magnetometer_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = Magnetometer.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = Magnetometer.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void X_PROPERTY_READ_ONLY()
+ public void X_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Y_PROPERTY_READ_ONLY()
+ public void Y_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Z_PROPERTY_READ_ONLY()
+ public void Z_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.MagnetometerRotationVectorSensor class")]
- public static class MagnetometerRotationVectorSensorTests
+ public class MagnetometerRotationVectorSensorTests
{
private static string MagnetometerRVSensor = "http://tizen.org/feature/sensor.geomagnetic_rotation_vector";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void MagnetometerRotationVectorSensor_INIT()
+ public void MagnetometerRotationVectorSensor_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = MagnetometerRotationVectorSensor.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = MagnetometerRotationVectorSensor.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void W_PROPERTY_READ_ONLY()
+ public void W_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void X_PROPERTY_READ_ONLY()
+ public void X_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Y_PROPERTY_READ_ONLY()
+ public void Y_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Z_PROPERTY_READ_ONLY()
+ public void Z_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Accuracy_PROPERTY_READ_ONLY()
+ public void Accuracy_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.OrientationSensor class")]
- public static class OrientationSensorTests
+ public class OrientationSensorTests
{
private static string OrientationKey = "http://tizen.org/feature/sensor.tiltmeter";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void OrientationSensor_INIT()
+ public void OrientationSensor_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = OrientationSensor.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = OrientationSensor.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Azimuth_PROPERTY_READ_ONLY()
+ public void Azimuth_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Pitch_PROPERTY_READ_ONLY()
+ public void Pitch_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Roll_PROPERTY_READ_ONLY()
+ public void Roll_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.Pedometer class")]
- public static class PedometerTests
+ public class PedometerTests
{
private static string PedometerKey = "http://tizen.org/feature/sensor.pedometer";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Pedometer_INIT()
+ public void Pedometer_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = Pedometer.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = Pedometer.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void CalorieBurned_PROPERTY_READ_ONLY()
+ public void CalorieBurned_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void LastSpeed_PROPERTY_READ_ONLY()
+ public void LastSpeed_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void LastSteppingFrequency_PROPERTY_READ_ONLY()
+ public void LastSteppingFrequency_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void LastStepStatus_PROPERTY_READ_ONLY()
+ public void LastStepStatus_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void MovingDistance_PROPERTY_READ_ONLY()
+ public void MovingDistance_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void RunStepCount_PROPERTY_READ_ONLY()
+ public void RunStepCount_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void StepCount_PROPERTY_READ_ONLY()
+ public void StepCount_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void WalkStepCount_PROPERTY_READ_ONLY()
+ public void WalkStepCount_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.PickUpGestureDetector class")]
- public static class PickUpGestureDetectorTests
+ public class PickUpGestureDetectorTests
{
private static string GestureKey = "http://tizen.org/feature/sensor.gesture_recognition";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void PickUpGestureDetector_INIT()
+ public void PickUpGestureDetector_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = PickUpGestureDetector.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = PickUpGestureDetector.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void PickUp_PROPERTY_READ_ONLY()
+ public void PickUp_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.PressureSensor class")]
- public static class PressureSensorTests
+ public class PressureSensorTests
{
private static string PressureKey = "http://tizen.org/feature/sensor.barometer";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void PressureSensor_INIT()
+ public void PressureSensor_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = PressureSensor.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = PressureSensor.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Pressure_PROPERTY_READ_ONLY()
+ public void Pressure_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.ProximitySensor class")]
- public static class ProximitySensorTests
+ public class ProximitySensorTests
{
private static string ProximityKey = "http://tizen.org/feature/sensor.proximity";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void ProximitySensor_INIT()
+ public void ProximitySensor_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = ProximitySensor.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = ProximitySensor.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Proximity_PROPERTY_READ_ONLY()
+ public void Proximity_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.RotationVectorSensor class")]
- public static class RotationVectorSensorTests
+ public class RotationVectorSensorTests
{
private static string RVKey = "http://tizen.org/feature/sensor.rotation_vector";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void RotationVectorSensor_INIT()
+ public void RotationVectorSensor_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Accuracy_PROPERTY_READ_ONLY()
+ public void Accuracy_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = RotationVectorSensor.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = RotationVectorSensor.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void W_PROPERTY_READ_ONLY()
+ public void W_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void X_PROPERTY_READ_ONLY()
+ public void X_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Y_PROPERTY_READ_ONLY()
+ public void Y_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Z_PROPERTY_READ_ONLY()
+ public void Z_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.RunningActivityDetector class")]
- public static class RunningActivityDetectorTests
+ public class RunningActivityDetectorTests
{
private static string ActivityKey = "http://tizen.org/feature/sensor.activity_recognition";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void RunningActivityDetector_INIT()
+ public void RunningActivityDetector_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = RunningActivityDetector.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = RunningActivityDetector.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Running_PROPERTY_READ_ONLY()
+ public void Running_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.Sensor class")]
- public static class SensorTests
+ public class SensorTests
{
private static List<Sensor> sensors = new List<Sensor>();
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
if (UncalibratedMagnetometer.IsSupported)
sensors.Add(new UncalibratedMagnetometer(0));
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
foreach (var item in sensors)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void FifoCount_PROPERTY_READ_ONLY()
+ public void FifoCount_PROPERTY_READ_ONLY()
{
/* TESTCODE */
foreach (var item in sensors)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Interval_PROPERTY_READ_DEFAULT()
+ public void Interval_PROPERTY_READ_DEFAULT()
{
/* TESTCODE */
foreach (var item in sensors)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PMIN")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Interval_PROPERTY_READ_WRITE_MIN_CHECK()
+ public void Interval_PROPERTY_READ_WRITE_MIN_CHECK()
{
/* TESTCODE */
foreach (var item in sensors)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Interval_PROPERTY_READ_WRITE()
+ public void Interval_PROPERTY_READ_WRITE()
{
/* TESTCODE */
foreach (var item in sensors)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void MaxBatchLatency_PROPERTY_READ_WRITE()
+ public void MaxBatchLatency_PROPERTY_READ_WRITE()
{
/* TESTCODE */
foreach (var item in sensors)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void PausePolicy_PROPERTY_READ_WRITE_ENUM_ALL()
+ public void PausePolicy_PROPERTY_READ_WRITE_ENUM_ALL()
{
/* TESTCODE */
foreach (var item in sensors)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void TimeSpan_PROPERTY_READ_WRITE()
+ public void TimeSpan_PROPERTY_READ_WRITE()
{
/* TESTCODE */
foreach (var item in sensors)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSensing_PROPERTY_READ_ONLY()
+ public void IsSensing_PROPERTY_READ_ONLY()
{
/* TESTCODE */
foreach (var item in sensors)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void MaxBatchCount_PROPERTY_READ_ONLY()
+ public void MaxBatchCount_PROPERTY_READ_ONLY()
{
/* TESTCODE */
foreach (var item in sensors)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void MinInterval_PROPERTY_READ_ONLY()
+ public void MinInterval_PROPERTY_READ_ONLY()
{
/* TESTCODE */
foreach (var item in sensors)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void MaxValue_PROPERTY_READ_ONLY()
+ public void MaxValue_PROPERTY_READ_ONLY()
{
/* TESTCODE */
foreach (var item in sensors)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void MinValue_PROPERTY_READ_ONLY()
+ public void MinValue_PROPERTY_READ_ONLY()
{
/* TESTCODE */
foreach (var item in sensors)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Resolution_PROPERTY_READ_ONLY()
+ public void Resolution_PROPERTY_READ_ONLY()
{
/* TESTCODE */
foreach (var item in sensors)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Name_PROPERTY_READ_ONLY()
+ public void Name_PROPERTY_READ_ONLY()
{
/* TESTCODE */
foreach (var item in sensors)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Vendor_PROPERTY_READ_ONLY()
+ public void Vendor_PROPERTY_READ_ONLY()
{
/* TESTCODE */
foreach (var item in sensors)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHANGE_STATUS()
+ public void Start_CHANGE_STATUS()
{
foreach (var item in sensors)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHANGE_STATUS()
+ public void Stop_CHANGE_STATUS()
{
foreach (var item in sensors)
{
{
[TestFixture]
[Description("Testing Tizen.Sensor.SleepMonitor class")]
- public static class SleepMonitorTests
+ public class SleepMonitorTests
{
private static string SleepMonitorKey = "http://tizen.org/feature/sensor.sleep_monitor";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void SleepMonitor_INIT()
+ public void SleepMonitor_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = SleepMonitor.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = SleepMonitor.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void SleepState_PROPERTY_READ_ONLY()
+ public void SleepState_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.StationaryActivityDetector class")]
- public static class StationaryActivityDetectorTests
+ public class StationaryActivityDetectorTests
{
private static string ActivityKey = "http://tizen.org/feature/sensor.activity_recognition";
private static bool support = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void StationaryActivityDetector_INIT()
+ public void StationaryActivityDetector_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = StationaryActivityDetector.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = StationaryActivityDetector.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Stationary_PROPERTY_READ_ONLY()
+ public void Stationary_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.TemperatureSensor class")]
- public static class TemperatureSensorTests
+ public class TemperatureSensorTests
{
private static string TemperatureKey = "http://tizen.org/feature/sensor.temperature";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void TemperatureSensor_INIT()
+ public void TemperatureSensor_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = TemperatureSensor.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = TemperatureSensor.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Temperature_PROPERTY_READ_ONLY()
+ public void Temperature_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.UltravioletSensor class")]
- public static class UltravioletSensorTests
+ public class UltravioletSensorTests
{
private static string UltravioletKey = "http://tizen.org/feature/sensor.ultraviolet";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void UltravioletSensor_INIT()
+ public void UltravioletSensor_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = UltravioletSensor.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = UltravioletSensor.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void UltravioletIndex_PROPERTY_READ_ONLY()
+ public void UltravioletIndex_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.UncalibratedGyroscope class")]
- public static class UncalibratedGyroscopeTests
+ public class UncalibratedGyroscopeTests
{
private static string UncalibratedGyroscopeKey = "http://tizen.org/feature/sensor.gyroscope.uncalibrated";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void UncalibratedGyroscope_INIT()
+ public void UncalibratedGyroscope_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = UncalibratedGyroscope.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = UncalibratedGyroscope.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void X_PROPERTY_READ_ONLY()
+ public void X_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Y_PROPERTY_READ_ONLY()
+ public void Y_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Z_PROPERTY_READ_ONLY()
+ public void Z_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void BiasX_PROPERTY_READ_ONLY()
+ public void BiasX_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void BiasY_PROPERTY_READ_ONLY()
+ public void BiasY_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void BiasZ_PROPERTY_READ_ONLY()
+ public void BiasZ_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.UncalibratedMagnetometer class")]
- public static class UncalibratedMagnetometerTests
+ public class UncalibratedMagnetometerTests
{
private static string UncalibratedMagnetometerKey = "http://tizen.org/feature/sensor.magnetometer.uncalibrated";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void UncalibratedMagnetometer_INIT()
+ public void UncalibratedMagnetometer_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = UncalibratedMagnetometer.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = UncalibratedMagnetometer.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void X_PROPERTY_READ_ONLY()
+ public void X_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Y_PROPERTY_READ_ONLY()
+ public void Y_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Z_PROPERTY_READ_ONLY()
+ public void Z_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void BiasX_PROPERTY_READ_ONLY()
+ public void BiasX_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void BiasY_PROPERTY_READ_ONLY()
+ public void BiasY_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void BiasZ_PROPERTY_READ_ONLY()
+ public void BiasZ_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Ankur Garg, ankur29.garg@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.WalkingActivityDetector class")]
- public static class WalkingActivityDetectorTests
+ public class WalkingActivityDetectorTests
{
private static string ActivityKey = "http://tizen.org/feature/sensor.activity_recognition";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void WalkingActivityDetector_INIT()
+ public void WalkingActivityDetector_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = WalkingActivityDetector.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = WalkingActivityDetector.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Walking_PROPERTY_READ_ONLY()
+ public void Walking_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Testing Tizen.Sensor.WristUpGestureDetector class")]
- public static class WristUpGestureDetectorTests
+ public class WristUpGestureDetectorTests
{
private static string GestureKey = "http://tizen.org/feature/sensor.gesture_recognition";
private static bool support = false;
}
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
support = CheckCapability();
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void WristUpGestureDetector_INIT()
+ public void WristUpGestureDetector_INIT()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void IsSupported_PROPERTY_READ_ONLY()
+ public void IsSupported_PROPERTY_READ_ONLY()
{
/* TESTCODE */
bool ret = WristUpGestureDetector.IsSupported;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Count_PROPERTY_READ_ONLY()
+ public void Count_PROPERTY_READ_ONLY()
{
/* TESTCODE */
object ret = WristUpGestureDetector.Count;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void WristUp_PROPERTY_READ_ONLY()
+ public void WristUp_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Start_CHECK_START_AGAIN()
+ public void Start_CHECK_START_AGAIN()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Kibak Yoon, kibak.yoon@samsung.com")]
- public static void Stop_CHECK_WITHOUT_START()
+ public void Stop_CHECK_WITHOUT_START()
{
/*
* PRECONDITION
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Shortcut TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for Shortcut TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task AppId_PROPERTY_READ_ONLY()
+ public async Task AppId_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task Uri_PROPERTY_READ_ONLY()
+ public async Task Uri_PROPERTY_READ_ONLY()
{
try
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Shortcut TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for Shortcut TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void Uri_PROPERTY_READ_WRITE()
+ public void Uri_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void Uri_DEFAULT_VALUE()
+ public void Uri_DEFAULT_VALUE()
{
try
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Shortcut TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for Shortcut TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task ShortcutName_PROPERTY_READ_ONLY()
+ public async Task ShortcutName_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task IconPath_PROPERTY_READ_ONLY()
+ public async Task IconPath_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task IsAllowDuplicate_PROPERTY_READ_ONLY()
+ public async Task IsAllowDuplicate_PROPERTY_READ_ONLY()
{
try
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Shortcut TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for Shortcut TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task AppId_PROPERTY_READ_ONLY()
+ public async Task AppId_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task ShortcutName_PROPERTY_READ_ONLY()
+ public async Task ShortcutName_PROPERTY_READ_ONLY()
{
try
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for Shortcut TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for Shortcut TEST");
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Shortcut.ShortcutAdded")]
- public static async Task RegisterEventHandler_ShortcutAdded_CHECK_EVENT()
+ public async Task RegisterEventHandler_ShortcutAdded_CHECK_EVENT()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Shortcut.ShortcutAdded")]
- public static async Task RegisterEventHandler_ShortcutAdded_WITH_INVAILD_PARAMETER()
+ public async Task RegisterEventHandler_ShortcutAdded_WITH_INVAILD_PARAMETER()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Shortcut.ShortcutDeleted")]
- public static async Task RegisterEventHandler_ShortcutDeleted_CHECK_EVENT()
+ public async Task RegisterEventHandler_ShortcutDeleted_CHECK_EVENT()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Shortcut.ShortcutDeleted")]
- public static async Task RegisterEventHandler_ShortcutDeleted_WITH_INVAILD_PARAMETER()
+ public async Task RegisterEventHandler_ShortcutDeleted_WITH_INVAILD_PARAMETER()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Shortcut.ShortcutAdded")]
- public static async Task UnregisterEventHandler_ShortcutAdded_CHECK_EVENT()
+ public async Task UnregisterEventHandler_ShortcutAdded_CHECK_EVENT()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Shortcut.ShortcutAdded")]
- public static async Task UnregisterEventHandler_ShortcutAdded_WITH_INVAILD_PARAMETER()
+ public async Task UnregisterEventHandler_ShortcutAdded_WITH_INVAILD_PARAMETER()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Shortcut.ShortcutDeleted")]
- public static async Task UnregisterEventHandler_ShortcutDeleted_CHECK_EVENT()
+ public async Task UnregisterEventHandler_ShortcutDeleted_CHECK_EVENT()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Shortcut.ShortcutDeleted")]
- public static async Task UnregisterEventHandler_ShortcutDeleted_WITH_INVAILD_PARAMETER()
+ public async Task UnregisterEventHandler_ShortcutDeleted_WITH_INVAILD_PARAMETER()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task GetTemplateList_RETURN_VALUE()
+ public async Task GetTemplateList_RETURN_VALUE()
{
int count = 0;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task GetTemplateList_WITH_INVALID_PARAMETER()
+ public async Task GetTemplateList_WITH_INVALID_PARAMETER()
{
int count = 0;
try
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Shortcut TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for Shortcut TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void ShortcutName_PROPERTY_READ_WRITE()
+ public void ShortcutName_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void ShortcutName_DEFAULT_VALUE()
+ public void ShortcutName_DEFAULT_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void IconPath_PROPERTY_READ_WRITE()
+ public void IconPath_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void IconPath_DEFAULT_VALUE()
+ public void IconPath_DEFAULT_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void IsAllowDuplicate_PROPERTY_READ_WRITE()
+ public void IsAllowDuplicate_PROPERTY_READ_WRITE()
{
try
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Shortcut TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for Shortcut TEST");
}
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Shortcut.HomeShortcutInfo")]
- public static async Task Add_HomeShortcut_RETURN_VALUE()
+ public async Task Add_HomeShortcut_RETURN_VALUE()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Shortcut.WidgetShortcutInfo")]
- public static async Task Add_WidgetShortcut_RETURN_VALUE()
+ public async Task Add_WidgetShortcut_RETURN_VALUE()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Shortcut.HomeShortcutInfo")]
- public static async Task Add_WITH_INVAILD_PARAMETER()
+ public async Task Add_WITH_INVAILD_PARAMETER()
{
try
{
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Shortcut.HomeShortcutInfo")]
- public static async Task Add_CHECK_STATUS()
+ public async Task Add_CHECK_STATUS()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Shortcut.ShortcutInfo")]
- public static async Task Delete_WITH_SHORTCUTINFO_RETURN_VALUE()
+ public async Task Delete_WITH_SHORTCUTINFO_RETURN_VALUE()
{
try
{
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "string")]
- public static async Task Delete_WITH_SHORTCUTNAME_RETURN_VALUE()
+ public async Task Delete_WITH_SHORTCUTNAME_RETURN_VALUE()
{
try
{
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "string")]
- public static async Task Delete_WITH_INVAILD_PARAMETER()
+ public async Task Delete_WITH_INVAILD_PARAMETER()
{
try
{
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.Shortcut.HomeShortcutInfo")]
- public static async Task Delete_CHECK_STATUS()
+ public async Task Delete_CHECK_STATUS()
{
try
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Shortcut TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for Shortcut TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task AppId_PROPERTY_READ_ONLY()
+ public async Task AppId_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task ShortcutName_PROPERTY_READ_ONLY()
+ public async Task ShortcutName_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task IconPath_PROPERTY_READ_ONLY()
+ public async Task IconPath_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task ExtraKey_PROPERTY_READ_ONLY()
+ public async Task ExtraKey_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task ExtraData_PROPERTY_READ_ONLY()
+ public async Task ExtraData_PROPERTY_READ_ONLY()
{
try
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Shortcut TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for Shortcut TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task WidgetId_PROPERTY_READ_ONLY()
+ public async Task WidgetId_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task WidgetSize_GET_ENUM_WIDGETDEFAULT()
+ public async Task WidgetSize_GET_ENUM_WIDGETDEFAULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task WidgetSize_GET_ENUM_WIDGET1BY1()
+ public async Task WidgetSize_GET_ENUM_WIDGET1BY1()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task WidgetSize_GET_ENUM_WIDGET2BY1()
+ public async Task WidgetSize_GET_ENUM_WIDGET2BY1()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task WidgetSize_GET_ENUM_WIDGET2BY2()
+ public async Task WidgetSize_GET_ENUM_WIDGET2BY2()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task WidgetSize_GET_ENUM_WIDGET4BY1()
+ public async Task WidgetSize_GET_ENUM_WIDGET4BY1()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task WidgetSize_GET_ENUM_WIDGET4BY2()
+ public async Task WidgetSize_GET_ENUM_WIDGET4BY2()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task WidgetSize_GET_ENUM_WIDGET4BY3()
+ public async Task WidgetSize_GET_ENUM_WIDGET4BY3()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task WidgetSize_GET_ENUM_WIDGET4BY4()
+ public async Task WidgetSize_GET_ENUM_WIDGET4BY4()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task WidgetSize_GET_ENUM_WIDGET4BY5()
+ public async Task WidgetSize_GET_ENUM_WIDGET4BY5()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task WidgetSize_GET_ENUM_WIDGET4BY6()
+ public async Task WidgetSize_GET_ENUM_WIDGET4BY6()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task WidgetSize_GET_ENUM_EASYDEFAULT()
+ public async Task WidgetSize_GET_ENUM_EASYDEFAULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task WidgetSize_GET_ENUM_EASY1BY1()
+ public async Task WidgetSize_GET_ENUM_EASY1BY1()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task WidgetSize_GET_ENUM_EASY3BY1()
+ public async Task WidgetSize_GET_ENUM_EASY3BY1()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task WidgetSize_GET_ENUM_EASY3BY3()
+ public async Task WidgetSize_GET_ENUM_EASY3BY3()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "mk5004.lee@samsung.com")]
- public static async Task Period_PROPERTY_READ_ONLY()
+ public async Task Period_PROPERTY_READ_ONLY()
{
try
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for Shortcut TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for Shortcut TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetId_PROPERTY_READ_WRITE()
+ public void WidgetId_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetId_DEFAULT_VALUE()
+ public void WidgetId_DEFAULT_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void Period_PROPERTY_READ_WRITE()
+ public void Period_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetSize_GET_ENUM_WIDGETDEFAULT()
+ public void WidgetSize_GET_ENUM_WIDGETDEFAULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetSize_GET_ENUM_WIDGET1BY1()
+ public void WidgetSize_GET_ENUM_WIDGET1BY1()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetSize_GET_ENUM_WIDGET2BY1()
+ public void WidgetSize_GET_ENUM_WIDGET2BY1()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetSize_GET_ENUM_WIDGET2BY2()
+ public void WidgetSize_GET_ENUM_WIDGET2BY2()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetSize_GET_ENUM_WIDGET4BY1()
+ public void WidgetSize_GET_ENUM_WIDGET4BY1()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetSize_GET_ENUM_WIDGET4BY2()
+ public void WidgetSize_GET_ENUM_WIDGET4BY2()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetSize_GET_ENUM_WIDGET4BY3()
+ public void WidgetSize_GET_ENUM_WIDGET4BY3()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetSize_GET_ENUM_WIDGET4BY4()
+ public void WidgetSize_GET_ENUM_WIDGET4BY4()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetSize_GET_ENUM_WIDGET4BY5()
+ public void WidgetSize_GET_ENUM_WIDGET4BY5()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetSize_GET_ENUM_WIDGET4BY6()
+ public void WidgetSize_GET_ENUM_WIDGET4BY6()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetSize_GET_ENUM_EASYDEFAULT()
+ public void WidgetSize_GET_ENUM_EASYDEFAULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetSize_GET_ENUM_EASY1BY1()
+ public void WidgetSize_GET_ENUM_EASY1BY1()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetSize_GET_ENUM_EASY3BY1()
+ public void WidgetSize_GET_ENUM_EASY3BY1()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "MyungKi Lee, mk5004.lee@samsung.com")]
- public static void WidgetSize_GET_ENUM_EASY3BY3()
+ public void WidgetSize_GET_ENUM_EASY3BY3()
{
try
{
static IEnumerable<SmartcardReader> readers = null;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug("TCT", "[TestCase] Smartcard manager Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug("TCT", "[TestCase] Smartcard manager Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jihoon Jung, jh8801.jung@samsung.com")]
- public static void GetReaders_RETURN_LIST_OF_READERS()
+ public void GetReaders_RETURN_LIST_OF_READERS()
{
/** TEST CODE **/
try
}
}
}
-}
\ No newline at end of file
+}
static IEnumerable<SmartcardReader> readers = null;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug("TCT", "[TestCase] Smartcard Reader Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug("TCT", "[TestCase] Smartcard Reader Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jihoon Jung, jh8801.jung@samsung.com")]
- public static void Name_READ_ONLY()
+ public void Name_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jihoon Jung, jh8801.jung@samsung.com")]
- public static void IsSecureElementPresent_READ_ONLY()
+ public void IsSecureElementPresent_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jihoon Jung, jh8801.jung@samsung.com")]
- public static void OpenSession_RETURN_VALUE()
+ public void OpenSession_RETURN_VALUE()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jihoon Jung, jh8801.jung@samsung.com")]
- public static void CloseSessions_CHANGE_STATUS()
+ public void CloseSessions_CHANGE_STATUS()
{
/*
* TEST CODE
}
SmartcardSession session1 = reader.OpenSession();
- SmartcardSession session2 = reader.OpenSession();\r
-\r
+ SmartcardSession session2 = reader.OpenSession();
+
Assert.True(session1.IsClosed == false, "session1 should be opened before closing session.");
Assert.True(session2.IsClosed == false, "session2 should be opened before closing session.");
}
}
}
-}
\ No newline at end of file
+}
static IEnumerable<SmartcardReader> readers = null;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug("TCT", "[TestCase] Smartcard Session Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug("TCT", "[TestCase] Smartcard Session Preconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jihoon Jung, jh8801.jung@samsung.com")]
- public static void Atr_READ_ONLY()
+ public void Atr_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jihoon Jung, jh8801.jung@samsung.com")]
- public static void Reader_READ_ONLY()
+ public void Reader_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jihoon Jung, jh8801.jung@samsung.com")]
- public static void IsClosed_READ_ONLY()
+ public void IsClosed_READ_ONLY()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Jihoon Jung, jh8801.jung@samsung.com")]
- public static void Close_CHANGE_STATUS()
+ public void Close_CHANGE_STATUS()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jihoon Jung, jh8801.jung@samsung.com")]
- public static void OpenBasicChannel_CHECK_NULL_REFERENCE_EXCEPTION()
+ public void OpenBasicChannel_CHECK_NULL_REFERENCE_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Jihoon Jung, jh8801.jung@samsung.com")]
- public static void OpenLogicalChannel_CHECK_NULL_REFERENCE_EXCEPTION()
+ public void OpenLogicalChannel_CHECK_NULL_REFERENCE_EXCEPTION()
{
/*
* TEST CODE
}
}
}
-}
\ No newline at end of file
+}
{
[SetUp]
- public static void Init()
+ public void Init()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Step(2, "Change language from Home > Settings > Language and Input > STT > Language")]
[Step(3, "Click pass if you see the previous lauguage")]
[Postcondition(1, "N/A")]
- public static async Task PreviousLanguage_Value()
+ public async Task PreviousLanguage_Value()
{
SttWrapper obj = null;
try
[Step(2, "Change language from Home > Settings > Language and Input > STT > Language")]
[Step(3, "Click pass if you see the current language")]
[Postcondition(1, "N/A")]
- public static async Task CurrentLanguage_Value()
+ public async Task CurrentLanguage_Value()
{
SttWrapper obj = null;
try
{
[SetUp]
- public static void Init()
+ public void Init()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "Click 'Engine Changed Button' after changing the stt engine in Settings > Language and Input > Stt > Preferred Engine")]
[Postcondition(1, "N/A")]
- public static async Task EngineId_GET()
+ public async Task EngineId_GET()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing TC:EngineId_GET");
SttWrapper obj = new SttWrapper();
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "Click 'Engine Changed Button' after changing the stt engine in Settings > Language and Input > Stt > Preferred Engine")]
[Postcondition(1, "N/A")]
- public static async Task Language_GET()
+ public async Task Language_GET()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing TC:Language_GET");
SttWrapper obj = new SttWrapper();
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "Click 'Engine Changed Button' after changing the stt engine in Settings > Language and Input > Stt > Preferred Engine")]
[Postcondition(1, "N/A")]
- public static async Task NeedCredential_GET()
+ public async Task NeedCredential_GET()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing TC:NeedCredential_GET");
SttWrapper obj = new SttWrapper();
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "Click 'Engine Changed Button' after changing the stt engine in Settings > Language and Input > Stt > Preferred Engine")]
[Postcondition(1, "N/A")]
- public static async Task SupportSilence_GET()
+ public async Task SupportSilence_GET()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing TC:SupportSilence_GET");
SttWrapper obj = new SttWrapper();
{
[SetUp]
- public static void Init()
+ public void Init()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Step(3, "Click Start Recording")]
[Step(4, "Click Pass if the Label Text becomes 'Error Occured'")]
[Postcondition(1, "Enable Wifi")]
- public static async Task ErrorValue_GET()
+ public async Task ErrorValue_GET()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing TC:ErrorValue_GET");
SttWrapper obj = new SttWrapper();
[Step(3, "Click Start Recording")]
[Step(4, "Click Pass if the Label Text becomes 'Error Occured'")]
[Postcondition(1, "Enable Wifi")]
- public static async Task ErrorMessage_GET()
+ public async Task ErrorMessage_GET()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing TC:ErrorMessage_GET");
SttWrapper obj = new SttWrapper();
public class RecognitionResultEventArgsTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Step(3, "Tap the Stop Recording Button to End Speech Recording")]
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received, the TC will automatically pass if event is received")]
[Postcondition(1, "N/A")]
- public static async Task Result_GET_ENUM_ALL()
+ public async Task Result_GET_ENUM_ALL()
{
SttWrapper obj = new SttWrapper();
await obj.GenerateResultTime();
[Step(3, "Tap the Stop Recording Button to End Speech Recording")]
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received, the TC will automatically pass if event is received")]
[Postcondition(1, "N/A")]
- public static async Task Message_GET_ENUM_ALL()
+ public async Task Message_GET_ENUM_ALL()
{
SttWrapper obj = new SttWrapper();
await obj.GenerateResultTime();
[Step(3, "Tap the Stop Recording Button to End Speech Recording")]
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received, the TC will automatically pass if event is received")]
[Postcondition(1, "N/A")]
- public static async Task Data_READ_ONLY()
+ public async Task Data_READ_ONLY()
{
SttWrapper obj = new SttWrapper();
await obj.GenerateResultTime();
[Step(3, "Tap the Stop Recording Button to End Speech Recording")]
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received, the TC will automatically pass if event is received")]
[Postcondition(1, "N/A")]
- public static async Task DataCount_READ_ONLY()
+ public async Task DataCount_READ_ONLY()
{
SttWrapper obj = new SttWrapper();
await obj.GenerateResultTime();
public class ResultTimeTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Step(3, "Tap the Stop Recording Button to End Speech Recording")]
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received, the TC will automatically pass if event is received")]
[Postcondition(1, "N/A")]
- public static async Task Index_READ_ONLY()
+ public async Task Index_READ_ONLY()
{
SttWrapper obj = new SttWrapper();
await obj.GenerateResultTime();
[Step(3, "Tap the Stop Recording Button to End Speech Recording")]
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received, the TC will automatically pass if event is received")]
[Postcondition(1, "N/A")]
- public static async Task StartTime_READ_ONLY()
+ public async Task StartTime_READ_ONLY()
{
SttWrapper obj = new SttWrapper();
await obj.GenerateResultTime();
[Step(3, "Tap the Stop Recording Button to End Speech Recording")]
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received, the TC will automatically pass if event is received")]
[Postcondition(1, "N/A")]
- public static async Task EndTime_READ_ONLY()
+ public async Task EndTime_READ_ONLY()
{
SttWrapper obj = new SttWrapper();
await obj.GenerateResultTime();
[Step(3, "Tap the Stop Recording Button to End Speech Recording")]
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received, the TC will automatically pass if event is received")]
[Postcondition(1, "N/A")]
- public static async Task Text_READ_ONLY()
+ public async Task Text_READ_ONLY()
{
SttWrapper obj = new SttWrapper();
await obj.GenerateResultTime();
[Step(3, "Tap the Stop Recording Button to End Speech Recording")]
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received, the TC will automatically pass if event is received")]
[Postcondition(1, "N/A")]
- public static async Task TokenEvent_GET_ENUM_ALL()
+ public async Task TokenEvent_GET_ENUM_ALL()
{
SttWrapper obj = new SttWrapper();
await obj.GenerateResultTime();
public class SttClientTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Step(3, "Tap the Stop Recording Button to End Speech Recording")]
[Step(4, "Tap the Wait for Result Button only when Label text becomes SttRecognitionResult received, the TC will automatically pass if event is received")]
[Postcondition(1, "N/A")]
- public static async Task Start_NO_EXCEPTION()
+ public async Task Start_NO_EXCEPTION()
{
SttWrapper obj = new SttWrapper();
await obj.GenerateResultTime();
[Step(3, "Tap the Stop Recording Button to End Speech Recording")]
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received, the TC will automatically pass if event is received")]
[Postcondition(1, "N/A")]
- public static async Task GetDetailedResult_RETURN_VALUE()
+ public async Task GetDetailedResult_RETURN_VALUE()
{
SttWrapper obj = new SttWrapper();
await obj.GenerateResultTime();
internal static bool isFeatureSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue("http://tizen.org/feature/speech.recognition", out isSpeechRecognitionSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Current_READ_ONLY()
+ public async Task Current_READ_ONLY()
{
SttWrapper obj = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Previous_READ_ONLY()
+ public async Task Previous_READ_ONLY()
{
SttWrapper obj = null;
try
internal static bool isFeatureSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue("http://tizen.org/feature/speech.recognition", out isSpeechRecognitionSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SttClient_CONSTRUCTOR()
+ public void SttClient_CONSTRUCTOR()
{
/*PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Engine_READ_WRITE()
+ public void Engine_READ_WRITE()
{
/*PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void DefaultLanguage_READ_ONLY()
+ public void DefaultLanguage_READ_ONLY()
{
/*PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task CurrentState_GET_ENUM_ALL()
+ public async Task CurrentState_GET_ENUM_ALL()
{
/*PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task RecordingVolume_READ_ONLY()
+ public async Task RecordingVolume_READ_ONLY()
{
/*PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetSupportedEngines_RETURN_VALUE()
+ public void GetSupportedEngines_RETURN_VALUE()
{
/*PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetCredential_NO_EXCEPTION()
+ public void SetCredential_NO_EXCEPTION()
{
/*PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetCredential_ArgumentException_EXCEPTION()
+ public void SetCredential_ArgumentException_EXCEPTION()
{
/*PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetSupportedLanguages_RETURN_VALUE()
+ public void GetSupportedLanguages_RETURN_VALUE()
{
/*PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void RecognitionResult_ADD_EVENT()
+ public void RecognitionResult_ADD_EVENT()
{
/*PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void StateChanged_ADD_EVENT()
+ public void StateChanged_ADD_EVENT()
{
/*PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void ErrorOccurred_ADD_EVENT()
+ public void ErrorOccurred_ADD_EVENT()
{
/*PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void DefaultLanguageChanged_ADD_EVENT()
+ public void DefaultLanguageChanged_ADD_EVENT()
{
/*PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void EngineChanged_ADD_EVENT()
+ public void EngineChanged_ADD_EVENT()
{
/*PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Prepare_NO_EXCEPTION()
+ public async Task Prepare_NO_EXCEPTION()
{
/*PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task SetPrivateData_NO_EXCEPTION()
+ public async Task SetPrivateData_NO_EXCEPTION()
{
SttWrapper obj = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task SetPrivateData_ARGUMENTEXCEPTION_EXCEPTION()
+ public async Task SetPrivateData_ARGUMENTEXCEPTION_EXCEPTION()
{
SttWrapper obj = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task GetPrivateData_RETURN_VALUE()
+ public async Task GetPrivateData_RETURN_VALUE()
{
SttWrapper obj = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task GetPrivateData_ARGUMENTEXCEPTION_EXCEPTION()
+ public async Task GetPrivateData_ARGUMENTEXCEPTION_EXCEPTION()
{
SttWrapper obj = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Unprepare_NO_EXCEPTION()
+ public async Task Unprepare_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task IsRecognitionTypeSupported_ENUM_ALL()
+ public async Task IsRecognitionTypeSupported_ENUM_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task SetSilenceDetection_ENUM_ALL()
+ public async Task SetSilenceDetection_ENUM_ALL()
{
SttWrapper obj = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task SetStartSound_NO_EXCEPTION()
+ public async Task SetStartSound_NO_EXCEPTION()
{
SttWrapper obj = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task SetStartSound_ARGUMENTEXCEPTION_EXCEPTION()
+ public async Task SetStartSound_ARGUMENTEXCEPTION_EXCEPTION()
{
SttWrapper obj = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetStartSound_INVALIDOPEARATION_EXCEPTION()
+ public void SetStartSound_INVALIDOPEARATION_EXCEPTION()
{
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task UnsetStartSound_NO_EXCEPTION()
+ public async Task UnsetStartSound_NO_EXCEPTION()
{
SttWrapper obj = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void UnsetStartSound_INVALIDOPEARATION_EXCEPTION()
+ public void UnsetStartSound_INVALIDOPEARATION_EXCEPTION()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task SetStopSound_NO_EXCEPTION()
+ public async Task SetStopSound_NO_EXCEPTION()
{
SttWrapper obj = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetStopSound_INVALIDOPEARATION_EXCEPTION()
+ public void SetStopSound_INVALIDOPEARATION_EXCEPTION()
{
/* PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task UnsetStopSound_NO_EXCEPTION()
+ public async Task UnsetStopSound_NO_EXCEPTION()
{
SttWrapper obj = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Dispose_Working()
+ public void Dispose_Working()
{
/* PRECONDITION
* 1. Ensure Wifi or Data Network is Present
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void UnsetStopSound_InvalidOperationException_EXCEPTION()
+ public void UnsetStopSound_InvalidOperationException_EXCEPTION()
{
SttWrapper obj = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Stop_InvalidOperationException_EXCEPTION()
+ public async Task Stop_InvalidOperationException_EXCEPTION()
{
SttWrapper obj = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Cancel_InvalidOperationException_EXCEPTION()
+ public async Task Cancel_InvalidOperationException_EXCEPTION()
{
SttWrapper obj = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task SetStartSound_ArgumentException_EXCEPTION()
+ public async Task SetStartSound_ArgumentException_EXCEPTION()
{
SttWrapper obj = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task SetStopSound_ArgumentException_EXCEPTION()
+ public async Task SetStopSound_ArgumentException_EXCEPTION()
{
SttWrapper obj = null;
try
internal static bool isFeatureSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue("http://tizen.org/feature/speech.recognition", out isSpeechRecognitionSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
SttHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void EngineId_READ_ONLY()
+ public void EngineId_READ_ONLY()
{
SttWrapper inst = null;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void EngineName_READ_ONLY()
+ public void EngineName_READ_ONLY()
{
SttWrapper inst = null;
try
private static bool _isAvailable = false;
[SetUp]
- public static void Init()
+ public void Init()
{
SttEngineHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
SttEngineHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'Engine Constructor Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task Engine_Working()
+ public async Task Engine_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'EngineMain Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task EngineMain_Working()
+ public async Task EngineMain_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'Initialize Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task Initialize_Working()
+ public async Task Initialize_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'SetSilenceDetection Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SetSilenceDetection_Working()
+ public async Task SetSilenceDetection_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'ForEachSupportedLanguages Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task ForEachSupportedLanguages_Working()
+ public async Task ForEachSupportedLanguages_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'IsValidLanguage Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task IsValidLanguage_Working()
+ public async Task IsValidLanguage_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'GetInformation Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task GetInformation_Working()
+ public async Task GetInformation_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'NeedAppCredential Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task NeedAppCredential_Working()
+ public async Task NeedAppCredential_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'SetPrivateDataSetDelegate Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SetPrivateDataSetDelegate_Working()
+ public async Task SetPrivateDataSetDelegate_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "If method does not throw a exception, TC will automatically fail. Otherwise make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SetPrivateDataSetDelegate_ArgumentException_EXCEPTION()
+ public async Task SetPrivateDataSetDelegate_ArgumentException_EXCEPTION()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'SetPrivateDataRequestedDelegate Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SetPrivateDataRequestedDelegate_Working()
+ public async Task SetPrivateDataRequestedDelegate_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "If method does not throw a exception, TC will automatically fail. Otherwise make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SetPrivateDataRequestedDelegate_ArgumentException_EXCEPTION()
+ public async Task SetPrivateDataRequestedDelegate_ArgumentException_EXCEPTION()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'Deinitialize Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task Deinitialize_Working()
+ public async Task Deinitialize_Working()
{
if (_isAvailable)
{
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received")]
[Step(5, "If you see the log 'GetRecordingFormat Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task GetRecordingFormat_Working()
+ public async Task GetRecordingFormat_Working()
{
if (_isAvailable)
{
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received")]
[Step(5, "If you see the log 'CheckAppAgreed Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task CheckAppAgreed_Working()
+ public async Task CheckAppAgreed_Working()
{
if (_isAvailable)
{
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received")]
[Step(5, "If you see the log 'Start Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task Start_Working()
+ public async Task Start_Working()
{
if (_isAvailable)
{
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received")]
[Step(5, "If you see the log 'SetRecordingData Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SetRecordingData_Working()
+ public async Task SetRecordingData_Working()
{
if (_isAvailable)
{
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received")]
[Step(5, "If you see the log 'Stop Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task Stop_Working()
+ public async Task Stop_Working()
{
if (_isAvailable)
{
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received")]
[Step(5, "If you see the log 'ForEachResultTime Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task ForEachResultTime_Working()
+ public async Task ForEachResultTime_Working()
{
if (_isAvailable)
{
[Step(4, "Tap the Wait for Recognition Result Button only when Label text becomes SttRecognitionResult received")]
[Step(5, "If you see the log 'SendResult Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SendResult_Working()
+ public async Task SendResult_Working()
{
if (_isAvailable)
{
[Step(2, "Tap the Start Recording Button")]
[Step(3, "Click Pass if the Label Text becomes 'Error Occured' and If you see the log 'SendError Successful'")]
[Postcondition(1, "N/A")]
- public static async Task SendError_Working()
+ public async Task SendError_Working()
{
if (_isAvailable)
{
[Step(2, "Tap the Start Recording Button")]
[Step(3, "Click Pass if the Label Text becomes 'Error Occured' and If you see the log 'SendSpeechStatus Successful'")]
[Postcondition(1, "N/A")]
- public static async Task SendSpeechStatus_Working()
+ public async Task SendSpeechStatus_Working()
{
if (_isAvailable)
{
[Step(2, "Tap the Start Recording Button")]
[Step(3, "Click Pass if the Label Text becomes 'Error Occured' and If you see the log 'Cancel Successful'")]
[Postcondition(1, "N/A")]
- public static async Task Cancel_Working()
+ public async Task Cancel_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'SupportRecognitionType Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SupportRecognitionType_Working()
+ public async Task SupportRecognitionType_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Stt feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'SupportSilenceDetection Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SupportSilenceDetection_Working()
+ public async Task SupportSilenceDetection_Working()
{
if (_isAvailable)
{
SttEngineHelper.PrintLog(Type.DLogAndlogUtil, "Completed TC:SupportSilenceDetection_Working");
}
}
-}
\ No newline at end of file
+}
private static bool isCallbackSet = true;
[SetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/account.sync", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void SyncAdapter_INIT()
+ public void SyncAdapter_INIT()
{
/* TESTCODE */
SyncAdapter obj = new SyncAdapter();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void SetSyncEventCallbacks_CHECK_VALUE()
+ public void SetSyncEventCallbacks_CHECK_VALUE()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void SetSyncEventCallbacks_CHECK_ARGUMENT_NULL_EXCEPTION()
+ public void SetSyncEventCallbacks_CHECK_ARGUMENT_NULL_EXCEPTION()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void SetSyncEventCallbacks_CHECK_INVALID_OPERATION_EXCEPTION()
+ public void SetSyncEventCallbacks_CHECK_INVALID_OPERATION_EXCEPTION()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void UnsetSyncEventCallbacks_CHECK_STATUS()
+ public void UnsetSyncEventCallbacks_CHECK_STATUS()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
private static bool isCallbackSet = true;
[SetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/account.sync", out isSupported);
isStartCallbackInvoked = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task RequestOnDemandSyncJob_CHECK_VALUE()
+ public async Task RequestOnDemandSyncJob_CHECK_VALUE()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task RequestOnDemandSyncJob_CHECK_EXPEDITED()
+ public async Task RequestOnDemandSyncJob_CHECK_EXPEDITED()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task RequestOnDemandSyncJob_CHECK_NORETRY()
+ public async Task RequestOnDemandSyncJob_CHECK_NORETRY()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void RequestOnDemandSyncJob_CHECK_ARGUMENT_NULL_EXCEPTION()
+ public void RequestOnDemandSyncJob_CHECK_ARGUMENT_NULL_EXCEPTION()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void RequestOnDemandSyncJob_CHECK_ARGUMENT_EXCEPTION()
+ public void RequestOnDemandSyncJob_CHECK_ARGUMENT_EXCEPTION()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void RequestOnDemandSyncJob_CHECK_INVALID_OPERATION_EXCEPTION()
+ public void RequestOnDemandSyncJob_CHECK_INVALID_OPERATION_EXCEPTION()
{
int id = 0;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void AddPeriodicSyncJob_CHECK_VALUE()
+ public void AddPeriodicSyncJob_CHECK_VALUE()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task AddPeriodicSyncJob_CHECK_EXPEDITED()
+ public async Task AddPeriodicSyncJob_CHECK_EXPEDITED()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void AddPeriodicSyncJob_CHECK_NORETRY()
+ public void AddPeriodicSyncJob_CHECK_NORETRY()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task AddPeriodicSyncJob_CHECK_ARGUMENT_COMBINATIONS()
+ public async Task AddPeriodicSyncJob_CHECK_ARGUMENT_COMBINATIONS()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void AddPeriodicSyncJob_CHECK_ARGUMENT_NULL_EXCEPTION()
+ public void AddPeriodicSyncJob_CHECK_ARGUMENT_NULL_EXCEPTION()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void AddPeriodicSyncJob_CHECK_ARGUMENT_EXCEPTION()
+ public void AddPeriodicSyncJob_CHECK_ARGUMENT_EXCEPTION()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void AddPeriodicSyncJob_CHECK_INVALID_OPERATION_EXCEPTION()
+ public void AddPeriodicSyncJob_CHECK_INVALID_OPERATION_EXCEPTION()
{
int id = 0;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void AddDataChangeSyncJob_CHECK_VALUE()
+ public void AddDataChangeSyncJob_CHECK_VALUE()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static async Task AddDataChangeSyncJob_CHECK_EXPEDITED()
+ public async Task AddDataChangeSyncJob_CHECK_EXPEDITED()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void AddDataChangeSyncJob_CHECK_NORETRY()
+ public void AddDataChangeSyncJob_CHECK_NORETRY()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void AddDataChangeSyncJob_CHECK_ARGUMENT_NULL_EXCEPTION()
+ public void AddDataChangeSyncJob_CHECK_ARGUMENT_NULL_EXCEPTION()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void AddDataChangeSyncJob_CHECK_ARGUMENT_EXCEPTION()
+ public void AddDataChangeSyncJob_CHECK_ARGUMENT_EXCEPTION()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void AddDataChangeSyncJob_CHECK_INVALID_OPERATION_EXCEPTION()
+ public void AddDataChangeSyncJob_CHECK_INVALID_OPERATION_EXCEPTION()
{
int id = 0;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void RemoveSyncJob_CHECK_VALUE()
+ public void RemoveSyncJob_CHECK_VALUE()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void RemoveSyncJob_CHECK_ARGUMENT_EXCEPTION()
+ public void RemoveSyncJob_CHECK_ARGUMENT_EXCEPTION()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void GetAllSyncJobs_CHECK_NO_EXCEPTION()
+ public void GetAllSyncJobs_CHECK_NO_EXCEPTION()
{
SyncAdapter obj = new SyncAdapter();
Assert.IsNotNull(obj, "Object should not be null after construction");
private static bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue("http://tizen.org/feature/account.sync", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void SyncJobData_INIT()
+ public void SyncJobData_INIT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void Account_PROPERTY_READ_WRITE()
+ public void Account_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void UserData_PROPERTY_READ_WRITE()
+ public void UserData_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "jyothi kumar sambolu, s.jyothi@samsung.com")]
- public static void SyncJobName_PROPERTY_READ_WRITE()
+ public void SyncJobName_PROPERTY_READ_WRITE()
{
try
{
public class StorageTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Step(2, "[Emulator] Detach the SD card. The menu is here in Control Panel > SD Card > Click \"Detach\".")]
[Step(3, "[Target] Remove the SD card or USB memory stick")]
[Step(4, "If you do not get \"pass\", please press fail.")]
- public static async Task StorageStateChanged_CHECK_SDCARD_EVENT()
+ public async Task StorageStateChanged_CHECK_SDCARD_EVENT()
{
string profile;
bool is_mobile;
class StorageManagerTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Step(2, "[Emulator] Attach the SD card. The menu is here in Control Panel > SD Card > Click \"Attach\".")]
[Step(3, "[Target] Insert an SD card or USB memory stick.")]
[Step(4, "If you don't get \"pass\", please press fail.")]
- public static async Task SetChangedEvent_CHECK_SDCARD_EVENT()
+ public async Task SetChangedEvent_CHECK_SDCARD_EVENT()
{
string profile;
bool is_mobile;
[Step(2, "[Emulator] Attach the SD card. The menu is here in Control Panel > SD Card > Click \"Attach\".")]
[Step(3, "[Target] Insert an SD card or USB memory stick.")]
[Step(4, "If you don't get \"pass\", please press fail.")]
- public static async Task UnsetChangedEvent_CHECK_SDCARD_EVENT()
+ public async Task UnsetChangedEvent_CHECK_SDCARD_EVENT()
{
string profile;
bool is_mobile;
}
[TestFixtureSetUp]
- public static void FixtureInit()
+ public void FixtureInit()
{
internalStorage = StorageManager.Storages.Where(s => s.StorageType == StorageArea.Internal).FirstOrDefault();
externalStorage = StorageManager.Storages.Where(s => s.StorageType == StorageArea.External).FirstOrDefault();
}
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void GetAbsolutePath_ENUM_ALL()
+ public void GetAbsolutePath_ENUM_ALL()
{
// PRECONDITION
Assert.IsNotNull(internalStorage, "PRECONDITION: Failed to get internal storage for testing.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void GetAbsolutePath_CHECK_NOT_SUPPORTED_EXCEPTION()
+ public void GetAbsolutePath_CHECK_NOT_SUPPORTED_EXCEPTION()
{
string profile;
bool is_mobile;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Id_READ_ONLY()
+ public void Id_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(internalStorage, "PRECONDITION: Failed to get internal storage for testing.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void RootDirectory_READ_ONLY()
+ public void RootDirectory_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(internalStorage, "PRECONDITION: Failed to get internal storage for testing.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Pureum Jung")]
- public static void DeviceType_READ_ONLY()
+ public void DeviceType_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(internalStorage, "PRECONDITION: Failed to get internal storage for testing.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Pureum Jung")]
- public static void Fstype_READ_ONLY()
+ public void Fstype_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(internalStorage, "PRECONDITION: Failed to get internal storage for testing.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Pureum Jung")]
- public static void Fsuuid_READ_ONLY()
+ public void Fsuuid_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(internalStorage, "PRECONDITION: Failed to get internal storage for testing.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Pureum Jung")]
- public static void Flags_READ_ONLY()
+ public void Flags_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(internalStorage, "PRECONDITION: Failed to get internal storage for testing.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Pureum Jung")]
- public static void Primary_READ_ONLY()
+ public void Primary_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(internalStorage, "PRECONDITION: Failed to get internal storage for testing.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void StorageType_GET_ENUM_STORAGEAREA_INTERNAL()
+ public void StorageType_GET_ENUM_STORAGEAREA_INTERNAL()
{
// PRECONDITION
Assert.IsNotNull(internalStorage, "PRECONDITION: Failed to get internal storage for testing.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void StorageType_GET_ENUM_STORAGEAREA_EXTERNAL()
+ public void StorageType_GET_ENUM_STORAGEAREA_EXTERNAL()
{
string profile;
bool is_mobile;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void AvaliableSpace_READ_ONLY()
+ public void AvaliableSpace_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(internalStorage, "PRECONDITION: Failed to get internal storage for testing.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Pureum Jung, pr.jung@samsung.com")]
- public static void AvailableSpace_READ_ONLY()
+ public void AvailableSpace_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(internalStorage, "PRECONDITION: Failed to get internal storage for testing.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void TotalSpace_READ_ONLY()
+ public void TotalSpace_READ_ONLY()
{
// PRECONDITION
Assert.IsNotNull(internalStorage, "PRECONDITION: Failed to get internal storage for testing.");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void State_GET_ENUM_All()
+ public void State_GET_ENUM_All()
{
// PRECONDITION
Assert.IsNotNull(internalStorage, "PRECONDITION: Failed to get internal storage for testing.");
public class StorageManagerTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Storages_READ_ONLY()
+ public void Storages_READ_ONLY()
{
var storages = StorageManager.Storages;
Assert.IsTrue(storages is IEnumerable<Storage>, string.Format("Wrong type, Expected: IEnumerable<Storage>, Actual: {0}", storages.GetType().Name));
Assert.IsNotNull(internalStorage, "StorageManager.Storages should have atleast internalStorage");
}
}
-}
\ No newline at end of file
+}
{
[TestFixture]
[Description("Tizen.System.Data3GNetworkSettingChangedEventArgs Tests")]
- public static class Data3GNetworkSettingChangedEventArgsTests
+ public class Data3GNetworkSettingChangedEventArgsTests
{
private static bool s_data3GNetworkCallbackCalled = false;
private static bool s_data3GNetworkSettingValue = !Tizen.System.SystemSettings.Data3GNetworkEnabled;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY()
+ public async Task Value_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Tizen.System.EmailAlertRingtoneChangedEventArgs Tests")]
- public static class EmailAlertRingtoneChangedEventArgsTests
+ public class EmailAlertRingtoneChangedEventArgsTests
{
private static bool s_emailAlertRingtoneCallbackCalled = false;
private static readonly string s_emailAlertRingtoneValue = "/opt/usr/data/settings/Alerts/General notification_sdk.wav";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY()
+ public async Task Value_PROPERTY_READ_ONLY()
{
try {
/*
{
[TestFixture]
[Description("Tizen.System.FontSizeChangedEventArgs Tests")]
- public static class FontSizeChangedEventArgsTests
+ public class FontSizeChangedEventArgsTests
{
private static bool s_fontSizeSmallCallbackCalled = false;
//[Test]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_ENUM_SMALL()
+ public async Task Value_ENUM_SMALL()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_ENUM_NORMAL()
+ public async Task Value_ENUM_NORMAL()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_ENUM_LARGE()
+ public async Task Value_ENUM_LARGE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_ENUM_HUGE()
+ public async Task Value_ENUM_HUGE()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_ENUM_GIANT()
+ public async Task Value_ENUM_GIANT()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Tizen.System.FontTypeChangedEventArgs Tests")]
- public static class FontTypeChangedEventArgsTests
+ public class FontTypeChangedEventArgsTests
{
private static bool s_fontTypeCallbackCalled = false;
private static readonly string s_fontTypeValue = "BreezeSans";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY()
+ public async Task Value_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Tizen.System.IncomingCallRingtoneChangedEventArgs Tests")]
- public static class IncomingCallRingtoneChangedEventArgsTests
+ public class IncomingCallRingtoneChangedEventArgsTests
{
private static bool s_incomingCallRingtoneCallbackCalled = false;
private static readonly string s_incomingCallRingtoneValue = "/opt/usr/data/settings/Ringtones/ringtone_sdk.mp3";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY()
+ public async Task Value_PROPERTY_READ_ONLY()
{
try {
/*
{
[TestFixture]
[Description("Tizen.System.LocaleCountryChangedEventArgs Tests")]
- public static class LocaleCountryChangedEventArgsTests
+ public class LocaleCountryChangedEventArgsTests
{
private static bool s_localeCountryCallbackCalled = false;
private static readonly string s_localeCountryValue = "en_US";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY()
+ public async Task Value_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Tizen.System.LocaleLanguageChangedEventArgs Tests")]
- public static class LocaleLanguageChangedEventArgsTests
+ public class LocaleLanguageChangedEventArgsTests
{
private static bool s_localeLanguageCallbackCalled = false;
private static readonly string s_localeLanguageValue = "en_US";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY()
+ public async Task Value_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Tizen.System.LocaleTimeFormat24HourSettingChangedEventArgs Tests")]
- public static class LocaleTimeFormat24HourSettingChangedEventArgsTests
+ public class LocaleTimeFormat24HourSettingChangedEventArgsTests
{
private static bool s_timeFormatCallbackCalled = false;
private static readonly bool s_localeTimeformat24HourValue = !Tizen.System.SystemSettings.LocaleTimeFormat24HourEnabled;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY()
+ public async Task Value_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Tizen.System.LocaleTimeZoneChangedEventArgs Tests")]
- public static class LocaleTimeZoneChangedEventArgsTests
+ public class LocaleTimeZoneChangedEventArgsTests
{
private static bool s_localeTimeZoneCallbackCalled = false;
private static readonly string s_localeTimeZoneValue = "Asia/Seoul";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY()
+ public async Task Value_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Tizen.System.LockStateChangedEventArgs Tests")]
- public static class LockStateChangedEventArgsTests
+ public class LockStateChangedEventArgsTests
{
private static bool s_lockStateLockCallbackCalled = false;
//[Test]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_ENUM_LOCK()
+ public async Task Value_ENUM_LOCK()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_ENUM_UNLOCK()
+ public async Task Value_ENUM_UNLOCK()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_ENUM_LAUNCHING_LOCK()
+ public async Task Value_ENUM_LAUNCHING_LOCK()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Tizen.System.LockscreenAppChangedEventArgs Tests")]
- public static class LockscreenAppChangedEventArgsTests
+ public class LockscreenAppChangedEventArgsTests
{
private static bool s_lockScreenAppCallbackCalled = false;
private static readonly string s_lockscreenAppValue = "org.tizen.lockscreen";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY()
+ public async Task Value_PROPERTY_READ_ONLY()
{
try {
/*
{
[TestFixture]
[Description("Tizen.System.MotionActivationSettingChangedEventArgs Tests")]
- public static class MotionActivationSettingChangedEventArgsTests
+ public class MotionActivationSettingChangedEventArgsTests
{
private static bool s_motionActivationCallbackCalled = false;
private static bool s_motionActivationValue = !Tizen.System.SystemSettings.MotionActivationEnabled;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY()
+ public async Task Value_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Tizen.System.ScreenBacklightTimeChangedEventArgs Tests")]
- public static class ScreenBacklightTimeChangedEventArgsTests
+ public class ScreenBacklightTimeChangedEventArgsTests
{
private static bool s_screenBacklightTime15CallbackCalled = false;
//[Test]
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY_15()
+ public async Task Value_PROPERTY_READ_ONLY_15()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY_30()
+ public async Task Value_PROPERTY_READ_ONLY_30()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY_60()
+ public async Task Value_PROPERTY_READ_ONLY_60()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY_120()
+ public async Task Value_PROPERTY_READ_ONLY_120()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY_300()
+ public async Task Value_PROPERTY_READ_ONLY_300()
{
/*
* PRECONDITION
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY_600()
+ public async Task Value_PROPERTY_READ_ONLY_600()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Tizen.System.SoundNotificationChangedEventArgs Tests")]
- public static class SoundNotificationChangedEventArgsTests
+ public class SoundNotificationChangedEventArgsTests
{
private static bool s_soundNotificationCallbackCalled = false;
private static readonly string s_soundNotificationValue = "/opt/usr/data/settings/Alerts/General notification_sdk.wav";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY()
+ public async Task Value_PROPERTY_READ_ONLY()
{
try {
/*
{
[TestFixture]
[Description("Tizen.System.SoundNotificationRepetitionPeriodChangedEventArgs Tests")]
- public static class SoundNotificationRepetitionPeriodChangedEventArgsTests
+ public class SoundNotificationRepetitionPeriodChangedEventArgsTests
{
private static bool s_soundNotificationRepetitionPeriodCallbackCalled = false;
private static readonly int s_soundNotificationRepetitionPeriodValue = 300;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY()
+ public async Task Value_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
{
[TestFixture]
[Description("Tizen.System.SystemSettings Tests")]
- public static class SystemSettingsTests
+ public class SystemSettingsTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
//LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
//LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void IncomingCallRingtone_READ_WRITE()
+ public void IncomingCallRingtone_READ_WRITE()
{
try {
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task IncomingCallRingtoneChanged_CHECK_EVENT()
+ public async Task IncomingCallRingtoneChanged_CHECK_EVENT()
{
try {
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void WallpaperHomeScreen_READ_WRITE()
+ public void WallpaperHomeScreen_READ_WRITE()
{
try {
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task WallpaperHomeScreenChanged_CHECK_EVENT()
+ public async Task WallpaperHomeScreenChanged_CHECK_EVENT()
{
try {
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void WallpaperLockScreen_READ_WRITE()
+ public void WallpaperLockScreen_READ_WRITE()
{
try {
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task WallpaperLockScreenChanged_CHECK_EVENT()
+ public async Task WallpaperLockScreenChanged_CHECK_EVENT()
{
try {
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void FontSize_READ_WRITE_ALL()
+ public void FontSize_READ_WRITE_ALL()
{
/* TEST CODE */
Assert.IsInstanceOf<Tizen.System.SystemSettingsFontSize>(Tizen.System.SystemSettings.FontSize, "FontSize_READ_WRITE_ALL: FontSize not an instance of SystemSettingsFontSize");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task FontSizeChanged_CHECK_EVENT_SMALL()
+ public async Task FontSizeChanged_CHECK_EVENT_SMALL()
{
/* TEST CODE */
Tizen.System.SystemSettings.FontSizeChanged += OnFontSizeChangedSmall;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task FontSizeChanged_CHECK_EVENT_NORMAL()
+ public async Task FontSizeChanged_CHECK_EVENT_NORMAL()
{
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task FontSizeChanged_CHECK_EVENT_LARGE()
+ public async Task FontSizeChanged_CHECK_EVENT_LARGE()
{
/* TEST CODE */
Tizen.System.SystemSettings.FontSizeChanged += OnFontSizeChangedLarge;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task FontSizeChanged_CHECK_EVENT_HUGE()
+ public async Task FontSizeChanged_CHECK_EVENT_HUGE()
{
/* TEST CODE */
Tizen.System.SystemSettings.FontSizeChanged += OnFontSizeChangedHuge;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task FontSizeChanged_CHECK_EVENT_GIANT()
+ public async Task FontSizeChanged_CHECK_EVENT_GIANT()
{
/* TEST CODE */
Tizen.System.SystemSettings.FontSizeChanged += OnFontSizeChangedGiant;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void FontType_READ_WRITE()
+ public void FontType_READ_WRITE()
{
/* TEST CODE */
Assert.IsInstanceOf<string>(Tizen.System.SystemSettings.FontType, "FontType_READ_WRITE: FontType not an instance of string");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task FontTypeChanged_CHECK_EVENT()
+ public async Task FontTypeChanged_CHECK_EVENT()
{
/* TEST CODE */
Tizen.System.SystemSettings.FontTypeChanged += OnFontTypeChanged;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void MotionActivationEnabled_READ_WRITE()
+ public void MotionActivationEnabled_READ_WRITE()
{
/* TEST CODE */
bool preValue = Tizen.System.SystemSettings.MotionActivationEnabled;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task MotionActivationSettingChanged_CHECK_EVENT()
+ public async Task MotionActivationSettingChanged_CHECK_EVENT()
{
/* TEST CODE */
Tizen.System.SystemSettings.MotionActivationSettingChanged += OnMotionActivationChanged;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void EmailAlertRingtone_READ_WRITE()
+ public void EmailAlertRingtone_READ_WRITE()
{
try {
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task EmailAlertRingtoneChanged_CHECK_EVENT()
+ public async Task EmailAlertRingtoneChanged_CHECK_EVENT()
{
try {
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void Data3GNetworkEnabled_READ_WRITE()
+ public void Data3GNetworkEnabled_READ_WRITE()
{
/* TEST CODE */
bool preValue = Tizen.System.SystemSettings.Data3GNetworkEnabled;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Data3GNetworkSettingChanged_CHECK_EVENT()
+ public async Task Data3GNetworkSettingChanged_CHECK_EVENT()
{
/* TEST CODE */
Tizen.System.SystemSettings.Data3GNetworkSettingChanged += OnData3GNetworkSettingChanged;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void LockscreenApp_READ_WRITE()
+ public void LockscreenApp_READ_WRITE()
{
try {
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task LockscreenAppChanged_CHECK_EVENT()
+ public async Task LockscreenAppChanged_CHECK_EVENT()
{
try {
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void DefaultFontType_READ_ONLY()
+ public void DefaultFontType_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void LocaleCountry_READ_WRITE()
+ public void LocaleCountry_READ_WRITE()
{
/* TEST CODE */
Assert.IsInstanceOf<string>(Tizen.System.SystemSettings.LocaleCountry, "LocaleCountry_READ_WRITE: LocaleCountry not an instance of string");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task LocaleCountryChanged_CHECK_EVENT()
+ public async Task LocaleCountryChanged_CHECK_EVENT()
{
/* TEST CODE */
Tizen.System.SystemSettings.LocaleCountryChanged += OnLocaleCountryChanged;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void LocaleLanguage_READ_WRITE()
+ public void LocaleLanguage_READ_WRITE()
{
/* TEST CODE */
Assert.IsInstanceOf<string>(Tizen.System.SystemSettings.LocaleLanguage, "LocaleLanguage_READ_WRITE: LocaleLanguage not an instance of string");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task LocaleLanguageChanged_CHECK_EVENT()
+ public async Task LocaleLanguageChanged_CHECK_EVENT()
{
/* TEST CODE */
Tizen.System.SystemSettings.LocaleLanguageChanged += OnLocaleLanguageChanged;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void LocaleTimeFormat24HourEnabled_READ_WRITE()
+ public void LocaleTimeFormat24HourEnabled_READ_WRITE()
{
/* TEST CODE */
bool preValue = Tizen.System.SystemSettings.LocaleTimeFormat24HourEnabled;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task LocaleTimeFormat24HourSettingChanged_CHECK_EVENT()
+ public async Task LocaleTimeFormat24HourSettingChanged_CHECK_EVENT()
{
/* TEST CODE */
Tizen.System.SystemSettings.LocaleTimeFormat24HourSettingChanged += OnLocaleTimeformat24HourChanged;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void LocaleTimeZone_READ_WRITE()
+ public void LocaleTimeZone_READ_WRITE()
{
/* TEST CODE */
Assert.IsInstanceOf<string>(Tizen.System.SystemSettings.LocaleTimeZone, "LocaleTimeZone_READ_WRITE: LocaleTimeZone not an instance of string");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task LocaleTimeZoneChanged_CHECK_EVENT()
+ public async Task LocaleTimeZoneChanged_CHECK_EVENT()
{
/* TEST CODE */
Tizen.System.SystemSettings.LocaleTimeZoneChanged += OnLocaleTimeZoneChanged;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void SoundLockEnabled_READ_ONLY()
+ public void SoundLockEnabled_READ_ONLY()
{
/* TEST CODE */
Assert.IsInstanceOf<bool>(Tizen.System.SystemSettings.SoundLockEnabled, "SoundLockEnabled_READ_ONLY: SoundLockEnabled not an instance of bool");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void SoundSilentModeEnabled_READ_ONLY()
+ public void SoundSilentModeEnabled_READ_ONLY()
{
/* TEST CODE */
Assert.IsInstanceOf<bool>(Tizen.System.SystemSettings.SoundSilentModeEnabled, "SoundSilentModeEnabled_READ_ONLY: SoundSilentModeEnabled not an instance of bool");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void SoundTouchEnabled_READ_ONLY()
+ public void SoundTouchEnabled_READ_ONLY()
{
/* TEST CODE */
Assert.IsInstanceOf<bool>(Tizen.System.SystemSettings.SoundTouchEnabled, "SoundTouchEnabled_READ_ONLY: SoundTouchEnabled not an instance of bool");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void DisplayScreenRotationAutoEnabled_READ_ONLY()
+ public void DisplayScreenRotationAutoEnabled_READ_ONLY()
{
/* TEST CODE */
Assert.IsInstanceOf<bool>(Tizen.System.SystemSettings.DisplayScreenRotationAutoEnabled, "DisplayScreenRotationAutoEnabled_READ_ONLY: DisplayScreenRotationAutoEnabled not an instance of bool");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void DeviceName_READ_ONLY()
+ public void DeviceName_READ_ONLY()
{
/* TEST CODE */
Assert.IsNotNull(Tizen.System.SystemSettings.DeviceName, "DeviceName_READ_ONLY: DeviceName is null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void MotionEnabled_READ_ONLY()
+ public void MotionEnabled_READ_ONLY()
{
/* TEST CODE */
Assert.IsInstanceOf<bool>(Tizen.System.SystemSettings.MotionEnabled, "MotionEnabled_READ_ONLY: MotionEnabled not an instance of bool");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void NetworkWifiNotificationEnabled_READ_ONLY()
+ public void NetworkWifiNotificationEnabled_READ_ONLY()
{
/* TEST CODE */
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void NetworkFlightModeEnabled_READ_ONLY()
+ public void NetworkFlightModeEnabled_READ_ONLY()
{
/* TEST CODE */
Assert.IsInstanceOf<bool>(Tizen.System.SystemSettings.NetworkFlightModeEnabled, "NetworkFlightModeEnabled_READ_ONLY: NetworkFlightModeEnabled not an instance of bool");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void ScreenBacklightTime_READ_WRITE_ALL()
+ public void ScreenBacklightTime_READ_WRITE_ALL()
{
/* TEST CODE */
Assert.IsInstanceOf<int>(Tizen.System.SystemSettings.ScreenBacklightTime, "ScreenBacklightTime_READ_WRITE_ALL: ScreenBacklightTime not an instance of int");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_15()
+ public async Task ScreenBacklightTimeChanged_CHECK_EVENT_15()
{
/* TEST CODE */
Tizen.System.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTime15Changed;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_30()
+ public async Task ScreenBacklightTimeChanged_CHECK_EVENT_30()
{
/* TEST CODE */
Tizen.System.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTime30Changed;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_60()
+ public async Task ScreenBacklightTimeChanged_CHECK_EVENT_60()
{
/* TEST CODE */
Tizen.System.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTime60Changed;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_120()
+ public async Task ScreenBacklightTimeChanged_CHECK_EVENT_120()
{
/* TEST CODE */
Tizen.System.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTime120Changed;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_300()
+ public async Task ScreenBacklightTimeChanged_CHECK_EVENT_300()
{
/* TEST CODE */
Tizen.System.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTime300Changed;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task ScreenBacklightTimeChanged_CHECK_EVENT_600()
+ public async Task ScreenBacklightTimeChanged_CHECK_EVENT_600()
{
/* TEST CODE */
Tizen.System.SystemSettings.ScreenBacklightTimeChanged += OnScreenBacklightTime600Changed;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void SoundNotification_READ_WRITE()
+ public void SoundNotification_READ_WRITE()
{
try {
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task SoundNotificationChanged_CHECK_EVENT()
+ public async Task SoundNotificationChanged_CHECK_EVENT()
{
try {
/* TEST CODE */
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void SoundNotificationRepetitionPeriod_READ_WRITE()
+ public void SoundNotificationRepetitionPeriod_READ_WRITE()
{
/* TEST CODE */
Assert.IsInstanceOf<int>(Tizen.System.SystemSettings.SoundNotificationRepetitionPeriod, "SoundNotificationRepetitionPeriod_READ_WRITE: SoundNotificationRepetitionPeriod not an instance of int");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task SoundNotificationRepetitionPeriodChanged_CHECK_EVENT()
+ public async Task SoundNotificationRepetitionPeriodChanged_CHECK_EVENT()
{
/* TEST CODE */
Tizen.System.SystemSettings.SoundNotificationRepetitionPeriodChanged += OnSoundNotificationRepetitionPeriodChanged;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void LockState_READ_WRITE_ALL()
+ public void LockState_READ_WRITE_ALL()
{
/* TEST CODE */
Assert.IsInstanceOf<Tizen.System.SystemSettingsIdleLockState>(Tizen.System.SystemSettings.LockState, "LockState_READ_WRITE_ALL: LockState not an instance of SystemSettingsIdleLockState");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task LockStateChanged_CHECK_EVENT_LOCK()
+ public async Task LockStateChanged_CHECK_EVENT_LOCK()
{
/* TEST CODE */
Tizen.System.SystemSettings.LockStateChanged += OnLockStateChangedLock;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task LockStateChanged_CHECK_EVENT_UNLOCK()
+ public async Task LockStateChanged_CHECK_EVENT_UNLOCK()
{
/* TEST CODE */
Tizen.System.SystemSettings.LockStateChanged += OnLockStateChangedUnlock;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task LockStateChanged_CHECK_EVENT_LAUNCHING_LOCK()
+ public async Task LockStateChanged_CHECK_EVENT_LAUNCHING_LOCK()
{
/* TEST CODE */
Tizen.System.SystemSettings.LockStateChanged += OnLockStateChangedLaunchingLock;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void Time_READ_ONLY()
+ public void Time_READ_ONLY()
{
/* TEST CODE */
Assert.IsInstanceOf<int>(Tizen.System.SystemSettings.Time, "Time_READ_ONLY: Time not an instance of int");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static void UsbDebuggingEnabled_READ_WRITE()
+ public void UsbDebuggingEnabled_READ_WRITE()
{
/* TEST CODE */
bool setValue = true;
{
[TestFixture]
[Description("Tizen.System.WallpaperHomeScreenChangedEventArgs Tests")]
- public static class WallpaperHomeScreenChangedEventArgsTests
+ public class WallpaperHomeScreenChangedEventArgsTests
{
private static bool s_wallpaperHomeScreenCallbackCalled = false;
private static readonly string s_wallpaperHomeScreenValue = "/opt/usr/data/settings/Wallpapers/home_003.png";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY()
+ public async Task Value_PROPERTY_READ_ONLY()
{
try {
/*
{
[TestFixture]
[Description("Tizen.System.WallpaperLockScreenChangedEventArgs Tests")]
- public static class WallpaperLockScreenChangedEventArgsTests
+ public class WallpaperLockScreenChangedEventArgsTests
{
private static bool s_wallpaperLockScreenCallbackCalled = false;
private static readonly string s_wallpaperLockScreenValue = "/opt/usr/data/settings/Wallpapers/home_003.png";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Aditya Aswani, a.aswani@samsung.com")]
- public static async Task Value_PROPERTY_READ_ONLY()
+ public async Task Value_PROPERTY_READ_ONLY()
{
try {
/*
{
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void Type_CHECK()
+ public void Type_CHECK()
{
TEFValueType expType = TEFValueType.InOut;
BaseParameter<TEFValueType> p = new Value(1, 2, expType);
static bool isTeeSupported = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue(TEE_FEATURE, out isTeeSupported);
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void Context_NULL_CREATION_CHECK()
+ public void Context_NULL_CREATION_CHECK()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void Context_EMPTY_CREATION_CHECK()
+ public void Context_EMPTY_CREATION_CHECK()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void Context_CREATION_CHECK_InvalidOperationException()
+ public void Context_CREATION_CHECK_InvalidOperationException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void AllocateSharedMemory_IN_CHECK()
+ public void AllocateSharedMemory_IN_CHECK()
{
int size = 1024;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void AllocateSharedMemory_OUT_CHECK()
+ public void AllocateSharedMemory_OUT_CHECK()
{
int size = 1024;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void AllocateSharedMemory_INOUT_CHECK()
+ public void AllocateSharedMemory_INOUT_CHECK()
{
int size = 1024;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void AllocateSharedMemory_CHECK_InvalidOperationException()
+ public void AllocateSharedMemory_CHECK_InvalidOperationException()
{
uint size = OVERSIZE_SHARED_MEMORY;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void OpenSession_ONLY_DESTINATION()
+ public void OpenSession_ONLY_DESTINATION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void OpenSession_ONLY_DESTINATION_InvalidOperationException()
+ public void OpenSession_ONLY_DESTINATION_InvalidOperationException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void OpenSession_WITH_LOGINMETHOD()
+ public void OpenSession_WITH_LOGINMETHOD()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void OpenSession_WITH_LOGINMETHOD_ArgumentException()
+ public void OpenSession_WITH_LOGINMETHOD_ArgumentException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void OpenSession_WITH_LOGINMETHOD_InvalidOperationException()
+ public void OpenSession_WITH_LOGINMETHOD_InvalidOperationException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void OpenSessionAsync_ONLY_DESTINATION()
+ public void OpenSessionAsync_ONLY_DESTINATION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void OpenSessionAsync_ONLY_DESTINATION_Canceled()
+ public void OpenSessionAsync_ONLY_DESTINATION_Canceled()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void OpenSessionAsync_WITH_LOGINMETHOD()
+ public void OpenSessionAsync_WITH_LOGINMETHOD()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void OpenSessionAsync_WITH_LOGINMETHOD_Canceled()
+ public void OpenSessionAsync_WITH_LOGINMETHOD_Canceled()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void RegisterSharedMemory_CHECK()
+ public void RegisterSharedMemory_CHECK()
{
int size = 1024;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void RegisterSharedMemory_ArgumentException()
+ public void RegisterSharedMemory_ArgumentException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void RegisterSharedMemory_InvalidOperationException()
+ public void RegisterSharedMemory_InvalidOperationException()
{
int size = 1024;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void ReleaseSharedMemory_CHECK()
+ public void ReleaseSharedMemory_CHECK()
{
int size = 1024;
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void ReleaseSharedMemory_InvalidOperationException()
+ public void ReleaseSharedMemory_InvalidOperationException()
{
int size = 1024;
try
{
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
}
static bool isTeeSupported = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue(TEE_FEATURE, out isTeeSupported);
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void RegisteredMemoryReference_CREATE_CHECK()
+ public void RegisteredMemoryReference_CREATE_CHECK()
{
RegisteredMemoryReference rmr = new RegisteredMemoryReference(null, 1024, 0, TEFRegisteredMemoryType.PartialInOut);
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void Parent_CHECK()
+ public void Parent_CHECK()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void Size_CHECK()
+ public void Size_CHECK()
{
uint expSize = 1024;
RegisteredMemoryReference rmr = new RegisteredMemoryReference(null, expSize, 0, TEFRegisteredMemoryType.PartialInOut);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void Offset_CHECK()
+ public void Offset_CHECK()
{
uint expOffset = 0;
RegisteredMemoryReference rmr = new RegisteredMemoryReference(null, 1024, expOffset, TEFRegisteredMemoryType.PartialInOut);
static bool isTeeSupported = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue(TEE_FEATURE, out isTeeSupported);
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void Close_CHECK()
+ public void Close_CHECK()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void Close_CHECK_InvalidOperationException()
+ public void Close_CHECK_InvalidOperationException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void InvokeCommand_CHECK()
+ public void InvokeCommand_CHECK()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void InvokeCommand_CHECK_ArgumentException()
+ public void InvokeCommand_CHECK_ArgumentException()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void InvokeCommand_CHECK_InvalidOperationException()
+ public void InvokeCommand_CHECK_InvalidOperationException()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void InvokeCommandAsync_CHECK()
+ public void InvokeCommandAsync_CHECK()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void InvokeCommandAsync_CHECK_Canceled()
+ public void InvokeCommandAsync_CHECK_Canceled()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void InvokeCommandAsync_CHECK_ArgumentException()
+ public void InvokeCommandAsync_CHECK_ArgumentException()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void InvokeCommandAsync_CHECK_InvalidOperationException()
+ public void InvokeCommandAsync_CHECK_InvalidOperationException()
{
}
}
static bool isTeeSupported = false;
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
Information.TryGetValue(TEE_FEATURE, out isTeeSupported);
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void GetData_CHECK()
+ public void GetData_CHECK()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void GetData_CHECK_InvalidOperationException()
+ public void GetData_CHECK_InvalidOperationException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void SetData_CHECK()
+ public void SetData_CHECK()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void SetData_CHECK_InvalidOperationException()
+ public void SetData_CHECK_InvalidOperationException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void Address_CHECK()
+ public void Address_CHECK()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void Size_CHECK()
+ public void Size_CHECK()
{
try
{
public class TempMemoryReferenceTests
{
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void TempMemoryReference_CREATE_IN_CHECK()
+ public void TempMemoryReference_CREATE_IN_CHECK()
{
TempMemoryReference tmr = new TempMemoryReference(IntPtr.Zero, 1024, TEFTempMemoryType.Input);
Assert.IsNotNull(tmr);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void TempMemoryReference_CREATE_OUT_CHECK()
+ public void TempMemoryReference_CREATE_OUT_CHECK()
{
TempMemoryReference tmr = new TempMemoryReference(IntPtr.Zero, 1024, TEFTempMemoryType.Output);
Assert.IsNotNull(tmr);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void TempMemoryReference_CREATE_INOUT_CHECK()
+ public void TempMemoryReference_CREATE_INOUT_CHECK()
{
TempMemoryReference tmr = new TempMemoryReference(IntPtr.Zero, 1024, TEFTempMemoryType.InOut);
Assert.IsNotNull(tmr);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void Buffer_CHECK()
+ public void Buffer_CHECK()
{
TempMemoryReference tmr = new TempMemoryReference(IntPtr.Zero, 1024, TEFTempMemoryType.InOut);
IntPtr buffer = tmr.Buffer;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void Size_CHECK()
+ public void Size_CHECK()
{
uint expSize = 1024;
TempMemoryReference tmr = new TempMemoryReference(IntPtr.Zero, expSize, TEFTempMemoryType.InOut);
public class ValueTests
{
[OneTimeSetUp]
- public static void Init()
+ public void Init()
{
}
[OneTimeTearDown]
- public static void Destroy()
+ public void Destroy()
{
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void Value_CREATE_CHECK()
+ public void Value_CREATE_CHECK()
{
Value v = new Value(1, 2, TEFValueType.InOut);
Assert.IsNotNull(v);
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void A_CHECK()
+ public void A_CHECK()
{
uint a = 1;
uint b = 2;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Krzysztof Dynowski, k.dynowski@samsung.com")]
- public static void B_CHECK()
+ public void B_CHECK()
{
uint a = 1;
uint b = 2;
private static List<ChangeNotificationEventArgs.Notification> _notiList;
[SetUp]
- public static void Init()
+ public void Init()
{
/*
* 1. Initialize Manager
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
/*
* 1. DeInitialize Manager
[Step(1, "Click run TC, and then within 60 seconds, make an INCOMING call, and accept(optional)")]
[Step(2, "Disconnect the call")]
[Step(3, "Check the result")]
- public static async Task HandleId_READ_ONLY()
+ public async Task HandleId_READ_ONLY()
{
try
{
[Step(1, "Click run TC, and then within 60 seconds, make an INCOMING call, and accept(optional)")]
[Step(2, "Disconnect the call")]
[Step(3, "Check the result")]
- public static async Task Number_READ_ONLY()
+ public async Task Number_READ_ONLY()
{
try
{
[Step(1, "Click run TC, and then within 60 seconds, make an INCOMING call, and accept(optional)")]
[Step(2, "Disconnect the call")]
[Step(3, "Check the result")]
- public static async Task Type_GET_ENUM_VOICE()
+ public async Task Type_GET_ENUM_VOICE()
{
try
{
[Step(1, "Click run TC, and then within 60 seconds, make an INCOMING call, and accept")]
[Step(2, "Disconnect the call")]
[Step(3, "Check the result")]
- public static async Task Status_GET_ENUM_ACTIVE()
+ public async Task Status_GET_ENUM_ACTIVE()
{
try
{
[Step(1, "Click run TC, and then within 60 seconds, make an INCOMING call, and DON'T accept")]
[Step(2, "Disconnect the call")]
[Step(3, "Check the result")]
- public static async Task Status_GET_ENUM_INCOMING()
+ public async Task Status_GET_ENUM_INCOMING()
{
try
{
[Step(1, "Click run TC, and then within 60 seconds, make an INCOMING call, and accept(optional)")]
[Step(2, "Disconnect the call")]
[Step(3, "Check the result")]
- public static async Task Direction_GET_ENUM_MT()
+ public async Task Direction_GET_ENUM_MT()
{
try
{
[Step(1, "Click run TC, and then within 60 seconds, make an OUTGOING call, and accept(optional)")]
[Step(2, "Disconnect the call")]
[Step(3, "Check the result")]
- public static async Task Direction_GET_ENUM_MO()
+ public async Task Direction_GET_ENUM_MO()
{
try
{
[Step(1, "Click run TC, and then within 60 seconds, make an INCOMING call, and accept(optional)")]
[Step(2, "Disconnect the call")]
[Step(3, "Check the result")]
- public static async Task ConferenceStatus_READ_ONLY_FALSE()
+ public async Task ConferenceStatus_READ_ONLY_FALSE()
{
try
{
[Step(2, "Add at least one more participant to make it a conference call")]
[Step(3, "Disconnect the call")]
[Step(4, "Check the result")]
- public static async Task ConferenceStatus_READ_ONLY_TRUE()
+ public async Task ConferenceStatus_READ_ONLY_TRUE()
{
string profile;
bool canBeTested;
private static List<ChangeNotificationEventArgs.Notification> _notiList;
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Executing Destroy");
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
[Step(1, "Click run TC, and then within 60 seconds, make an INCOMING call, and accept(optional)")]
[Step(2, "Disconnect the call")]
[Step(3, "Check the result")]
- public static async Task NotificationType_GET_ENUM_ALL()
+ public async Task NotificationType_GET_ENUM_ALL()
{
try
{
[Step(1, "Click run TC, and then within 60 seconds, make an INCOMING call, and accept(optional)")]
[Step(2, "Disconnect the call")]
[Step(3, "Check the result")]
- public static async Task NotificationData_READ_ONLY()
+ public async Task NotificationData_READ_ONLY()
{
try
{
private static List<ChangeNotificationEventArgs.Notification> _notiList;
[SetUp]
- public static void Init()
+ public void Init()
{
try
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Tizen.Log.Info(TAG, "Executing Destroy");
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
[Step(1, "Click run TC, and then within 60 seconds, make an INCOMING call, and accept(optional)")]
[Step(2, "Disconnect the call")]
[Step(3, "Check the result")]
- public static async Task SetNotificationId_Working()
+ public async Task SetNotificationId_Working()
{
try
{
[Step(1, "Click run TC, and then within 60 seconds, make an INCOMING call, and accept(optional)")]
[Step(2, "Disconnect the call")]
[Step(3, "Check the result")]
- public static async Task RemoveNotificationId_Working()
+ public async Task RemoveNotificationId_Working()
{
try
{
private static bool _isTelephonySupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
/*
* 1. Initialize Manager
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
/*
* 1. Deinitialise Manager
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Call_CONSTRUCTOR()
+ public void Call_CONSTRUCTOR()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Call_CONSTRUCTOR_WITH_NULL()
+ public void Call_CONSTRUCTOR_WITH_NULL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void PreferredVoiceSubscription_GET_ENUM_ALL()
+ public void PreferredVoiceSubscription_GET_ENUM_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetCallHandleList_RETURN_VALUE()
+ public void GetCallHandleList_RETURN_VALUE()
{
try
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.telephony", out _isTelephonySupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Init_RETURN_VALUE()
+ public void Init_RETURN_VALUE()
{
/* PRECONDITION
* 1. Ensure GSM Sim is activated
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void CurrentState_GET_ENUM_READY()
+ public void CurrentState_GET_ENUM_READY()
{
/* PRECONDITION
* 1. Ensure GSM Sim is activated
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Deinit_METHOD_EXCEPTION()
+ public void Deinit_METHOD_EXCEPTION()
{
/* PRECONDITION
* 1. Ensure GSM Sim is activated
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Deinit_METHOD_INVALIDOPERATIONEXCEPTION()
+ public void Deinit_METHOD_INVALIDOPERATIONEXCEPTION()
{
/* PRECONDITION
* 1. Ensure GSM Sim is activated
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void StateChanged_NO_EXCEPTION()
+ public void StateChanged_NO_EXCEPTION()
{
/* PRECONDITION
* 1. Ensure GSM Sim is activated
private static bool _isTelephonySupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
/*
* 1. Initialize Manager
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
/*
* 1. DeInitialize Manager
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Modem_CONSTRUCTOR()
+ public void Modem_CONSTRUCTOR()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Modem_CONSTRUCTOR_WITH_NULL()
+ public void Modem_CONSTRUCTOR_WITH_NULL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Imei_READ_ONLY()
+ public void Imei_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void CurrentPowerStatus_GET_ENUM_ALL()
+ public void CurrentPowerStatus_GET_ENUM_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Meid_READ_ONLY()
+ public void Meid_READ_ONLY()
{
try
{
private static bool _isTelephonySupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
/*
* 1. Initialize Manager
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
/*
* 1. DeInitialize Manager
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Network_CONSTRUCTOR()
+ public void Network_CONSTRUCTOR()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Network_CONSTRUCTOR_WITH_NULL()
+ public void Network_CONSTRUCTOR_WITH_NULL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Lac_READ_ONLY()
+ public void Lac_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void CellId_READ_ONLY()
+ public void CellId_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void CurrentRssi_GET_ENUM_ALL()
+ public void CurrentRssi_GET_ENUM_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void RoamingStatus_READ_ONLY()
+ public void RoamingStatus_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Mcc_READ_ONLY()
+ public void Mcc_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Mnc_READ_ONLY()
+ public void Mnc_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void NetworkName_READ_ONLY()
+ public void NetworkName_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void NetworkType_READ_ONLY()
+ public void NetworkType_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void NetworkPsType_GET_ENUM_ALL()
+ public void NetworkPsType_GET_ENUM_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void NetworkNameOption_GET_ENUM_ALL()
+ public void NetworkNameOption_GET_ENUM_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void NetworkServiceState_GET_ENUM_ALL()
+ public void NetworkServiceState_GET_ENUM_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void NetworkDefaultDataSubscription_GET_ENUM_ALLY()
+ public void NetworkDefaultDataSubscription_GET_ENUM_ALLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void NetworkDefaultSubscription_GET_ENUM_ALL()
+ public void NetworkDefaultSubscription_GET_ENUM_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void NetworkSelectionMode_GET_ENUM_ALL()
+ public void NetworkSelectionMode_GET_ENUM_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Tac_READ_ONLY()
+ public void Tac_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SystemId_READ_ONLY()
+ public void SystemId_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void NetworkId_READ_ONLY()
+ public void NetworkId_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void BaseStationId_READ_ONLY()
+ public void BaseStationId_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void BaseStationLatitude_READ_ONLY()
+ public void BaseStationLatitude_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void BaseStationLongitude_READ_ONLY()
+ public void BaseStationLongitude_READ_ONLY()
{
try
{
private static bool _isTelephonySupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
/*
* 1. Initialize Manager
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
/*
* 1. DeInitialize Manager
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Sim_CONSTRUCTOR()
+ public void Sim_CONSTRUCTOR()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Sim_CONSTRUCTOR_WITH_NULL()
+ public void Sim_CONSTRUCTOR_WITH_NULL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void IccId_READ_ONLY()
+ public void IccId_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Operator_READ_ONLY()
+ public void Operator_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Msin_READ_ONLY()
+ public void Msin_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Spn_READ_ONLY()
+ public void Spn_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void IsChanged_READ_ONLY()
+ public void IsChanged_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void CurrentState_GET_ENUM_ALL()
+ public void CurrentState_GET_ENUM_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void ApplicationList_READ_ONLY()
+ public void ApplicationList_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SubscriberNumber_READ_ONLY()
+ public void SubscriberNumber_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SubscriberId_READ_ONLY()
+ public void SubscriberId_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void CurrentLockState_READ_ONLY()
+ public void CurrentLockState_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GroupId1_READ_ONLY()
+ public void GroupId1_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void CallForwardingIndicatorState_READ_ONLY()
+ public void CallForwardingIndicatorState_READ_ONLY()
{
try
{
private static bool _isTelephonySupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.telephony", out _isTelephonySupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetNotificationId_NO_EXCEPTION()
+ public void SetNotificationId_NO_EXCEPTION()
{
/* PRECONDITION
* 1. Ensure GSM Sim is activated
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void RemoveNotificationId_NO_EXCEPTION()
+ public void RemoveNotificationId_NO_EXCEPTION()
{
/* PRECONDITION
* 1. Ensure GSM Sim is activated
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void ChangeNotification_EVENT_REGISTERATION()
+ public void ChangeNotification_EVENT_REGISTERATION()
{
/* PRECONDITION
* 1. Ensure GSM Sim is activated
public class ToastMessageTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for ToastMessage Test");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each ToastMessage TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void ToastMessage_INIT()
+ public void ToastMessage_INIT()
{
/* TEST CODE */
ToastMessage toast = new ToastMessage();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Message_PROPERTY_READ_WRITE()
+ public void Message_PROPERTY_READ_WRITE()
{
/* PRECONDITION */
string message = "toast message";
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Seungha Son, seungha.son@samsung.com")]
- public static void Post_RETURN_VALUE()
+ public void Post_RETURN_VALUE()
{
/* PRECONDITION */
string message = "toast message";
private static int variable = 0;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for Tizen.Tracer TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for Tizen.Tracer TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Changjoon Baek, joon.c.baek@samsung.com")]
- public static void Begin_CHECK_NO_EXCEPTION()
+ public void Begin_CHECK_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Changjoon Baek, joon.c.baek@samsung.com")]
- public static void End_CHECK_NO_EXCEPTION()
+ public void End_CHECK_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Changjoon Baek, joon.c.baek@samsung.com")]
- public static void AsyncBegin_CHECK_NO_EXCEPTION()
+ public void AsyncBegin_CHECK_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Changjoon Baek, joon.c.baek@samsung.com")]
- public static void AsyncEnd_CHECK_NO_EXCEPTION()
+ public void AsyncEnd_CHECK_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Changjoon Baek, joon.c.baek@samsung.com")]
- public static void TraceValue_CHECK_NO_EXCEPTION()
+ public void TraceValue_CHECK_NO_EXCEPTION()
{
try
{
private static string SsFeature = "http://tizen.org/feature/speech.synthesis";
[SetUp]
- public static void Init()
+ public void Init()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue(SsFeature, out _featureSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
_featureSupported = false;
[Step(2, "Change Language from Home > Settings > Language and Input > TTS > Language")]
[Step(3, "Click Pass If you see the previous language")]
[Postcondition(1, "N/A")]
- public static async Task Previous_Value()
+ public async Task Previous_Value()
{
if (_isAvailable)
{
[Step(2, "Change Language from Home > Settings > Language and Input > TTS > Language")]
[Step(3, "Click Pass If you see the new language")]
[Postcondition(1, "N/A")]
- public static async Task Current_Value()
+ public async Task Current_Value()
{
if (_isAvailable)
{
private static string SsFeature = "http://tizen.org/feature/speech.synthesis";
[SetUp]
- public static void Init()
+ public void Init()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue(SsFeature, out _featureSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
_featureSupported = false;
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "Click 'Engine Changed Button' after changing the tts engine in Settings > Language and Input > Tts > Preferred Engine")]
[Postcondition(1, "N/A")]
- public static async Task EngineId_GET()
+ public async Task EngineId_GET()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "Click 'Engine Changed Button' after changing the tts engine in Settings > Language and Input > Tts > Preferred Engine")]
[Postcondition(1, "N/A")]
- public static async Task VoiceType_GET()
+ public async Task VoiceType_GET()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "Click 'Engine Changed Button' after changing the tts engine in Settings > Language and Input > Tts > Preferred Engine")]
[Postcondition(1, "N/A")]
- public static async Task NeedCredential_GET()
+ public async Task NeedCredential_GET()
{
if (_isAvailable)
{
private static string SsFeature = "http://tizen.org/feature/speech.synthesis";
[SetUp]
- public static void Init()
+ public void Init()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue(SsFeature, out _featureSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
_featureSupported = false;
[Step(5, "Enter the command as soon as you start to hear text'Hi how are you doing, I am fine today, how is the weather today' incompletely stopping in between")]
[Step(6, "Click Pass if the Label Text becomes 'Error Received'")]
[Postcondition(1, "N/A")]
- public static async Task UtteranceId_GET()
+ public async Task UtteranceId_GET()
{
try
{
[Step(5, "Enter the command as soon as you start to hear text 'Hi how are you doing, I am fine today, how is the weather today' incompletely stopping in between")]
[Step(6, "Click Pass if the Label Text becomes 'Error Received'")]
[Postcondition(1, "N/A")]
- public static async Task ErrorValue_GET_ENUM()
+ public async Task ErrorValue_GET_ENUM()
{
try
{
[Step(5, "Enter the command as soon as you start to hear text 'Hi how are you doing, I am fine today, how is the weather today' incompletely stopping in between")]
[Step(6, "Click Pass if the Label Text becomes 'Error Received'")]
[Postcondition(1, "N/A")]
- public static async Task ErrorMessage_GET()
+ public async Task ErrorMessage_GET()
{
try
{
private static string SsFeature = "http://tizen.org/feature/speech.synthesis";
[SetUp]
- public static void Init()
+ public void Init()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue(SsFeature, out _featureSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
_featureSupported = false;
[Step(1, "Tap the Run button")]
[Step(2, "Click Pass If you hear the Text 'Hi how are you'")]
[Postcondition(1, "N/A")]
- public static async Task Play_Check_Sound()
+ public async Task Play_Check_Sound()
{
TtsWrapper obj = null;
try
[Step(1, "Tap the Run button")]
[Step(2, "Click Pass If you hear the Text 'Hi how are you doing, I am fine today, how is the weather today' with a delay of 4 seconds in between the text")]
[Postcondition(1, "N/A")]
- public static async Task Pause_Check_Pause()
+ public async Task Pause_Check_Pause()
{
TtsWrapper obj = null;
try
[Step(1, "Tap the Run button")]
[Step(2, "Click Pass If you hear the Text 'Hi how are you doing, I am fine today, how is the weather today' incompletely stopping in between")]
[Postcondition(1, "N/A")]
- public static async Task Stop_Check_Stopping()
+ public async Task Stop_Check_Stopping()
{
TtsWrapper obj = null;
try
private static string _ttsFeature = "http://tizen.org/feature/speech.synthesis";
[SetUp]
- public static void Init()
+ public void Init()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue(_ttsFeature, out _featureSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Max_READ_ONLY()
+ public void Max_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Min_READ_ONLY()
+ public void Min_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Normal_READ_ONLY()
+ public void Normal_READ_ONLY()
{
try
{
private static string _ttsFeature = "http://tizen.org/feature/speech.synthesis";
[SetUp]
- public static void Init()
+ public void Init()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue(_ttsFeature, out _featureSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Current_READ_ONLY()
+ public async Task Current_READ_ONLY()
{
TtsWrapper obj = new TtsWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Previous_READ_ONLY()
+ public async Task Previous_READ_ONLY()
{
TtsWrapper obj = new TtsWrapper();
try
private static string _ttsFeature = "http://tizen.org/feature/speech.synthesis";
[SetUp]
- public static void Init()
+ public void Init()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue(_ttsFeature, out _featureSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void VoiceType_READ_ONLY()
+ public void VoiceType_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Language_READ_ONLY()
+ public void Language_READ_ONLY()
{
try
{
private static string _ttsFeature = "http://tizen.org/feature/speech.synthesis";
[SetUp]
- public static void Init()
+ public void Init()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue(_ttsFeature, out _featureSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void TtsClient_CONSTRUCTOR()
+ public void TtsClient_CONSTRUCTOR()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void CurrentMode_ENUM_ALL()
+ public void CurrentMode_ENUM_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void DefaultVoice_READ_ONLY()
+ public void DefaultVoice_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task CurrentState_GET_ENUM_ALL()
+ public async Task CurrentState_GET_ENUM_ALL()
{
TtsWrapper obj = new TtsWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetSupportedVoices_RETURN_VALUE()
+ public void GetSupportedVoices_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetCredential_NO_EXCEPTION()
+ public void SetCredential_NO_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetCredential_ArgumentException_EXCEPTION()
+ public void SetCredential_ArgumentException_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetSpeedRange_RETURN_VALUE()
+ public void GetSpeedRange_RETURN_VALUE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void UtteranceStarted_ADD_EVENT()
+ public void UtteranceStarted_ADD_EVENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void UtteranceCompleted_ADD_EVENT()
+ public void UtteranceCompleted_ADD_EVENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void StateChanged_ADD_EVENT()
+ public void StateChanged_ADD_EVENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void ErrorOccurred_ADD_EVENT()
+ public void ErrorOccurred_ADD_EVENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void EngineChanged_ADD_EVENT()
+ public void EngineChanged_ADD_EVENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void DefaultVoiceChanged_ADD_EVENT()
+ public void DefaultVoiceChanged_ADD_EVENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Prepare_NO_EXCEPTION()
+ public async Task Prepare_NO_EXCEPTION()
{
TtsWrapper obj = new TtsWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task SetPrivateData_NO_EXCEPTION()
+ public async Task SetPrivateData_NO_EXCEPTION()
{
TtsWrapper obj = new TtsWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task SetPrivateData_ARGUMENTEXCEPTION_EXCEPTION()
+ public async Task SetPrivateData_ARGUMENTEXCEPTION_EXCEPTION()
{
TtsWrapper obj = new TtsWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task GetPrivateData_RETURN_VALUE()
+ public async Task GetPrivateData_RETURN_VALUE()
{
TtsWrapper obj = new TtsWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task GetPrivateData_ARGUMENTEXCEPTION()
+ public async Task GetPrivateData_ARGUMENTEXCEPTION()
{
TtsWrapper obj = new TtsWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Unprepare_NO_EXCEPTION()
+ public async Task Unprepare_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task MaxTextSize_READ_ONLY()
+ public async Task MaxTextSize_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task AddText_NO_EXCEPTION()
+ public async Task AddText_NO_EXCEPTION()
{
TtsWrapper obj = new TtsWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAC")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task AddText_ARGUMENT_COMBINATION()
+ public async Task AddText_ARGUMENT_COMBINATION()
{
TtsWrapper obj = new TtsWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Play_NO_EXCEPTION()
+ public async Task Play_NO_EXCEPTION()
{
TtsWrapper obj = new TtsWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Play_InvalidOperationException_EXCEPTION()
+ public void Play_InvalidOperationException_EXCEPTION()
{
TtsWrapper obj = new TtsWrapper();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Pause_InvalidOperationException_EXCEPTION()
+ public void Pause_InvalidOperationException_EXCEPTION()
{
TtsWrapper obj = new TtsWrapper();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Pause_NO_EXCEPTION()
+ public async Task Pause_NO_EXCEPTION()
{
TtsWrapper obj = new TtsWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Stop_NO_EXCEPTION()
+ public async Task Stop_NO_EXCEPTION()
{
TtsWrapper obj = new TtsWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Stop_InvalidOperationException_EXCEPTION()
+ public void Stop_InvalidOperationException_EXCEPTION()
{
TtsWrapper obj = new TtsWrapper();
/*
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Unprepare_INVALIDOPEARTION_EXCEPTION()
+ public void Unprepare_INVALIDOPEARTION_EXCEPTION()
{
TtsWrapper obj = new TtsWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Dispose_Working()
+ public void Dispose_Working()
{
TtsWrapper obj = new TtsWrapper();
try
private static string _ttsFeature = "http://tizen.org/feature/speech.synthesis";
[SetUp]
- public static void Init()
+ public void Init()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue(_ttsFeature, out _featureSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
TtsHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task UtteranceId_READ_ONLY()
+ public async Task UtteranceId_READ_ONLY()
{
TtsWrapper obj = new TtsWrapper();
try
private static bool _isAvailable = false;
[SetUp]
- public static void Init()
+ public void Init()
{
TtsEngineHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
TtsEngineHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'Engine Constructor Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task Engine_Working()
+ public async Task Engine_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'EngineMain Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task EngineMain_Working()
+ public async Task EngineMain_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'Initialize Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task Initialize_Working()
+ public async Task Initialize_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'SetPitch Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SetPitch_Working()
+ public async Task SetPitch_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'ForEachSupportedVoices Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task ForEachSupportedVoices_Working()
+ public async Task ForEachSupportedVoices_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'IsValidVoice Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task IsValidVoice_Working()
+ public async Task IsValidVoice_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'GetInformation Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task GetInformation_Working()
+ public async Task GetInformation_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'LoadVoice Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task LoadVoice_Working()
+ public async Task LoadVoice_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'NeedAppCredential Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task NeedAppCredential_Working()
+ public async Task NeedAppCredential_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'SetPrivateDataSetDelegate Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SetPrivateDataSetDelegate_Working()
+ public async Task SetPrivateDataSetDelegate_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If method does not throw a exception, TC will automatically fail. Otherwise make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SetPrivateDataSetDelegate_ArgumentException_EXCEPTION()
+ public async Task SetPrivateDataSetDelegate_ArgumentException_EXCEPTION()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'SetPrivateDataRequestedDelegate Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SetPrivateDataRequestedDelegate_Working()
+ public async Task SetPrivateDataRequestedDelegate_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If method does not throw a exception, TC will automatically fail. Otherwise make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SetPrivateDataRequestedDelegate_ArgumentException_EXCEPTION()
+ public async Task SetPrivateDataRequestedDelegate_ArgumentException_EXCEPTION()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'GetSpeedRange Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task GetSpeedRange_Working()
+ public async Task GetSpeedRange_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'GetPitchRange Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task GetPitchRange_Working()
+ public async Task GetPitchRange_Working()
{
if (_isAvailable)
{
[Step(1, "Tap the Run button. If Tts feature is not supported, TC will automatically pass.")]
[Step(2, "If you see the log 'Deinitialize Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task Deinitialize_Working()
+ public async Task Deinitialize_Working()
{
if (_isAvailable)
{
[Step(4, "Tap the Wait for Utterence Event Button only when Label text becomes 'Utterence Event Received'")]
[Step(5, "If you see the log 'CheckAppAgreed Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task CheckAppAgreed_Working()
+ public async Task CheckAppAgreed_Working()
{
if (_isAvailable)
{
[Step(4, "Tap the Wait for Utterence Event Button only when Label text becomes 'Utterence Event Received'")]
[Step(5, "If you see the log 'StartSynthesis Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task StartSynthesis_Working()
+ public async Task StartSynthesis_Working()
{
if (_isAvailable)
{
[Step(4, "Tap the Wait for Utterence Event Button only when Label text becomes 'Utterence Event Received'")]
[Step(5, "If you see the log 'UnloadVoice Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task UnloadVoice_Working()
+ public async Task UnloadVoice_Working()
{
if (_isAvailable)
{
[Step(4, "Tap the Wait for Utterence Event Button only when Label text becomes 'Utterence Event Received'")]
[Step(5, "If you see the log 'SendResult Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SendResult_Working()
+ public async Task SendResult_Working()
{
if (_isAvailable)
{
[Step(3, "Tap the Stop Button")]
[Step(4, "If you see the log 'SendError Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task SendError_Working()
+ public async Task SendError_Working()
{
if (_isAvailable)
{
[Step(4, "Tap the Wait for Utterence Event Button only when Label text becomes 'Utterence Event Received'")]
[Step(5, "If you see the log 'CancelSynthesis Successful', make the TC Pass")]
[Postcondition(1, "N/A")]
- public static async Task CancelSynthesis_Working()
+ public async Task CancelSynthesis_Working()
{
if (_isAvailable)
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
bool ret_value;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
manager.Dispose();
[Step(4, "Click PASS if device matches, FAIL if it's wrong")]
[Step(5, "If device USB Host feature is not supported, press PASS after 'not supported' message is shown")]
[Postcondition(1, "NA")]
- public static async Task Device_CB()
+ public async Task Device_CB()
{
try
{
[Step(3, "Test will pass automatically if event type is correct")]
[Step(4, "If device USB Host feature is not supported, press PASS after 'not supported' message is shown")]
[Postcondition(1, "NA")]
- public static async Task EventType_CB()
+ public async Task EventType_CB()
{
try
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
bool ret_value;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
manager.Dispose();
[Step(3, "Testcase will pass automatically if device connection is recognized.")]
[Step(4, "If device USB Host feature is not supported, press PASS after 'not supported' message is shown")]
[Postcondition(1, "NA")]
- public static async Task DeviceHotPlugged_Attach()
+ public async Task DeviceHotPlugged_Attach()
{
try
{
[Step(3, "Testcase will pass automatically if device disconnection is recognized.")]
[Step(4, "If device USB Host feature is not supported, press PASS after 'not supported' message is shown")]
[Postcondition(1, "NA")]
- public static async Task DeviceHotPlugged_Detach()
+ public async Task DeviceHotPlugged_Detach()
{
try
public class UsbBulkEndpointTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
bool ret_value;
bool value;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Transfer_RETURN_TYPE()
+ public void Transfer_RETURN_TYPE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Paweł Szewczyk, p.szewczyk@samsung.com")]
- public static void Transfer_InvalidOperationException()
+ public void Transfer_InvalidOperationException()
{
try
{
public class UsbConfigurationTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
bool ret_value;
bool value;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void SetAsActive_CHANGE_STATUS()
+ public void SetAsActive_CHANGE_STATUS()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void SetAsActive_InvalidOperationException()
+ public void SetAsActive_InvalidOperationException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void IsSelfPowered_PROPERTY_READ_ONLY()
+ public void IsSelfPowered_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void SupportRemoteWakeup_PROPERTY_READ_ONLY()
+ public void SupportRemoteWakeup_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void MaximumPowerRequired_PROPERTY_READ_ONLY()
+ public void MaximumPowerRequired_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Interfaces_PROPERTY_READ_ONLY()
+ public void Interfaces_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void ConfigurationString_PROPERTY_READ_ONLY()
+ public void ConfigurationString_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void ConfigurationString_InvalidOperationException()
+ public void ConfigurationString_InvalidOperationException()
{
try
{
public class UsbControlEndpointTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
bool ret_value;
bool value;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Transfer_RETURN_TYPE()
+ public void Transfer_RETURN_TYPE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Id_PROPERTY_READ_ONLY()
+ public void Id_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Direction_PROPERTY_GET_ENUM_ALL()
+ public void Direction_PROPERTY_GET_ENUM_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void MaxPacketSize_PROPERTY_READ_ONLY()
+ public void MaxPacketSize_PROPERTY_READ_ONLY()
{
try
{
public class UsbDeviceTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
bool ret_value;
bool value;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Open_CHANGE_STATUS()
+ public void Open_CHANGE_STATUS()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Close_CHANGE_STATUS()
+ public void Close_CHANGE_STATUS()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void BusId_PROPERTY_READ_ONLY()
+ public void BusId_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Address_PROPERTY_READ_ONLY()
+ public void Address_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Ports_PROPERTY_READ_ONLY()
+ public void Ports_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void IsOpened_PROPERTY_READ_ONLY()
+ public void IsOpened_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void ControlEndpoint_PROPERTY_READ_ONLY()
+ public void ControlEndpoint_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void ActiveConfiguration_PROPERTY_READ_ONLY()
+ public void ActiveConfiguration_PROPERTY_READ_ONLY()
{
Helper.Check();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void ActiveConfiguration_InvalidOperationException()
+ public void ActiveConfiguration_InvalidOperationException()
{
Helper.Check();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Configurations_PROPERTY_READ_ONLY()
+ public void Configurations_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void DeviceInformation_PROPERTY_READ_ONLY()
+ public void DeviceInformation_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Strings_PROPERTY_READ_ONLY()
+ public void Strings_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Strings_InvalidOperationException()
+ public void Strings_InvalidOperationException()
{
try
{
public class UsbDeviceInformationTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
bool ret_value;
bool value;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void UsbVersion_PROPERTY_READ_ONLY()
+ public void UsbVersion_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Class_PROPERTY_READ_ONLY()
+ public void Class_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Subclass_PROPERTY_READ_ONLY()
+ public void Subclass_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Protocol_PROPERTY_READ_ONLY()
+ public void Protocol_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void VendorId_PROPERTY_READ_ONLY()
+ public void VendorId_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void ProductId_PROPERTY_READ_ONLY()
+ public void ProductId_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void DeviceVersion_PROPERTY_READ_ONLY()
+ public void DeviceVersion_PROPERTY_READ_ONLY()
{
try
{
public class UsbDeviceStringsTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
bool ret_value;
bool value;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Manufacturer_PROPERTY_READ_ONLY()
+ public void Manufacturer_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Product_PROPERTY_READ_ONLY()
+ public void Product_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Serial_PROPERTY_READ_ONLY()
+ public void Serial_PROPERTY_READ_ONLY()
{
try
{
public class UsbEndpointTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
bool ret_value;
bool value;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Id_PROPERTY_READ_ONLY()
+ public void Id_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Direction_PROPERTY_GET_ENUM_ENDPOINTDIRECTION_ALL()
+ public void Direction_PROPERTY_GET_ENUM_ENDPOINTDIRECTION_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void MaxPacketSize_PROPERTY_READ_ONLY()
+ public void MaxPacketSize_PROPERTY_READ_ONLY()
{
try
{
public class UsbInterfaceTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
bool ret_value;
bool value;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Claim_CHANGE_STATUS()
+ public void Claim_CHANGE_STATUS()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Claim_InvalidOperationException()
+ public void Claim_InvalidOperationException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Release_CHANGE_STATUS()
+ public void Release_CHANGE_STATUS()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Release_InvalidOperationException()
+ public void Release_InvalidOperationException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void InterfaceString_RETURN_TYPE()
+ public void InterfaceString_RETURN_TYPE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PEX")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void InterfaceString_InvalidOperationException()
+ public void InterfaceString_InvalidOperationException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Id_PROPERTY_READ_ONLY()
+ public void Id_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void AlternateSetting_PROPERTY_READ_WRITE()
+ public void AlternateSetting_PROPERTY_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Endpoints_PROPERTY_READ_ONLY()
+ public void Endpoints_PROPERTY_READ_ONLY()
{
try
{
public class UsbInterruptEndpointTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
bool ret_value;
bool value;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Pawel Szewczyk, p.szewczyk@samsung.com")]
- public static void Transfer_RETURN_TYPE()
+ public void Transfer_RETURN_TYPE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Paweł Szewczyk, p.szewczyk@samsung.com")]
- public static void Transfer_InvalidOperationException()
+ public void Transfer_InvalidOperationException()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void PollingInterval_PROPERTY_READ_ONLY()
+ public void PollingInterval_PROPERTY_READ_ONLY()
{
try
{
public class UsbIsochronousEndpointTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
bool ret_value;
bool value;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void SynchronizationType_PROPERTY_READ_ONLY()
+ public void SynchronizationType_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void UsageType_PROPERTY_READ_ONLY()
+ public void UsageType_PROPERTY_READ_ONLY()
{
try
{
public class UsbManagerTests
{
[SetUp]
- public static void Init()
+ public void Init()
{
bool ret_value;
bool value;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void UsbManager_INIT()
+ public void UsbManager_INIT()
{
// TEST CODE
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void AvailableDevices_READ_ONLY()
+ public void AvailableDevices_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")]
- public static void Dispose_CHANGE_STATUS()
+ public void Dispose_CHANGE_STATUS()
{
try
{
private static bool _isAvailable = false;
[SetUp]
- public static void Init()
+ public void Init()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Step(2, "Change the Language from Settings > Language and Input > Voice Control")]
[Step(3, "Click 'Langauge Changed' button if you find the new language to be displayed in the label")]
[Postcondition(1, "NA")]
- public static async Task CurrentLanguage_READ_ONLY()
+ public async Task CurrentLanguage_READ_ONLY()
{
if (_isAvailable)
{
[Step(2, "Change the Language from Settings > Language and Input > Voice Control")]
[Step(3, "Click 'Langauge Changed' button if you find the new language to be displayed in the label")]
[Postcondition(1, "NA")]
- public static async Task PreviousLanguage_READ_ONLY()
+ public async Task PreviousLanguage_READ_ONLY()
{
if (_isAvailable)
{
private static bool _isWearable = false;
[SetUp]
- public static void Init()
+ public void Init()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Step(5, "Enter the command when the text of the panel become 'listening' (In case of TV target, when the UI is showing.)")]
[Step(6, "Click 'Error Occured' button, the TC will pass based on whether the error event occured or not")]
[Postcondition(1, "Enable Wifi")]
- public static async Task ErrorValue_READ_ONLY()
+ public async Task ErrorValue_READ_ONLY()
{
if ((_isTVProfile && _isEmulator) || _isWearable)
{
private static bool _isAvailable = false;
[SetUp]
- public static void Init()
+ public void Init()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Step(5, "If 'Sorry, I don't understand' is shown at the voice control panel, please try again Step 3 and 4. When you retry, please touch the voice control panel after checking 'Touch here to restart'.")]
[Step(6, "After checking the result, click 'Input Completed' button")]
[Postcondition(1, "N/A")]
- public static async Task Result_READ_ONLY()
+ public async Task Result_READ_ONLY()
{
if (_isAvailable)
{
[Step(5, "If 'Sorry, I don't understand' is shown at the voice control panel, please try again Step 3 and 4. When you retry, please touch the voice control panel after checking 'Touch here to restart'.")]
[Step(6, "After checking the result, click 'Input Completed' button")]
[Postcondition(1, "N/A")]
- public static async Task ResultMessage_READ_ONLY()
+ public async Task ResultMessage_READ_ONLY()
{
if (_isAvailable)
{
[Step(5, "If 'Sorry, I don't understand' is shown at the voice control panel, please try again Step 3 and 4. When you retry, please touch the voice control panel after checking 'Touch here to restart'.")]
[Step(6, "After checking the result, click 'Input Completed' button")]
[Postcondition(1, "N/A")]
- public static async Task CommandList_READ_ONLY()
+ public async Task CommandList_READ_ONLY()
{
if (_isAvailable)
{
private static bool _isAvailable = false;
[SetUp]
- public static void Init()
+ public void Init()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Step(5, "If 'Sorry, I don't understand' is shown at the voice control panel, please try again Step 3 and 4. When you retry, please touch the voice control panel after checking 'Touch here to restart'.")]
[Step(6, "After checking the result, click 'Input Completed' button")]
[Postcondition(1, "N/A")]
- public static async Task Result_READ_ONLY()
+ public async Task Result_READ_ONLY()
{
if (_isAvailable)
{
private static bool _isWearable = false;
[SetUp]
- public static void Init()
+ public void Init()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
}
[Step(5, "If 'Sorry, I don't understand' is shown at the voice control panel, please try again Step 3 and 4. When you retry, please touch the voice control panel after checking 'Touch here to restart'.")]
[Step(6, "After checking the result, click 'Input Completed' button")]
[Postcondition(1, "N/A")]
- public static async Task Current_READ_ONLY()
+ public async Task Current_READ_ONLY()
{
if ((_isTVProfile && _isEmulator) || _isWearable)
{
[Step(5, "If 'Sorry, I don't understand' is shown at the voice control panel, please try again Step 3 and 4. When you retry, please touch the voice control panel after checking 'Touch here to restart'.")]
[Step(6, "After checking the result, click 'Input Completed' button")]
[Postcondition(1, "N/A")]
- public static async Task Previous_ENUM_ALL()
+ public async Task Previous_ENUM_ALL()
{
if ((_isTVProfile && _isEmulator) || _isWearable)
{
private static string _vcFeature = "http://tizen.org/feature/speech.control";
[SetUp]
- public static void Init()
+ public void Init()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue(_micFeature, out _micSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
GC.Collect();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Current_READ_ONLY()
+ public async Task Current_READ_ONLY()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Previous_READ_ONLY()
+ public async Task Previous_READ_ONLY()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
private static string _vcFeature = "http://tizen.org/feature/speech.control";
[SetUp]
- public static void Init()
+ public void Init()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue(_micFeature, out _micSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
GC.Collect();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Current_READ_ONLY()
+ public async Task Current_READ_ONLY()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Previous_READ_ONLY()
+ public async Task Previous_READ_ONLY()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Current_ENUM_ALL()
+ public async Task Current_ENUM_ALL()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Previous_ENUM_ALL()
+ public async Task Previous_ENUM_ALL()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
private static string _vcFeature = "http://tizen.org/feature/speech.control";
[SetUp]
- public static void Init()
+ public void Init()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue(_micFeature, out _micSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
GC.Collect();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void VoiceCommand_CONSTR()
+ public void VoiceCommand_CONSTR()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void VoiceCommand_CONSTX()
+ public void VoiceCommand_CONSTX()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void UnfixedCommand_READ_ONLY()
+ public void UnfixedCommand_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Command_READ_WRITE()
+ public void Command_READ_WRITE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Type_ENUM_ALL()
+ public void Type_ENUM_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Type_DEFAULT()
+ public void Type_DEFAULT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Format_ENUM_ALL()
+ public void Format_ENUM_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PDV")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Format_DEFAULT()
+ public void Format_DEFAULT()
{
try
{
private static string _vcFeature = "http://tizen.org/feature/speech.control";
[SetUp]
- public static void Init()
+ public void Init()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue(_micFeature, out _micSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
if (_featureSupported)
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void VoiceCommandList_CONSTR()
+ public void VoiceCommandList_CONSTR()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void VoiceCommandList_CONSTX()
+ public void VoiceCommandList_CONSTX()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Count_READ_ONLY()
+ public void Count_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Add_NO_EXCEPTION()
+ public void Add_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Add_CHECK()
+ public void Add_CHECK()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Add_EXCEPTION()
+ public void Add_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Remove_NO_EXCEPTION()
+ public void Remove_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Remove_CHECK()
+ public void Remove_CHECK()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Remove_EXCEPTION()
+ public void Remove_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetAllCommands_NO_EXCEPTION()
+ public void GetAllCommands_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void First_NO_EXCEPTION()
+ public void First_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void First_EXCEPTION()
+ public void First_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Last_NO_EXCEPTION()
+ public void Last_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Last_EXCEPTION()
+ public void Last_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Next_NO_EXCEPTION()
+ public void Next_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Next_EXCEPTION()
+ public void Next_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Previous_NO_EXCEPTION()
+ public void Previous_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Previous_EXCEPTION()
+ public void Previous_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Current_NO_EXCEPTION()
+ public void Current_NO_EXCEPTION()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Current_NULL()
+ public void Current_NULL()
{
/*
* TEST CODE
private static string _vcFeature = "http://tizen.org/feature/speech.control";
[SetUp]
- public static void Init()
+ public void Init()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Init");
System.Information.TryGetValue(_micFeature, out _micSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
VoiceControlHelper.PrintLog(Type.DLogAndlogUtil, "Executing Destroy");
GC.Collect();
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task CurrentLanguage_READ_ONLY()
+ public async Task CurrentLanguage_READ_ONLY()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task State_READ_ONLY()
+ public async Task State_READ_ONLY()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task ServiceState_READ_ONLY()
+ public async Task ServiceState_READ_ONLY()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task SetInvocationName_NO_EXCEPTION()
+ public async Task SetInvocationName_NO_EXCEPTION()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetInvocationName_EXCEPTION()
+ public void SetInvocationName_EXCEPTION()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void SetInvocationName_EXCEPTION_NULL_PARAM()
+ public void SetInvocationName_EXCEPTION_NULL_PARAM()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Initialize_NO_EXCEPTION()
+ public void Initialize_NO_EXCEPTION()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Deinitialize_NO_EXCEPTION()
+ public void Deinitialize_NO_EXCEPTION()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Prepare_NO_EXCEPTION()
+ public async Task Prepare_NO_EXCEPTION()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task Unprepare_NO_EXCEPTION()
+ public async Task Unprepare_NO_EXCEPTION()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Prepare_EXCEPTION()
+ public void Prepare_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void Unprepare_EXCEPTION()
+ public void Unprepare_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task GetSupportedLanguages_NO_EXCEPTION()
+ public async Task GetSupportedLanguages_NO_EXCEPTION()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task GetSystemCommandList_NO_EXCEPTION()
+ public async Task GetSystemCommandList_NO_EXCEPTION()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetSystemCommandList_EXCEPTION()
+ public void GetSystemCommandList_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task RequestDialog_NO_EXCEPTION()
+ public async Task RequestDialog_NO_EXCEPTION()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void RequestDialog_EXCEPTION()
+ public void RequestDialog_EXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task SetCommandList_NO_EXCEPTION()
+ public async Task SetCommandList_NO_EXCEPTION()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task SetCommandList_ARGUMENTEXCEPTION()
+ public async Task SetCommandList_ARGUMENTEXCEPTION()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task SetCommandList_INVALIDOPERATIONEXCEPTION()
+ public async Task SetCommandList_INVALIDOPERATIONEXCEPTION()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task UnsetCommandList_NO_EXCEPTION()
+ public async Task UnsetCommandList_NO_EXCEPTION()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void UnsetCommandList_ARGUMENTEXCEPTION()
+ public void UnsetCommandList_ARGUMENTEXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void UnsetCommandList_INVALIDOPERATIONEXCEPTION()
+ public void UnsetCommandList_INVALIDOPERATIONEXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void GetResult_INVALIDOPERATIONEXCEPTION()
+ public void GetResult_INVALIDOPERATIONEXCEPTION()
{
/*
* TEST CODE
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static async Task GetResult_NO_EXCEPTION()
+ public async Task GetResult_NO_EXCEPTION()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void RecognitionResult_ADD_EVENT()
+ public void RecognitionResult_ADD_EVENT()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void ServiceStateChanged_ADD_EVENT()
+ public void ServiceStateChanged_ADD_EVENT()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void StateChanged_ADD_EVENT()
+ public void StateChanged_ADD_EVENT()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void ErrorOccured_ADD_EVENT()
+ public void ErrorOccured_ADD_EVENT()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")]
- public static void CurrentLanguageChanged_ADD_EVENT()
+ public void CurrentLanguageChanged_ADD_EVENT()
{
VoiceControlWrapper inst = new VoiceControlWrapper();
try
[Step(5, "wait to enter to always on display mode")]
[Step(6, "Check if log show \"[TestCase][TCT]AmbientEventArgs mode : [mode] \".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Enabled_TEST()
+ public async Task Enabled_TEST()
{
/* TEST CODE */
if (!_value)
[Step(3, "wait 10 sec")]
[Step(4, "Check if log show \"[TestCase][TCT] TimeEventArgs hour : [hour] : [min] : [sec]\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Time_Test()
+ public async Task Time_Test()
{
/* TEST CODE */
if (!_value)
[Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
[Step(3, "Check if log show \"[TestCase][TCT] ResumedEvent\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Resumed_EVENT_TEST()
+ public async Task Resumed_EVENT_TEST()
{
/* TEST CODE */
if (!_value)
[Step(3, "run TC app (return to the TC app")]
[Step(4, "Check if log show \"[TestCase][TCT] PausedEvent\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Paused_EVENT_TEST()
+ public async Task Paused_EVENT_TEST()
{
/* TEST CODE */
if (!_value)
[Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
[Step(3, "Check if log show \"[TestCase][TCT] TimeTickEvent\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task TimeTick_EVENT_TEST()
+ public async Task TimeTick_EVENT_TEST()
{
/* TEST CODE */
if (!_value)
[Step(5, "wait to enter to always on display mode")]
[Step(6, "Check if log show \"[TestCase][TCT] AmbientTickEvent\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task AmbientTick_EVENT_TEST()
+ public async Task AmbientTick_EVENT_TEST()
{
/* TEST CODE */
if (!_value)
[Step(5, "wait to enter to always on display mode")]
[Step(6, "Check if log show \"[TestCase][TCT] AmbientChangedEvent\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task AmbientChanged_EVENT_TEST()
+ public async Task AmbientChanged_EVENT_TEST()
{
/* TEST CODE */
if (!_value)
[Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
[Step(3, "Check if log show \"[TestCase][TCT] Run\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Run_Manual_Test()
+ public async Task Run_Manual_Test()
{
/* TEST CODE */
if (!_value)
[Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
[Step(3, "Check if log show \"[TestCase][TCT] OnCreate\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnCreate_Manual_Test()
+ public async Task OnCreate_Manual_Test()
{
/* TEST CODE */
if (!_value)
[Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
[Step(3, "Check if log show \"[TestCase][TCT] OnResume\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnResume_Manual_Test()
+ public async Task OnResume_Manual_Test()
{
/* TEST CODE */
if (!_value)
[Step(3, "run TC app (return to the TC app")]
[Step(4, "Check if log show \"[TestCase][TCT] OnPause\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnPause_Manual_Test()
+ public async Task OnPause_Manual_Test()
{
/* TEST CODE */
if (!_value)
[Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
[Step(3, "Check if log show \"[TestCase][TCT] OnTick\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnTick_Manual_Test()
+ public async Task OnTick_Manual_Test()
{
/* TEST CODE */
if (!_value)
[Step(5, "wait to enter to always on display mode")]
[Step(6, "Check if log show \"[TestCase][TCT] OnAmbientTick\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnAmbientTick_Manual_Test()
+ public async Task OnAmbientTick_Manual_Test()
{
/* TEST CODE */
if (!_value)
[Step(5, "wait to enter to always on display mode")]
[Step(6, "Check if log show \"[TestCase][TCT] OnAmbientChanged\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnAmbientChanged_Manual_Test()
+ public async Task OnAmbientChanged_Manual_Test()
{
/* TEST CODE */
if (!_value)
[Step(2, "Settings > Watch faces and style > Watch faces > select \"watch\" watchface > back to watchface")]
[Step(3, "Check if log show \"[TestCase][TCT] TimeTickEvent\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task TimeTick_TEST()
+ public async Task TimeTick_TEST()
{
/* TEST CODE */
if (!_value)
[Step(5, "wait to enter to always on display mode")]
[Step(6, "Check if log show \"[TestCase][TCT] AmbientTickEvent\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task AmbientTick_TEST()
+ public async Task AmbientTick_TEST()
{
/* TEST CODE */
if (!_value)
[Step(5, "wait to enter to always on display mode")]
[Step(6, "Check if log show \"[TestCase][TCT] AmbientChangedEvent\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task AmbientChanged_TEST()
+ public async Task AmbientChanged_TEST()
{
/* TEST CODE */
if (!_value)
[Description("WatchApplication Test")]
public class WatchApplicationTests
{
- public static TempWatchApp tmpWatchApp;
+ public TempWatchApp tmpWatchApp;
private static bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug("WATCH", "@@## WatchApplication TC init");
Information.TryGetValue<bool>("http://tizen.org/feature/watch_app", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug("WATCH", "@@## WatchApplication TC destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void WatchApplication_INIT()
+ public void WatchApplication_INIT()
{
Log.Debug("WATCH", "@@## WatchApplication_INIT");
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
[Property("COVPARAM", "Tizen.Applications.CoreBackend.ICoreBackend")]
- public static void WatchApplication_COREBACKEND_INIT()
+ public void WatchApplication_COREBACKEND_INIT()
{
Log.Debug("WATCH", "@@## WatchApplication_COREBACKEND_INIT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void GetCurrentTime_WATCHTIME()
+ public void GetCurrentTime_WATCHTIME()
{
Log.Debug("WATCH", "@@## GetCurrentTime_WATCHTIME");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void SetAmbientTickType_EXCEPTION()
+ public void SetAmbientTickType_EXCEPTION()
{
Log.Debug("WATCH", "@@## SetAmbientTickType_EXCEPTION");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void GetAmbientTickType_AMBIENTTICKTYPE()
+ public void GetAmbientTickType_AMBIENTTICKTYPE()
{
Log.Debug("WATCH", "@@## GetAmbientTickType_AMBIENTTICKTYPE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST, MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void SetAmbientTickType_NOTICK()
+ public void SetAmbientTickType_NOTICK()
{
Log.Debug("WATCH", "@@## SetAmbientTickType_NOTICK");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST, MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void SetAmbientTickType_EVERYMINUTE()
+ public void SetAmbientTickType_EVERYMINUTE()
{
Log.Debug("WATCH", "@@## SetAmbientTickType_EVERYMINUTE");
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST, MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void SetAmbientTickType_EVERYFIVEMINUTE()
+ public void SetAmbientTickType_EVERYFIVEMINUTE()
{
Log.Debug("WATCH", "@@## SetAmbientTickType_EVERYFIVEMINUTE");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST, MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void SetAmbientTickType_EVERYFIFTENMINUTES()
+ public void SetAmbientTickType_EVERYFIFTENMINUTES()
{
Log.Debug("WATCH", "@@## SetAmbientTickTypee_EVERYFIFTENMINUTES");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST, MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void SetAmbientTickType_EVERYTHIRTYMINUTES()
+ public void SetAmbientTickType_EVERYTHIRTYMINUTES()
{
Log.Debug("WATCH", "@@## SetAmbientTickType_EVERYTHIRTYMINUTES");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST, MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void SetAmbientTickType_EVERYHOUR()
+ public void SetAmbientTickType_EVERYHOUR()
{
Log.Debug("WATCH", "@@## SetAmbientTickType_EVERYHOUR");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST, MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void SetAmbientTickType_EVERYTHREEHOURS()
+ public void SetAmbientTickType_EVERYTHREEHOURS()
{
Log.Debug("WATCH", "@@## SetAmbientTickType_EVERYTHREEHOURS");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST, MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void SetAmbientTickType_EVERYSIXHOURS()
+ public void SetAmbientTickType_EVERYSIXHOURS()
{
Log.Debug("WATCH", "@@## SetAmbientTickType_EVERYSIXHOURS");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST, MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void SetAmbientTickType_EVERYTWELVEHOURS()
+ public void SetAmbientTickType_EVERYTWELVEHOURS()
{
Log.Debug("WATCH", "@@## SetAmbientTickTypee_EVERYTWELVEHOURS");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST, MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void SetAmbientTickType_EVERYDAY()
+ public void SetAmbientTickType_EVERYDAY()
{
Log.Debug("WATCH", "@@## SetAmbientTickType_EVERYDAY");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MEX")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void SetTimeTickFrequency_EXCEPTION()
+ public void SetTimeTickFrequency_EXCEPTION()
{
Log.Debug("WATCH", "@@## SetTimeTickFrequency_EXCEPTION");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void GetTimeTickFrequency_TIMETICKSPERSECOND()
+ public void GetTimeTickFrequency_TIMETICKSPERSECOND()
{
Log.Debug("WATCH", "@@## GetTimeTickFrequency_TIMETICKSPERSECOND");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void GetTimeTickFrequency_TIMETICKSPERMINUTE()
+ public void GetTimeTickFrequency_TIMETICKSPERMINUTE()
{
Log.Debug("WATCH", "@@## GetTimeTickFrequency_TIMETICKSPERMINUTE");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void GetTimeTickFrequency_TIMETICKSPERHOUR()
+ public void GetTimeTickFrequency_TIMETICKSPERHOUR()
{
Log.Debug("WATCH", "@@## GetTimeTickFrequency_TIMETICKSPERHOUR");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST, MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void SetTimeTickFrequency_TIMETICKSPERSECOND()
+ public void SetTimeTickFrequency_TIMETICKSPERSECOND()
{
Log.Debug("WATCH", "@@## SetTimeTickFrequency_TIMETICKSPERSECOND");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST, MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void SetTimeTickFrequency_TIMETICKSPERMINUTE()
+ public void SetTimeTickFrequency_TIMETICKSPERMINUTE()
{
Log.Debug("WATCH", "@@## SetTimeTickFrequency_TIMETICKSPERMINUTE");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR, MCST, MAE")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void SetTimeTickFrequency_TIMETICKSPERHOUR()
+ public void SetTimeTickFrequency_TIMETICKSPERHOUR()
{
Log.Debug("WATCH", "@@## SetTimeTickFrequency_TIMETICKSPERHOUR");
private static bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug("WATCH", "@@## WatchEventType TC init");
Information.TryGetValue<bool>("http://tizen.org/feature/watch_app", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug("WATCH", "@@## WatchEventType TC destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void WatchEventType_INIT()
+ public void WatchEventType_INIT()
{
Log.Debug("WATCH", "@@## WatchEventType_INIT");
try
{
Tizen.Applications.CoreBackend.WatchEventType watchEV = new Tizen.Applications.CoreBackend.WatchEventType("TimeTick");
- Assert.IsNotNull(watchEV, "Object should not be null after initializing");\r
+ Assert.IsNotNull(watchEV, "Object should not be null after initializing");
}
catch (Exception e)
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void WatchEventType_IMPLICIT()
+ public void WatchEventType_IMPLICIT()
{
Log.Debug("WATCH", "@@## WatchEventType_IMPLICIT");
[Description("WatchTime Test")]
public class WatchTimeTests
{
- public static TempWatchApp tmpWatchApp;
+ public TempWatchApp tmpWatchApp;
private static bool isSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
Log.Debug("WATCH", "@@## WatchTime TC init");
Information.TryGetValue<bool>("http://tizen.org/feature/watch_app", out isSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
Log.Debug("WATCH", "@@## WatchTimeTests TC destroy");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Year_READY_ONLY()
+ public void Year_READY_ONLY()
{
Log.Debug("WATCH", "@@## WatchTime_Year_INT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Month_READY_ONLY()
+ public void Month_READY_ONLY()
{
Log.Debug("WATCH", "@@## WatchTime_Month_INT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Day_READY_ONLY()
+ public void Day_READY_ONLY()
{
Log.Debug("WATCH", "@@## WatchTime_Day_INT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void DayOfWeek_READY_ONLY()
+ public void DayOfWeek_READY_ONLY()
{
Log.Debug("WATCH", "@@## WatchTime_DayOfWeek_INT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Hour_READY_ONLY()
+ public void Hour_READY_ONLY()
{
Log.Debug("WATCH", "@@## WatchTime_Hour_INT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Hour24_READY_ONLY()
+ public void Hour24_READY_ONLY()
{
Log.Debug("WATCH", "@@## WatchTime_Hour24_INT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Minute_READY_ONLY()
+ public void Minute_READY_ONLY()
{
Log.Debug("WATCH", "@@## WatchTime_Minute_INT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Second_READY_ONLY()
+ public void Second_READY_ONLY()
{
Log.Debug("WATCH", "@@## WatchTime_Second_INT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void Millisecond_READY_ONLY()
+ public void Millisecond_READY_ONLY()
{
Log.Debug("WATCH", "@@## WatchTime_Millisecond_INT");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void TimeZone_READY_ONLY()
+ public void TimeZone_READY_ONLY()
{
Log.Debug("WATCH", "@@## WatchTime_TimeZone_STRING");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Sukhyung Kang, shine.kang@samsung.com")]
- public static void UtcTimestamp_READY_ONLY()
+ public void UtcTimestamp_READY_ONLY()
{
Log.Debug("WATCH", "@@## WatchTime_UtcTimestamp_DATETIME");
Assert.IsTrue(result, "LoadUrl method failed");
/* TEST CODE */
- try\r
+ try
{
- _webView.EvalWithResult("sendResult", "Result");\r
- }\r
+ _webView.EvalWithResult("sendResult", "Result");
+ }
catch (Exception e)
{
Assert.True(false, e.Message);
Assert.IsTrue(result, "LoadUrl method failed");
/* TEST CODE */
- try\r
+ try
{
_webView.Eval(WebViewCommon.TestScript);
}
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(2, "Press Home hardkey -> Launch WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) application -> return to app test")]
[Step(3, "Check if log show \"WidgetBaseApp.Tizen.cs: OnCreate\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Run_MANUAL_TEST()
+ public async Task Run_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(2, "Press Home hardkey -> Launch WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) application -> return to app test")]
[Step(3, "Check if log show \"WidgetBaseApp.Tizen.cs: OnCreate\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnCreate_MANUAL_TEST()
+ public async Task OnCreate_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
[Step(2, "Press Home hardkey -> Launch WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) application -> return to app test")]
[Step(3, "Check if log show \"WidgetBaseApp.Tizen.cs: OnResume\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnResume_MANUAL_TEST()
+ public async Task OnResume_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
[Step(2, "Press Home hardkey -> Launch WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) application -> return to app test")]
[Step(3, "Check if log show \"WidgetBaseApp.Tizen.cs: OnResize\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnResize_MANUAL_TEST()
+ public async Task OnResize_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
[Step(2, "Press Home hardkey -> Launch WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) application -> return to app test")]
[Step(3, "Check if log show \"WidgetBaseApp.Tizen.cs: OnPause\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnPause_MANUAL_TEST()
+ public async Task OnPause_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
[Step(2, "Press Home hardkey -> Launch WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) application -> task manager and kill WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) -> return to app test")]
[Step(3, "Check if log show \"WidgetBaseApp.Tizen.cs: OnDestroy\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnDestroy_MANUAL_TEST()
+ public async Task OnDestroy_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
[Step(2, "Press Home hardkey -> Launch WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) application -> return to app test")]
[Step(3, "Check if log show \"WidgetBaseApp.Tizen.cs: OnUpdate\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnUpdate_MANUAL_TEST()
+ public async Task OnUpdate_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
[Step(2, "Press Home hardkey -> Launch WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) application -> Click Exit Test Button -> return to app test")]
[Step(3, "Check if log show \"WidgetBaseApp.Tizen.cs: OnDestroy\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Exit_MANUAL_TEST()
+ public async Task Exit_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
[Step(2, "Press Home hardkey -> Launch WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) application -> Click SetContent Test Button -> return to app test")]
[Step(3, "Check if log show \"WidgetBaseApp.Tizen.cs: SetContent_Clicked > SetContent done\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task SetContent_MANUAL_TEST()
+ public async Task SetContent_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
[Step(2, "Press Home hardkey -> Launch WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) application -> Click SetTitle Test Button -> return to app test")]
[Step(3, "Check if log show \"WidgetBaseApp.Tizen.cs: SetTitle_Clicked > SetTitle done\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task SetTitle_MANUAL_TEST()
+ public async Task SetTitle_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
public class WidgetApplicationTests {
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Init WidgetApplicationTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
[Property("COVPARAM", "System.Type")]
- public static void WidgetApplication_INIT_DEFAULT()
+ public void WidgetApplication_INIT_DEFAULT()
{
WidgetApplication widget = new WidgetApplication(typeof(MyWidget));
Assert.NotNull(widget, "Should not return NULL");
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
[Property("COVPARAM", "System.Collections.Generic.IDictionary<System.Type,string>")]
- public static void WidgetApplication_INIT_CUSTOM()
+ public void WidgetApplication_INIT_CUSTOM()
{
WidgetApplication widget = new WidgetApplication(new Dictionary<Type, string>() {
{ typeof(MyWidget), "w1@org.tizen.WidgetApp"} });
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetInstances_RETURN_VALUE()
+ public void GetInstances_RETURN_VALUE()
{
WidgetApplication app = new WidgetApplication(typeof(MyWidget));
IList<WidgetBase> instance = (IList <WidgetBase>)app.GetInstances(typeof(MyWidget));
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetInstances_RETURN_NULL_WITH_INVALID_PARAM()
+ public void GetInstances_RETURN_NULL_WITH_INVALID_PARAM()
{
WidgetApplication app = new WidgetApplication(typeof(MyWidget));
IList<WidgetBase> instance = (IList <WidgetBase>)app.GetInstances(typeof(WidgetApplicationTests));
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Init WidgetBaseTests");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
}
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
[Property("COVPARAM", "System.Type")]
- public static void WidgetBase_INIT()
+ public void WidgetBase_INIT()
{
MyWidgetBase bWidget = new MyWidgetBase();
Assert.NotNull(bWidget, "Should not return NULL");
/* POSTCONDITION
* */
b.Dispose();
- ShutdownWidget();\r
+ ShutdownWidget();
_widgetControl.Created -= OnCreated;
_widgetControl.Dispose();
_widgetControl = null;
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(2, "Press Home hardkey -> Launch WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) application -> Click ChangeContent Test Button -> return to app test")]
[Step(2, "Check if log show \"WidgetBaseApp.Tizen.cs: ChangeContent_Clicked > ChangeContent done\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task ChangeContent_MANUAL_TEST()
+ public async Task ChangeContent_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
[Step(2, "Press Home hardkey -> Launch WidgetMultiViewer.Tizen(AppID: org.tizen.example.WidgetMultiViewer.Tizen) application -> Click ChangePeriod Test Button -> return to app test")]
[Step(2, "Check if log show \"WidgetMulti2.Tizen.cs: ChangePeriod_Clicked > ChangePeriod done\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task ChangePeriod_MANUAL_TEST()
+ public async Task ChangePeriod_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
[Step(2, "Press Home hardkey -> Launch WidgetMultiViewer.Tizen(AppID: org.tizen.example.WidgetMultiViewer.Tizen) application -> Click GetContent Test Button -> return to app test")]
[Step(2, "Check if log show \"WidgetMulti2.Tizen.cs: GetContent_Clicked > GetContent done\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task GetContent_MANUAL_TEST()
+ public async Task GetContent_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
[Step(2, "Press Home hardkey -> Launch WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) application -> Click InstanceId Test Button -> return to app test")]
[Step(2, "Check if log show \"WidgetBaseApp.Tizen.cs: InstanceId_Clicked(274) > InstanceId done : <instance id> \".")]
[Postcondition(1, "Close the terminal")]
- public static async Task Id_MANUAL_TEST()
+ public async Task Id_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
{
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(2, "Press Home hardkey -> Launch WidgetViewerApp.Tizen(AppID: org.tizen.example.WidgetViewerApp.Tizen) application -> Click GetInstances Test Button -> return to app test")]
[Step(2, "Check if log show \"WidgetBaseApp.Tizen.cs: GetInstances_Clicked > GetInstances done\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task GetInstances_MANUAL_TEST()
+ public async Task GetInstances_MANUAL_TEST()
{
/* TEST CODE */
await ManualTest.WaitForConfirm();
private const string MyPreviewImage = "preview.png";
[SetUp]
- public static void Init()
+ public void Init()
{
_widgetControl = new Tizen.Applications.WidgetControl(MyWidgetId);
_appInfo = new ApplicationInfo(MyWidgetId);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_widgetControl = null;
_appInfo = null;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void Type_PROPERTY_GET()
+ public void Type_PROPERTY_GET()
{
bool flag = false;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void PreviewImagePath_PROPERTY_GET()
+ public void PreviewImagePath_PROPERTY_GET()
{
bool flag = false;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void Height_PROPERTY_GET()
+ public void Height_PROPERTY_GET()
{
bool flag = false;
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void Width_PROPERTY_GET()
+ public void Width_PROPERTY_GET()
{
bool flag = false;
}
[SetUp]
- public static void Init()
+ public void Init()
{
_widgetControl = new Tizen.Applications.WidgetControl(MyWidgetId);
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
_widgetControl = null;
LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "CONSTR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void WidgetControl_INIT()
+ public void WidgetControl_INIT()
{
var MyWidgetControl = new Tizen.Applications.WidgetControl(MyWidgetId1);
Assert.IsNotNull(MyWidgetControl, "Object should not be null after initialization");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void Id_PROPERTY_GET()
+ public void Id_PROPERTY_GET()
{
Assert.IsInstanceOf<string>(_widgetControl.Id);
Assert.AreEqual(MyWidgetId, _widgetControl.Id, "Property \"Id\": the get value should be equal");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void IsNoDisplay_PROPERTY_GET()
+ public void IsNoDisplay_PROPERTY_GET()
{
Assert.IsInstanceOf<bool>(_widgetControl.IsNoDisplay);
Assert.AreEqual(false, _widgetControl.IsNoDisplay, "Property \"IsNoDisplay\": the get value should be false");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")]
- public static void GetScales_RETURN_VALUE()
+ public void GetScales_RETURN_VALUE()
{
IEnumerable<Applications.WidgetControl.Scale> MyWidgetScale = _widgetControl.GetScales();
Assert.IsNotNull(MyWidgetScale, "Object should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void CreateAll_RETURN_VALUE()
+ public void CreateAll_RETURN_VALUE()
{
Tizen.Applications.WidgetControl[] controlArr = Tizen.Applications.WidgetControl.CreateAll(MyWidgetId);
Assert.IsNotNull(controlArr, "Object should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetIconPath_RETURN_VALUE()
+ public void GetIconPath_RETURN_VALUE()
{
string iconPath = _widgetControl.GetIconPath(Lang);
Assert.IsNotNull(iconPath, "Object should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetName_RETURN_VALUE()
+ public void GetName_RETURN_VALUE()
{
string name = _widgetControl.GetName(Lang);
Assert.IsNotNull(name, "Object should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void GetWidgetIds_RETURN_VALUE()
+ public void GetWidgetIds_RETURN_VALUE()
{
string[] idArr = Tizen.Applications.WidgetControl.GetWidgetIds(MyWidgetId);
Assert.IsNotNull(idArr, "Object should not be null");
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Created_CHECK_EVENT()
+ public void Created_CHECK_EVENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Destroyed_CHECK_EVENT()
+ public void Destroyed_CHECK_EVENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Paused_CHECK_EVENT()
+ public void Paused_CHECK_EVENT()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Hyunho Kang, hhstark.kang@samsung.com")]
- public static void Resumed_CHECK_EVENT()
+ public void Resumed_CHECK_EVENT()
{
try
{
}
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
if (_window != null)
{
private static bool s_flagConnectionRsp = false;
private static bool s_isWiFiDirectSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Preconditions for each TEST");
s_flagPeerFound = false;
Information.TryGetValue("http://tizen.org/feature/network.wifi.direct", out s_isWiFiDirectSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST");
}
- public static async Task DiscoverySetup()
+ public async Task DiscoverySetup()
{
WiFiDirectManager.PeerFound += EventHandlerPeerFound;
WiFiDirectManager.StartDiscovery(false, WifidirectUtils.DiscoveryTime);
WiFiDirectManager.PeerFound -= EventHandlerPeerFound;
}
- public static void EventHandlerPeerFound(object sender, PeerFoundEventArgs e)
+ public void EventHandlerPeerFound(object sender, PeerFoundEventArgs e)
{
if (e.DiscoveryState == WiFiDirectDiscoveryState.Found)
{
}
}
- public static async Task WaitForPeerFoundflag()
+ public async Task WaitForPeerFoundflag()
{
int count = 0;
while (true)
}
}
- public static void EventHandlerConnectionState(object sender, ConnectionStateChangedEventArgs e)
+ public void EventHandlerConnectionState(object sender, ConnectionStateChangedEventArgs e)
{
s_error = e.Error;
s_addressConnection = e.MacAddress;
}
}
- public static async Task WaitConnectedFlag()
+ public async Task WaitConnectedFlag()
{
int count = 0;
while (true)
[Step(2, "When connection popup appears, tap Connect on the peer device.")]
[Step(3, "Testcase will pass automatically if the Error value is None else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task Error_PROPERTY_READ_ONLY()
+ public async Task Error_PROPERTY_READ_ONLY()
{
/**
* PRECONDITION:
[Step(2, "When connection popup appears, tap Connect on the peer device.")]
[Step(3, "Testcase will pass automatically if the State value is ConnectionInProgress else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task State_PROPERTY_GET_ENUM_CONNECTIONINPROGRESS()
+ public async Task State_PROPERTY_GET_ENUM_CONNECTIONINPROGRESS()
{
/**
* PRECONDITION:
[Step(2, "When connection popup appears, tap Connect on the peer device.")]
[Step(3, "Testcase will pass automatically if the State value is ConnectionRsp else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task State_PROPERTY_GET_ENUM_CONNECTIONRSP()
+ public async Task State_PROPERTY_GET_ENUM_CONNECTIONRSP()
{
/**
* PRECONDITION:
[Step(2, "When connection popup appears, tap Connect on the peer device.")]
[Step(3, "Testcase will pass automatically if the MacAddress is a valid string else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task MacAddress_PROPERTY_READ_ONLY()
+ public async Task MacAddress_PROPERTY_READ_ONLY()
{
/**
* PRECONDITION:
private static bool s_isWiFiDirectSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
s_error = -1;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- static public void EventConnectStatus(object sender, ConnectionStatusChangedEventArgs e)
+ public void EventConnectStatus(object sender, ConnectionStatusChangedEventArgs e)
{
s_error = (int)e.Error;
}
[Step(1, "Tap the Run button")]
[Step(2, "If DisconnectAll is success and event is called with error None, test case will pass automatically else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task Error_PROPERTY_READ_ONLY()
+ public async Task Error_PROPERTY_READ_ONLY()
{
/*
* PRECONDITION
[Step(2, "Tap Disconnect button and then tap Ok button in the peer device")]
[Step(3, "If ConnectionState is DisconnectInd, test case will pass automatically else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task ConnectionState_PROPERTY_GET_ENUM_DISCONNECTIND()
+ public async Task ConnectionState_PROPERTY_GET_ENUM_DISCONNECTIND()
{
/*
* PRECONDITION
[Step(2, "In testing device go to Wi-Fi Direct settings and tap Disconnect button and then tap Ok button")]
[Step(3, "If ConnectionState is DisconnectRsp, test case will pass automatically else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task ConnectionState_PROPERTY_GET_ENUM_DISCONNECTRSP()
+ public async Task ConnectionState_PROPERTY_GET_ENUM_DISCONNECTRSP()
{
/*
* PRECONDITION
[Step(2, "Disconnect from one of the connected peer devices")]
[Step(3, "If ConnectionState is DisassociationInd, test case will pass automatically else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task ConnectionState_PROPERTY_GET_ENUM_DISASSOCIATE()
+ public async Task ConnectionState_PROPERTY_GET_ENUM_DISASSOCIATE()
{
/*
* PRECONDITION
[Step(1, "Tap the Run button")]
[Step(2, "If, after destroy group, ConnectionState is GroupDestroyed, test case will pass automatically else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task ConnectionState_PROPERTY_GET_ENUM_GROUP_DESTROY()
+ public async Task ConnectionState_PROPERTY_GET_ENUM_GROUP_DESTROY()
{
/*
* PRECONDITION
[Step(3, "When input entry keypad appears in the peer device, enter the pin in the peer device which is displayed on the testing device")]
[Step(4, "If after connection request, ConnectionState is ConnectionWpsRequest, test case will pass automatically else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task ConnectionState_PROPERTY_GET_ENUM_CONNECTIONWPSREQUEST()
+ public async Task ConnectionState_PROPERTY_GET_ENUM_CONNECTIONWPSREQUEST()
{
/*
* PRECONDITION
private static bool s_isWiFiDirectSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
s_flagDiscoveryStarted = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- public static async Task WaitForDiscoveryStartedflag()
+ public async Task WaitForDiscoveryStartedflag()
{
int count = 0;
while (true)
}
}
- public static async Task WaitForFinished()
+ public async Task WaitForFinished()
{
int count = 0;
while (true)
}
}
- public static async Task WaitForFound()
+ public async Task WaitForFound()
{
int count = 0;
while (true)
}
}
- public static async Task WaitForLost()
+ public async Task WaitForLost()
{
int count = 0;
while (true)
}
- public static void EventHandlerDiscovery(object sender, DiscoveryStateChangedEventArgs e)
+ public void EventHandlerDiscovery(object sender, DiscoveryStateChangedEventArgs e)
{
s_error = (int)e.Error;
if (e.DiscoveryState == WiFiDirectDiscoveryState.Started)
}
}
- public static async Task DiscoverySetup()
+ public async Task DiscoverySetup()
{
/*
* PRECONDITION
[Step(2, "Ensure that Wi-Fi Direct scan is going on in the peer device")]
[Step(3, "If after scan is finished on the testing device, DiscoveryState is Lost after few minutes, test case will pass else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task DiscoveryState_PROPERTY_GET_ENUM_LOST()
+ public async Task DiscoveryState_PROPERTY_GET_ENUM_LOST()
{
/*
* PRECONDITION
private static string s_interfaceAddress = null;
private static bool s_isWiFiDirectSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Preconditions for each TEST");
s_flagPeerFound = false;
Information.TryGetValue("http://tizen.org/feature/network.wifi.direct", out s_isWiFiDirectSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST");
}
- public static async Task DiscoverySetup()
+ public async Task DiscoverySetup()
{
WiFiDirectManager.PeerFound += EventHandlerPeerFound;
WiFiDirectManager.StartDiscovery(false, WifidirectUtils.DiscoveryTime);
WiFiDirectManager.PeerFound -= EventHandlerPeerFound;
}
- public static void EventHandlerPeerFound(object sender, PeerFoundEventArgs e)
+ public void EventHandlerPeerFound(object sender, PeerFoundEventArgs e)
{
if (e.DiscoveryState == WiFiDirectDiscoveryState.Found)
{
}
}
- public static async Task WaitForPeerFoundflag()
+ public async Task WaitForPeerFoundflag()
{
int count = 0;
while (true)
}
}
- public static async Task WaitConnectedFlag()
+ public async Task WaitConnectedFlag()
{
int count = 0;
while (true)
}
}
- public static void EventHandlerConnectionState(object sender, ConnectionStateChangedEventArgs e)
+ public void EventHandlerConnectionState(object sender, ConnectionStateChangedEventArgs e)
{
s_address = e.MacAddress;
if (e.State == WiFiDirectConnectionState.ConnectionRsp)
s_flagConnected = true;
}
- public static void EventHandlerIpAddressAssigned(object sender, IpAddressAssignedEventArgs e)
+ public void EventHandlerIpAddressAssigned(object sender, IpAddressAssignedEventArgs e)
{
s_macAddress = e.MacAddress;
s_ipAddress = e.IpAddress;
[Step(2, "When connection popup appears, tap Connect on the peer device.")]
[Step(3, "Testcase will pass automatically if MacAddress is a valid string else it will fail.")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task MacAddress_PROPERTY_READ_ONLY()
+ public async Task MacAddress_PROPERTY_READ_ONLY()
{
/**
* PRECONDITION:
[Step(2, "When connection popup appears, tap Connect on the peer device.")]
[Step(3, "Testcase will pass automatically if IpAddress is a valid string else it will fail.")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task IpAddress_PROPERTY_READ_ONLY()
+ public async Task IpAddress_PROPERTY_READ_ONLY()
{
/**
* PRECONDITION:
[Step(2, "When connection popup appears, tap Connect on the peer device.")]
[Step(3, "Testcase will pass automatically if InterfaceAddress is a valid string else it will fail.")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task InterfaceAddress_PROPERTY_READ_ONLY()
+ public async Task InterfaceAddress_PROPERTY_READ_ONLY()
{
/**
* PRECONDITION:
private static bool s_isWiFiDirectSupported = false;
private static bool s_isWiFiDirectServiceDiscoverySupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Preconditions for each TEST");
s_flagPeerFound = false;
Information.TryGetValue("http://tizen.org/feature/network.wifi.direct.service_discovery", out s_isWiFiDirectServiceDiscoverySupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST");
}
- public static async Task DiscoverySetup()
+ public async Task DiscoverySetup()
{
WiFiDirectManager.PeerFound += EventHandlerPeerFound;
WiFiDirectManager.StartDiscovery(false, WifidirectUtils.DiscoveryTime);
WiFiDirectManager.PeerFound -= EventHandlerPeerFound;
}
- public static void EventHandlerPeerFound(object sender, PeerFoundEventArgs e)
+ public void EventHandlerPeerFound(object sender, PeerFoundEventArgs e)
{
if (e.DiscoveryState == WiFiDirectDiscoveryState.Found)
{
}
}
- public static async Task WaitForPeerFoundflag()
+ public async Task WaitForPeerFoundflag()
{
int count = 0;
while (true)
}
}
- public static void EventHandlerServiceDiscovery(object sender, ServiceStateChangedEventArgs e)
+ public void EventHandlerServiceDiscovery(object sender, ServiceStateChangedEventArgs e)
{
s_error = e.Error;
if (e.ServiceDiscoveryState == WiFiDirectServiceDiscoveryState.Started)
[Step(1, "Tap the Run button")]
[Step(2, "Testcase will pass automatically if Error value is None else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task Error_PROPERTY_READ_ONLY()
+ public async Task Error_PROPERTY_READ_ONLY()
{
/**
* PRECONDITION:
[Step(1, "Tap the Run button")]
[Step(2, "Testcase will pass automatically if Response is a valid string else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task Response_PROPERTY_READ_ONLY()
+ public async Task Response_PROPERTY_READ_ONLY()
{
/**
* PRECONDITION:
[Step(1, "Tap the Run button")]
[Step(2, "Testcase will pass automatically if ServiceDiscoveryState is Started else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task ServiceDiscoveryState_PROPERTY_GET_ENUM_STARTED()
+ public async Task ServiceDiscoveryState_PROPERTY_GET_ENUM_STARTED()
{
/**
* PRECONDITION:
[Step(1, "Tap the Run button")]
[Step(2, "Testcase will pass automatically if ServiceDiscoveryState is Found else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task ServiceDiscoveryState_PROPERTY_GET_ENUM_FOUND()
+ public async Task ServiceDiscoveryState_PROPERTY_GET_ENUM_FOUND()
{
/**
* PRECONDITION:
[Step(1, "Tap the Run button")]
[Step(2, "Testcase will pass automatically if ServiceDiscoveryState is Finished else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task ServiceDiscoveryState_PROPERTY_GET_ENUM_FINISHED()
+ public async Task ServiceDiscoveryState_PROPERTY_GET_ENUM_FINISHED()
{
/**
* PRECONDITION:
[Step(1, "Tap the Run button")]
[Step(2, "Testcase will pass automatically if ServiceType is of WiFiDirectServiceType else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task ServiceType_PROPERTY_READ_ONLY()
+ public async Task ServiceType_PROPERTY_READ_ONLY()
{
/**
* PRECONDITION:
[Step(1, "Tap the Run button")]
[Step(2, "Testcase will pass automatically if Peer property is of type WiFiDirectPeer else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task Peer_PROPERTY_READ_ONLY()
+ public async Task Peer_PROPERTY_READ_ONLY()
{
/**
* PRECONDITION:
private static bool s_isWiFiDirectSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
s_state = -1;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(4, "If during connection, State is Connecting, test case will pass automatically else it will fail")]
[Postcondition(1, "Cancel the connection process")]
[Postcondition(2, "Turn off WiFi-Direct on testing device")]
- public static async Task State_PROPERTY_GET_ENUM_CONNECTING()
+ public async Task State_PROPERTY_GET_ENUM_CONNECTING()
{
/*
* PRECONDITION
[Step(4, "Ensure the testing device and peer device are connected to each other")]
[Step(5, "If after connection, State is Connected, test case will pass automatically else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task State_PROPERTY_GET_ENUM_CONNECTED()
+ public async Task State_PROPERTY_GET_ENUM_CONNECTED()
{
/*
* PRECONDITION
[Step(2, "In testing device go to Wi-Fi Direct settings and tap the Disconnect button and then tap Ok button")]
[Step(3, "If after disconnection, State is Disconnecting, test case will pass automatically else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task State_PROPERTY_GET_ENUM_DISCONNECT()
+ public async Task State_PROPERTY_GET_ENUM_DISCONNECT()
{
/*
* PRECONDITION
private static bool s_isWiFiDirectSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
s_flagPeerFound = false;
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
- public static async Task WaitForPeerFoundFlag()
+ public async Task WaitForPeerFoundFlag()
{
int count = 0;
while (true)
[Step(3, "If Wps type is Pbc, test case will pass automatically")]
[Step(4, "If peer device is not found or the connection request did not come or Wps type is not Pbc then test case will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task Wps_PROPERTY_GET_ENUM_PBC()
+ public async Task Wps_PROPERTY_GET_ENUM_PBC()
{
/*
* PRECONDITION
[Step(4, "If Wps type is PinDisplay, test case will pass automatically")]
[Step(5, "If peer device is not found or the connection request did not come or Wps type is not PinDisplay then test case will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task Wps_PROPERTY_GET_ENUM_PINDISPLAY()
+ public async Task Wps_PROPERTY_GET_ENUM_PINDISPLAY()
{
/*
* PRECONDITION
[Step(4, "If Wps type is PinKeypad, test case will pass automatically")]
[Step(5, "If peer device is not found or the connection request did not come or Wps type is not PinKeypad then test case will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task Wps_PROPERTY_GET_ENUM_PINKEYPAD()
+ public async Task Wps_PROPERTY_GET_ENUM_PINKEYPAD()
{
/*
* PRECONDITION
[Step(2, "When connection popup appears in the peer device, tap Connect on the peer device")]
[Step(3, "If GetConnectedPeers list and its elements are not null, test case will pass automatically else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task GetConnectedPeers_RETURN_CONNECTED_PEERS()
+ public async Task GetConnectedPeers_RETURN_CONNECTED_PEERS()
{
/*
* PRECONDITION
s_flagPeerFound = false;
}
- static public void EventConnectStatus(object sender, ConnectionStatusChangedEventArgs e)
+ public void EventConnectStatus(object sender, ConnectionStatusChangedEventArgs e)
{
if (e.Error == WiFiDirectError.None && e.ConnectionState == WiFiDirectConnectionState.DisconnectRsp)
{
[Step(1, "Tap the Run button")]
[Step(2, "If event is called with error None and connection state is DisconnectRsp, test case will pass automatically else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task DisconnectAll_CHECK_STATUS_DISCONNECT()
+ public async Task DisconnectAll_CHECK_STATUS_DISCONNECT()
{
/* PRECONDITION
* 1. Turn on WiFi-Direct on testing device
WiFiDirectManager.ConnectionStatusChanged -= EventConnectStatus;
}
- public static void EventHandlerPeerFound(object sender, PeerFoundEventArgs e)
+ public void EventHandlerPeerFound(object sender, PeerFoundEventArgs e)
{
if (e.DiscoveryState == WiFiDirectDiscoveryState.Found && e.Peer != null)
{
[Step(4, "Ensure the testing device and peer device are connected to each other")]
[Step(5, "If event is called and WiFi-Direct state is Connecting and then Connected, test case will pass automatically else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task StateChanged_CHECK_EVENT_STATE_CONNECTED()
+ public async Task StateChanged_CHECK_EVENT_STATE_CONNECTED()
{
/*
* PRECONDITION
[Step(2, "In testing device go to Wi-Fi Direct settings and tap the Disconnect button and then tap Ok button")]
[Step(3, "If event is called and WiFi-Direct state is Disconnecting, test case will pass automatically else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task StateChanged_CHECK_EVENT_STATE_DISCONNECT()
+ public async Task StateChanged_CHECK_EVENT_STATE_DISCONNECT()
{
/*
* PRECONDITION
[Step(1, "Tap the Run button")]
[Step(2, "If after connection WiFi-Direct state is Connected, test case will pass automatically else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task State_PROPERTY_GET_ENUM_CONNECTED()
+ public async Task State_PROPERTY_GET_ENUM_CONNECTED()
{
/*
* PRECONDITION
[Step(3, "When input entry keypad appears in the peer device, enter the pin in the peer device which is displayed on the testing device")]
[Step(4, "If getting and setting the WpsPin is success, test case will pass automatically else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task WpsPin_PROPERTY_SET_GET()
+ public async Task WpsPin_PROPERTY_SET_GET()
{
/*
* PRECONDITION
namespace Tizen.Network.WiFiDirect.Tests
{
- static public class Globals
+ public class Globals
{
public const string LogTag = "Tizen.Network.WiFiDirect";
}
private static bool s_isWiFiDirectDisplaySupported = false;
private static bool s_isWiFiDirectServiceDiscoverySupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Preconditions for each TEST");
s_flagPeerFound = false;
Information.TryGetValue("http://tizen.org/feature/network.wifi.direct.service_discovery", out s_isWiFiDirectServiceDiscoverySupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST");
}
[Step(2, "When connection popup appears in the peer device, tap Connect on the peer device.")]
[Step(3, "Test case will pass automatically if IpAddress property is a valid string else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task IpAddress_PROPERTY_READ_ONLY()
+ public async Task IpAddress_PROPERTY_READ_ONLY()
{
/**
* PRECONDITION:
[Step(2, "When connection popup appears in the peer device, tap Connect on the peer device.")]
[Step(3, "Testcase will pass automatically if InterfaceAddress is a proper string or it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task InterfaceAddress_PROPERTY_READ_ONLY()
+ public async Task InterfaceAddress_PROPERTY_READ_ONLY()
{
/**
* PRECONDITION:
s_peer.Disconnect();
s_peer = null;
}
- public static void EventHandlerPeerFound(object sender, PeerFoundEventArgs e)
+ public void EventHandlerPeerFound(object sender, PeerFoundEventArgs e)
{
if (e.DiscoveryState == WiFiDirectDiscoveryState.Found)
{
}
}
- public static async Task WaitForPeerFoundflag()
+ public async Task WaitForPeerFoundflag()
{
int count = 0;
while (true)
}
}
- public static async Task DiscoverySetup()
+ public async Task DiscoverySetup()
{
WiFiDirectManager.PeerFound += EventHandlerPeerFound;
WiFiDirectManager.StartDiscovery(false, WifidirectUtils.DiscoveryTime);
WiFiDirectManager.PeerFound -= EventHandlerPeerFound;
}
- public static async Task DiscoveryPeersSetup()
+ public async Task DiscoveryPeersSetup()
{
WiFiDirectManager.StartDiscovery(false, WifidirectUtils.DiscoveryTime);
await Task.Delay(WifidirectUtils.StartDiscoveryDelayTime);
await Task.Delay(WifidirectUtils.CancelDiscoveryDelayTime);
}
- public static void EventHandlerConnectionState(object sender, ConnectionStateChangedEventArgs e)
+ public void EventHandlerConnectionState(object sender, ConnectionStateChangedEventArgs e)
{
if (e.Error == WiFiDirectError.ConnectionCancelled && e.State == WiFiDirectConnectionState.ConnectionRsp)
{
[Step(2, "When connection popup appears, tap Connect on the peer device.")]
[Step(3, "Testcase will pass automatically if the connection is established successfully else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task Connect_CONNECTION_TEST()
+ public async Task Connect_CONNECTION_TEST()
{
/**
* PRECONDITION:
[Step(2, "Testcase will pass automatically if a toast popup appears as Failed to connect on the testing device else it will fail")]
[Postcondition(1, "Tap Cancel in connection popup which appeared in the peer device")]
[Postcondition(2, "Turn off WiFi-Direct on testing device")]
- public static async Task CancelConnection_CANCEL_CONNECTION_TEST()
+ public async Task CancelConnection_CANCEL_CONNECTION_TEST()
{
/**
* PRECONDITION:
s_peer = null;
}
- public static async Task WaitConnectedFlag()
+ public async Task WaitConnectedFlag()
{
int count = 0;
while (true)
[Step(2, "When connection popup appears, tap Connect on test device and remote device.")]
[Step(3, "Testcase will pass automatically if the connection is destroyed successfully else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task Disconnect_DISCONNECTION_TEST()
+ public async Task Disconnect_DISCONNECTION_TEST()
{
/**
* PRECONDITION:
[Step(2, "When connection popup appears, tap Connect on the peer device.")]
[Step(3, "Testcase will pass automatically if the ConnectionStateChanged callback is invoked else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task ConnectionStateChanged_CHECK_EVENT()
+ public async Task ConnectionStateChanged_CHECK_EVENT()
{
/**
* PRECONDITION:
s_peer = null;
}
- public static async Task WaitServiceDiscoveryFlag()
+ public async Task WaitServiceDiscoveryFlag()
{
int count = 0;
while (true)
}
}
- public static void EventHandlerServiceDiscovery(object sender, ServiceStateChangedEventArgs e)
+ public void EventHandlerServiceDiscovery(object sender, ServiceStateChangedEventArgs e)
{
if (e.Error == WiFiDirectError.None)
{
[Step(1, "Tap the Run button")]
[Step(2, "Testcase will pass automatically if ServiceStateChanged callback is invoked with proper states else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task StartServiceDiscovery_SERVICE_DISCOVERY_TEST()
+ public async Task StartServiceDiscovery_SERVICE_DISCOVERY_TEST()
{
/**
* PRECONDITION:
[Step(1, "Tap the Run button")]
[Step(2, "Testcase will pass automatically if the service discovery is cancelled else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task CancelServiceDiscovery_SERVICE_DISCOVERY_TEST()
+ public async Task CancelServiceDiscovery_SERVICE_DISCOVERY_TEST()
{
/**
* PRECONDITION:
[Step(1, "Tap the Run button")]
[Step(2, "Testcase will pass automatically if ServiceStateChanged callback is invoked else it will fail")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task ServiceStateChanged_CHECK_EVENT()
+ public async Task ServiceStateChanged_CHECK_EVENT()
{
/**
* PRECONDITION:
}
}
- public static void EventHandlerIpAddressAssigned(object sender, IpAddressAssignedEventArgs e)
+ public void EventHandlerIpAddressAssigned(object sender, IpAddressAssignedEventArgs e)
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Ipaddress assigned cb" + e.IpAddress);
s_flagIpAddress = true;
}
- public static async Task WaitIpAddressFlag()
+ public async Task WaitIpAddressFlag()
{
int count = 0;
while (true)
[Step(2, "When connection popup appears, tap Connect on peer device.")]
[Step(3, "If IpAddressAssigned callback is hit, testcase will pass automatically else it will fail.")]
[Postcondition(1, "Turn off WiFi-Direct on testing device")]
- public static async Task IpAddressAssigned_CHECK_EVENT()
+ public async Task IpAddressAssigned_CHECK_EVENT()
{
/**
* PRECONDITION:
private static bool s_isWiFiDirectSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.wifi.direct", out s_isWiFiDirectSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task ConnectionState_PROPERTY_GET_ENUM_GROUP_CREATE()
+ public async Task ConnectionState_PROPERTY_GET_ENUM_GROUP_CREATE()
{
WifidirectUtils utils = new WifidirectUtils();
try
private static bool s_isWiFiDirectSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.wifi.direct", out s_isWiFiDirectSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task Error_READ_ONLY()
+ public async Task Error_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task DeviceState_GET_ENUM_ALL()
+ public async Task DeviceState_GET_ENUM_ALL()
{
WifidirectUtils utils = new WifidirectUtils();
try
private static bool s_isWiFiDirectSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.wifi.direct", out s_isWiFiDirectSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task Error_PROPERTY_READ_ONLY()
+ public async Task Error_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task DiscoveryState_PROPERTY_GET_ENUM_STARTED()
+ public async Task DiscoveryState_PROPERTY_GET_ENUM_STARTED()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task DiscoveryState_PROPERTY_GET_ENUM_FOUND()
+ public async Task DiscoveryState_PROPERTY_GET_ENUM_FOUND()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task DiscoveryState_PROPERTY_GET_ENUM_ONLY_LISTEN()
+ public async Task DiscoveryState_PROPERTY_GET_ENUM_ONLY_LISTEN()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task DiscoveryState_PROPERTY_GET_ENUM_FINISHED()
+ public async Task DiscoveryState_PROPERTY_GET_ENUM_FINISHED()
{
WifidirectUtils utils = new WifidirectUtils();
try
}
}
}
-}
\ No newline at end of file
+}
private static bool s_isWiFiDirectSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.wifi.direct", out s_isWiFiDirectSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task Error_PROPERTY_READ_ONLY()
+ public async Task Error_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task DiscoveryState_PROPERTY_GET_ENUM_FOUND()
+ public async Task DiscoveryState_PROPERTY_GET_ENUM_FOUND()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task Peer_PROPERTY_READ_ONLY()
+ public async Task Peer_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
private static bool s_isWiFiDirectSupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.wifi.direct", out s_isWiFiDirectSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task State_PROPERTY_GET_ENUM_ACTIVATE()
+ public async Task State_PROPERTY_GET_ENUM_ACTIVATE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task State_PROPERTY_GET_ENUM_DEACTIVATE()
+ public async Task State_PROPERTY_GET_ENUM_DEACTIVATE()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task State_PROPERTY_GET_ENUM_DISCOVERING()
+ public async Task State_PROPERTY_GET_ENUM_DISCOVERING()
{
try
{
private static bool s_isWiFiDirectServiceDiscoverySupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.wifi.direct", out s_isWiFiDirectSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task Activate_CHECK_ACTIVATE_STATUS()
+ public async Task Activate_CHECK_ACTIVATE_STATUS()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Ssid_PROPERTY_READ_ONLY()
+ public void Ssid_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task NetworkInterface_PROPERTY_READ_ONLY()
+ public async Task NetworkInterface_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task NetworkInterface_PROPERTY_READ_WIFIDIRECT_OFF()
+ public async Task NetworkInterface_PROPERTY_READ_WIFIDIRECT_OFF()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task IpAddress_PROPERTY_READ_ONLY()
+ public async Task IpAddress_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task IpAddress_PROPERTY_READ_WIFIDIRECT_OFF()
+ public async Task IpAddress_PROPERTY_READ_WIFIDIRECT_OFF()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task SubnetMask_PROPERTY_READ_ONLY()
+ public async Task SubnetMask_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task SubnetMask_PROPERTY_READ_WIFIDIRECT_OFF()
+ public async Task SubnetMask_PROPERTY_READ_WIFIDIRECT_OFF()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task GatewayAddress_PROPERTY_READ_ONLY()
+ public async Task GatewayAddress_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task GatewayAddress_PROPERTY_READ_WIFIDIRECT_OFF()
+ public async Task GatewayAddress_PROPERTY_READ_WIFIDIRECT_OFF()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void MacAddress_PROPERTY_READ_ONLY()
+ public void MacAddress_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void WpsMode_PROPERTY_READ_ONLY()
+ public void WpsMode_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task OperatingChannel_PROPERTY_READ_ONLY()
+ public async Task OperatingChannel_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiung, jiung.yu@samsung.com")]
- public static void PrimaryType_PROPERTY_READ_ONLY()
+ public void PrimaryType_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiung, jiung.yu@samsung.com")]
- public static void SecondaryType_PROPERTY_READ_ONLY()
+ public void SecondaryType_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void PersistentGroupEnabled_PROPERTY_SET_GET()
+ public void PersistentGroupEnabled_PROPERTY_SET_GET()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void AutoConnect_PROPERTY_SET_GET()
+ public void AutoConnect_PROPERTY_SET_GET()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void Name_PROPERTY_SET_GET()
+ public void Name_PROPERTY_SET_GET()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW, PRE")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void RequestedWps_PROPERTY_SET_GET_ENUM_ALL()
+ public void RequestedWps_PROPERTY_SET_GET_ENUM_ALL()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void GroupOwnerIntent_PROPERTY_SET_GET()
+ public void GroupOwnerIntent_PROPERTY_SET_GET()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void MaxClients_PROPERTY_SET_GET()
+ public void MaxClients_PROPERTY_SET_GET()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task StartDiscovery_CHECK_DISCOVERY_STATUS()
+ public async Task StartDiscovery_CHECK_DISCOVERY_STATUS()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task CancelDiscovery_CHECK_CANCEL_DISCOVERY_STATUS()
+ public async Task CancelDiscovery_CHECK_CANCEL_DISCOVERY_STATUS()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task IsListenOnly_PROPERTY_READ_ONLY()
+ public async Task IsListenOnly_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task IsListenOnly_PROPERTY_READ_WIFIDIRECT_OFF()
+ public async Task IsListenOnly_PROPERTY_READ_WIFIDIRECT_OFF()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task CreateGroup_CHECK_STATUS_GROUP_CREATED()
+ public async Task CreateGroup_CHECK_STATUS_GROUP_CREATED()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task DestroyGroup_CHECK_STATUS_GROUP_DESTROYED()
+ public async Task DestroyGroup_CHECK_STATUS_GROUP_DESTROYED()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task ConnectionStatusChanged_CHECK_EVENT()
+ public async Task ConnectionStatusChanged_CHECK_EVENT()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task IsGroupOwner_PROPERTY_READ_ONLY()
+ public async Task IsGroupOwner_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task IsGroupOwner_PROPERTY_READ_WIFIDIRECT_OFF()
+ public async Task IsGroupOwner_PROPERTY_READ_WIFIDIRECT_OFF()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task IsAutonomousGroup_PROPERTY_READ_ONLY()
+ public async Task IsAutonomousGroup_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task IsAutonomousGroup_PROPERTY_READ_WIFIDIRECT_OFF()
+ public async Task IsAutonomousGroup_PROPERTY_READ_WIFIDIRECT_OFF()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task ActivatePushButton_CHECK_NO_EXCEPTION()
+ public async Task ActivatePushButton_CHECK_NO_EXCEPTION()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jiung, jiung.yu@samsung.com")]
- public static async Task GetPersistentGroups_RETURN_PERSISTENT_GROUPS()
+ public async Task GetPersistentGroups_RETURN_PERSISTENT_GROUPS()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Jiung, jiung.yu@samsung.com")]
- public static async Task RemovePersistentGroup_CHECK_NO_EXCEPTION()
+ public async Task RemovePersistentGroup_CHECK_NO_EXCEPTION()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static void GetSupportedWpsTypes_RETURN_SUPPORTED_WPS_TYPES()
+ public void GetSupportedWpsTypes_RETURN_SUPPORTED_WPS_TYPES()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task InitMiracast_CHECK_NO_EXCEPTION()
+ public async Task InitMiracast_CHECK_NO_EXCEPTION()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task InitDisplay_CHECK_NO_EXCEPTION()
+ public async Task InitDisplay_CHECK_NO_EXCEPTION()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MAE and MCST")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task SetDisplay_CHECK_NO_EXCEPTION()
+ public async Task SetDisplay_CHECK_NO_EXCEPTION()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task SetDisplayAvailability_CHECK_NO_EXCEPTION()
+ public async Task SetDisplayAvailability_CHECK_NO_EXCEPTION()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task DeinitDisplay_CHECK_NO_EXCEPTION()
+ public async Task DeinitDisplay_CHECK_NO_EXCEPTION()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task SetAutoGroupRemove_CHECK_NO_EXCEPTION()
+ public async Task SetAutoGroupRemove_CHECK_NO_EXCEPTION()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR and MAE")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task RegisterService_RETURN_SERVICE()
+ public async Task RegisterService_RETURN_SERVICE()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task DiscoveryStateChanged_CHECK_EVENT()
+ public async Task DiscoveryStateChanged_CHECK_EVENT()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task PeerFound_CHECK_EVENT()
+ public async Task PeerFound_CHECK_EVENT()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task GetDiscoveredPeers_RETURN_DISCOVERED_PEERS()
+ public async Task GetDiscoveredPeers_RETURN_DISCOVERED_PEERS()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task SessionTimer_PROPERTY_SET_GET()
+ public async Task SessionTimer_PROPERTY_SET_GET()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task SessionTimer_PROPERTY_SET_GET_WIFIDIRECT_OFF()
+ public async Task SessionTimer_PROPERTY_SET_GET_WIFIDIRECT_OFF()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task Passphrase_PROPERTY_SET_GET()
+ public async Task Passphrase_PROPERTY_SET_GET()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRW")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task Passphrase_PROPERTY_SET_GET_WIFIDIRECT_OFF()
+ public async Task Passphrase_PROPERTY_SET_GET_WIFIDIRECT_OFF()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task Deactivate_CHECK_DEACTIVATE_STATUS()
+ public async Task Deactivate_CHECK_DEACTIVATE_STATUS()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task DeviceStateChanged_CHECK_EVENT()
+ public async Task DeviceStateChanged_CHECK_EVENT()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task IsDiscoverable_PROPERTY_READ_ONLY()
+ public async Task IsDiscoverable_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MCST")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task DeregisterService_CHECK_NO_EXCEPTION()
+ public async Task DeregisterService_CHECK_NO_EXCEPTION()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task StateChanged_CHECK_EVENT_WIFI_DIRECT_ON()
+ public async Task StateChanged_CHECK_EVENT_WIFI_DIRECT_ON()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task StateChanged_CHECK_EVENT_WIFI_DIRECT_OFF()
+ public async Task StateChanged_CHECK_EVENT_WIFI_DIRECT_OFF()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "EVL")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task StateChanged_CHECK_EVENT_STATE_DISCOVERING()
+ public async Task StateChanged_CHECK_EVENT_STATE_DISCOVERING()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task State_PROPERTY_GET_ENUM_ACTIVATED()
+ public async Task State_PROPERTY_GET_ENUM_ACTIVATED()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task State_PROPERTY_GET_ENUM_DISCOVERING()
+ public async Task State_PROPERTY_GET_ENUM_DISCOVERING()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRE")]
[Property("AUTHOR", "Shikha, shikha.ta@samsung.com")]
- public static async Task State_PROPERTY_GET_ENUM_DEACTIVATED()
+ public async Task State_PROPERTY_GET_ENUM_DEACTIVATED()
{
WifidirectUtils utils = new WifidirectUtils();
try
private static bool s_isWiFiDirectServiceDiscoverySupported = false;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.wifi.direct", out s_isWiFiDirectSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task Name_PROPERTY_READ_ONLY()
+ public async Task Name_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task MacAddress_PROPERTY_READ_ONLY()
+ public async Task MacAddress_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task Channel_PROPERTY_READ_ONLY()
+ public async Task Channel_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task P2PSupport_PROPERTY_READ_ONLY()
+ public async Task P2PSupport_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task PrimaryType_PROPERTY_GET_ENUM_TELEPHONE()
+ public async Task PrimaryType_PROPERTY_GET_ENUM_TELEPHONE()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task SecondaryType_PROPERTY_GET_ENUM_TelephoneSmartphoneDual()
+ public async Task SecondaryType_PROPERTY_GET_ENUM_TelephoneSmartphoneDual()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task WpsTypes_PROPERTY_READ_ONLY()
+ public async Task WpsTypes_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task IsP2PInvitationSupported_PROPERTY_READ_ONLY()
+ public async Task IsP2PInvitationSupported_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task ServiceCount_PROPERTY_READ_ONLY()
+ public async Task ServiceCount_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task ServiceList_PROPERTY_READ_ONLY()
+ public async Task ServiceList_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task IsMiracastDevice_PROPERTY_READ_ONLY()
+ public async Task IsMiracastDevice_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task Display_PROPERTY_READ_ONLY()
+ public async Task Display_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task DisplayAvailability_PROPERTY_READ_ONLY()
+ public async Task DisplayAvailability_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task Hdcp_PROPERTY_READ_ONLY()
+ public async Task Hdcp_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task Port_PROPERTY_READ_ONLY()
+ public async Task Port_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task Throughput_PROPERTY_READ_ONLY()
+ public async Task Throughput_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiung, jiung.yu@samsung.com")]
- public static async Task Rssi_PROPERTY_READ_ONLY()
+ public async Task Rssi_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "MR")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task SetAutoConnect_AUTOCONNECTION_TEST()
+ public async Task SetAutoConnect_AUTOCONNECTION_TEST()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task IsConnected_PROPERTY_READ_ONLY()
+ public async Task IsConnected_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Adhavan, adhavan.m@samsung.com")]
- public static async Task IsGroupOwner_PROPERTY_READ_ONLY()
+ public async Task IsGroupOwner_PROPERTY_READ_ONLY()
{
WifidirectUtils utils = new WifidirectUtils();
try
private static IEnumerable<WiFiDirectPersistentGroup> s_list = null;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST");
Information.TryGetValue("http://tizen.org/feature/network.wifi.direct", out s_isWiFiDirectSupported);
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST");
}
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiung, jiung.yu@samsung.com")]
- public static async Task MacAddress_PROPERTY_READ_ONLY()
+ public async Task MacAddress_PROPERTY_READ_ONLY()
{
try
{
[Property("SPEC_URL", "-")]
[Property("CRITERIA", "PRO")]
[Property("AUTHOR", "Jiung, jiung.yu@samsung.com")]
- public static async Task Ssid_PROPERTY_READ_ONLY()
+ public async Task Ssid_PROPERTY_READ_ONLY()
{
try
{
};
}
}
-}
\ No newline at end of file
+}
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"[TestCase][OnResume][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnResume_MANUAL_TEST()
+ public async Task OnResume_MANUAL_TEST()
{
/* TEST CODE */
ApplicationTests.AppLaunchReq();
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"[TestCase][OnStart][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnStart_MANUAL_TEST()
+ public async Task OnStart_MANUAL_TEST()
{
/* TEST CODE */
ApplicationTests.AppLaunchReq();
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"[TestCase][OnSleep][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnSleep_MANUAL_TEST()
+ public async Task OnSleep_MANUAL_TEST()
{
/* TEST CODE */
ApplicationTests.AppLaunchReq();
[Step(1, "Click run TC")]
[Step(2, "Check if log show \"[TestCase][OnSleep][Application] Pass\".")]
[Postcondition(1, "Close the terminal")]
- public static async Task OnAppLinkRequestReceived_MANUAL_TEST()
+ public async Task OnAppLinkRequestReceived_MANUAL_TEST()
{
/* TEST CODE */
ApplicationTests.AppLaunchReq();
[Step(5, "Check the lebel below clicked button is 'ModalPopped Event raised'.")]
[Step(6, "TC will Pass automatically if ModalPopped event raised otherwise Fail")]
[Postcondition(1, "N/A")]
- public static async Task ModalPopped_EVENT_CHECK_MANUAL_TEST()
+ public async Task ModalPopped_EVENT_CHECK_MANUAL_TEST()
{
/* TEST CODE */
var _button1 = new Button
[Step(5, "Check the lebel below click me button is 'ModalPopping Event raised'.")]
[Step(6, "TC will Pass automatically if ModalPopping event raised otherwise Fail")]
[Postcondition(1, "N/A")]
- public static async Task ModalPopping_EVENT_CHECK_MANUAL_TEST()
+ public async Task ModalPopping_EVENT_CHECK_MANUAL_TEST()
{
/* TEST CODE */
var _button1 = new Button
[Step(5, "Check the lebel below click me button is 'ModalPushed Event raised'.")]
[Step(6, "TC will Pass automatically if ModalPushed event raised otherwise Fail")]
[Postcondition(1, "N/A")]
- public static async Task ModalPushed_EVENT_CHECK_MANUAL_TEST()
+ public async Task ModalPushed_EVENT_CHECK_MANUAL_TEST()
{
/* TEST CODE */
var _button1 = new Button
[Step(5, "Check the lebel below click me button is 'ModalPushing Event raised'.")]
[Step(6, "TC will Pass automatically if ModalPushing event raised otherwise Fail")]
[Postcondition(1, "N/A")]
- public static async Task ModalPushing_EVENT_CHECK_MANUAL_TEST()
+ public async Task ModalPushing_EVENT_CHECK_MANUAL_TEST()
{
/* TEST CODE */
var _button1 = new Button
};
}
}
-}
\ No newline at end of file
+}
[Step(1, "Click the Button")]
[Step(2, "Testcase result will show automatically")]
[Postcondition(1, "NA")]
- public static async Task Clicked_EVENT()
+ public async Task Clicked_EVENT()
{
CreateButton("Click Me!!!!!!!!!!!!!.");
_button1.Clicked += OnClicked;
_button1.Clicked -= OnClicked;
}
}
-}
\ No newline at end of file
+}
await ManualTest.WaitForConfirm();
}
}
-}
\ No newline at end of file
+}
private static TestPage _testPage = TestPage.GetInstance();
[SetUp]
- public static void SetUp()
+ public void SetUp()
{
if (ManualTest.IsWearable())
{
}
[TearDown]
- public static void TearDown()
+ public void TearDown()
{
Console.WriteLine("DeviceStylesTests --------------- TearDown()");
}
{
private static TestPage _testPage = TestPage.GetInstance();
[SetUp]
- public static void SetUp()
+ public void SetUp()
{
Console.WriteLine("DeviceTests --------------- Setup()");
}
[TearDown]
- public static void TearDown()
+ public void TearDown()
{
Console.WriteLine("DeviceTests --------------- TearDown()");
}
};
}
}
-}
\ No newline at end of file
+}
await ManualTest.WaitForConfirm();
}
}
-}
\ No newline at end of file
+}
};
}
}
-}
\ No newline at end of file
+}
[Step(2, "Check if Grid is visible.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task Grid_INIT()
+ public async Task Grid_INIT()
{
/* TEST CODE */
_grid1 = new Grid
[Step(2, "Check if column spacing in Grid is changing with slider move.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task ColumnSpacing_UIBH()
+ public async Task ColumnSpacing_UIBH()
{
/* TEST CODE */
_grid2 = new Grid
[Step(2, "Check if clicking the button changes RowDefinitions.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task RowDefinitions_UIBH()
+ public async Task RowDefinitions_UIBH()
{
/* TEST CODE */
_button1 = new Button
[Step(2, "Check if Row Spacing in Grid is changing with slider move.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task RowSpacing_UIBH()
+ public async Task RowSpacing_UIBH()
{
/* TEST CODE */
_grid2 = new Grid
[Step(3, "Check if clicking the button add child in the grid and children count is visible.")]
[Step(4, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task Children_UILK()
+ public async Task Children_UILK()
{
/* TEST CODE */
Label childCount = new Label
[Step(2, "Check if clicking the button changes ColumnDefinitions.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task ColumnDefinitions_UIBH()
+ public async Task ColumnDefinitions_UIBH()
{
/* TEST CODE */
_button1 = new Button
[Step(2, "Click Change Column button and check if last item column is changed.")]
[Step(3, "Click BACK button: Mark Pass if column is changed or mark Fail.")]
[Postcondition(1, "NA")]
- public static async Task SetColumn_UIBH()
+ public async Task SetColumn_UIBH()
{
/* TEST CODE */
_button1 = new Button
[Step(2, "Click button and check if column span is changed accordingly.")]
[Step(3, "Click BACK button: Mark Pass if span is changed accordingly or mark Fail.")]
[Postcondition(1, "NA")]
- public static async Task SetColumnSpan_UIBH()
+ public async Task SetColumnSpan_UIBH()
{
/* TEST CODE */
_button1 = new Button
[Step(2, "Click Change Column button and check if last item row is changed.")]
[Step(3, "Click BACK button: Mark Pass if row is changed or mark Fail.")]
[Postcondition(1, "NA")]
- public static async Task SetRow_UIBH()
+ public async Task SetRow_UIBH()
{
/* TEST CODE */
_button1 = new Button
[Step(2, "Click button and check if row span is changed accordingly.")]
[Step(3, "Click BACK button: Mark Pass if span is changed accordingly or mark Fail.")]
[Postcondition(1, "NA")]
- public static async Task SetRowSpan_UIBH()
+ public async Task SetRowSpan_UIBH()
{
/* TEST CODE */
_button1 = new Button
[Step(2, "Click Add Children button and check if a children is added.")]
[Step(3, "Click BACK button: TC will Pass automatically or mark Fail.")]
[Postcondition(1, "NA")]
- public static async Task OnAdded_UIBH()
+ public async Task OnAdded_UIBH()
{
/* TEST CODE */
_button1 = new Button
[Step(2, "Click Change Binding Context button.")]
[Step(3, "Click BACK button: TC will Pass automatically or mark Fail.")]
[Postcondition(1, "NA")]
- public static async Task OnBindingContextChanged_UIBH()
+ public async Task OnBindingContextChanged_UIBH()
{
/* TEST CODE */
_button1 = new Button
[Step(2, "Click Remove Children button and check if a children is removed.")]
[Step(3, "Click BACK button: TC will Pass automatically or mark Fail.")]
[Postcondition(1, "NA")]
- public static async Task OnRemoved_UIBH()
+ public async Task OnRemoved_UIBH()
{
/* TEST CODE */
_button1 = new Button
[Step(2, "Click button to change row span.")]
[Step(3, "Click BACK button: TC will Pass automatically or mark Fail.")]
[Postcondition(1, "NA")]
- public static async Task OnSizeRequest_UIBH()
+ public async Task OnSizeRequest_UIBH()
{
/* TEST CODE */
_button1 = new Button
isSizeChanged = false;
}
}
-}
\ No newline at end of file
+}
await ManualTest.WaitForConfirm();
}
}
-}
\ No newline at end of file
+}
await ManualTest.WaitForConfirm();
}
}
-}
\ No newline at end of file
+}
await ManualTest.WaitForConfirm();
}
}
-}
\ No newline at end of file
+}
}
}
}
-}
\ No newline at end of file
+}
}
}
}
-}
\ No newline at end of file
+}
[Step(4, "Click on 'Press This Back Button'")]
[Step(5, "Testcase result will show automatically")]
[Postcondition(1, "NA")]
- public static async Task Pushed_NavigationPage_EVENT()
+ public async Task Pushed_NavigationPage_EVENT()
{
var imageRed = new StackLayout()
{
ManualTest.Confirm();
}
}
-}
\ No newline at end of file
+}
private static ListView _listView;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(2, "Click button after new page shown and check")]
[Step(3, "Confirm False or True")]
[Postcondition(1, "NA")]
- public static async Task ScrollToAsync_CHECK()
+ public async Task ScrollToAsync_CHECK()
{
CreateScrollViewPage("Test: ScrollToAsync");
await ManualTest.WaitForConfirm();
};
[SetUp]
- public static void Init()
+ public void Init()
{
if (ManualTest.IsWearable())
{
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(3, "Click search button in virtual keyboard")]
[Step(4, "Testcase result will show automatically")]
[Postcondition(1, "NA")]
- public static async Task SearchButtonPressed_CHECK()
+ public async Task SearchButtonPressed_CHECK()
{
if (Device.Idiom == TargetIdiom.Phone)
{
[Step(2, "Type some string in search bar")]
[Step(3, "Testcase result will show automatically")]
[Postcondition(1, "NA")]
- public static async Task TextChanged_SearchBar_EVENT()
+ public async Task TextChanged_SearchBar_EVENT()
{
SearchBar srBar = new SearchBar();
var page = new ContentPage
[Step(1, "Click run TC")]
[Step(2, "Pass If 'Hi' is displayed in searchBar and type any string in searchbar otherwise Fail")]
[Postcondition(1, "NA")]
- public static async Task Text_SearchBar_UIBH()
+ public async Task Text_SearchBar_UIBH()
{
if (Device.Idiom == TargetIdiom.Phone)
{
[Step(3, "Click on (Green) or (Blue) or (Red)")]
[Step(4, "Pass If TextColor changes accordingly otherwise Fail")]
[Postcondition(1, "NA")]
- public static async Task TextColor_SearchBar_UIBH()
+ public async Task TextColor_SearchBar_UIBH()
{
SearchBar srBar = new SearchBar();
[Step(1, "Click run TC")]
[Step(2, "Pass If 'Placeholder Text' is displayed in searchBar when it is empty otherwise Fail")]
[Postcondition(1, "NA")]
- public static async Task Placeholder_SearchBar_UIBH()
+ public async Task Placeholder_SearchBar_UIBH()
{
if (Device.Idiom == TargetIdiom.TV)
{
[Step(2, "Click on (Green) or (Blue) or (Red)")]
[Step(3, "Pass If 'Placeholder Text' is displayed in searchBar when it is empty with specific color otherwise Fail")]
[Postcondition(1, "NA")]
- public static async Task PlaceholderColor_SearchBar_UIBH()
+ public async Task PlaceholderColor_SearchBar_UIBH()
{
SearchBar srBar = new SearchBar();
srBar.Placeholder = "Placeholder Text";
[Step(3, "Click on (20) or (25) or (30)")]
[Step(4, "Pass If FontSize changes accordingly otherwise Fail")]
[Postcondition(1, "NA")]
- public static async Task FontSize_SearchBar_UIBH()
+ public async Task FontSize_SearchBar_UIBH()
{
SearchBar srBar = new SearchBar();
srBar.Text = "Hi";
[Step(3, "Click on (None) or (Bold) or (Italic)")]
[Step(4, "Pass If Text FontAttributes changes accordingly otherwise Fail")]
[Postcondition(1, "NA")]
- public static async Task FontAttributes_SearchBar_UIBH()
+ public async Task FontAttributes_SearchBar_UIBH()
{
SearchBar srBar = new SearchBar();
srBar.Text = "Hi";
[Step(3, "Click on (Times New Roman) or (Sans) or (Sans Bold)")]
[Step(4, "Pass If Text FontFamily changes accordingly otherwise Fail")]
[Postcondition(1, "NA")]
- public static async Task FontFamily_SearchBar_UIBH()
+ public async Task FontFamily_SearchBar_UIBH()
{
if (Device.Idiom == TargetIdiom.TV)
{
[Step(3, "Click on (Center) or (End) or (Start)")]
[Step(4, "Pass If TextAlignment changes accordingly otherwise Fail")]
[Postcondition(1, "NA")]
- public static async Task HorizontalTextAlignment_SearchBar_UIBH()
+ public async Task HorizontalTextAlignment_SearchBar_UIBH()
{
SearchBar srBar = new SearchBar();
srBar.Text = "Hi";
[Step(3, "Click on (Green) or (Blue) or (Red)")]
[Step(4, "Pass If CancelButtonColor changes accordingly otherwise Fail")]
[Postcondition(1, "NA")]
- public static async Task CancelButtonColor_SearchBar_UIBH()
+ public async Task CancelButtonColor_SearchBar_UIBH()
{
if (Device.Idiom == TargetIdiom.Phone)
{
[Step(3, "Click search button in virtual keyboard")]
[Step(4, "Pass if Search result shows below SearchBar otherwise Fail")]
[Postcondition(1, "NA")]
- public static async Task SearchCommand_SearchBar_UIBH()
+ public async Task SearchCommand_SearchBar_UIBH()
{
if (Device.Idiom == TargetIdiom.Phone)
{
}
}
}
-}
\ No newline at end of file
+}
[Step(1, "Click run TC")]
[Step(2, "Check if the Minimum value is 10.")]
[Postcondition(1, "NA")]
- public static async Task Minimum_Slider_UIBH()
+ public async Task Minimum_Slider_UIBH()
{
CreateSlider("Slider Minimum Value Test!");
_slider1.IsVisible = true;
[Step(1, "Click run TC")]
[Step(2, "Check if the value is 20.")]
[Postcondition(1, "NA")]
- public static async Task Value_UIBH()
+ public async Task Value_UIBH()
{
CreateSlider("Slider Value Test!");
_slider1.IsVisible = true;
[Step(2, "Start and then stop dragging the slider.")]
[Step(3, "if Value Change event called then TC will Pass automatically.")]
[Postcondition(1, "NA")]
- public static async Task ValueChanged_Slider_CB()
+ public async Task ValueChanged_Slider_CB()
{
/* TEST CODE */
CreateSlider("ValueChanged Test!");
[Step(1, "Click run TC")]
[Step(2, "Check if dragging slider change the value.")]
[Postcondition(1, "NA")]
- public static async Task ValueProperty_UIBH()
+ public async Task ValueProperty_UIBH()
{
CreateSlider("Slider ValueProperty Test!");
_slider1.IsVisible = true;
[Step(2, "Check if first slider change the Max value of slider after binding with second slider.")]
[Step(3, "Check if first slider Max value change from 40 to 10 after binding with second slider's Max value. Max value of first slider doesn't change corresponding to second slider value property")]
[Postcondition(1, "NA")]
- public static async Task MaximumProperty_UIBH()
+ public async Task MaximumProperty_UIBH()
{
CreateSlider("Slider ValueProperty Test!");
_slider1.IsVisible = true;
[Step(2, "Check if first slider change the Min value of slider after binding with second slider.")]
[Step(3, "Check if first slider Min value change from 0 to 3 after binding with second slider's Min value. Min value of first slider doesn't change corresponding to second slider value property")]
[Postcondition(1, "NA")]
- public static async Task MinimumProperty_UIBH()
+ public async Task MinimumProperty_UIBH()
{
CreateSlider("Slider ValueProperty Test!");
_slider1.IsVisible = true;
await ManualTest.WaitForConfirm();
}
}
-}
\ No newline at end of file
+}
[Step(2, "Check orientation horizontal and vertical")]
[Step(3, "Confirm pass or fail, If you can see 4 buttons")]
[Postcondition(1, "NA")]
- public static async Task Orientation_StackLayout_UIBH()
+ public async Task Orientation_StackLayout_UIBH()
{
/* TEST CODE */
CreateStackLayout("StackLayout Orientation Test!");
[Step(2, "Check item spacing")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task Spacing_StackLayout_BHBH()
+ public async Task Spacing_StackLayout_BHBH()
{
/* TEST CODE */
CreateStackLayout("StackLayout Orientation Test!");
[Step(1, "Click run TC")]
[Step(2, "Check if the Minimum value is 5.")]
[Postcondition(1, "NA")]
- public static async Task Minimum_Stepper_UIBH()
+ public async Task Minimum_Stepper_UIBH()
{
CreateStepper("Stepper Minimum Value Test!");
_stepper1.IsVisible = true;
[Step(1, "Click run TC")]
[Step(2, "Check if the value is 5.")]
[Postcondition(1, "NA")]
- public static async Task Value_UIBH()
+ public async Task Value_UIBH()
{
CreateStepper("Stepper Value Test!");
_stepper1.IsVisible = true;
await ManualTest.WaitForConfirm();
}
}
-}
\ No newline at end of file
+}
[Step(2, "Check for Toggled of Switch")]
[Step(3, "Click back button")]
[Postcondition(1, "NA")]
- public static async Task IsToggled_UIBH()
+ public async Task IsToggled_UIBH()
{
CreateSwitchTest("Switch Toggled Test");
_switch.Toggled += OnToggledCB;
await ManualTest.WaitForConfirm();
}
}
-}
\ No newline at end of file
+}
[Step(2, "Check if the switch is on and off states in respective switch cells.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task ON_SwitchCell_UILK()
+ public async Task ON_SwitchCell_UILK()
{
/* TEST CODE */
CreateSwitchCellTest("Switch Cell On Off Test");
[Step(2, "Check if the swicth cell has text \" SRBD \".")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task Text_SwitchCell_UIBH()
+ public async Task Text_SwitchCell_UIBH()
{
/* TEST CODE */
_switchCell3 = new SwitchCell();
isParentSet = false;
}
}
-}
\ No newline at end of file
+}
class customTableViewClass : TableView
{
- public static bool IsBindingContextChanged = false;
+ public bool IsBindingContextChanged = false;
protected override void OnBindingContextChanged()
{
[Step(2, "Check if the table view UI is visible.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task TableView_LOOK_UILK()
+ public async Task TableView_LOOK_UILK()
{
/* TEST CODE */
CreateTableView("Table View Test");
[Step(2, "Check if the table view UI is visible.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task Intent_TableView_UILK()
+ public async Task Intent_TableView_UILK()
{
/* TEST CODE */
_label1 = new Label
[Step(3, "Check if the table view has a root and Root1 is visible.")]
[Step(4, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task Root_TableView_UILK()
+ public async Task Root_TableView_UILK()
{
/* TEST CODE */
_label2 = new Label
[Step(3, "Click the button to set row height.")]
[Step(4, "If the row height increase press pass otherwise fail")]
[Postcondition(1, "NA")]
- public static async Task RowHeight_TableView_UILK()
+ public async Task RowHeight_TableView_UILK()
{
/* TEST CODE */
_label2 = new Label
[Step(3, "Check if the label text shows true.")]
[Step(4, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task HasUnevenRows_TableView_UIBH()
+ public async Task HasUnevenRows_TableView_UIBH()
{
/* TEST CODE */
_label2 = new Label
[Step(5, "Check if the label above the button is changed.")]
[Step(6, "Press back button : TC will pass automatically otherwise mark Fail.")]
[Postcondition(1, "NA")]
- public static async Task OnBindingContextChanged_TableView_UIBH()
+ public async Task OnBindingContextChanged_TableView_UIBH()
{
/* TEST CODE */
_label2 = new Label
[Step(3, "Click the button to change size.")]
[Step(4, "Press back button : TC will pass automatically otherwise mark Fail.")]
[Postcondition(1, "NA")]
- public static async Task OnSizeRequest_TableView_UIBH()
+ public async Task OnSizeRequest_TableView_UIBH()
{
/* TEST CODE */
_label2 = new Label
[Step(3, "Click the button to change model.")]
[Step(4, "Press back button : TC will pass automatically otherwise mark Fail.")]
[Postcondition(1, "NA")]
- public static async Task OnModelChanged_TableView_UIBH()
+ public async Task OnModelChanged_TableView_UIBH()
{
/* TEST CODE */
_label2 = new Label
private static TapGestureRecognizer _tapGestureRecognizer;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
}
[Step(2, "Tap after new page shown")]
[Step(3, "Testcase result will show automatically")]
[Postcondition(1, "NA")]
- public static async Task Tapped_EVENT()
+ public async Task Tapped_EVENT()
{
_tapGestureRecognizer = new TapGestureRecognizer();
var label = new Label
[Step(2, "Check if the Text Cell 1 in Table View with Text Color Red.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task TextCell_LOOK_UILK()
+ public async Task TextCell_LOOK_UILK()
{
/* TEST CODE */
_textCell1 = new TextCell
[Step(2, "Check if the secondary text is visible under \"Text Cell 1\" ")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task TextCell_Detail_UILK()
+ public async Task TextCell_Detail_UILK()
{
/* TEST CODE */
if (Device.Idiom == TargetIdiom.Phone)
[Step(2, "Check if the secondary text color is Green.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task TextCell_DetailColor_UILK()
+ public async Task TextCell_DetailColor_UILK()
{
/* TEST CODE */
if (Device.Idiom == TargetIdiom.Phone)
[Step(2, "Check The primary text of Text Cell is Primary Text.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task TextCell_Text_UILK()
+ public async Task TextCell_Text_UILK()
{
/* TEST CODE */
_textCell1 = new TextCell
[Step(2, "Check if clicking the image button changes the text color.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task TextCell_TextColor_UILK()
+ public async Task TextCell_TextColor_UILK()
{
_textCell1 = new TextCell
{
[Step(2, "Check after tapping the text in text cell the text is changed.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task TextCell_Command_UILK()
+ public async Task TextCell_Command_UILK()
{
/* TEST CODE */
_textCell1 = new TextCell
[Step(2, "Check after tapping the text in text cell the text is SRBD.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task TextCell_CommandParameter_UILK()
+ public async Task TextCell_CommandParameter_UILK()
{
/* TEST CODE */
_textCell1 = new TextCell
};
}
}
-}
\ No newline at end of file
+}
[Step(2, "Check if TimePicker is visible with black text.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task TimePicker_LOOK_UILK()
+ public async Task TimePicker_LOOK_UILK()
{
/* TEST CODE */
_timePicker1 = new TimePicker
[Step(2, "Check if Time Picker text color is red.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task TimePicker_TextColor_UILK()
+ public async Task TimePicker_TextColor_UILK()
{
/* TEST CODE */
_timePicker1 = new TimePicker
[Step(2, "Check the format of time picker is HH:MM.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task TimePicker_Format_UILK()
+ public async Task TimePicker_Format_UILK()
{
/* TEST CODE */
_timePicker1 = new TimePicker
[Step(2, "Check the Time of time picker is 6:00 PM.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task TimePicker_Time_UILK()
+ public async Task TimePicker_Time_UILK()
{
/* TEST CODE */
_timePicker1 = new TimePicker
[Step(2, "Press backbutton")]
[Step(3, "Testcase result will show automatically")]
[Postcondition(1, "NA")]
- public static async Task Activated_EVENT()
+ public async Task Activated_EVENT()
{
if (Device.Idiom == TargetIdiom.Phone)
{
}
}
}
-}
\ No newline at end of file
+}
[Step(2, "Check if ViewCell is visible with text \"View Cell\".")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task ViewCell_LOOK_UILK()
+ public async Task ViewCell_LOOK_UILK()
{
/* TEST CODE */
Label viewCellLebel = new Label()
[Step(2, "Check if slider view and 'Slider View Set' text are set to view cell.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task ViewCell_View_UILK()
+ public async Task ViewCell_View_UILK()
{
/* TEST CODE */
Label viewCellLebel = new Label()
};
}
}
-}
\ No newline at end of file
+}
private static subVisualElement _visualElement;
[SetUp]
- public static void Init()
+ public void Init()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST");
_visualElement = new subVisualElement();
}
[TearDown]
- public static void Destroy()
+ public void Destroy()
{
LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST");
_visualElement = null;
[Step(2, "Click button")]
[Step(3, "Testcase result will show automatically")]
[Postcondition(1, "NA")]
- public static async Task Focus_CHECK()
+ public async Task Focus_CHECK()
{
Button button = new Button();
var layout = new StackLayout()
[Step(2, "Click button")]
[Step(3, "Testcase result will show automatically")]
[Postcondition(1, "NA")]
- public static async Task Focused_CB()
+ public async Task Focused_CB()
{
CreateButton("Click");
_visualElement.Focused += OnFocused;
[Step(3, "Click UnFocused")]
[Step(4, "Testcase result will show automatically")]
[Postcondition(1, "NA")]
- public static async Task Unfocused_CB()
+ public async Task Unfocused_CB()
{
Create2Button("First");
_visualElement.Unfocused += OnUnFocused;
{
}
}
-}
\ No newline at end of file
+}
[Step(2, "Check if the WebView UI is visible.")]
[Step(3, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task WebView_LOOK_UILK()
+ public async Task WebView_LOOK_UILK()
{
/* TEST CODE */
CreateWebView("Web View UI Test");
[Step(3, "Click the button to go to tizen official website.")]
[Step(4, "Confirm pass or fail")]
[Postcondition(1, "NA")]
- public static async Task Source_WebView_UILK()
+ public async Task Source_WebView_UILK()
{
_label1 = new Label
{
[Step(5, "Check if button text is true.")]
[Step(6, "Press back button and Confirm pass or fail.")]
[Postcondition(1, "NA")]
- public static async Task CanGoBack_WebView_UIBH()
+ public async Task CanGoBack_WebView_UIBH()
{
_webView2 = new WebView
{
[Step(5, "Click CanGoForward Button.")]
[Step(6, "Confirm PASS if the button text is changed to true otherwise FAIL.")]
[Postcondition(1, "NA")]
- public static async Task CanGoForward_WebView_UIBH()
+ public async Task CanGoForward_WebView_UIBH()
{
_webView2 = new WebView
{
[Step(4, "Click Go Back Button.")]
[Step(5, "Confirm PASS if ABOUT page is changed to HOME page of tizen otherwise FAIL.")]
[Postcondition(1, "NA")]
- public static async Task GoBack_WebView_UIBH()
+ public async Task GoBack_WebView_UIBH()
{
_webView2 = new WebView
{
[Step(4, "Click Go Forward Button.")]
[Step(5, "Confirm PASS if Home page is changed to ABOUT page of tizen otherwise FAIL.")]
[Postcondition(1, "NA")]
- public static async Task GoForward_WebView_UIBH()
+ public async Task GoForward_WebView_UIBH()
{
_webView2 = new WebView
{
[Step(4, "Check if the button text is changed.")]
[Step(5, "TC will PASS automatically if binding context changed otherwise press FAIL.")]
[Postcondition(1, "NA")]
- public static async Task OnBindingContextChanged_WebView_UIBH()
+ public async Task OnBindingContextChanged_WebView_UIBH()
{
_label2 = new Label
{
[Step(4, "Check if xamarin official site is visible in webview.")]
[Step(5, "TC will PASS automatically if source is changed otherwise press FAIL.")]
[Postcondition(1, "NA")]
- public static async Task OnPropertyChanged_WebView_UIBH()
+ public async Task OnPropertyChanged_WebView_UIBH()
{
_label2 = new Label
{
[Step(4, "Check if the Text above the button is changed to Navigated Event Called.")]
[Step(5, "If navigated event raised then TC will PASS automatically otherwise press FAIL.")]
[Postcondition(1, "NA")]
- public static async Task Navigated_WebView_UIBH()
+ public async Task Navigated_WebView_UIBH()
{
/* TEST CODE */
_webView2 = new WebView
[Step(4, "Check if the Text above the button is changed to Navigating Event Called.")]
[Step(5, "If Navigating event raised then TC will PASS automatically otherwise press FAIL.")]
[Postcondition(1, "NA")]
- public static async Task Navigating_WebView_UIBH()
+ public async Task Navigating_WebView_UIBH()
{
/* TEST CODE */
_webView2 = new WebView
}
}
}
-}
\ No newline at end of file
+}
Assert.IsFalse(backButtonPressedEventArgs.Handled, "Expected false but returned true.");
}
}
-}
\ No newline at end of file
+}
Assert.IsTrue(behavior.detached, "Expected true but returning false.");
}
}
-}
\ No newline at end of file
+}
}
}
-}
\ No newline at end of file
+}
public int TargetInt { get; set; }
- public static readonly BindableProperty BarProperty =
+ public readonly BindableProperty BarProperty =
BindableProperty.Create<MockBindable, Bar>(w => w.Bar, default(Bar));
public Bar Bar
set { SetValue(BarProperty, value); }
}
- public static readonly BindableProperty BazProperty =
+ public readonly BindableProperty BazProperty =
BindableProperty.Create<MockBindable, Baz>(w => w.Baz, default(Baz));
[TypeConverter(typeof(ToBazConverter))]
set { SetValue(BazProperty, value); }
}
- public static readonly BindableProperty QuxProperty =
+ public readonly BindableProperty QuxProperty =
BindableProperty.Create<MockBindable, Baz>(w => w.Qux, default(Baz));
public Baz Qux
[Description("Xamarin.Forms.BindableObject Tests")]
public class BindableObjectTests
{
- public static CustomBindableObject _customBindableObject;
+ public CustomBindableObject _customBindableObject;
[SetUp]
public void SetUp()
}
}
}
-}
\ No newline at end of file
+}
Assert.IsInstanceOf<BindablePropertyKey>(bindableProperty, "Should be instance of BindableProperty.");
}
}
-}
\ No newline at end of file
+}
Assert.IsInstanceOf<BindableProperty>(returnValue, "Should be an instance of BindableProperty type.");
}
}
-}
\ No newline at end of file
+}
Assert.IsInstanceOf<BindableProperty>(bindablePropertyKey.BindableProperty, "Should be instance of BindablePropertyKey.");
}
}
-}
\ No newline at end of file
+}
Assert.AreEqual("Hello", mSubCarouselPage.testCreateDefault().Title);
}
}
-}
\ No newline at end of file
+}
Assert.True(false, "[NA] Need to make manul test case");
}
}
-}
\ No newline at end of file
+}
public class ColumnDefinitionTest
{
private static ColumnDefinition sColumnDefinition;
- public static Boolean isSizeChanged;
+ public Boolean isSizeChanged;
[SetUp]
public void setUp()
Assert.IsInstanceOf<ColumnDefinitionCollection>(colDefCollection);
}
}
-}
\ No newline at end of file
+}
Assert.IsInstanceOf<Command<Rectangle>>(command, "Is not an instance of Command<Rectangle>");
}
}
-}
\ No newline at end of file
+}
Assert.IsInstanceOf<Constraint>(constraintTypeConverter.ConvertFromInvariantString("12.00") , "Instance should be of Constraint type.");
}
}
-}
\ No newline at end of file
+}
public int TargetInt { get; set; }
- public static readonly BindableProperty BarProperty =
+ public readonly BindableProperty BarProperty =
BindableProperty.Create<MockBindable, Bar>(w => w.Bar, default(Bar));
public Bar Bar
set { SetValue(BarProperty, value); }
}
- public static readonly BindableProperty BazProperty =
+ public readonly BindableProperty BazProperty =
BindableProperty.Create<MockBindable, Baz>(w => w.Baz, default(Baz));
[TypeConverter(typeof(ToBazConverter))]
set { SetValue(BazProperty, value); }
}
- public static readonly BindableProperty QuxProperty =
+ public readonly BindableProperty QuxProperty =
BindableProperty.Create<MockBindable, Baz>(w => w.Qux, default(Baz));
public Baz Qux
private static DataTemplate _dataTemplate;
internal class MockBindableObject : BindableObject
{
- public static readonly BindableProperty BoundNameProperty = BindableProperty.Create("Foo", typeof(string), typeof(MockBindableObject), default(string));
+ public readonly BindableProperty BoundNameProperty = BindableProperty.Create("Foo", typeof(string), typeof(MockBindableObject), default(string));
public string BoundName
{
get { return (string)GetValue(BoundNameProperty); }
}
}
-}
\ No newline at end of file
+}
Assert.AreEqual(dataTrigger.Value, "Tizen", "Not returning expected Value property.");
}
}
-}
\ No newline at end of file
+}
Assert.IsTrue(isItemSizeChanged, "Event ItemSizeChanged should be handled.");
}
}
-}
\ No newline at end of file
+}
}
}
-}
\ No newline at end of file
+}
Assert.True(customEffect.OnDetachedCalled, "Expected true but returned false.");
}
}
-}
\ No newline at end of file
+}
Assert.IsTrue(objectDemo.GetValue(MockBindable.TextProperty).Equals("Tizen"), "Not returning expected value.");
}
}
-}
\ No newline at end of file
+}
Assert.IsTrue(flagCompleted, "Event value changed should be handled.");
}
}
-}
\ No newline at end of file
+}
Assert.IsInstanceOf<ExportEffectAttribute>(exportEffectAttribute, "Not an instance of ExportEffectAttribute.");
}
}
-}
\ No newline at end of file
+}
Assert.AreEqual(_label.Text.ToString(), getVisualElement.Text.ToString(), "VisualElement should be return label");
}
}
-}
\ No newline at end of file
+}
Assert.IsTrue(handlerAttribute.ShouldRegister(), "Expected true but returned false.");
}
}
-}
\ No newline at end of file
+}
Assert.AreEqual(12.3, Math.Round(myConfig.Element.FontSize, 1), "FontSize of myConfig.Element value & FontSize of label should be equal");
}
}
-}
\ No newline at end of file
+}
[Description("Xamarin.Forms.Layout Tests")]
public class LayoutTests
{
- public static CustomLayout _customLayout;
+ public CustomLayout _customLayout;
[SetUp]
public void SetUp()
Assert.AreEqual(str1, str2, "ConvertFromInvariantString is not correct");
}
}
-}
\ No newline at end of file
+}
CustomMasterDetailPage masterPage = new CustomMasterDetailPage();
masterPage.FlagLayoutChildren = false;
CreateMasterPage(masterPage);
- masterPage.Layout(new Rectangle() { X = 0, Y = 0, Width = 300, Height = 400 });\r
-\r
- await Task.Delay(2000);\r
+ masterPage.Layout(new Rectangle() { X = 0, Y = 0, Width = 300, Height = 400 });
+
+ await Task.Delay(2000);
Assert.IsTrue(masterPage.FlagLayoutChildren, "layout the MasterDetail pages not call LayoutChildren()");
await _mainNavigationPage.PopAsync();
Assert.AreEqual(mResouce, myConfig.Element.Resources, "Resources of myConfig.Element value & Resources of _masterDetails should be to equal");
}
}
-}
\ No newline at end of file
+}
Assert.AreEqual(modalEventArgs.Modal.Title, page.Title, "Not returning expected page title.");
}
}
-}
\ No newline at end of file
+}
Assert.IsFalse(_modalPoppingEventArgs.Cancel, "Returning true expected false.");
}
}
-}
\ No newline at end of file
+}
Assert.IsInstanceOf<ModalPushedEventArgs>(modalPushedEventArgs, "Not an instance of ModalPushedEventArgs.");
}
}
-}
\ No newline at end of file
+}
Assert.False(_mMultiPage.flagOnPropertyChanged_SelectedItemProperty, "flagOnPropertyChanged_SelectedItemProperty should be false before change Source");
mSrc.ItemsSource = _listPage;
- await Task.Delay(500);\r
+ await Task.Delay(500);
Assert.True(_mMultiPage.flagOnPropertyChanged_ItemsSourceProperty, "flagOnPropertyChanged_ItemsSourceProperty should be true after change ItemsSource");
mSrc.ItemTemplate = new DataTemplate(() => { return new Page(); });
- await Task.Delay(500);\r
+ await Task.Delay(500);
Assert.True(_mMultiPage.flagOnPropertyChanged_ItemTemplateProperty, "flagOnPropertyChanged_ItemTemplateProperty should be true after change ItemTemplate");
mSrc.SelectedItem = mSrc.Children[0];
- await Task.Delay(500);\r
+ await Task.Delay(500);
Assert.True(_mMultiPage.flagOnPropertyChanged_SelectedItemProperty, "flagOnPropertyChanged_SelectedItemProperty should be true after change SelectedItem");
}
Assert.True(_mMultiPage.flagUnhookContent, "flagUnhookContent should true after set ItemsSource = null");
}
}
-}
\ No newline at end of file
+}
}
}
-}
\ No newline at end of file
+}
Assert.IsInstanceOf<string>(T);
}
}
-}
\ No newline at end of file
+}
using Xamarin.Forms;
using NUnit.Framework;
using System.Threading.Tasks;
-using System.Threading;\r
-\r
+using System.Threading;
+
namespace Xamarin.Forms.Core.UnitTests
{
[TestFixture]
Assert.AreEqual(openGLView.HasRenderLoop, getOpenGLView.HasRenderLoop, "Get HasRenderLoop value of OpenGLView is not correct");
}
}
-}
\ No newline at end of file
+}
Assert.AreEqual(propertyChangingEventArgs.PropertyName, "Tizen", "Not returning expected PropertyName.");
}
}
-}
\ No newline at end of file
+}
Assert.IsInstanceOf<ResolutionGroupNameAttribute>(resolutionGroupNameAttribute, "Not an instance of ResolutionGroupNameAttribute.");
}
}
-}
\ No newline at end of file
+}
Assert.True(_flagOnDetached, "OnOnDetached overrided method not invoked.");
}
}
-}
\ No newline at end of file
+}
}
-}
\ No newline at end of file
+}
Assert.IsTrue(requested, "Expected true but returned false.");
}
}
-}
\ No newline at end of file
+}
Assert.AreEqual(selectedItemChangedEventArgs.SelectedItem, "Tizen", "Not returning expected object.");
}
}
-}
\ No newline at end of file
+}
Assert.AreEqual(5.0, myConfig.Element.Value, "Value of myConfig.Element value & Value of slider should be equal");
}
}
-}
\ No newline at end of file
+}
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License
- */\r
-\r
-using System.Threading;\r
+ */
+
+using System.Threading;
using System.Threading.Tasks;
using NUnit.Framework;
using NUnit.Framework.TUnit;
using XamarinForTizen.Tizen;
using XamarinForTizen;
using System.Windows.Input;
-using AutoTemplate;\r
+using AutoTemplate;
namespace Xamarin.Forms.Core.UnitTests
{
Assert.AreEqual(tappedEventArgs.Parameter, "TizenNew", "Parameter not returning expected value.");
}
}
-}
\ No newline at end of file
+}
}
}
}
-}
\ No newline at end of file
+}
Assert.True(triggeraction.Invoked, "Expected true but was false."); ;
}
}
-}
\ No newline at end of file
+}
Assert.IsInstanceOf<UnsolvableConstraintsException>(unsolvableConstraintsException, "Not an instance of UnsolvableConstraintsException.");
}
}
-}
\ No newline at end of file
+}
Assert.IsNotNull(task, "Task instance is null.");
}
}
-}
\ No newline at end of file
+}
}
}
-}
\ No newline at end of file
+}
Assert.AreEqual(webNavigatedEventArgs.Result, WebNavigationResult.Success, "Expected WebNavigationResult.Success but was " + webNavigatedEventArgs.Result + ".");
}
}
-}
\ No newline at end of file
+}
await ManualTest.WaitForConfirm();
}
}
-}
\ No newline at end of file
+}