From c58fce3bca233353176f0f39c0cb5e3f19627d12 Mon Sep 17 00:00:00 2001 From: "nguyen.vtan" Date: Fri, 18 Jan 2019 16:02:49 +0700 Subject: [PATCH] [Non-ACR] Remove all static keyword on TCs Change-Id: If9708aad1b765c60021dae29efad5a657d47b4da --- .../Tizen.Accounts.Tests/testcase/TSAccount.cs | 72 ++++---- .../testcase/TSAccountProvider.cs | 44 ++--- .../testcase/TSAccountService.cs | 88 +++++----- .../testcase/TSAccountSubscriberEventArgs.cs | 12 +- .../testcase/TSSafeAccountHandle.cs | 12 +- tct-suite-vs/Tizen.Alarm.Tests/testcase/TSAlarm.cs | 20 +-- .../Tizen.Alarm.Tests/testcase/TSAlarmManager.cs | 46 ++--- .../testcase/TSAppControlReceivedEventArgs.cs | 4 +- .../testcase/TSApplicationDisabledEventArgs.cs | 4 +- .../testcase/TSApplicationEnabledEventArgs.cs | 4 +- .../testcase/TSApplicationManager.cs | 4 +- .../testcase/TSCoreApplication.cs | 44 ++--- .../testcase/TSCoreUIApplication.cs | 18 +- .../testcase/TSDeviceOrientationEventArgs.cs | 8 +- .../testcase/TSLocaleChangedEventArgs.cs | 2 +- .../testcase/TSLowBatteryEventArgs.cs | 8 +- .../testcase/TSLowMemoryEventArgs.cs | 8 +- .../testcase/TSRegionFormatChangedEventArgs.cs | 8 +- .../testcase/TSServiceApplication.cs | 6 +- .../testcase/TSTizenSynchronizationContext.cs | 14 +- .../testcase/TSAppControl.ExtraDataCollection.cs | 40 ++--- .../testcase/TSAppControl.cs | 54 +++--- .../testcase/TSAppControlOperations.cs | 58 +++---- .../testcase/TSAppControlReceivedEventArgs.cs | 8 +- .../testcase/TSAppControlReplyCallback.cs | 14 +- .../testcase/TSApplication.cs | 12 +- .../testcase/TSApplicationInfo.cs | 40 ++--- .../testcase/TSApplicationInfoFilter.cs | 8 +- .../testcase/TSApplicationInfoMetadataFilter.cs | 6 +- .../testcase/TSApplicationLaunchedEventArgs.cs | 18 +- .../testcase/TSApplicationManager.cs | 52 +++--- .../testcase/TSApplicationRunningContext.cs | 20 +-- .../testcase/TSApplicationTerminatedEventArgs.cs | 16 +- .../Tizen.Applications.Tests/testcase/TSBundle.cs | 52 +++--- .../testcase/TSCoreUIApplication.cs | 6 +- .../testcase/TSDeviceOrientationEventArgs.cs | 6 +- .../testcase/TSDirectoryInfo.cs | 26 +-- .../testcase/TSExceptions.AppNotFoundException.cs | 6 +- .../testcase/TSExceptions.LaunchFailedException.cs | 6 +- .../TSExceptions.LaunchRejectedException.cs | 6 +- .../testcase/TSExceptions.OutOfMemoryException.cs | 6 +- .../TSExceptions.PermissionDeniedException.cs | 6 +- .../testcase/TSLocaleChangedEventArgs.cs | 6 +- .../testcase/TSLowBatteryEventArgs.cs | 6 +- .../testcase/TSLowMemoryEventArgs.cs | 6 +- .../testcase/TSMessagePort.cs | 44 ++--- .../testcase/TSMessageReceivedEventArgs.cs | 24 +-- .../testcase/TSPreference.EventContext.cs | 14 +- .../testcase/TSPreference.cs | 46 ++--- .../testcase/TSPreferenceChangedEventArgs.cs | 16 +- .../testcase/TSRPCPort.Exceptions.cs | 16 +- .../testcase/TSRPCPort.Parcel.cs | 60 +++---- .../testcase/TSRPCPort.ProxyBase.cs | 32 ++-- .../testcase/TSRPCPort.StubBase.cs | 36 ++-- .../testcase/TSReceivedAppControl.cs | 30 ++-- .../testcase/TSRecentApplicationControl.cs | 8 +- .../testcase/TSRecentApplicationInfo.cs | 24 +-- .../testcase/TSRegionFormatChangedEventArgs.cs | 12 +- .../testcase/TSRemotePort.cs | 28 ++-- .../testcase/TSRemotePortStateChangedEventArgs.cs | 24 +-- .../testcase/TSRemoteValues.cs | 14 +- .../testcase/TSResourceManager.cs | 28 ++-- .../testcase/TSSafeAppControlHandle.cs | 10 +- .../testcase/TSSafeBundleHandle.cs | 10 +- .../testcase/TSServiceApplication.cs | 6 +- .../testcase/TSTizenSynchronizationContext.cs | 6 +- .../testcase/TSAttachPanel.cs | 16 +- .../testcase/TSResultEventArgs.cs | 14 +- .../testcase/TSStateEventArgs.cs | 10 +- .../testcase/TSAttachPanel.cs | 44 ++--- .../testcase/AudioIO/TSAsyncAudioCapture.cs | 8 +- .../testcase/AudioIO/TSAudioCapture.cs | 6 +- .../testcase/TSBadgeControl.cs | 22 +-- tct-suite-vs/Tizen.Badge.Tests/testcase/TSBadge.cs | 20 +-- .../Tizen.Badge.Tests/testcase/TSBadgeControl.cs | 52 +++--- .../Tizen.Badge.Tests/testcase/TSBadgeEventArgs.cs | 22 +-- .../testcase/TSCalendarDatabase.cs | 78 ++++----- .../testcase/TSCalendarFilter.cs | 34 ++-- .../testcase/TSCalendarList.cs | 24 +-- .../testcase/TSCalendarManager.cs | 10 +- .../testcase/TSCalendarQuery.cs | 24 +-- .../testcase/TSCalendarRecord.cs | 58 +++---- .../testcase/TSCalendarReminder.cs | 8 +- .../testcase/TSCalendarTime.cs | 20 +-- .../testcase/TSCalendarVcalendar.cs | 20 +-- .../testcase/TSDBChangedEventArgs.cs | 12 +- .../testcase/TSParseDelegate.cs | 8 +- .../testcase/TSReminderAlertedEventArgs.cs | 6 +- .../testcase/TSContactsDatabase.cs | 8 +- .../testcase/TSDBStatusChangedEventArgs.cs | 8 +- .../testcase/TSContactsDatabase.cs | 60 +++---- .../testcase/TSContactsFilter.cs | 34 ++-- .../testcase/TSContactsList.cs | 28 ++-- .../testcase/TSContactsManager.cs | 18 +- .../testcase/TSContactsQuery.cs | 24 +-- .../testcase/TSContactsRecord.cs | 58 +++---- .../testcase/TSContactsVcard.cs | 20 +-- .../testcase/TSDBChangedEventArgs.cs | 12 +- .../testcase/TSDBStatusChangedEventArgs.cs | 10 +- .../testcase/TSNameDisplayOrderChangedEventArgs.cs | 8 +- .../testcase/TSNameSortingOrderChangedEventArgs.cs | 8 +- .../testcase/TSParseCallback.cs | 8 +- .../testcase/TSAppStatisticsData.cs | 16 +- .../testcase/TSBatteryStatistics.cs | 22 +-- .../testcase/TSBatteryStatisticsData.cs | 14 +- .../testcase/TSUsageStatistics.cs | 18 +- .../testcase/TSUsageStatisticsData.cs | 16 +- .../Tizen.DataControl.Tests/testcase/TSBulkData.cs | 18 +- .../testcase/TSBulkInsertResult.cs | 12 +- .../testcase/TSBulkResultData.cs | 20 +-- .../Tizen.DataControl.Tests/testcase/TSConsumer.cs | 58 +++---- .../testcase/TSDataChangeListenResult.cs | 8 +- .../testcase/TSDeleteResult.cs | 8 +- .../testcase/TSInsertResult.cs | 10 +- .../testcase/TSMapAddResult.cs | 8 +- .../testcase/TSMapBulkAddResult.cs | 12 +- .../testcase/TSMapGetResult.cs | 10 +- .../testcase/TSMapRemoveResult.cs | 8 +- .../testcase/TSMapSetResult.cs | 8 +- .../testcase/TSMatrixCursor.cs | 50 +++--- .../Tizen.DataControl.Tests/testcase/TSProvider.cs | 42 ++--- .../testcase/TSSelectResult.cs | 12 +- .../testcase/TSUpdateResult.cs | 8 +- .../testcase/TSBattery.cs | 32 ++-- .../TSBatteryChargingStateChangedEventArgs.cs | 12 +- .../testcase/TSBatteryLevelChangedEventArgs.cs | 14 +- .../testcase/TSBatteryPercentChangedEventArgs.cs | 14 +- .../testcase/TSDisplay.cs | 12 +- .../testcase/TSDisplayStateChangedEventArgs.cs | 12 +- .../Tizen.Device.Manual.Tests/testcase/TSIR.cs | 10 +- .../Tizen.Device.Manual.Tests/testcase/TSLed.cs | 12 +- .../testcase/TSLedBrightnessChangedEventArgs.cs | 14 +- .../testcase/TSVibrator.cs | 12 +- .../testcase/TSDotnetUtil.cs | 6 +- .../testcase/TSRequest.cs | 22 +-- .../testcase/TSNotification.cs | 44 ++--- .../testcase/TSProgressChangedEventArgs.cs | 16 +- .../Tizen.Download.Tests/testcase/TSRequest.cs | 132 +++++++-------- .../testcase/TSStateChangedEventArgs.cs | 16 +- .../testcase/TSAccessibleObject.cs | 18 +- .../testcase/TSAccessibleUtil.cs | 20 +-- .../Tizen.ElmSharp.Manual.Tests/testcase/TSBox.cs | 28 ++-- .../testcase/TSButton.cs | 32 ++-- .../testcase/TSCalendar.cs | 22 +-- .../testcase/TSCheck.cs | 16 +- .../testcase/TSContextPopup.cs | 20 +-- .../testcase/TSContextPopupItem.cs | 18 +- .../testcase/TSDateTimeSelector.cs | 18 +- .../testcase/TSEcoreEvent.cs | 30 ++-- .../testcase/TSEcoreEventTemplate.cs | 10 +- .../testcase/TSEcoreKeyEventArgs.cs | 18 +- .../testcase/TSEcoreTimelineAnimator.cs | 38 ++--- .../testcase/TSEffectBase.cs | 24 +-- .../testcase/TSEntry.cs | 66 ++++---- .../testcase/TSEvasCanvas.cs | 44 ++--- .../testcase/TSEvasImage.cs | 34 ++-- .../testcase/TSEvasKeyEventArgs.cs | 18 +- .../testcase/TSEvasMap.cs | 52 +++--- .../testcase/TSEvasObject.cs | 40 ++--- .../testcase/TSEvasObjectEvent.cs | 50 +++--- .../testcase/TSEvasObjectEventTemplate.cs | 20 +-- .../testcase/TSFlipSelector.cs | 24 +-- .../testcase/TSFlipSelectorItem.cs | 18 +- .../testcase/TSFloatingButton.cs | 14 +- .../testcase/TSGenGrid.cs | 28 ++-- .../testcase/TSGenGridItem.cs | 26 +-- .../testcase/TSGenItem.cs | 28 ++-- .../testcase/TSGenList.cs | 36 ++-- .../testcase/TSGenListItem.cs | 28 ++-- .../testcase/TSHoversel.cs | 46 ++--- .../testcase/TSHoverselItem.cs | 20 +-- .../testcase/TSIAccessibleObject.cs | 28 ++-- .../testcase/TSImage.cs | 14 +- .../testcase/TSIndex.cs | 12 +- .../testcase/TSIndexItem.cs | 12 +- .../testcase/TSItemObject.cs | 18 +- .../testcase/TSLabel.cs | 14 +- .../testcase/TSLayout.cs | 20 +-- .../Tizen.ElmSharp.Manual.Tests/testcase/TSList.cs | 24 +-- .../testcase/TSMultiButtonEntry.cs | 52 +++--- .../testcase/TSNaviItem.cs | 16 +- .../testcase/TSNaviframe.cs | 12 +- .../testcase/TSPanes.cs | 26 +-- .../testcase/TSPolygon.cs | 18 +- .../testcase/TSPopup.cs | 28 ++-- .../testcase/TSProgressBar.cs | 46 ++--- .../testcase/TSRadio.cs | 22 +-- .../testcase/TSScroller.cs | 108 ++++++------ .../testcase/TSSlider.cs | 52 +++--- .../testcase/TSSmartEvent.cs | 26 +-- .../testcase/TSSmartEventTemplate.cs | 44 ++--- .../testcase/TSSpinner.cs | 24 +-- .../testcase/TSTable.cs | 22 +-- .../testcase/TSToolbar.cs | 20 +-- .../testcase/TSToolbarItem.cs | 22 +-- .../testcase/TSToolbarItemEventArgs.cs | 20 +-- .../testcase/TSTransit.cs | 34 ++-- .../testcase/TSWidget.cs | 22 +-- .../testcase/TSWindow.cs | 8 +- .../testcase/TSAccelerateFactorMotionMapper.cs | 8 +- .../testcase/TSAccelerateMotionMapper.cs | 8 +- .../testcase/TSAccessibleObject.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSBackground.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSBlendEffect.cs | 6 +- .../testcase/TSBounceMotionMapper.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSBox.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSButton.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSCalendar.cs | 10 +- .../testcase/TSCalendarMark.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSCheck.cs | 8 +- .../testcase/TSCheckStateChangedEventArgs.cs | 6 +- .../Tizen.ElmSharp.Tests/testcase/TSChildOf.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSColor.cs | 6 +- .../testcase/TSColorChangedEventArgs.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSColorEffect.cs | 8 +- .../testcase/TSColorSelector.cs | 8 +- .../testcase/TSColorSelectorItem.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSConformant.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSContainer.cs | 10 +- .../testcase/TSContextPopup.cs | 8 +- .../testcase/TSContextPopupItem.cs | 10 +- .../testcase/TSControlledBy.cs | 10 +- .../testcase/TSControllerFor.cs | 10 +- .../testcase/TSCubicBezierMotionMapper.cs | 8 +- .../testcase/TSDateChangedEventArgs.cs | 10 +- .../testcase/TSDateTimeSelector.cs | 8 +- .../testcase/TSDecelerateFactorMotionMapper.cs | 8 +- .../testcase/TSDecelerateMotionMapper.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSDescribedBy.cs | 10 +- .../testcase/TSDescriptionFor.cs | 10 +- .../testcase/TSDisplayedMonthChangedEventArgs.cs | 6 +- .../testcase/TSDivisorInterpolatedMotionMapper.cs | 8 +- .../testcase/TSEcoreAnimator.cs | 4 +- .../Tizen.ElmSharp.Tests/testcase/TSEcoreEvent.cs | 8 +- .../testcase/TSEcoreEventTemplate.cs | 8 +- .../testcase/TSEcoreEventType.cs | 8 +- .../testcase/TSEcoreKeyEventArgs.cs | 8 +- .../testcase/TSEcoreMainloop.cs | 4 +- .../testcase/TSEcoreSynchronizationContext.cs | 6 +- .../testcase/TSEcoreTimelineAnimator.cs | 12 +- .../Tizen.ElmSharp.Tests/testcase/TSEdjeObject.cs | 10 +- .../testcase/TSEdjeTextPartObject.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSEffectBase.cs | 6 +- .../Tizen.ElmSharp.Tests/testcase/TSElementary.cs | 6 +- .../testcase/TSElmScrollConfig.cs | 6 +- .../Tizen.ElmSharp.Tests/testcase/TSEmbeddedBy.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSEmbeds.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSEntry.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSEvasCanvas.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSEvasImage.cs | 8 +- .../testcase/TSEvasKeyEventArgs.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSEvasMap.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSEvasObject.cs | 8 +- .../testcase/TSEvasObjectEvent.cs | 8 +- .../testcase/TSEvasObjectEventTemplate.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSExtended.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSFadeEffect.cs | 6 +- .../Tizen.ElmSharp.Tests/testcase/TSFlipEffect.cs | 8 +- .../testcase/TSFlipSelector.cs | 8 +- .../testcase/TSFlipSelectorItem.cs | 6 +- .../testcase/TSFloatingButton.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSFlowsFrom.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSFlowsTo.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSGenGrid.cs | 14 +- .../Tizen.ElmSharp.Tests/testcase/TSGenGridItem.cs | 14 +- .../testcase/TSGenGridItemClass.cs | 20 +-- .../testcase/TSGenGridItemEventArgs.cs | 14 +- .../Tizen.ElmSharp.Tests/testcase/TSGenItem.cs | 14 +- .../testcase/TSGenItemClass.cs | 20 +-- .../Tizen.ElmSharp.Tests/testcase/TSGenList.cs | 18 +- .../Tizen.ElmSharp.Tests/testcase/TSGenListItem.cs | 14 +- .../testcase/TSGenListItemEventArgs.cs | 12 +- .../testcase/TSGestureLayer.Config.cs | 4 +- .../testcase/TSGestureLayer.LineData.cs | 4 +- .../testcase/TSGestureLayer.MomentumData.cs | 4 +- .../testcase/TSGestureLayer.RotateData.cs | 4 +- .../testcase/TSGestureLayer.TapData.cs | 4 +- .../testcase/TSGestureLayer.ZoomData.cs | 4 +- .../testcase/TSGestureLayer.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSHoversel.cs | 8 +- .../testcase/TSHoverselItem.cs | 10 +- .../testcase/TSHoverselItemEventArgs.cs | 10 +- .../testcase/TSIAccessibleObject.cs | 8 +- .../testcase/TSIAccessibleRelation.cs | 10 +- .../testcase/TSIAnimatorMotionMapper.cs | 8 +- .../testcase/TSIInvalidatable.cs | 6 +- .../Tizen.ElmSharp.Tests/testcase/TSIcon.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSIndex.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSIndexItem.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSItemObject.cs | 22 +-- .../testcase/TSItemObjectExtension.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSLabel.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSLabelFor.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSLabelledBy.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSLayout.cs | 14 +- .../testcase/TSLinearMotionMapper.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSList.cs | 12 +- .../Tizen.ElmSharp.Tests/testcase/TSListItem.cs | 12 +- .../testcase/TSListItemEventArgs.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSMemberOf.cs | 10 +- .../testcase/TSMultiButtonEntry.cs | 8 +- .../testcase/TSMultiButtonEntryItem.cs | 10 +- .../testcase/TSMultiButtonEntryItemEventArgs.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSNamedHint.cs | 6 +- .../Tizen.ElmSharp.Tests/testcase/TSNaviItem.cs | 6 +- .../Tizen.ElmSharp.Tests/testcase/TSNaviframe.cs | 12 +- .../testcase/TSNaviframeEventArgs.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSPanel.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSPanes.cs | 12 +- .../Tizen.ElmSharp.Tests/testcase/TSParentOf.cs | 10 +- .../testcase/TSParentWindowOf.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSPoint.cs | 4 +- .../Tizen.ElmSharp.Tests/testcase/TSPoint3D.cs | 4 +- .../Tizen.ElmSharp.Tests/testcase/TSPolygon.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSPopup.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSPopupFor.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSPopupItem.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSProgressBar.cs | 12 +- .../Tizen.ElmSharp.Tests/testcase/TSRadio.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSRect.cs | 14 +- .../Tizen.ElmSharp.Tests/testcase/TSRectangle.cs | 16 +- .../testcase/TSResizingEffect.cs | 12 +- .../testcase/TSRotationEffect.cs | 12 +- .../Tizen.ElmSharp.Tests/testcase/TSScroller.cs | 48 +++--- .../testcase/TSSinusoidalFactorMotionMapper.cs | 8 +- .../testcase/TSSinusoidalMotionMapper.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSSize.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSSlider.cs | 22 +-- .../Tizen.ElmSharp.Tests/testcase/TSSmartEvent.cs | 10 +- .../testcase/TSSmartEventTemplate.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSSpinner.cs | 12 +- .../testcase/TSSpringMotionMapper.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSSubwindowOf.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSTable.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSTapData.cs | 4 +- .../Tizen.ElmSharp.Tests/testcase/TSToolbar.cs | 8 +- .../Tizen.ElmSharp.Tests/testcase/TSToolbarItem.cs | 10 +- .../testcase/TSToolbarItemEventArgs.cs | 6 +- .../Tizen.ElmSharp.Tests/testcase/TSTooltipFor.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSTransit.cs | 8 +- .../testcase/TSTranslationEffect.cs | 12 +- .../Tizen.ElmSharp.Tests/testcase/TSUtility.cs | 6 +- .../Tizen.ElmSharp.Tests/testcase/TSWidget.cs | 10 +- .../Tizen.ElmSharp.Tests/testcase/TSWindow.cs | 6 +- .../Tizen.ElmSharp.Tests/testcase/TSWipeEffect.cs | 6 +- .../Tizen.ElmSharp.Tests/testcase/TSZoomData.cs | 6 +- .../Tizen.ElmSharp.Tests/testcase/TSZoomEffect.cs | 12 +- .../testcase/TSCircleGenList.cs | 14 +- .../testcase/TSCircleSlider.cs | 16 +- .../testcase/TSEvasObjectExtensions.cs | 26 +-- .../testcase/TSMoreOption.cs | 30 ++-- .../testcase/TSRotaryEventArgs.cs | 24 +-- .../testcase/TSRotaryEventExtensions.cs | 42 ++--- .../testcase/TSRotaryEventManager.cs | 18 +- .../testcase/TSRotarySelector.cs | 26 +-- .../testcase/TSRotarySelectorItemEventArgs.cs | 18 +- .../testcase/TSCircleDatetimeSelector.cs | 10 +- .../testcase/TSCircleGenList.cs | 10 +- .../testcase/TSCircleProgressBar.cs | 10 +- .../testcase/TSCircleScroller.cs | 10 +- .../testcase/TSCircleSlider.cs | 10 +- .../testcase/TSCircleSpinner.cs | 10 +- .../testcase/TSCircleSurface.cs | 8 +- .../testcase/TSICircleWidget.cs | 10 +- .../testcase/TSMoreOption.cs | 8 +- .../testcase/TSMoreOptionItem.cs | 8 +- .../testcase/TSMoreOptionItemEventArgs.cs | 8 +- .../testcase/TSRotaryEventArgs.cs | 8 +- .../testcase/TSRotaryEventExtensions.cs | 8 +- .../testcase/TSRotarySelector.cs | 10 +- .../testcase/TSRotarySelectorItem.cs | 14 +- .../testcase/TSRotarySelectorItemEventArgs.cs | 16 +- .../testcase/TSEmailAttachment.cs | 6 +- .../Tizen.Email.Tests/testcase/TSEmailMessage.cs | 6 +- .../Tizen.Email.Tests/testcase/TSEmailRecipient.cs | 4 +- .../Tizen.Email.Tests/testcase/TSEmailSender.cs | 8 +- .../Tizen.Feedback.Tests/testcase/TSFeedback.cs | 22 +-- .../testcase/TSAuthenticatorInformation.cs | 34 ++-- .../testcase/TSUafAuthenticatorFinder.cs | 8 +- .../Tizen.FidoClient.Tests/testcase/TSUafClient.cs | 26 +-- .../testcase/TSUafMessage.cs | 10 +- .../testcase/TSUafResponse.cs | 10 +- .../Tizen.Geofence.Tests/testcase/TSFence.cs | 66 ++++---- .../Tizen.Geofence.Tests/testcase/TSFenceData.cs | 22 +-- .../Tizen.Geofence.Tests/testcase/TSFenceStatus.cs | 22 +-- .../testcase/TSGeofenceManager.cs | 24 +-- .../testcase/TSGeofenceResponseEventArgs.cs | 30 ++-- .../testcase/TSGeofenceStateEventArgs.cs | 14 +- .../Tizen.Geofence.Tests/testcase/TSPlaceData.cs | 26 +-- .../testcase/TSProximityStateEventArgs.cs | 22 +-- .../testcase/TSVirtualPerimeter.cs | 30 ++-- .../testcase/TSInformation.cs | 110 ++++++------ .../TSRuntimeFeatureStatusChangedEventArgs.cs | 10 +- .../testcase/TSInformation.cs | 22 +-- .../testcase/TSProcessCpuUsage.cs | 28 ++-- .../testcase/TSProcessMemoryUsage.cs | 48 +++--- .../TSRuntimeFeatureStatusChangedEventArgs.cs | 4 +- .../testcase/TSSystemCpuUsage.cs | 24 +-- .../testcase/TSSystemInfo.cs | 36 ++-- .../testcase/TSSystemMemoryUsage.cs | 16 +- .../TSAccessibilityStateChangedEventArgs.cs | 10 +- .../testcase/TSCursorPositionUpdatedEventArgs.cs | 10 +- .../testcase/TSDisplayLanguageChangedEventArgs.cs | 10 +- .../testcase/TSEditorWindow.cs | 8 +- .../testcase/TSFocusedInEventArgs.cs | 10 +- .../testcase/TSFocusedOutEventArgs.cs | 10 +- .../testcase/TSInputMethodContext.cs | 26 +-- .../testcase/TSInputMethodDeviceInformation.cs | 12 +- .../testcase/TSInputMethodEditor.cs | 108 ++++++------ .../testcase/TSLanguageSetEventArgs.cs | 10 +- .../testcase/TSLayoutSetEventArgs.cs | 10 +- .../testcase/TSPreEditAttribute.cs | 12 +- .../testcase/TSReturnKeySetEventArgs.cs | 10 +- .../testcase/TSReturnKeyStateSetEventArgs.cs | 10 +- .../testcase/TSRotationChangedEventArgs.cs | 10 +- .../testcase/TSSetDataEventArgs.cs | 14 +- .../testcase/TSSurroundingTextUpdatedEventArgs.cs | 18 +- .../testcase/TSManager.cs | 22 +-- .../testcase/TSAttributes.cs | 58 +++---- .../testcase/TSCacheUpdatedEventArgs.cs | 10 +- .../testcase/TSDeviceInformationFoundEventArgs.cs | 20 +-- .../testcase/TSFindingErrorOccurredEventArgs.cs | 12 +- .../testcase/TSIoTConnectivityClientManager.cs | 82 ++++----- .../testcase/TSObserverNotifiedEventArgs.cs | 12 +- .../TSPlatformInformationFoundEventArgs.cs | 34 ++-- .../testcase/TSPresenceReceivedEventArgs.cs | 16 +- .../testcase/TSRemoteResource.cs | 70 ++++---- .../testcase/TSRemoteResponse.cs | 14 +- .../testcase/TSRepresentation.cs | 20 +-- .../testcase/TSResourceFoundEventArgs.cs | 14 +- .../testcase/TSResponse.cs | 28 ++-- .../testcase/TSStateChangedEventArgs.cs | 14 +- .../testcase/TSIoTConnectivityServerManager.cs | 26 +-- .../testcase/TSLiteResource.cs | 18 +- .../testcase/TSRequest.cs | 28 ++-- .../testcase/TSResource.cs | 48 +++--- .../testcase/TSResourceInterfaces.cs | 36 ++-- .../testcase/TSResourceOptions.cs | 60 +++---- .../testcase/TSResourceQuery.cs | 62 +++---- .../testcase/TSResourceTypes.cs | 32 ++-- .../testcase/TSLocator.cs | 24 +-- .../testcase/TSCircleBoundary.cs | 24 +-- .../Tizen.Location.Tests/testcase/TSCoordinate.cs | 14 +- .../testcase/TSGpsSatellite.cs | 72 ++++---- .../Tizen.Location.Tests/testcase/TSLocation.cs | 56 +++---- .../testcase/TSLocationBoundary.cs | 34 ++-- .../testcase/TSLocationChangedEventArgs.cs | 18 +- .../Tizen.Location.Tests/testcase/TSLocator.cs | 186 ++++++++++----------- .../testcase/TSLocatorHelper.cs | 34 ++-- .../testcase/TSPolygonBoundary.cs | 22 +-- .../testcase/TSRectangleBoundary.cs | 22 +-- .../testcase/TSSatelliteInformation.cs | 34 ++-- .../testcase/TSSatelliteStatusChangedEventArgs.cs | 26 +-- .../testcase/TSServiceStateChangedEventArgs.cs | 20 +-- .../testcase/TSSettingChangedEventArgs.cs | 20 +-- .../testcase/TSZoneChangedEventArgs.cs | 34 ++-- .../Tizen.Log.Manual.Tests/testcase/TSLog.cs | 8 +- tct-suite-vs/Tizen.Log.Tests/testcase/TSLog.cs | 18 +- .../testcase/TSMapGestureEventArgs.cs | 32 ++-- .../Tizen.Maps.Manual.Tests/testcase/TSMapView.cs | 20 +-- .../Tizen.Maps.Manual.Tests/testcase/TSMarker.cs | 8 +- .../Tizen.Maps.Manual.Tests/testcase/TSPolygon.cs | 6 +- .../Tizen.Maps.Manual.Tests/testcase/TSPolyline.cs | 6 +- tct-suite-vs/Tizen.Maps.Tests/testcase/TSArea.cs | 8 +- .../Tizen.Maps.Tests/testcase/TSBoxOverlay.cs | 6 +- .../Tizen.Maps.Tests/testcase/TSBubbleOverlay.cs | 6 +- .../Tizen.Maps.Tests/testcase/TSGeocoordinates.cs | 16 +- .../testcase/TSIGeocodePreference.cs | 10 +- .../testcase/TSIPlaceSearchPreference.cs | 16 +- .../testcase/TSIRouteSearchPreference.cs | 18 +- .../Tizen.Maps.Tests/testcase/TSMapObject.cs | 10 +- .../Tizen.Maps.Tests/testcase/TSMapService.cs | 58 +++---- .../testcase/TSMapServiceRequestTemplate.cs | 30 ++-- .../Tizen.Maps.Tests/testcase/TSMapView.cs | 52 +++--- tct-suite-vs/Tizen.Maps.Tests/testcase/TSMarker.cs | 20 +-- .../Tizen.Maps.Tests/testcase/TSOverlay.cs | 18 +- tct-suite-vs/Tizen.Maps.Tests/testcase/TSPin.cs | 10 +- tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlace.cs | 38 ++--- .../Tizen.Maps.Tests/testcase/TSPlaceAddress.cs | 30 ++-- .../Tizen.Maps.Tests/testcase/TSPlaceAttribute.cs | 14 +- .../Tizen.Maps.Tests/testcase/TSPlaceCategory.cs | 16 +- .../Tizen.Maps.Tests/testcase/TSPlaceContact.cs | 14 +- .../Tizen.Maps.Tests/testcase/TSPlaceEditorial.cs | 14 +- .../Tizen.Maps.Tests/testcase/TSPlaceFilter.cs | 16 +- .../Tizen.Maps.Tests/testcase/TSPlaceImage.cs | 18 +- .../Tizen.Maps.Tests/testcase/TSPlaceLink.cs | 14 +- .../Tizen.Maps.Tests/testcase/TSPlaceMedia.cs | 12 +- .../Tizen.Maps.Tests/testcase/TSPlaceRating.cs | 12 +- .../Tizen.Maps.Tests/testcase/TSPlaceReview.cs | 20 +-- .../Tizen.Maps.Tests/testcase/TSPolygon.cs | 16 +- .../Tizen.Maps.Tests/testcase/TSPolyline.cs | 18 +- tct-suite-vs/Tizen.Maps.Tests/testcase/TSRoute.cs | 24 +-- .../Tizen.Maps.Tests/testcase/TSRouteManeuver.cs | 22 +-- .../testcase/TSRouteSearchRequest.cs | 6 +- .../Tizen.Maps.Tests/testcase/TSRouteSegment.cs | 18 +- .../testcase/TSSearchPreference.cs | 32 ++-- .../Tizen.Maps.Tests/testcase/TSSticker.cs | 10 +- .../testcase/TSInputProcessedEventArgs.cs | 4 +- .../testcase/TSMediaCodec.cs | 2 +- .../testcase/TSOutputAvailableEventArgs.cs | 4 +- .../testcase/TSMediaKey.cs | 14 +- .../testcase/TSMediaKeyEventArgs.cs | 18 +- .../Tizen.MediaKey.Tests/testcase/TSMediaKey.cs | 12 +- .../testcase/TSMediaKeyEventArgs.cs | 10 +- .../testcase/TSAdaptiveVariants.cs | 4 +- .../testcase/TSAudioStreamProperties.cs | 10 +- .../TSBufferingProgressChangedEventArgs.cs | 6 +- .../testcase/TSCapturedFrame.cs | 6 +- .../testcase/TSDirectionOfView.cs | 8 +- .../testcase/TSDownloadProgress.cs | 4 +- .../testcase/TSFieldOfView.cs | 8 +- .../testcase/TSMediaBufferSource.cs | 20 +-- .../TSMediaStreamBufferStatusChangedEventArgs.cs | 6 +- .../TSMediaStreamSeekingOccurredEventArgs.cs | 6 +- .../testcase/TSMediaUriSource.cs | 6 +- .../testcase/TSNoBufferSpaceException.cs | 4 +- .../testcase/TSPlaybackInterruptedEventArgs.cs | 6 +- .../Tizen.MediaPlayer.Tests/testcase/TSPlayer.cs | 6 +- .../testcase/TSPlayerBufferingTime.cs | 8 +- .../testcase/TSPlayerDisplaySettings.cs | 18 +- .../testcase/TSPlayerErrorOccurredEventArgs.cs | 6 +- .../testcase/TSResourceLimitException.cs | 4 +- .../testcase/TSScaleRectangle.cs | 10 +- .../testcase/TSSphericalVideo.cs | 24 +-- .../testcase/TSStreamInfo.Audio.cs | 2 +- .../testcase/TSStreamInfo.Video.cs | 2 +- .../testcase/TSSubtitleUpdatedEventArgs.cs | 6 +- .../testcase/TSVariantInfo.cs | 12 +- .../testcase/TSVideoFrameDecodedEventArgs.cs | 4 +- .../testcase/TSVideoStreamChangedEventArgs.cs | 8 +- .../testcase/TSVideoStreamProperties.cs | 12 +- .../testcase/TSBarcodeGenerator.cs | 24 +-- .../Tizen.MediaVision.Tests/testcase/TSBarcode.cs | 14 +- .../testcase/TSBarcodeDetectionConfiguration.cs | 16 +- .../testcase/TSBarcodeDetector.cs | 14 +- .../testcase/TSBarcodeGenerationConfiguration.cs | 18 +- .../testcase/TSBarcodeGenerator.cs | 46 ++--- .../testcase/TSBarcodeImageConfiguration.cs | 26 +-- .../testcase/TSFaceDetectionConfiguration.cs | 30 ++-- .../testcase/TSFaceDetector.cs | 14 +- .../testcase/TSFaceRecognitionConfiguration.cs | 18 +- .../testcase/TSFaceRecognitionModel.cs | 50 +++--- .../testcase/TSFaceRecognitionResult.cs | 18 +- .../testcase/TSFaceRecognizer.cs | 52 +++--- .../testcase/TSFaceTracker.cs | 16 +- .../testcase/TSFaceTrackingModel.cs | 32 ++-- .../testcase/TSFaceTrackingResult.cs | 16 +- .../testcase/TSImageFillConfiguration.cs | 20 +-- .../testcase/TSImageObject.cs | 50 +++--- .../testcase/TSImageRecognitionConfiguration.cs | 50 +++--- .../testcase/TSImageRecognitionResult.cs | 10 +- .../testcase/TSImageRecognizer.cs | 18 +- .../testcase/TSImageTracker.cs | 22 +-- .../testcase/TSImageTrackingConfiguration.cs | 50 +++--- .../testcase/TSImageTrackingModel.cs | 32 ++-- .../testcase/TSMediaVisionSource.cs | 34 ++-- .../testcase/TSMovementDetectedEventArgs.cs | 10 +- .../testcase/TSMovementDetectionConfiguration.cs | 18 +- .../testcase/TSMovementDetector.cs | 24 +-- .../TSPersonAppearanceDetectedEventArgs.cs | 20 +-- .../TSPersonAppearanceDetectionConfiguration.cs | 16 +- .../testcase/TSPersonAppearanceDetector.cs | 24 +-- .../testcase/TSPersonRecognitionConfiguration.cs | 16 +- .../testcase/TSPersonRecognitionInfo.cs | 14 +- .../testcase/TSPersonRecognizedEventArgs.cs | 18 +- .../testcase/TSPersonRecognizer.cs | 20 +-- .../Tizen.MediaVision.Tests/testcase/TSPoint.cs | 6 +- .../testcase/TSQrConfiguration.cs | 26 +-- .../testcase/TSQuadrangle.cs | 6 +- .../testcase/TSRectangle.cs | 16 +- .../Tizen.MediaVision.Tests/testcase/TSSize.cs | 6 +- .../testcase/TSSurveillanceEngine.cs | 16 +- .../testcase/TSSurveillanceSource.cs | 16 +- .../testcase/TSMediaInfo.cs | 10 +- .../testcase/TSMediaCommand.cs | 2 +- .../testcase/TSMediaDatabase.cs | 4 +- .../testcase/TSMediaInfoCommand.cs | 2 +- .../testcase/TSMediaInfoCommand_DetectFace.cs | 2 +- .../testcase/TSPlayList.cs | 2 +- .../testcase/TSPlaylistCommand.cs | 2 +- .../Tizen.Messages.Tests/testcase/TSMessage.cs | 2 +- .../testcase/TSMessageReceivedEventArgs.cs | 6 +- .../testcase/TSMessagesAddress.cs | 2 +- .../testcase/TSMessagesAttachment.cs | 8 +- .../testcase/TSMessagesManager.cs | 16 +- .../testcase/TSMessagesSearchFilter.cs | 2 +- .../Tizen.Messages.Tests/testcase/TSMmsMessage.cs | 4 +- .../Tizen.Messages.Tests/testcase/TSSmsMessage.cs | 2 +- .../testcase/MetadataEditor/TSMetadataEditor.cs | 2 +- .../testcase/MetadataExtractor/TSArtwork.cs | 8 +- .../testcase/MetadataExtractor/TSAudioMetadata.cs | 24 +-- .../testcase/MetadataExtractor/TSMetadata.cs | 62 +++---- .../MetadataExtractor/TSMetadataExtractor.cs | 28 ++-- .../testcase/MetadataExtractor/TSSynclyrics.cs | 8 +- .../testcase/MetadataExtractor/TSVideoMetadata.cs | 24 +-- .../Tizen.Mime.Tests/testcase/TSMimeUtil.cs | 16 +- .../testcase/Camera/TSCamera.cs | 2 +- .../testcase/TSAudioDevice.cs | 4 +- .../TSAudioDeviceConnectionChangedEventArgs.cs | 4 +- .../testcase/TSDisplay.cs | 12 +- .../testcase/TSMultimediaHelper.cs | 2 +- .../testcase/TSPlayer.cs | 46 ++--- .../testcase/TSSubtitle.cs | 8 +- .../testcase/TSTonePlayer.cs | 18 +- .../testcase/TSWavPlayer.cs | 18 +- ...SAudioStreamPolicyFocusStateChangedEventArgs.cs | 2 +- .../TSStreamFocusStateChangedEventArgs.cs | 2 +- .../AudioManager/TSVolumeChangedEventArgs.cs | 2 +- .../testcase/MediaTool/TSMediaPacket.cs | 6 +- .../testcase/ImageUtil/TSGifEncoder.cs | 2 +- .../TSThumbnailExtractionResult.cs | 6 +- .../ThumbnailExtractor/TSThumbnailExtractor.cs | 20 +-- .../Tizen.NUI.Manual.Tests/testcase/TSButton.cs | 22 +-- .../testcase/TSFocusManager.cs | 26 +-- .../testcase/TSInputMethodContext.cs | 14 +- .../Tizen.NUI.Manual.Tests/testcase/TSPopup.cs | 14 +- .../Tizen.NUI.Manual.Tests/testcase/TSScrollBar.cs | 12 +- .../Tizen.NUI.Manual.Tests/testcase/TSSlider.cs | 14 +- .../Tizen.NUI.Manual.Tests/testcase/TSTouch.cs | 12 +- .../Tizen.NUI.Manual.Tests/testcase/TSView.cs | 20 +-- .../Tizen.NUI.Manual.Tests/testcase/TSWindow.cs | 22 +-- tct-suite-vs/Tizen.NUI.Tests/testcase/TSAdaptor.cs | 2 +- .../Tizen.NUI.Tests/testcase/TSAlphaFunction.cs | 8 +- .../Tizen.NUI.Tests/testcase/TSAnimatable.cs | 6 +- .../testcase/TSAnimatedImageVisual.cs | 4 +- .../Tizen.NUI.Tests/testcase/TSAnimation.cs | 6 +- .../testcase/TSBaseHandle.FocusRequestArgs.cs | 2 +- .../Tizen.NUI.Tests/testcase/TSBaseHandle.cs | 8 +- .../Tizen.NUI.Tests/testcase/TSBorderVisual.cs | 2 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSButton.cs | 8 +- .../Tizen.NUI.Tests/testcase/TSCheckBoxButton.cs | 6 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSColor.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSColorVisual.cs | 2 +- .../Tizen.NUI.Tests/testcase/TSContainer.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSCustomView.cs | 4 +- .../testcase/TSCustomViewRegistry.cs | 4 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSDegree.cs | 6 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSExtents.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSFlexContainer.cs | 6 +- .../TSFocusManager.FocusChangedEventArgs.cs | 6 +- .../TSFocusManager.FocusGroupChangedEventArgs.cs | 6 +- ...TSFocusManager.FocusedViewActivatedEventArgs.cs | 6 +- .../TSFocusManager.FocusedViewEnterKeyEventArgs.cs | 6 +- .../TSFocusManager.PreFocusChangeEventArgs.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSFocusManager.cs | 2 +- .../Tizen.NUI.Tests/testcase/TSFontClient.cs | 8 +- .../Tizen.NUI.Tests/testcase/TSGeometry.cs | 2 +- .../testcase/TSGetResourcesProvider.cs | 2 +- .../Tizen.NUI.Tests/testcase/TSGradientVisual.cs | 2 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSHover.cs | 6 +- .../testcase/TSImageView.ResourceReadyEventArgs.cs | 8 +- .../Tizen.NUI.Tests/testcase/TSImageView.cs | 12 +- .../Tizen.NUI.Tests/testcase/TSImageVisual.cs | 4 +- .../testcase/TSImfManager.ActivatedEventArgs.cs | 8 +- .../TSImfManager.EventReceivedEventArgs.cs | 8 +- .../testcase/TSImfManager.ImfCallbackData.cs | 8 +- .../testcase/TSImfManager.ImfEventData.cs | 8 +- .../TSImfManager.KeyboardTypeChangedEventArgs.cs | 8 +- .../TSImfManager.LanguageChangedEventArgs.cs | 8 +- .../testcase/TSImfManager.ResizedEventArgs.cs | 8 +- .../TSImfManager.StatusChangedEventArgs.cs | 8 +- .../Tizen.NUI.Tests/testcase/TSImfManager.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSInputMethod.cs | 8 +- .../TSInputMethodContext.ActivatedEventArgs.cs | 4 +- .../testcase/TSInputMethodContext.CallbackData.cs | 4 +- .../testcase/TSInputMethodContext.EventData.cs | 4 +- .../TSInputMethodContext.EventReceivedEventArgs.cs | 4 +- ...utMethodContext.KeyboardTypeChangedEventArgs.cs | 4 +- ...SInputMethodContext.LanguageChangedEventArgs.cs | 4 +- .../TSInputMethodContext.ResizedEventArgs.cs | 4 +- .../TSInputMethodContext.StatusChangedEventArgs.cs | 4 +- .../testcase/TSInputMethodContext.cs | 6 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSKey.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSKeyFrames.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSKeyValue.cs | 6 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSLayer.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSLongPressGesture.cs | 2 +- .../Tizen.NUI.Tests/testcase/TSMeshVisual.cs | 2 +- .../Tizen.NUI.Tests/testcase/TSNPatchVisual.cs | 4 +- .../Tizen.NUI.Tests/testcase/TSNUIApplication.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSPaddingType.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSPanGesture.cs | 2 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSPath.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSPinchGesture.cs | 2 +- .../testcase/TSPopup.HiddenEventArgs.cs | 8 +- .../testcase/TSPopup.HidingEventArgs.cs | 8 +- .../testcase/TSPopup.ShowingEventArgs.cs | 8 +- .../testcase/TSPopup.ShownEventArgs.cs | 8 +- .../testcase/TSPopup.TouchedOutsideEventArgs.cs | 8 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.cs | 4 +- .../Tizen.NUI.Tests/testcase/TSPosition.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSPosition2D.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSPrimitiveVisual.cs | 2 +- .../TSProgressBar.ValueChangedEventArgs.cs | 8 +- .../Tizen.NUI.Tests/testcase/TSProgressBar.cs | 8 +- .../Tizen.NUI.Tests/testcase/TSPropertyArray.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSPropertyBuffer.cs | 2 +- .../testcase/TSPropertyCondition.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSPropertyKey.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSPropertyMap.cs | 6 +- .../TSPropertyNotification.NotifyEventArgs.cs | 8 +- .../testcase/TSPropertyNotification.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSPropertyValue.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSPushButton.cs | 8 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSRadian.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSRadioButton.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSRectangle.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSRelativeVector2.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSRelativeVector3.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSRelativeVector4.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSRenderer.cs | 2 +- .../Tizen.NUI.Tests/testcase/TSRotation.cs | 10 +- .../Tizen.NUI.Tests/testcase/TSSVGVisual.cs | 4 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSSampler.cs | 2 +- .../testcase/TSScrollBar.PanFinishedEventArgs.cs | 6 +- .../TSScrollBar.ScrollIntervalEventArgs.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSScrollBar.cs | 4 +- .../testcase/TSScrollView.SnapEvent.cs | 6 +- .../testcase/TSScrollView.SnapStartedEventArgs.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSScrollView.cs | 4 +- .../Tizen.NUI.Tests/testcase/TSScrollViewEffect.cs | 6 +- .../testcase/TSScrollable.CompletedEventArgs.cs | 6 +- .../testcase/TSScrollable.StartedEventArgs.cs | 6 +- .../testcase/TSScrollable.UpdatedEventArgs.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSScrollable.cs | 8 +- .../Tizen.NUI.Tests/testcase/TSShader.Hint.cs | 6 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSShader.cs | 2 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSSize.cs | 6 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSSize2D.cs | 6 +- .../testcase/TSSlider.MarkReachedEventArgs.cs | 4 +- .../testcase/TSSlider.SlidingFinishedEventArgs.cs | 6 +- .../testcase/TSSlider.ValueChangedEventArgs.cs | 6 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.cs | 12 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSSpin.cs | 6 +- .../TSStyleManager.StyleChangedEventArgs.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSStyleManager.cs | 12 +- .../testcase/TSTTSPlayer.StateChangedEventArgs.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSTTSPlayer.cs | 8 +- .../testcase/TSTableView.CellPosition.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSTableView.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSTapGesture.cs | 2 +- .../TSTextEditor.ScrollStateChangedEventArgs.cs | 6 +- .../testcase/TSTextEditor.TextChangedEventArgs.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSTextEditor.cs | 4 +- .../TSTextField.MaxLengthReachedEventArgs.cs | 6 +- .../testcase/TSTextField.TextChangedEventArgs.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSTextField.cs | 4 +- .../Tizen.NUI.Tests/testcase/TSTextLabel.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSTextVisual.cs | 2 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSTexture.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSTextureSet.cs | 6 +- .../testcase/TSTimer.TickEventArgs.cs | 6 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSTimer.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSToggleButton.cs | 10 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSTouch.cs | 2 +- .../Tizen.NUI.Tests/testcase/TSTransitionData.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSTypeInfo.cs | 2 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector2.cs | 6 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector3.cs | 6 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector4.cs | 6 +- .../testcase/TSVideoView.FinishedEventArgs.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSVideoView.cs | 6 +- .../testcase/TSView.ChildAddedEventArgs.cs | 6 +- .../testcase/TSView.ChildRemovedEventArgs.cs | 6 +- .../testcase/TSView.HoverEventArgs.cs | 6 +- .../testcase/TSView.KeyEventArgs.cs | 6 +- .../TSView.LayoutDirectionChangedEventArgs.cs | 6 +- .../testcase/TSView.TouchEventArgs.cs | 6 +- .../testcase/TSView.VisibilityChangedEventArgs.cs | 6 +- .../testcase/TSView.WheelEventArgs.cs | 6 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSVisualAnimator.cs | 4 +- .../Tizen.NUI.Tests/testcase/TSVisualBase.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSVisualFactory.cs | 6 +- .../Tizen.NUI.Tests/testcase/TSVisualMap.cs | 2 +- .../Tizen.NUI.Tests/testcase/TSVisualView.cs | 8 +- .../Tizen.NUI.Tests/testcase/TSWatchTime.cs | 2 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSWheel.cs | 6 +- .../testcase/TSWindow.FocusChangedEventArgs.cs | 6 +- .../testcase/TSWindow.KeyEventArgs.cs | 6 +- .../testcase/TSWindow.ResizedEventArgs.cs | 6 +- .../testcase/TSWindow.SafeNativeWindowHandle.cs | 6 +- .../testcase/TSWindow.TouchEventArgs.cs | 6 +- .../testcase/TSWindow.WheelEventArgs.cs | 6 +- .../TSWindow.WindowFocusChangedEventArgs.cs | 2 +- tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.cs | 2 +- .../testcase/TSConnectionManager.cs | 14 +- .../testcase/TSEthernetCableStateEventArgs.cs | 16 +- .../testcase/TSWiFiAP.cs | 16 +- .../testcase/TSAddressEventArgs.cs | 20 +-- .../testcase/TSCellularAuthInformation.cs | 18 +- .../testcase/TSCellularProfile.cs | 26 +-- .../testcase/TSConnectionItem.cs | 16 +- .../testcase/TSConnectionManager.cs | 78 ++++----- .../testcase/TSConnectionProfile.cs | 38 ++--- .../testcase/TSConnectionProfileManager.cs | 54 +++--- .../testcase/TSConnectionProfileStateEventArgs.cs | 16 +- .../testcase/TSConnectionStateChangedEventArgs.cs | 20 +-- .../testcase/TSConnectionTypeEventArgs.cs | 18 +- .../testcase/TSDeviceStateChangedEventArgs.cs | 18 +- .../testcase/TSIAddressInformation.cs | 32 ++-- .../testcase/TSProfileStateEventArgs.cs | 16 +- .../testcase/TSRssiLevelChangedEventArgs.cs | 16 +- .../testcase/TSScanStateChangedEventArgs.cs | 14 +- .../Tizen.Network.Tests/testcase/TSWiFiAP.cs | 46 ++--- .../testcase/TSWiFiConfiguration.cs | 32 ++-- .../Tizen.Network.Tests/testcase/TSWiFiEap.cs | 48 +++--- .../testcase/TSWiFiEapConfiguration.cs | 38 ++--- .../Tizen.Network.Tests/testcase/TSWiFiManager.cs | 64 +++---- .../Tizen.Network.Tests/testcase/TSWiFiNetwork.cs | 44 ++--- .../Tizen.Network.Tests/testcase/TSWiFiProfile.cs | 40 ++--- .../Tizen.Network.Tests/testcase/TSWiFiSecurity.cs | 34 ++-- .../Tizen.Network.Tests/testcase/TSWpsInfo.cs | 8 +- .../Tizen.Network.Tests/testcase/TSWpsPbcInfo.cs | 8 +- .../Tizen.Network.Tests/testcase/TSWpsPinInfo.cs | 8 +- .../testcase/TSHostCardEmulationEventArgs.cs | 24 +-- .../testcase/TSNdefMessageDiscoveredEventArgs.cs | 18 +- .../testcase/TSNfcCardEmulationAdapter.cs | 42 ++--- .../testcase/TSNfcManager.cs | 20 +-- .../Tizen.Nfc.Manual.Tests/testcase/TSNfcP2p.cs | 26 +-- .../testcase/TSNfcP2pAdapter.cs | 20 +-- .../testcase/TSNfcSecureElement.cs | 20 +-- .../Tizen.Nfc.Manual.Tests/testcase/TSNfcTag.cs | 30 ++-- .../testcase/TSNfcTagAdapter.cs | 20 +-- .../testcase/TSNfcTagInformation.cs | 20 +-- .../testcase/TSP2pDataReceivedEventArgs.cs | 26 +-- .../testcase/TSP2pTargetDiscoveredEventArgs.cs | 20 +-- .../testcase/TSSecureElementEventArgs.cs | 18 +- .../testcase/TSTagDiscoveredEventArgs.cs | 20 +-- .../testcase/TSNfcCardEmulationAdapter.cs | 34 ++-- .../Tizen.Nfc.Tests/testcase/TSNfcManager.cs | 32 ++-- .../Tizen.Nfc.Tests/testcase/TSNfcNdefMessage.cs | 18 +- .../Tizen.Nfc.Tests/testcase/TSNfcNdefRecord.cs | 32 ++-- .../testcase/TSNfcRegisteredAidInformation.cs | 16 +- .../testcase/TSNaturalLanguageProcess.cs | 2 +- .../testcase/TSNotificationDeleteEventArgs.cs | 12 +- .../TSNotificationEventArgs.AccessoryArgs.cs | 56 +++---- .../TSNotificationEventArgs.ActiveStyleArgs.cs | 68 ++++---- .../TSNotificationEventArgs.ButtonActionArgs.cs | 34 ++-- .../TSNotificationEventArgs.IndicatorStyleArgs.cs | 18 +- .../TSNotificationEventArgs.LockStyleArgs.cs | 18 +- .../TSNotificationEventArgs.ProgressArgs.cs | 28 ++-- .../TSNotificationEventArgs.ReplyActionArgs.cs | 34 ++-- .../testcase/TSNotificationEventArgs.cs | 124 +++++++------- .../testcase/TSNotificationListenerManager.cs | 38 ++--- .../testcase/TSNotification.AccessorySet.cs | 20 +-- .../testcase/TSNotification.ActiveStyle.cs | 16 +- .../testcase/TSNotification.IndicatorStyle.cs | 14 +- .../testcase/TSNotification.LockStyle.cs | 12 +- .../testcase/TSNotification.ProgressType.cs | 12 +- .../testcase/TSNotification.cs | 30 ++-- .../testcase/TSNotificationManager.cs | 28 ++-- .../testcase/TSNotification.AccessorySet.cs | 38 ++--- .../testcase/TSNotification.ActiveStyle.cs | 64 +++---- .../testcase/TSNotification.ButtonAction.cs | 22 +-- .../testcase/TSNotification.IndicatorStyle.cs | 10 +- .../testcase/TSNotification.LockStyle.cs | 10 +- .../testcase/TSNotification.ProgressType.cs | 22 +-- .../testcase/TSNotification.ReplyAction.cs | 22 +-- .../testcase/TSNotification.cs | 80 ++++----- .../testcase/TSNotificationManager.cs | 32 ++-- .../testcase/TSDnssdBrowser.cs | 14 +- .../testcase/TSDnssdService.cs | 12 +- .../testcase/TSDnssdServiceFoundEventArgs.cs | 12 +- .../testcase/TSIPAddressInformation.cs | 12 +- .../testcase/TSSsdpBrowser.cs | 14 +- .../testcase/TSSsdpService.cs | 10 +- .../testcase/TSSsdpServiceFoundEventArgs.cs | 12 +- .../Tizen.Nsd.Tests/testcase/TSDnssdBrowser.cs | 10 +- .../Tizen.Nsd.Tests/testcase/TSDnssdService.cs | 40 ++--- .../Tizen.Nsd.Tests/testcase/TSSsdpBrowser.cs | 10 +- .../Tizen.Nsd.Tests/testcase/TSSsdpService.cs | 32 ++-- .../testcase/TSAuthorizationResponse.cs | 10 +- .../testcase/TSClientCredentialsAuthorizer.cs | 6 +- .../testcase/TSCodeGrantAuthorizer.cs | 8 +- .../testcase/TSImplicitGrantAuthorizer.cs | 6 +- .../testcase/support/TestHelper.cs | 6 +- .../Tizen.OAuth2.Tests/testcase/TSAccessToken.cs | 14 +- .../testcase/TSAuthorizationRequest.cs | 26 +-- .../Tizen.OAuth2.Tests/testcase/TSAuthorizer.cs | 14 +- .../testcase/TSClientCredentials.cs | 12 +- .../testcase/TSClientCredentialsAuthorizer.cs | 14 +- .../testcase/TSClientCredentialsTokenRequest.cs | 10 +- .../testcase/TSCodeGrantAuthorizationRequest.cs | 10 +- .../testcase/TSCodeGrantAuthorizer.cs | 16 +- .../testcase/TSCodeGrantTokenRequest.cs | 12 +- .../TSImplicitGrantAuthorizationRequest.cs | 10 +- .../testcase/TSImplicitGrantAuthorizer.cs | 14 +- .../testcase/TSOAuth2ErrorResponse.cs | 14 +- .../testcase/TSOAuth2Exception.cs | 8 +- .../Tizen.OAuth2.Tests/testcase/TSRefreshToken.cs | 8 +- .../testcase/TSRefreshTokenRequest.cs | 12 +- .../TSResourceOwnerPwdCredentialsAuthorizer.cs | 14 +- .../TSResourceOwnerPwdCredentialsTokenRequest.cs | 14 +- .../Tizen.OAuth2.Tests/testcase/TSTokenRequest.cs | 32 ++-- .../Tizen.OAuth2.Tests/testcase/TSTokenResponse.cs | 14 +- .../testcase/support/TestHelper.cs | 2 +- .../testcase/TSPackage.cs | 8 +- .../testcase/TSPackageManager.cs | 12 +- .../testcase/TSPackageSizeInformation.cs | 12 +- .../testcase/support/TestHelper.cs | 4 +- .../testcase/TSPackage.cs | 54 +++--- .../testcase/TSPackageCertificate.cs | 16 +- .../testcase/TSPackageFilter.cs | 12 +- .../testcase/TSPackageManager.cs | 108 ++++++------ .../testcase/TSPackageManagerEventArgs.cs | 72 ++++---- .../testcase/TSPackageSizeInformation.cs | 28 ++-- .../testcase/support/TestHelper.cs | 6 +- .../testcase/TSPhonenumberUtils.cs | 6 +- .../testcase/TSCheckPermission.cs | 30 ++-- .../testcase/TSGetResponseContext.cs | 18 +- .../testcase/TSRequestPermission.cs | 28 ++-- .../testcase/TSRequestResponseEventArgs.cs | 10 +- .../testcase/support/UIAbstractClass.cs | 12 +- .../Tizen.Privilege.Tests/testcase/TSPrivilege.cs | 68 ++++---- .../Tizen.Push.Tests/testcase/TSPushClient.cs | 26 +-- .../testcase/TSPushConnectionStateEventArgs.cs | 8 +- .../testcase/TSPushMessageEventArgs.cs | 18 +- .../Tizen.Push.Tests/testcase/TSServerResponse.cs | 8 +- .../testcase/TSRecorderInterruptingEventArgs.cs | 6 +- .../testcase/TSRecordingErrorOccurredEventArgs.cs | 4 +- .../testcase/TSVideoRecorder.cs | 2 +- .../testcase/TSRemoteView.cs | 34 ++-- .../testcase/TSRemoteViewFactory.cs | 30 ++-- .../testcase/TSAesCbcCipherParameters.cs | 2 +- .../testcase/TSAesCfbCipherParameters.cs | 2 +- .../testcase/TSAesCipherParameters.cs | 2 +- .../testcase/TSAesCtrCipherParameters.cs | 4 +- .../testcase/TSAesGcmCipherParameters.cs | 6 +- .../testcase/TSCertificate.cs | 10 +- .../testcase/TSCertificateManager.cs | 40 ++--- .../testcase/TSCipher.cs | 28 ++-- .../testcase/TSCipherParameters.cs | 2 +- .../testcase/TSDataManager.cs | 20 +-- .../testcase/TSDsaSignatureParameters.cs | 2 +- .../testcase/TSEcdsaSignatureParameters.cs | 2 +- .../Tizen.Securerepository.Tests/testcase/TSKey.cs | 12 +- .../testcase/TSKeyManager.cs | 52 +++--- .../testcase/TSManager.cs | 16 +- .../testcase/TSPkcs12.cs | 20 +-- .../testcase/TSPkcs12Manager.cs | 24 +-- .../testcase/TSPolicy.cs | 8 +- .../testcase/TSRsaOaepCipherParameters.cs | 2 +- .../testcase/TSRsaSignatureParameters.cs | 4 +- .../testcase/TSSignature.cs | 26 +-- .../testcase/TSSignatureParameters.cs | 4 +- .../testcase/TSAccelerometer.cs | 6 +- .../TSAccelerometerDataUpdatedEventArgs.cs | 10 +- .../testcase/TSFaceDownGestureDetector.cs | 6 +- ...SFaceDownGestureDetectorDataUpdatedEventArgs.cs | 6 +- .../testcase/TSGravitySensor.cs | 8 +- .../TSGravitySensorDataUpdatedEventArgs.cs | 10 +- .../testcase/TSGyroscope.cs | 6 +- .../testcase/TSGyroscopeDataUpdatedEventArgs.cs | 10 +- .../testcase/TSGyroscopeRotationVectorSensor.cs | 6 +- ...copeRotationVectorSensorDataUpdatedEventArgs.cs | 14 +- .../testcase/TSHeartRateMonitor.cs | 6 +- .../TSHeartRateMonitorDataUpdatedEventArgs.cs | 6 +- .../testcase/TSHumiditySensor.cs | 6 +- .../TSHumiditySensorDataUpdatedEventArgs.cs | 6 +- .../testcase/TSInVehicleActivityDetector.cs | 6 +- ...nVehicleActivityDetectorDataUpdatedEventArgs.cs | 6 +- .../testcase/TSLightSensor.cs | 6 +- .../testcase/TSLightSensorDataUpdatedEventArgs.cs | 6 +- .../testcase/TSLinearAccelerationSensor.cs | 8 +- ...LinearAccelerationSensorDataUpdatedEventArgs.cs | 10 +- .../testcase/TSMagnetometer.cs | 8 +- .../testcase/TSMagnetometerDataUpdatedEventArgs.cs | 10 +- .../testcase/TSMagnetometerRotationVectorSensor.cs | 8 +- ...eterRotationVectorSensorDataUpdatedEventArgs.cs | 14 +- .../testcase/TSOrientationSensor.cs | 8 +- .../TSOrientationSensorDataUpdatedEventArgs.cs | 10 +- .../testcase/TSPedometer.cs | 6 +- .../testcase/TSPedometerDataUpdatedEventArgs.cs | 20 +-- .../testcase/TSPickUpGestureDetector.cs | 6 +- .../TSPickUpGestureDetectorDataUpdatedEventArgs.cs | 6 +- .../testcase/TSPressureSensor.cs | 6 +- .../TSPressureSensorDataUpdatedEventArgs.cs | 6 +- .../testcase/TSProximitySensor.cs | 6 +- .../TSProximitySensorDataUpdatedEventArgs.cs | 6 +- .../testcase/TSRotationVectorSensor.cs | 8 +- .../TSRotationVectorSensorDataUpdatedEventArgs.cs | 16 +- .../testcase/TSRunningActivityDetector.cs | 6 +- ...SRunningActivityDetectorDataUpdatedEventArgs.cs | 6 +- .../testcase/TSSensorAccuracyChangedEventArgs.cs | 8 +- .../testcase/TSSleepMonitor.cs | 6 +- .../testcase/TSSleepMonitorDataUpdatedEventArgs.cs | 6 +- .../testcase/TSStationaryActivityDetector.cs | 6 +- ...ationaryActivityDetectorDataUpdatedEventArgs.cs | 6 +- .../testcase/TSTemperatureSensor.cs | 6 +- .../TSTemperatureSensorDataUpdatedEventArgs.cs | 6 +- .../testcase/TSUltravioletSensor.cs | 6 +- .../TSUltravioletSensorDataUpdatedEventArgs.cs | 6 +- .../testcase/TSUncalibratedGyroscope.cs | 6 +- .../TSUncalibratedGyroscopeDataUpdatedEventArgs.cs | 16 +- .../testcase/TSUncalibratedMagnetometer.cs | 8 +- ...UncalibratedMagnetometerDataUpdatedEventArgs.cs | 16 +- .../testcase/TSWalkingActivityDetector.cs | 6 +- ...SWalkingActivityDetectorDataUpdatedEventArgs.cs | 6 +- .../testcase/TSWristUpGestureDetector.cs | 6 +- ...TSWristUpGestureDetectorDataUpdatedEventArgs.cs | 6 +- .../Tizen.Sensor.Tests/testcase/TSAccelerometer.cs | 20 +-- .../testcase/TSActivityDetector.cs | 8 +- .../testcase/TSFaceDownGestureDetector.cs | 16 +- .../Tizen.Sensor.Tests/testcase/TSGravitySensor.cs | 20 +-- .../Tizen.Sensor.Tests/testcase/TSGyroscope.cs | 20 +-- .../testcase/TSGyroscopeRotationVectorSensor.cs | 24 +-- .../testcase/TSHeartRateMonitor.cs | 16 +- .../testcase/TSHumiditySensor.cs | 16 +- .../testcase/TSInVehicleActivityDetector.cs | 16 +- .../Tizen.Sensor.Tests/testcase/TSLightSensor.cs | 16 +- .../testcase/TSLinearAccelerationSensor.cs | 20 +-- .../Tizen.Sensor.Tests/testcase/TSMagnetometer.cs | 20 +-- .../testcase/TSMagnetometerRotationVectorSensor.cs | 24 +-- .../testcase/TSOrientationSensor.cs | 20 +-- .../Tizen.Sensor.Tests/testcase/TSPedometer.cs | 30 ++-- .../testcase/TSPickUpGestureDetector.cs | 16 +- .../testcase/TSPressureSensor.cs | 16 +- .../testcase/TSProximitySensor.cs | 16 +- .../testcase/TSRotationVectorSensor.cs | 24 +-- .../testcase/TSRunningActivityDetector.cs | 16 +- .../Tizen.Sensor.Tests/testcase/TSSensor.cs | 40 ++--- .../Tizen.Sensor.Tests/testcase/TSSleepMonitor.cs | 16 +- .../testcase/TSStationaryActivityDetector.cs | 16 +- .../testcase/TSTemperatureSensor.cs | 16 +- .../testcase/TSUltravioletSensor.cs | 16 +- .../testcase/TSUncalibratedGyroscope.cs | 26 +-- .../testcase/TSUncalibratedMagnetometer.cs | 26 +-- .../testcase/TSWalkingActivityDetector.cs | 16 +- .../testcase/TSWristUpGestureDetector.cs | 16 +- .../testcase/TSHomeShortcutAddedInfo.cs | 8 +- .../testcase/TSHomeShortcutInfo.cs | 8 +- .../testcase/TSShortcutAddedInfo.cs | 10 +- .../testcase/TSShortcutDeletedInfo.cs | 8 +- .../testcase/TSShortcutEventManager.cs | 24 +-- .../testcase/TSShortcutInfo.cs | 14 +- .../testcase/TSShortcutManager.cs | 20 +-- .../testcase/TSShortcutTemplate.cs | 14 +- .../testcase/TSWidgetShortcutAddedInfo.cs | 36 ++-- .../testcase/TSWidgetShortcutInfo.cs | 38 ++--- .../testcase/TSSmartcardManager.cs | 8 +- .../testcase/TSSmartcardReader.cs | 18 +- .../testcase/TSSmartcardSession.cs | 18 +- .../testcase/TSDefaultLanguageChangedEventArgs.cs | 8 +- .../testcase/TSEngineChangedEventArgs.cs | 12 +- .../testcase/TSErrorOccurredEventArgs.cs | 8 +- .../testcase/TSRecognitionResultEventArgs.cs | 12 +- .../testcase/TSResultTime.cs | 14 +- .../Tizen.Stt.Manual.Tests/testcase/TSSttClient.cs | 8 +- .../testcase/TSStateChangedEventArgs.cs | 8 +- .../Tizen.Stt.Tests/testcase/TSSttClient.cs | 76 ++++----- .../Tizen.Stt.Tests/testcase/TSSupportedEngine.cs | 8 +- .../testcase/TSEngine.cs | 56 +++---- .../testcase/TSSyncAdapter.cs | 14 +- .../testcase/TSSyncClient.cs | 48 +++--- .../testcase/TSSyncJobData.cs | 12 +- .../testcase/TSStorage.cs | 6 +- .../testcase/TSStorageManager.cs | 8 +- .../Tizen.System.Tests/testcase/TSStorage.cs | 36 ++-- .../testcase/TSStorageManager.cs | 8 +- .../TSData3GNetworkSettingChangedEventArgs.cs | 4 +- .../TSEmailAlertRingtoneChangedEventArgs.cs | 4 +- .../testcase/TSFontSizeChangedEventArgs.cs | 12 +- .../testcase/TSFontTypeChangedEventArgs.cs | 4 +- .../TSIncomingCallRingtoneChangedEventArgs.cs | 4 +- .../testcase/TSLocaleCountryChangedEventArgs.cs | 4 +- .../testcase/TSLocaleLanguageChangedEventArgs.cs | 4 +- ...ocaleTimeFormat24HourSettingChangedEventArgs.cs | 4 +- .../testcase/TSLocaleTimeZoneChangedEventArgs.cs | 4 +- .../testcase/TSLockStateChangedEventArgs.cs | 8 +- .../testcase/TSLockscreenAppChangedEventArgs.cs | 4 +- .../TSMotionActivationSettingChangedEventArgs.cs | 4 +- .../TSScreenBacklightTimeChangedEventArgs.cs | 14 +- .../TSSoundNotificationChangedEventArgs.cs | 4 +- ...NotificationRepetitionPeriodChangedEventArgs.cs | 4 +- .../testcase/TSSystemSettings.cs | 118 ++++++------- .../TSWallpaperHomeScreenChangedEventArgs.cs | 4 +- .../TSWallpaperLockScreenChangedEventArgs.cs | 4 +- .../testcase/TSBaseParameterTemplate.cs | 6 +- .../Tizen.TEEC.Tests/testcase/TSContext.cs | 46 ++--- .../Tizen.TEEC.Tests/testcase/TSLoginMethod.cs | 4 +- .../testcase/TSRegisteredMemoryReference.cs | 12 +- .../Tizen.TEEC.Tests/testcase/TSSession.cs | 22 +-- .../Tizen.TEEC.Tests/testcase/TSSharedMemory.cs | 16 +- .../testcase/TSTempMemoryReference.cs | 14 +- tct-suite-vs/Tizen.TEEC.Tests/testcase/TSValue.cs | 10 +- .../testcase/TSCallHandle.cs | 22 +-- .../testcase/TSChangeNotificationEventArgs.cs | 8 +- .../testcase/TSSlotHandle.cs | 8 +- .../Tizen.Telephony.Tests/testcase/TSCall.cs | 12 +- .../Tizen.Telephony.Tests/testcase/TSManager.cs | 14 +- .../Tizen.Telephony.Tests/testcase/TSModem.cs | 14 +- .../Tizen.Telephony.Tests/testcase/TSNetwork.cs | 48 +++--- .../Tizen.Telephony.Tests/testcase/TSSim.cs | 32 ++-- .../Tizen.Telephony.Tests/testcase/TSSlotHandle.cs | 10 +- .../testcase/TSToastMessage.cs | 10 +- .../Tizen.Tracer.Tests/testcase/TSTracer.cs | 14 +- .../testcase/TSDefaultVoiceChangedEventArgs.cs | 8 +- .../testcase/TSEngineChangedEventArgs.cs | 10 +- .../testcase/TSErrorOccurredEventArgs.cs | 10 +- .../Tizen.Tts.Manual.Tests/testcase/TSTtsClient.cs | 10 +- .../Tizen.Tts.Tests/testcase/TSSpeedRange.cs | 10 +- .../testcase/TSStateChangedEventArgs.cs | 8 +- .../Tizen.Tts.Tests/testcase/TSSupportedVoice.cs | 8 +- .../Tizen.Tts.Tests/testcase/TSTtsClient.cs | 66 ++++---- .../testcase/TSUtteranceEventArgs.cs | 6 +- .../testcase/TSEngine.cs | 48 +++--- .../testcase/TSHotPluggedEventArgs.cs | 8 +- .../testcase/TSUsbManager.cs | 8 +- .../Tizen.Usb.Tests/testcase/TSUsbBulkEndpoint.cs | 6 +- .../Tizen.Usb.Tests/testcase/TSUsbConfiguration.cs | 18 +- .../testcase/TSUsbControlEndpoint.cs | 10 +- .../Tizen.Usb.Tests/testcase/TSUsbDevice.cs | 28 ++-- .../testcase/TSUsbDeviceInformation.cs | 16 +- .../Tizen.Usb.Tests/testcase/TSUsbDeviceStrings.cs | 8 +- .../Tizen.Usb.Tests/testcase/TSUsbEndpoint.cs | 8 +- .../Tizen.Usb.Tests/testcase/TSUsbInterface.cs | 20 +-- .../testcase/TSUsbInterruptEndpoint.cs | 8 +- .../testcase/TSUsbIsochronousEndpoint.cs | 6 +- .../Tizen.Usb.Tests/testcase/TSUsbManager.cs | 8 +- .../testcase/TSCurrentLanguageChangedEventArgs.cs | 8 +- .../testcase/TSErrorOccuredEventArgs.cs | 6 +- .../testcase/TSRecognitionResult.cs | 10 +- .../testcase/TSRecognitionResultEventArgs.cs | 6 +- .../testcase/TSServiceStateChangedEventArgs.cs | 8 +- .../testcase/TSServiceStateChangedEventArgs.cs | 8 +- .../testcase/TSStateChangedEventArgs.cs | 12 +- .../testcase/TSVoiceCommand.cs | 20 +-- .../testcase/TSVoiceCommandList.cs | 44 ++--- .../testcase/TSVoiceControlClient.cs | 64 +++---- .../testcase/TSAmbientEventArgs.cs | 2 +- .../testcase/TSTimeEventArgs.cs | 2 +- .../testcase/TSWatchApplication.cs | 24 +-- .../testcase/TSWatchEvetType.cs | 6 +- .../testcase/TSWatchApplication.cs | 50 +++--- .../testcase/TSWatchEventType.cs | 10 +- .../testcase/TSWatchTime.cs | 28 ++-- .../Tizen.WebView.Tests/testcase/TSWebView.cs | 8 +- .../testcase/TSWidgetApplication.cs | 6 +- .../testcase/TSWidgetBase.cs | 22 +-- .../testcase/TSWidgetApplication.cs | 12 +- .../testcase/TSWidgetBase.cs | 8 +- .../testcase/TSWidgetControl.Instance.cs | 12 +- .../testcase/TSWidgetControl.cs | 6 +- .../testcase/TSWidgetControl.Scale.cs | 12 +- .../testcase/TSWidgetControl.cs | 28 ++-- .../testcase/TSWidgetLifecycleEventArgs.cs | 4 +- .../testcase/TSConnectionStateChangedEventArgs.cs | 22 +-- .../testcase/TSConnectionStatusChangedEventArgs.cs | 18 +- .../testcase/TSDiscoveryStateChangedEventArgs.cs | 18 +- .../testcase/TSIpAddressAssignedEventArgs.cs | 22 +-- .../testcase/TSServiceStateChangedEventArgs.cs | 26 +-- .../testcase/TSStateChangedEventArgs.cs | 10 +- .../testcase/TSWiFiDirectManager.cs | 28 ++-- .../testcase/TSWiFiDirectPeer.cs | 46 ++--- .../testcase/TSConnectionStatusChangedEventArgs.cs | 6 +- .../testcase/TSDeviceStateChangedEventArgs.cs | 8 +- .../testcase/TSDiscoveryStateChangedEventArgs.cs | 16 +- .../testcase/TSPeerFoundEventArgs.cs | 10 +- .../testcase/TSStateChangedEventArgs.cs | 10 +- .../testcase/TSWiFiDirectManager.cs | 124 +++++++------- .../testcase/TSWiFiDirectPeer.cs | 44 ++--- .../testcase/TSWiFiDirectPersistentGroup.cs | 8 +- .../testcase/TSAbsoluteLayout.cs | 2 +- .../testcase/TSApplication.cs | 16 +- .../testcase/TSBoxView.cs | 2 +- .../testcase/TSButton.cs | 4 +- .../testcase/TSContentPage.cs | 2 +- .../testcase/TSDevice.Styles.cs | 4 +- .../testcase/TSDevice.cs | 4 +- .../testcase/TSEditor.cs | 2 +- .../testcase/TSEntryCell.cs | 2 +- .../testcase/TSFrame.cs | 2 +- .../testcase/TSGrid.cs | 30 ++-- .../testcase/TSImage.cs | 2 +- .../testcase/TSImageCell.cs | 2 +- .../testcase/TSLabel.cs | 2 +- .../testcase/TSMenuItem.cs | 2 +- .../testcase/TSMultiPageTemplate.cs | 2 +- .../testcase/TSNavigationPage.cs | 2 +- .../testcase/TSPinchGestureRecognizer.cs | 2 +- .../testcase/TSScrollView.cs | 6 +- .../testcase/TSSearchBar.cs | 30 ++-- .../testcase/TSSlider.cs | 14 +- .../testcase/TSStackLayout.cs | 4 +- .../testcase/TSStepper.cs | 6 +- .../testcase/TSSwitch.cs | 4 +- .../testcase/TSSwitchCell.cs | 4 +- .../testcase/TSTabbedPage.cs | 2 +- .../testcase/TSTableView.cs | 18 +- .../testcase/TSTapGestureRecognizer.cs | 6 +- .../testcase/TSTextCell.cs | 16 +- .../testcase/TSTimePicker.cs | 8 +- .../testcase/TSToolbarItem.cs | 4 +- .../testcase/TSViewCell.cs | 6 +- .../testcase/TSVisualElement.cs | 12 +- .../testcase/TSWebView.cs | 20 +-- .../testcase/TSApplication.cs | 2 +- .../testcase/TSBackButtonPressedEventArgs.cs | 2 +- .../testcase/TSBehavior.cs | 2 +- .../testcase/TSBehaviorTemplate.cs | 2 +- .../testcase/TSBindableObject.cs | 8 +- .../testcase/TSBindableObjectExtensions.cs | 2 +- .../testcase/TSBindableProperty.cs | 2 +- .../testcase/TSBindablePropertyConverter.cs | 2 +- .../testcase/TSBindablePropertyKey.cs | 2 +- .../testcase/TSCarouselPage.cs | 2 +- .../Tizen.XamarinForms1.Tests/testcase/TSCell.cs | 2 +- .../testcase/TSColumnDefinition.cs | 2 +- .../testcase/TSColumnDefinitionCollection.cs | 2 +- .../testcase/TSCommandTemplate.cs | 2 +- .../testcase/TSConstraintTypeConverter.cs | 2 +- .../testcase/TSDataTemplate.cs | 6 +- .../testcase/TSDataTemplateSelector.cs | 4 +- .../testcase/TSDataTrigger.cs | 2 +- .../testcase/TSDefinitionCollectionTemplate.cs | 2 +- .../testcase/TSDependencyService.cs | 2 +- .../Tizen.XamarinForms2.Tests/testcase/TSEffect.cs | 2 +- .../testcase/TSElementTemplate.cs | 2 +- .../Tizen.XamarinForms2.Tests/testcase/TSEntry.cs | 2 +- .../testcase/TSExportEffectAttribute.cs | 2 +- .../testcase/TSFocusEventArgs.cs | 2 +- .../testcase/TSHandlerAttribute.cs | 2 +- .../Tizen.XamarinForms4.Tests/testcase/TSLabel.cs | 2 +- .../Tizen.XamarinForms4.Tests/testcase/TSLayout.cs | 2 +- .../testcase/TSListStringTypeConverter.cs | 2 +- .../testcase/TSMasterDetailPage.cs | 8 +- .../testcase/TSModalEventArgs.cs | 2 +- .../testcase/TSModalPoppingEventArgs.cs | 2 +- .../testcase/TSModalPushedEventArgs.cs | 2 +- .../testcase/TSMultiPageTemplate.cs | 8 +- .../testcase/TSMultiTrigger.cs | 2 +- .../testcase/TSOnIdiomTemplate.cs | 2 +- .../testcase/TSOpenGLView.cs | 6 +- .../testcase/TSPropertyChangingEventArgs.cs | 2 +- .../testcase/TSResolutionGroupNameAttribute.cs | 2 +- .../testcase/TSRoutingEffect.cs | 2 +- .../testcase/TSRowDefinition.cs | 2 +- .../testcase/TSScrollToRequestedEventArgs.cs | 2 +- .../testcase/TSSelectedItemChangedEventArgs.cs | 2 +- .../Tizen.XamarinForms5.Tests/testcase/TSSlider.cs | 2 +- .../Tizen.XamarinForms5.Tests/testcase/TSSwitch.cs | 6 +- .../testcase/TSTapGestureRecognizer.cs | 2 +- .../testcase/TSTappedEventArgs.cs | 2 +- .../testcase/TSTemplateExtensions.cs | 2 +- .../testcase/TSTriggerAction.cs | 2 +- .../testcase/TSUnsolvableConstraintsException.cs | 2 +- .../testcase/TSViewExtensions.cs | 2 +- .../testcase/TSVisualElement.cs | 2 +- .../testcase/TSWebNavigatedEventArgs.cs | 2 +- .../testcase/TSDistance.cs | 2 +- 1251 files changed, 9712 insertions(+), 9712 deletions(-) diff --git a/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccount.cs b/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccount.cs index eb5ea5e..bf7cde8 100755 --- a/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccount.cs +++ b/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccount.cs @@ -9,16 +9,16 @@ namespace Tizen.Account.AccountManager.Tests [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() { } @@ -29,7 +29,7 @@ namespace Tizen.Account.AccountManager.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "CONSTR")] [Property("AUTHOR", "Song Jooseok, seogii.song@samsung.com")] - public static void Account_INIT() + public void Account_INIT() { try { @@ -57,7 +57,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -90,7 +90,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -131,7 +131,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -164,7 +164,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -197,7 +197,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -230,7 +230,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -263,7 +263,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -296,7 +296,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -329,7 +329,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -362,7 +362,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -395,7 +395,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -428,7 +428,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -461,7 +461,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -493,7 +493,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -541,7 +541,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -576,7 +576,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -608,7 +608,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -646,7 +646,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -681,7 +681,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -718,7 +718,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -749,7 +749,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -782,7 +782,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -815,7 +815,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -848,7 +848,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -882,7 +882,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -913,7 +913,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -945,7 +945,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -976,7 +976,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1009,7 +1009,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1046,7 +1046,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1083,7 +1083,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1127,7 +1127,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { diff --git a/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccountProvider.cs b/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccountProvider.cs index f64f5bd..ed76b9d 100755 --- a/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccountProvider.cs +++ b/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccountProvider.cs @@ -11,16 +11,16 @@ namespace Tizen.Account.AccountManager.Tests [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() { } @@ -31,7 +31,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -64,7 +64,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -97,7 +97,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -130,7 +130,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -163,7 +163,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -195,7 +195,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -231,7 +231,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -264,7 +264,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -296,7 +296,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -325,7 +325,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -351,7 +351,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -376,7 +376,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -411,7 +411,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -442,7 +442,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -472,7 +472,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -497,7 +497,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -523,7 +523,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -553,7 +553,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -578,7 +578,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { diff --git a/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccountService.cs b/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccountService.cs index e2bfd84..3cfa80c 100755 --- a/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccountService.cs +++ b/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccountService.cs @@ -11,17 +11,17 @@ namespace Tizen.Account.AccountManager.Tests [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() { } @@ -32,7 +32,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -76,7 +76,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -117,7 +117,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -172,7 +172,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -203,7 +203,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -267,7 +267,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -293,7 +293,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -346,7 +346,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -373,7 +373,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -432,7 +432,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -459,7 +459,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -485,7 +485,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -539,7 +539,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -567,7 +567,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -594,7 +594,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -651,7 +651,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -676,7 +676,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -701,7 +701,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -761,7 +761,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -786,7 +786,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -811,7 +811,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -872,7 +872,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -897,7 +897,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -922,7 +922,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -985,7 +985,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1010,7 +1010,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1061,7 +1061,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1104,7 +1104,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1142,7 +1142,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1180,7 +1180,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1218,7 +1218,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1256,7 +1256,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1294,7 +1294,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1332,7 +1332,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1370,7 +1370,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1408,7 +1408,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1446,7 +1446,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1506,7 +1506,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1536,7 +1536,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -1562,7 +1562,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { diff --git a/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccountSubscriberEventArgs.cs b/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccountSubscriberEventArgs.cs index 56cfced..f9e1785 100755 --- a/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccountSubscriberEventArgs.cs +++ b/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSAccountSubscriberEventArgs.cs @@ -9,16 +9,16 @@ namespace Tizen.Account.AccountManager.Tests [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() { } @@ -29,7 +29,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -85,7 +85,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -132,7 +132,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { diff --git a/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSSafeAccountHandle.cs b/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSSafeAccountHandle.cs index e9cb781..039ac18 100755 --- a/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSSafeAccountHandle.cs +++ b/tct-suite-vs/Tizen.Accounts.Tests/testcase/TSSafeAccountHandle.cs @@ -9,16 +9,16 @@ namespace Tizen.Account.AccountManager.Tests [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() { } @@ -29,7 +29,7 @@ namespace Tizen.Account.AccountManager.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "CONSTR")] [Property("AUTHOR", "Song Jooseok, seogii.song@samsung.com")] - public static void SafeAccountHandle_INIT() + public void SafeAccountHandle_INIT() { try { @@ -64,7 +64,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { @@ -98,7 +98,7 @@ namespace Tizen.Account.AccountManager.Tests [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 { diff --git a/tct-suite-vs/Tizen.Alarm.Tests/testcase/TSAlarm.cs b/tct-suite-vs/Tizen.Alarm.Tests/testcase/TSAlarm.cs index a2f0a1b..eefd1c7 100755 --- a/tct-suite-vs/Tizen.Alarm.Tests/testcase/TSAlarm.cs +++ b/tct-suite-vs/Tizen.Alarm.Tests/testcase/TSAlarm.cs @@ -9,17 +9,17 @@ namespace Tizen.Applications.Tests 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(); @@ -32,7 +32,7 @@ namespace Tizen.Applications.Tests [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(); @@ -50,7 +50,7 @@ namespace Tizen.Applications.Tests [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; @@ -69,7 +69,7 @@ namespace Tizen.Applications.Tests [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); @@ -89,7 +89,7 @@ namespace Tizen.Applications.Tests [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; @@ -108,7 +108,7 @@ namespace Tizen.Applications.Tests [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(); @@ -126,7 +126,7 @@ namespace Tizen.Applications.Tests [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(); @@ -147,7 +147,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Alarm.Tests/testcase/TSAlarmManager.cs b/tct-suite-vs/Tizen.Alarm.Tests/testcase/TSAlarmManager.cs index 1fcfa55..ed43939 100755 --- a/tct-suite-vs/Tizen.Alarm.Tests/testcase/TSAlarmManager.cs +++ b/tct-suite-vs/Tizen.Alarm.Tests/testcase/TSAlarmManager.cs @@ -10,16 +10,16 @@ namespace Tizen.Applications.Tests 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(); @@ -33,7 +33,7 @@ namespace Tizen.Applications.Tests [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(); @@ -51,7 +51,7 @@ namespace Tizen.Applications.Tests [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; @@ -67,7 +67,7 @@ namespace Tizen.Applications.Tests [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(); @@ -85,7 +85,7 @@ namespace Tizen.Applications.Tests [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; @@ -101,7 +101,7 @@ namespace Tizen.Applications.Tests [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(); @@ -119,7 +119,7 @@ namespace Tizen.Applications.Tests [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; @@ -135,7 +135,7 @@ namespace Tizen.Applications.Tests [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); @@ -154,7 +154,7 @@ namespace Tizen.Applications.Tests [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; @@ -171,7 +171,7 @@ namespace Tizen.Applications.Tests [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 @@ -194,7 +194,7 @@ namespace Tizen.Applications.Tests [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; @@ -209,7 +209,7 @@ namespace Tizen.Applications.Tests [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 @@ -232,7 +232,7 @@ namespace Tizen.Applications.Tests [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; @@ -247,7 +247,7 @@ namespace Tizen.Applications.Tests [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 @@ -270,7 +270,7 @@ namespace Tizen.Applications.Tests [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; @@ -285,7 +285,7 @@ namespace Tizen.Applications.Tests [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 @@ -308,7 +308,7 @@ namespace Tizen.Applications.Tests [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; @@ -322,7 +322,7 @@ namespace Tizen.Applications.Tests [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 alarms; Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl(); @@ -344,7 +344,7 @@ namespace Tizen.Applications.Tests [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(); @@ -370,7 +370,7 @@ namespace Tizen.Applications.Tests [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 alarms; Tizen.Applications.AppControl appControl = new Tizen.Applications.AppControl(); @@ -394,7 +394,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSAppControlReceivedEventArgs.cs b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSAppControlReceivedEventArgs.cs index 946f03f..f0253c3 100755 --- a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSAppControlReceivedEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSAppControlReceivedEventArgs.cs @@ -9,7 +9,7 @@ namespace Tizen.Applications.Tests { [Description("AppControlReceivedEventArgs test")] public class AppControlReceivedEventArgsTests { - private static Tizen.Applications.AppControl appCtrl; + private Tizen.Applications.AppControl appCtrl; [SetUp] public void Init() { @@ -35,7 +35,7 @@ namespace Tizen.Applications.Tests { [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(); diff --git a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSApplicationDisabledEventArgs.cs b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSApplicationDisabledEventArgs.cs index a82b415..34e8d87 100755 --- a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSApplicationDisabledEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSApplicationDisabledEventArgs.cs @@ -37,7 +37,7 @@ namespace Tizen.Applications.Tests [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(); @@ -66,7 +66,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSApplicationEnabledEventArgs.cs b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSApplicationEnabledEventArgs.cs index 0fdc1cc..b28207f 100755 --- a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSApplicationEnabledEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSApplicationEnabledEventArgs.cs @@ -37,7 +37,7 @@ namespace Tizen.Applications.Tests [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(); @@ -66,7 +66,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSApplicationManager.cs b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSApplicationManager.cs index 1bb89b4..b37f47b 100755 --- a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSApplicationManager.cs +++ b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSApplicationManager.cs @@ -37,7 +37,7 @@ namespace Tizen.Applications.Tests [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(); @@ -65,7 +65,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSCoreApplication.cs b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSCoreApplication.cs index 1feb6cf..33c0e53 100755 --- a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSCoreApplication.cs +++ b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSCoreApplication.cs @@ -10,9 +10,9 @@ namespace Tizen.Applications.Tests [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() @@ -46,12 +46,12 @@ namespace Tizen.Applications.Tests [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(); @@ -76,7 +76,7 @@ namespace Tizen.Applications.Tests [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(); @@ -108,7 +108,7 @@ namespace Tizen.Applications.Tests [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(); @@ -138,7 +138,7 @@ namespace Tizen.Applications.Tests [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) { @@ -169,7 +169,7 @@ namespace Tizen.Applications.Tests [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) { @@ -199,7 +199,7 @@ namespace Tizen.Applications.Tests [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) { @@ -229,7 +229,7 @@ namespace Tizen.Applications.Tests [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) { @@ -256,7 +256,7 @@ namespace Tizen.Applications.Tests [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(); } @@ -274,7 +274,7 @@ namespace Tizen.Applications.Tests [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(); } @@ -292,7 +292,7 @@ namespace Tizen.Applications.Tests [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(); } @@ -310,7 +310,7 @@ namespace Tizen.Applications.Tests [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(); } @@ -330,7 +330,7 @@ namespace Tizen.Applications.Tests [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(); } @@ -350,7 +350,7 @@ namespace Tizen.Applications.Tests [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(); } @@ -371,7 +371,7 @@ namespace Tizen.Applications.Tests [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(); @@ -393,7 +393,7 @@ namespace Tizen.Applications.Tests [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(); @@ -413,7 +413,7 @@ namespace Tizen.Applications.Tests [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(); } @@ -432,7 +432,7 @@ namespace Tizen.Applications.Tests [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(); } @@ -451,7 +451,7 @@ namespace Tizen.Applications.Tests [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(); } diff --git a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSCoreUIApplication.cs b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSCoreUIApplication.cs index 0d9d989..590ac8f 100755 --- a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSCoreUIApplication.cs +++ b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSCoreUIApplication.cs @@ -9,7 +9,7 @@ namespace Tizen.Applications.Tests { [Description("UIApplication init test")] public class CoreUIApplicationTests { - private static bool s_appIsLaunch = false; + private bool s_appIsLaunch = false; [SetUp] public void Init() @@ -22,7 +22,7 @@ namespace Tizen.Applications.Tests { } [TearDown] - public static void Destroy() { + public void Destroy() { Log.Info("TCT", "Postconditions for each TEST"); } @@ -39,7 +39,7 @@ namespace Tizen.Applications.Tests { [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(); } @@ -56,7 +56,7 @@ namespace Tizen.Applications.Tests { [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(); } @@ -74,7 +74,7 @@ namespace Tizen.Applications.Tests { [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(); } @@ -91,7 +91,7 @@ namespace Tizen.Applications.Tests { [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(); } @@ -109,7 +109,7 @@ namespace Tizen.Applications.Tests { [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(); } @@ -127,7 +127,7 @@ namespace Tizen.Applications.Tests { [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(); } @@ -145,7 +145,7 @@ namespace Tizen.Applications.Tests { [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(); } } diff --git a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSDeviceOrientationEventArgs.cs b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSDeviceOrientationEventArgs.cs index 839db00..8080124 100755 --- a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSDeviceOrientationEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSDeviceOrientationEventArgs.cs @@ -9,8 +9,8 @@ namespace Tizen.Applications.Tests [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() @@ -26,7 +26,7 @@ namespace Tizen.Applications.Tests Log.Info("TCT", "Postconditions for each TEST"); } - private static void Confirm() + private void Confirm() { TestPage.GetInstance().UnlockUIButton(); ManualTest.Confirm(); @@ -50,7 +50,7 @@ namespace Tizen.Applications.Tests [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) { diff --git a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSLocaleChangedEventArgs.cs b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSLocaleChangedEventArgs.cs index 4173d84..8b020f9 100755 --- a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSLocaleChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSLocaleChangedEventArgs.cs @@ -37,7 +37,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSLowBatteryEventArgs.cs b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSLowBatteryEventArgs.cs index 72c4249..18344bc 100755 --- a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSLowBatteryEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSLowBatteryEventArgs.cs @@ -9,8 +9,8 @@ namespace Tizen.Applications.Tests [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() @@ -26,7 +26,7 @@ namespace Tizen.Applications.Tests Log.Info("TCT", "Postconditions for each TEST"); } - private static void Confirm() + private void Confirm() { TestPage.GetInstance().UnlockUIButton(); ManualTest.Confirm(); @@ -51,7 +51,7 @@ namespace Tizen.Applications.Tests [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) { diff --git a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSLowMemoryEventArgs.cs b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSLowMemoryEventArgs.cs index 529caad..b59a028 100755 --- a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSLowMemoryEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSLowMemoryEventArgs.cs @@ -9,8 +9,8 @@ namespace Tizen.Applications.Tests [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() @@ -26,7 +26,7 @@ namespace Tizen.Applications.Tests Log.Info("TCT", "Postconditions for each TEST"); } - private static async Task Confirm() + private async Task Confirm() { TestPage.GetInstance().UnlockUIButton(); ManualTest.Confirm(); @@ -55,7 +55,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSRegionFormatChangedEventArgs.cs b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSRegionFormatChangedEventArgs.cs index 5fc25c5..ec3d145 100755 --- a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSRegionFormatChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSRegionFormatChangedEventArgs.cs @@ -12,7 +12,7 @@ namespace Tizen.Applications.Tests class RegionFormatChangedEventArgs { private const string _testAppId = "org.tizen.ApplicationManual.Tizen"; - private static bool _flag; + private bool _flag; [SetUp] public void Init() @@ -28,7 +28,7 @@ namespace Tizen.Applications.Tests Log.Info("TCT", "Postconditions for each TEST"); } - public static async Task waitFlag() + public async Task waitFlag() { int count = 0; while (true) @@ -42,7 +42,7 @@ namespace Tizen.Applications.Tests } } - 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; @@ -64,7 +64,7 @@ namespace Tizen.Applications.Tests [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); diff --git a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSServiceApplication.cs b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSServiceApplication.cs index 12eb4ca..a1d29a9 100755 --- a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSServiceApplication.cs +++ b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSServiceApplication.cs @@ -9,7 +9,7 @@ namespace Tizen.Applications.Tests [Description("Tizen.Applications.ServiceApplication test")] public class ServiceApplicationTests { - private static bool s_appIsLaunch = false; + private bool s_appIsLaunch = false; [SetUp] public void Init() { @@ -38,7 +38,7 @@ namespace Tizen.Applications.Tests [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(); } @@ -57,7 +57,7 @@ namespace Tizen.Applications.Tests [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(); } diff --git a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSTizenSynchronizationContext.cs b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSTizenSynchronizationContext.cs index 923f8d1..a409a13 100755 --- a/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSTizenSynchronizationContext.cs +++ b/tct-suite-vs/Tizen.Applications.Manual.Tests/testcase/TSTizenSynchronizationContext.cs @@ -20,21 +20,21 @@ namespace Tizen.Applications.Tests [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()); } @@ -66,7 +66,7 @@ namespace Tizen.Applications.Tests [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: @@ -113,7 +113,7 @@ namespace Tizen.Applications.Tests [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: diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.ExtraDataCollection.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.ExtraDataCollection.cs index d770b8a..b441c73 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.ExtraDataCollection.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.ExtraDataCollection.cs @@ -11,15 +11,15 @@ namespace Tizen.Applications.Tests [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 mIEnumerableValue = new string[] { "value1", "value2", "value3" }; + public IEnumerable 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(); @@ -27,14 +27,14 @@ namespace Tizen.Applications.Tests } [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); @@ -48,7 +48,7 @@ namespace Tizen.Applications.Tests [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 @@ -71,7 +71,7 @@ namespace Tizen.Applications.Tests [Property("CRITERIA", "MR")] [Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")] [Property("COVPARAM", "string, IEnumerable")] - public static void Add_IENUM_VALUE_PARAM() + public void Add_IENUM_VALUE_PARAM() { /* SCENARIO * Assume that Get() method work correctly @@ -93,7 +93,7 @@ namespace Tizen.Applications.Tests [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 @@ -121,7 +121,7 @@ namespace Tizen.Applications.Tests [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 @@ -140,7 +140,7 @@ namespace Tizen.Applications.Tests [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 @@ -160,7 +160,7 @@ namespace Tizen.Applications.Tests [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 @@ -184,7 +184,7 @@ namespace Tizen.Applications.Tests [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 @@ -210,7 +210,7 @@ namespace Tizen.Applications.Tests [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 @@ -233,7 +233,7 @@ namespace Tizen.Applications.Tests [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"); @@ -247,7 +247,7 @@ namespace Tizen.Applications.Tests [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 @@ -271,7 +271,7 @@ namespace Tizen.Applications.Tests [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 @@ -289,7 +289,7 @@ namespace Tizen.Applications.Tests [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 @@ -312,7 +312,7 @@ namespace Tizen.Applications.Tests [Property("CRITERIA", "MR")] [Property("AUTHOR", "Dao Trong Hieu, tronghieu.d@samsung.com")] [Property("COVPARAM", "string, out IEnumerable")] - public static void TryGet_IENUM_VALUE_PARAM() + public void TryGet_IENUM_VALUE_PARAM() { /* SCENARIO * Add 2 elements to ExtraData @@ -335,7 +335,7 @@ namespace Tizen.Applications.Tests [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 = ""; diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs index afeb64b..a63bfde 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControl.cs @@ -11,17 +11,17 @@ namespace Tizen.Applications.Tests [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> _runningApps; - private static IEnumerable _list; + private Tizen.Applications.AppControl _appControl; + private Task> _runningApps; + private IEnumerable _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(); @@ -29,14 +29,14 @@ namespace Tizen.Applications.Tests } [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) @@ -50,7 +50,7 @@ namespace Tizen.Applications.Tests } } - 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; @@ -64,7 +64,7 @@ namespace Tizen.Applications.Tests [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(); @@ -79,7 +79,7 @@ namespace Tizen.Applications.Tests [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); @@ -96,7 +96,7 @@ namespace Tizen.Applications.Tests [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"; @@ -113,7 +113,7 @@ namespace Tizen.Applications.Tests [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"; @@ -130,7 +130,7 @@ namespace Tizen.Applications.Tests [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(_appControl.ExtraData); @@ -143,7 +143,7 @@ namespace Tizen.Applications.Tests [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; @@ -165,7 +165,7 @@ namespace Tizen.Applications.Tests [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/*"; @@ -182,7 +182,7 @@ namespace Tizen.Applications.Tests [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; @@ -209,7 +209,7 @@ namespace Tizen.Applications.Tests [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"; @@ -226,7 +226,7 @@ namespace Tizen.Applications.Tests [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; @@ -245,7 +245,7 @@ namespace Tizen.Applications.Tests [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 @@ -269,7 +269,7 @@ namespace Tizen.Applications.Tests [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"); @@ -304,7 +304,7 @@ namespace Tizen.Applications.Tests [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 @@ -341,7 +341,7 @@ namespace Tizen.Applications.Tests [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 @@ -375,7 +375,7 @@ namespace Tizen.Applications.Tests [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 @@ -414,7 +414,7 @@ namespace Tizen.Applications.Tests [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(() => Tizen.Applications.AppControl.SendTerminateRequest(null)); } @@ -426,13 +426,13 @@ namespace Tizen.Applications.Tests [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(() => 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; diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControlOperations.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControlOperations.cs index 03a64b7..071d6da 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControlOperations.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControlOperations.cs @@ -36,13 +36,13 @@ namespace Tizen.Applications.Tests 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() { } @@ -55,7 +55,7 @@ namespace Tizen.Applications.Tests [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; @@ -71,7 +71,7 @@ namespace Tizen.Applications.Tests [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; @@ -87,7 +87,7 @@ namespace Tizen.Applications.Tests [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; @@ -103,7 +103,7 @@ namespace Tizen.Applications.Tests [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; @@ -119,7 +119,7 @@ namespace Tizen.Applications.Tests [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; @@ -135,7 +135,7 @@ namespace Tizen.Applications.Tests [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; @@ -151,7 +151,7 @@ namespace Tizen.Applications.Tests [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; @@ -167,7 +167,7 @@ namespace Tizen.Applications.Tests [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; @@ -183,7 +183,7 @@ namespace Tizen.Applications.Tests [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; @@ -199,7 +199,7 @@ namespace Tizen.Applications.Tests [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; @@ -215,7 +215,7 @@ namespace Tizen.Applications.Tests [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; @@ -231,7 +231,7 @@ namespace Tizen.Applications.Tests [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; @@ -247,7 +247,7 @@ namespace Tizen.Applications.Tests [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; @@ -263,7 +263,7 @@ namespace Tizen.Applications.Tests [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; @@ -279,7 +279,7 @@ namespace Tizen.Applications.Tests [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; @@ -295,7 +295,7 @@ namespace Tizen.Applications.Tests [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; @@ -312,7 +312,7 @@ namespace Tizen.Applications.Tests [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; @@ -328,7 +328,7 @@ namespace Tizen.Applications.Tests [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; @@ -344,7 +344,7 @@ namespace Tizen.Applications.Tests [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; @@ -360,7 +360,7 @@ namespace Tizen.Applications.Tests [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; @@ -376,7 +376,7 @@ namespace Tizen.Applications.Tests [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; @@ -392,7 +392,7 @@ namespace Tizen.Applications.Tests [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; @@ -408,7 +408,7 @@ namespace Tizen.Applications.Tests [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; @@ -424,7 +424,7 @@ namespace Tizen.Applications.Tests [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; @@ -440,7 +440,7 @@ namespace Tizen.Applications.Tests [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; @@ -456,7 +456,7 @@ namespace Tizen.Applications.Tests [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; @@ -472,7 +472,7 @@ namespace Tizen.Applications.Tests [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; diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControlReceivedEventArgs.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControlReceivedEventArgs.cs index 1f1b530..4f53b44 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControlReceivedEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControlReceivedEventArgs.cs @@ -8,16 +8,16 @@ namespace Tizen.Applications.Tests 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"); } @@ -29,7 +29,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControlReplyCallback.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControlReplyCallback.cs index 2718944..ad019b8 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControlReplyCallback.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSAppControlReplyCallback.cs @@ -10,12 +10,12 @@ namespace Tizen.Applications.Tests 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(); @@ -23,14 +23,14 @@ namespace Tizen.Applications.Tests } [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) @@ -44,7 +44,7 @@ namespace Tizen.Applications.Tests } } - 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; @@ -57,7 +57,7 @@ namespace Tizen.Applications.Tests [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 diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplication.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplication.cs index a005466..8a82cc0 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplication.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplication.cs @@ -8,13 +8,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -26,7 +26,7 @@ namespace Tizen.Applications.Tests [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(); @@ -40,7 +40,7 @@ namespace Tizen.Applications.Tests [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; @@ -56,7 +56,7 @@ namespace Tizen.Applications.Tests [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 */ @@ -73,7 +73,7 @@ namespace Tizen.Applications.Tests [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/"; diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationInfo.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationInfo.cs index 1f554ee..5255f8e 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationInfo.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationInfo.cs @@ -12,7 +12,7 @@ namespace Tizen.Applications.Tests [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"; @@ -23,19 +23,19 @@ namespace Tizen.Applications.Tests 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() { } @@ -46,7 +46,7 @@ namespace Tizen.Applications.Tests [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(_appInfor); @@ -60,7 +60,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -72,7 +72,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -84,7 +84,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -96,7 +96,7 @@ namespace Tizen.Applications.Tests [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) @@ -114,7 +114,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -126,7 +126,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -138,7 +138,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -150,7 +150,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -162,7 +162,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -174,7 +174,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -186,7 +186,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -198,7 +198,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -210,7 +210,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -222,7 +222,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -234,7 +234,7 @@ namespace Tizen.Applications.Tests [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"); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationInfoFilter.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationInfoFilter.cs index 606c75a..cf7c6b6 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationInfoFilter.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationInfoFilter.cs @@ -12,13 +12,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -30,7 +30,7 @@ namespace Tizen.Applications.Tests [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(MyAppInforFilter); @@ -44,7 +44,7 @@ namespace Tizen.Applications.Tests [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; diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationInfoMetadataFilter.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationInfoMetadataFilter.cs index 8c8bf64..cc59614 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationInfoMetadataFilter.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationInfoMetadataFilter.cs @@ -9,13 +9,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -27,7 +27,7 @@ namespace Tizen.Applications.Tests [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(MyAppInforMetaDataFilter); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationLaunchedEventArgs.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationLaunchedEventArgs.cs index 9660a12..341f3c0 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationLaunchedEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationLaunchedEventArgs.cs @@ -9,21 +9,21 @@ namespace Tizen.Applications.Tests [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; @@ -37,14 +37,14 @@ namespace Tizen.Applications.Tests [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(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)) { @@ -61,7 +61,7 @@ namespace Tizen.Applications.Tests [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; diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationManager.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationManager.cs index d853ed4..a861732 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationManager.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationManager.cs @@ -16,18 +16,18 @@ namespace Tizen.Applications.Tests [Description("Tizen.Tizen.Application.ApplicationManager Test class for managing all applications")] public class ApplicationManagerTests { - private static IEnumerable _listApp; - private static IEnumerable _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 _listApp; + private IEnumerable _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"; @@ -37,7 +37,7 @@ namespace 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; @@ -47,7 +47,7 @@ namespace Tizen.Applications.Tests } [TearDown] - public static void Destroy() + public void Destroy() { if (_needUnsubscribe1 == true) ApplicationManager.ApplicationLaunched -= Eventlaunched; @@ -65,7 +65,7 @@ namespace Tizen.Applications.Tests [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); @@ -93,7 +93,7 @@ namespace Tizen.Applications.Tests [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(); @@ -114,7 +114,7 @@ namespace Tizen.Applications.Tests [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 @@ -154,7 +154,7 @@ namespace Tizen.Applications.Tests [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: @@ -205,7 +205,7 @@ namespace Tizen.Applications.Tests [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(); @@ -225,7 +225,7 @@ namespace Tizen.Applications.Tests [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(); @@ -238,7 +238,7 @@ namespace Tizen.Applications.Tests 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)) { @@ -255,7 +255,7 @@ namespace Tizen.Applications.Tests [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; @@ -294,7 +294,7 @@ namespace Tizen.Applications.Tests } } - 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)) @@ -308,7 +308,7 @@ namespace Tizen.Applications.Tests [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 @@ -340,7 +340,7 @@ namespace Tizen.Applications.Tests [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, "GetRecentApplications should return IEnumerable"); @@ -358,7 +358,7 @@ namespace Tizen.Applications.Tests 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)) diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationRunningContext.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationRunningContext.cs index 54c7300..25cf993 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationRunningContext.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationRunningContext.cs @@ -25,14 +25,14 @@ namespace Tizen.Applications.Tests [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) @@ -48,7 +48,7 @@ namespace Tizen.Applications.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _context = null; } @@ -61,7 +61,7 @@ namespace Tizen.Applications.Tests [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."); @@ -76,7 +76,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -88,7 +88,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -100,7 +100,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -112,7 +112,7 @@ namespace Tizen.Applications.Tests [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) @@ -130,7 +130,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -142,7 +142,7 @@ namespace Tizen.Applications.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "MR")] [Property("AUTHOR", "Hwankyu Jhun, h.jhun@samsung.com")] - public static void Resume_UIApp() + public void Resume_UIApp() { try { diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationTerminatedEventArgs.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationTerminatedEventArgs.cs index aefffd5..05231c0 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationTerminatedEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSApplicationTerminatedEventArgs.cs @@ -9,10 +9,10 @@ namespace Tizen.Applications.Tests 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) @@ -27,14 +27,14 @@ namespace Tizen.Applications.Tests } [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; @@ -48,14 +48,14 @@ namespace Tizen.Applications.Tests [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(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)) @@ -69,7 +69,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSBundle.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSBundle.cs index 3c3a3b9..2387669 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSBundle.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSBundle.cs @@ -21,20 +21,20 @@ namespace Tizen.Applications.Tests { 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 _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 _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; @@ -47,7 +47,7 @@ namespace Tizen.Applications.Tests [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(); @@ -62,7 +62,7 @@ namespace Tizen.Applications.Tests [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"); @@ -76,7 +76,7 @@ namespace Tizen.Applications.Tests [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(() => myBundle = new Bundle(null)); @@ -89,7 +89,7 @@ namespace Tizen.Applications.Tests [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(); @@ -108,7 +108,7 @@ namespace Tizen.Applications.Tests [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); @@ -141,7 +141,7 @@ namespace Tizen.Applications.Tests [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); @@ -171,7 +171,7 @@ namespace Tizen.Applications.Tests [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); @@ -187,7 +187,7 @@ namespace Tizen.Applications.Tests [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); @@ -219,7 +219,7 @@ namespace Tizen.Applications.Tests [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); @@ -253,7 +253,7 @@ namespace Tizen.Applications.Tests [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); @@ -287,7 +287,7 @@ namespace Tizen.Applications.Tests [Property("CRITERIA", "MR")] [Property("AUTHOR", "Nguyen Duc Han, duchan.ng@samsung.com")] [Property("COVPARAM", "string, System.Collections.Generic.IEnumerable")] - public static void AddItem_STRING_IENUMERABLE_STRING() + public void AddItem_STRING_IENUMERABLE_STRING() { Bundle MyBundle = new Bundle(); MyBundle.AddItem(Key, _stringIEnumValue); @@ -321,7 +321,7 @@ namespace Tizen.Applications.Tests [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); @@ -335,7 +335,7 @@ namespace Tizen.Applications.Tests [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); @@ -351,7 +351,7 @@ namespace Tizen.Applications.Tests [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); @@ -368,7 +368,7 @@ namespace Tizen.Applications.Tests [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); @@ -388,7 +388,7 @@ namespace Tizen.Applications.Tests [Property("CRITERIA", "MR")] [Property("AUTHOR", "Nguyen Duc Han, duchan.ng@samsung.com")] [Property("COVPARAM", "string, out IEnumerable")] - public static void TryGetItem_IENUMERABLE_STRING() + public void TryGetItem_IENUMERABLE_STRING() { Bundle MyBundle = new Bundle(); MyBundle.AddItem(Key, _stringIEnumValue); @@ -409,7 +409,7 @@ namespace Tizen.Applications.Tests [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"); @@ -433,7 +433,7 @@ namespace Tizen.Applications.Tests [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"); @@ -456,7 +456,7 @@ namespace Tizen.Applications.Tests [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(); @@ -473,7 +473,7 @@ namespace Tizen.Applications.Tests [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; diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSCoreUIApplication.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSCoreUIApplication.cs index c96cc5a..5afb321 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSCoreUIApplication.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSCoreUIApplication.cs @@ -8,13 +8,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -26,7 +26,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSDeviceOrientationEventArgs.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSDeviceOrientationEventArgs.cs index 859fe6d..f0321df 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSDeviceOrientationEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSDeviceOrientationEventArgs.cs @@ -9,13 +9,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -28,7 +28,7 @@ namespace Tizen.Applications.Tests [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(myDeviceOrientationEventArgs); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSDirectoryInfo.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSDirectoryInfo.cs index 4097323..3e2b695 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSDirectoryInfo.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSDirectoryInfo.cs @@ -7,7 +7,7 @@ namespace Tizen.Applications.Tests [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/"; @@ -18,14 +18,14 @@ namespace Tizen.Applications.Tests //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"); } @@ -37,7 +37,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -49,7 +49,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -61,7 +61,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -73,7 +73,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -85,7 +85,7 @@ namespace Tizen.Applications.Tests [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"); @@ -98,7 +98,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -110,7 +110,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -122,7 +122,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -134,7 +134,7 @@ namespace Tizen.Applications.Tests [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"); } @@ -146,7 +146,7 @@ namespace Tizen.Applications.Tests [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"); } diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.AppNotFoundException.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.AppNotFoundException.cs index ae68387..3497832 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.AppNotFoundException.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.AppNotFoundException.cs @@ -9,13 +9,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -27,7 +27,7 @@ namespace Tizen.Applications.Tests [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(appNotFoundException); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.LaunchFailedException.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.LaunchFailedException.cs index 1e75815..2d75cf7 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.LaunchFailedException.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.LaunchFailedException.cs @@ -9,13 +9,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -27,7 +27,7 @@ namespace Tizen.Applications.Tests [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(launchFailedException); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.LaunchRejectedException.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.LaunchRejectedException.cs index aa1abd1..0d3005d 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.LaunchRejectedException.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.LaunchRejectedException.cs @@ -9,13 +9,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -27,7 +27,7 @@ namespace Tizen.Applications.Tests [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(launchRejectedException); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.OutOfMemoryException.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.OutOfMemoryException.cs index 26e8f82..7d4f644 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.OutOfMemoryException.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.OutOfMemoryException.cs @@ -9,13 +9,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -27,7 +27,7 @@ namespace Tizen.Applications.Tests [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(outOfMemoryException); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.PermissionDeniedException.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.PermissionDeniedException.cs index a3232bc..78ddf8c 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.PermissionDeniedException.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSExceptions.PermissionDeniedException.cs @@ -9,13 +9,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -27,7 +27,7 @@ namespace Tizen.Applications.Tests [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(permissionDeniedException); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSLocaleChangedEventArgs.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSLocaleChangedEventArgs.cs index 80b127e..fbeac04 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSLocaleChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSLocaleChangedEventArgs.cs @@ -9,13 +9,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -27,7 +27,7 @@ namespace Tizen.Applications.Tests [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"; diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSLowBatteryEventArgs.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSLowBatteryEventArgs.cs index 5bf6115..3b90ef7 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSLowBatteryEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSLowBatteryEventArgs.cs @@ -9,13 +9,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -27,7 +27,7 @@ namespace Tizen.Applications.Tests [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(myLowBatteryEventArgs); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSLowMemoryEventArgs.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSLowMemoryEventArgs.cs index 11f6758..ed9e229 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSLowMemoryEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSLowMemoryEventArgs.cs @@ -9,13 +9,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -27,7 +27,7 @@ namespace Tizen.Applications.Tests [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); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSMessagePort.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSMessagePort.cs index 0888a2c..1093389 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSMessagePort.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSMessagePort.cs @@ -13,26 +13,26 @@ namespace Tizen.Applications.Tests [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> _runningApps; - private static Bundle _message; - private static RemoteValues _remote; - private static IEnumerable _list; + protected readonly string LogTag = typeof(Program).Namespace; + private Tizen.Applications.Messages.MessagePort _messagePort; + private Task> _runningApps; + private Bundle _message; + private RemoteValues _remote; + private IEnumerable _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; @@ -47,7 +47,7 @@ namespace Tizen.Applications.Tests } } - static void MessageReceivedCallback(object sender, MessageReceivedEventArgs e) + void MessageReceivedCallback(object sender, MessageReceivedEventArgs e) { Log.Debug(LogTag, "receive !! "); _message = e.Message; @@ -61,7 +61,7 @@ namespace Tizen.Applications.Tests } } - 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) { } @@ -73,7 +73,7 @@ namespace Tizen.Applications.Tests [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); @@ -91,7 +91,7 @@ namespace Tizen.Applications.Tests [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); @@ -106,7 +106,7 @@ namespace Tizen.Applications.Tests [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); @@ -121,7 +121,7 @@ namespace Tizen.Applications.Tests [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 @@ -144,7 +144,7 @@ namespace Tizen.Applications.Tests [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 @@ -168,7 +168,7 @@ namespace Tizen.Applications.Tests [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 @@ -191,7 +191,7 @@ namespace Tizen.Applications.Tests [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 and run it @@ -245,7 +245,7 @@ namespace Tizen.Applications.Tests [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 and run it @@ -294,7 +294,7 @@ namespace Tizen.Applications.Tests [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 and run it @@ -344,7 +344,7 @@ namespace Tizen.Applications.Tests //[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 and run it // * 2)Init MessagePort -> Start listening -> Send a message to remoteApp and wait for callback message to check event @@ -391,7 +391,7 @@ namespace Tizen.Applications.Tests //[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 and run it // * 2)Init MessagePort -> Start listening -> Send a message to remoteApp and wait for callback message to check event diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSMessageReceivedEventArgs.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSMessageReceivedEventArgs.cs index 9c08e52..0198e20 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSMessageReceivedEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSMessageReceivedEventArgs.cs @@ -13,25 +13,25 @@ namespace Tizen.Applications.Tests [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 _list; + protected readonly string LogTag = typeof(Program).Namespace; + private Tizen.Applications.Messages.MessagePort _messagePort; + private Bundle _message; + private RemoteValues _remote; + private IEnumerable _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) { @@ -46,7 +46,7 @@ namespace Tizen.Applications.Tests [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(); @@ -60,7 +60,7 @@ namespace Tizen.Applications.Tests [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 and run it @@ -113,7 +113,7 @@ namespace Tizen.Applications.Tests [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 and run it @@ -161,7 +161,7 @@ namespace Tizen.Applications.Tests _remote = null; } - static void MessageReceivedCallback(object sender, MessageReceivedEventArgs e) + void MessageReceivedCallback(object sender, MessageReceivedEventArgs e) { Log.Debug(LogTag, "receive !! "); _message = e.Message; diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreference.EventContext.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreference.EventContext.cs index 00c8acf..42cadb6 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreference.EventContext.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreference.EventContext.cs @@ -10,29 +10,29 @@ namespace Tizen.Applications.Tests [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) @@ -56,7 +56,7 @@ namespace Tizen.Applications.Tests [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"); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreference.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreference.cs index ff6460d..bfa2cdc 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreference.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreference.cs @@ -11,13 +11,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -29,7 +29,7 @@ namespace Tizen.Applications.Tests [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"); @@ -57,7 +57,7 @@ namespace Tizen.Applications.Tests [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 "); @@ -85,7 +85,7 @@ namespace Tizen.Applications.Tests [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"); @@ -114,7 +114,7 @@ namespace Tizen.Applications.Tests [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"); @@ -142,7 +142,7 @@ namespace Tizen.Applications.Tests [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"); @@ -170,7 +170,7 @@ namespace Tizen.Applications.Tests [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"); @@ -199,7 +199,7 @@ namespace Tizen.Applications.Tests [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"); @@ -227,7 +227,7 @@ namespace Tizen.Applications.Tests [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"); @@ -255,7 +255,7 @@ namespace Tizen.Applications.Tests [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"); @@ -284,7 +284,7 @@ namespace Tizen.Applications.Tests [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"); @@ -312,7 +312,7 @@ namespace Tizen.Applications.Tests [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"); @@ -340,7 +340,7 @@ namespace Tizen.Applications.Tests [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"); @@ -369,7 +369,7 @@ namespace Tizen.Applications.Tests [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"); @@ -386,7 +386,7 @@ namespace Tizen.Applications.Tests [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"); @@ -403,7 +403,7 @@ namespace Tizen.Applications.Tests [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"); @@ -418,7 +418,7 @@ namespace Tizen.Applications.Tests [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"); @@ -461,7 +461,7 @@ namespace Tizen.Applications.Tests [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"); @@ -475,7 +475,7 @@ namespace Tizen.Applications.Tests [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"); @@ -523,7 +523,7 @@ namespace Tizen.Applications.Tests [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"); @@ -566,7 +566,7 @@ namespace Tizen.Applications.Tests [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"); @@ -581,7 +581,7 @@ namespace Tizen.Applications.Tests [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"); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreferenceChangedEventArgs.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreferenceChangedEventArgs.cs index 5027209..7172ff7 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreferenceChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSPreferenceChangedEventArgs.cs @@ -10,17 +10,17 @@ namespace Tizen.Applications.Tests [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"); } @@ -32,21 +32,21 @@ namespace Tizen.Applications.Tests [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(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) @@ -70,7 +70,7 @@ namespace Tizen.Applications.Tests [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"); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.Exceptions.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.Exceptions.cs index 1d824f0..f9788b9 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.Exceptions.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.Exceptions.cs @@ -11,13 +11,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -29,7 +29,7 @@ namespace Tizen.Applications.Tests [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(); @@ -45,7 +45,7 @@ namespace Tizen.Applications.Tests [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(); @@ -61,7 +61,7 @@ namespace Tizen.Applications.Tests [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(); @@ -77,7 +77,7 @@ namespace Tizen.Applications.Tests [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(); @@ -93,7 +93,7 @@ namespace Tizen.Applications.Tests [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(); @@ -109,7 +109,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.Parcel.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.Parcel.cs index 2bd5491..6055edd 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.Parcel.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.Parcel.cs @@ -55,10 +55,10 @@ namespace Tizen.Applications.Tests [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(); @@ -66,7 +66,7 @@ namespace Tizen.Applications.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); _proxy.Dispose(); @@ -80,7 +80,7 @@ namespace Tizen.Applications.Tests [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()) @@ -98,7 +98,7 @@ namespace Tizen.Applications.Tests [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 * */ @@ -119,7 +119,7 @@ namespace Tizen.Applications.Tests [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 */ @@ -143,7 +143,7 @@ namespace Tizen.Applications.Tests [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 { @@ -167,7 +167,7 @@ namespace Tizen.Applications.Tests [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()) @@ -193,7 +193,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -215,7 +215,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -237,7 +237,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -259,7 +259,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -281,7 +281,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -303,7 +303,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -325,7 +325,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -347,7 +347,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -369,7 +369,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -399,7 +399,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -421,7 +421,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -447,7 +447,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -469,7 +469,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -491,7 +491,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -513,7 +513,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -535,7 +535,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -557,7 +557,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -579,7 +579,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -601,7 +601,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -623,7 +623,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -655,7 +655,7 @@ namespace Tizen.Applications.Tests [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()) { @@ -677,7 +677,7 @@ namespace Tizen.Applications.Tests [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()) { diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.ProxyBase.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.ProxyBase.cs index 4c9d0b6..6eb7f6f 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.ProxyBase.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.ProxyBase.cs @@ -10,7 +10,7 @@ namespace Tizen.Applications.Tests [Description("Tizen.Application.RPCPort.ProxyBase Tests")] public class ProxyBaseTests { - private static Proxy _proxy; + private Proxy _proxy; public class Proxy : ProxyBase { @@ -90,7 +90,7 @@ namespace Tizen.Applications.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); _proxy = new Proxy(); @@ -98,7 +98,7 @@ namespace Tizen.Applications.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); _proxy.Dispose(); @@ -112,7 +112,7 @@ namespace Tizen.Applications.Tests [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(); @@ -127,7 +127,7 @@ namespace Tizen.Applications.Tests [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); @@ -143,7 +143,7 @@ namespace Tizen.Applications.Tests [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); @@ -169,7 +169,7 @@ namespace Tizen.Applications.Tests [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(); @@ -195,7 +195,7 @@ namespace Tizen.Applications.Tests [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(); @@ -234,7 +234,7 @@ namespace Tizen.Applications.Tests [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); @@ -250,7 +250,7 @@ namespace Tizen.Applications.Tests [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); @@ -274,7 +274,7 @@ namespace Tizen.Applications.Tests [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(); @@ -302,7 +302,7 @@ namespace Tizen.Applications.Tests [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); @@ -322,7 +322,7 @@ namespace Tizen.Applications.Tests [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); @@ -353,7 +353,7 @@ namespace Tizen.Applications.Tests [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); @@ -370,7 +370,7 @@ namespace Tizen.Applications.Tests [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); @@ -387,7 +387,7 @@ namespace Tizen.Applications.Tests [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); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.StubBase.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.StubBase.cs index ddae7b5..c5a3882 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.StubBase.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRPCPort.StubBase.cs @@ -11,7 +11,7 @@ namespace Tizen.Applications.Tests [Description("Tizen.Application.RPCPort.StubBase Tests")] public class StubBaseTests { - private static Stub _stub; + private Stub _stub; private static bool _disposed; public class Stub : StubBase @@ -82,14 +82,14 @@ namespace Tizen.Applications.Tests } [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(); @@ -103,7 +103,7 @@ namespace Tizen.Applications.Tests [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(_stub); Assert.IsNotNull(_stub, "Stub shouldn't be null"); @@ -116,7 +116,7 @@ namespace Tizen.Applications.Tests [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(); @@ -149,7 +149,7 @@ namespace Tizen.Applications.Tests [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(); @@ -178,7 +178,7 @@ namespace Tizen.Applications.Tests [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(); @@ -210,7 +210,7 @@ namespace Tizen.Applications.Tests [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(); @@ -241,7 +241,7 @@ namespace Tizen.Applications.Tests [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(); @@ -275,7 +275,7 @@ namespace Tizen.Applications.Tests [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(); @@ -310,7 +310,7 @@ namespace Tizen.Applications.Tests [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(); @@ -345,7 +345,7 @@ namespace Tizen.Applications.Tests [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(); @@ -392,7 +392,7 @@ namespace Tizen.Applications.Tests [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(); @@ -422,7 +422,7 @@ namespace Tizen.Applications.Tests [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 */ @@ -456,7 +456,7 @@ namespace Tizen.Applications.Tests [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 */ @@ -479,7 +479,7 @@ namespace Tizen.Applications.Tests [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 */ @@ -512,7 +512,7 @@ namespace Tizen.Applications.Tests [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 */ @@ -545,7 +545,7 @@ namespace Tizen.Applications.Tests [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")); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSReceivedAppControl.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSReceivedAppControl.cs index fec1fa0..6f09e9f 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSReceivedAppControl.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSReceivedAppControl.cs @@ -11,17 +11,17 @@ namespace Tizen.Applications.Tests [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> _runningApps; - private static IEnumerable _list; - private static string _CallerAppId; - private static string _IsReplyRequest; - private static bool _flag; + private Task> _runningApps; + private IEnumerable _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(); @@ -29,7 +29,7 @@ namespace Tizen.Applications.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); _appCtrl = null; @@ -38,7 +38,7 @@ namespace Tizen.Applications.Tests _IsReplyRequest = ""; } - public static async Task waitMe() + public async Task waitMe() { int count = 0; while (true) @@ -52,7 +52,7 @@ namespace Tizen.Applications.Tests } } - 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"; @@ -73,7 +73,7 @@ namespace Tizen.Applications.Tests [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"); @@ -92,7 +92,7 @@ namespace Tizen.Applications.Tests [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(() => new ReceivedAppControl(null)); } @@ -104,7 +104,7 @@ namespace Tizen.Applications.Tests [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 @@ -142,7 +142,7 @@ namespace Tizen.Applications.Tests [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 @@ -183,7 +183,7 @@ namespace Tizen.Applications.Tests [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 diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRecentApplicationControl.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRecentApplicationControl.cs index bab2474..b8f2cc1 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRecentApplicationControl.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRecentApplicationControl.cs @@ -11,12 +11,12 @@ namespace Tizen.Applications.Tests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -28,7 +28,7 @@ namespace Tizen.Applications.Tests [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 appList = ApplicationManager.GetRecentApplications(); const string testAppId = "Tizen.Applications.Tests"; @@ -68,7 +68,7 @@ namespace 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(); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRecentApplicationInfo.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRecentApplicationInfo.cs index 566a031..b95d299 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRecentApplicationInfo.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRecentApplicationInfo.cs @@ -11,17 +11,17 @@ namespace Tizen.Applications.Tests [Description("Tizen.Application.RecentApplicationInfo Tests")] public class RecentApplicationInfoTests { - static IEnumerable infos; + IEnumerable 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 @@ -68,7 +68,7 @@ namespace Tizen.Applications.Tests } [SetUp] - public static void Init() + public void Init() { int count = 0; while (true) @@ -98,7 +98,7 @@ namespace Tizen.Applications.Tests } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -109,7 +109,7 @@ namespace Tizen.Applications.Tests [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(_testApp.InstanceId, "Type of Instance ID is not correct"); @@ -123,7 +123,7 @@ namespace Tizen.Applications.Tests [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(_testApp.InstanceName, "Type of Instance Name is not correct"); @@ -137,7 +137,7 @@ namespace Tizen.Applications.Tests [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(_testApp.Arg, "Type of Arguements is not correct"); @@ -151,7 +151,7 @@ namespace Tizen.Applications.Tests [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(_testApp.Uri, "Type of Uri is not correct"); @@ -165,7 +165,7 @@ namespace Tizen.Applications.Tests [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(_testApp.LaunchTime, "Type of LaunchTime is not correct"); Assert.IsNotNull(_testApp.LaunchTime, "LaunchTime is not correct"); @@ -178,7 +178,7 @@ namespace Tizen.Applications.Tests [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(_testApp.Controller, "Type of Controller is not correct"); Assert.IsNotNull(_testApp.Controller, "Controller is not correct"); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRegionFormatChangedEventArgs.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRegionFormatChangedEventArgs.cs index 560842e..0b4ea5a 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRegionFormatChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRegionFormatChangedEventArgs.cs @@ -8,18 +8,18 @@ namespace Tizen.Applications.Tests [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; @@ -33,7 +33,7 @@ namespace Tizen.Applications.Tests [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(myRegionFormatChangedEventArgs); @@ -47,7 +47,7 @@ namespace Tizen.Applications.Tests [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"); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemotePort.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemotePort.cs index 58d580a..bf70cb2 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemotePort.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemotePort.cs @@ -11,22 +11,22 @@ namespace Tizen.Applications.Tests [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> _runningApps; - private static IEnumerable _list; - private static bool _flag; + private Task> _runningApps; + private IEnumerable _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"); @@ -44,7 +44,7 @@ namespace Tizen.Applications.Tests _runningApps = null; } } - private static void RemotePortStateChangedCallback(object sender, RemotePortStateChangedEventArgs e) + private void RemotePortStateChangedCallback(object sender, RemotePortStateChangedEventArgs e) { _flag = true; Log.Debug("REMOTEPORT", "@@# RemotePortStateChangedCallback : " + _flag); @@ -57,7 +57,7 @@ namespace Tizen.Applications.Tests [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 */ @@ -73,7 +73,7 @@ namespace Tizen.Applications.Tests [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 */ @@ -90,7 +90,7 @@ namespace Tizen.Applications.Tests [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 */ @@ -107,7 +107,7 @@ namespace Tizen.Applications.Tests [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 */ @@ -124,7 +124,7 @@ namespace Tizen.Applications.Tests [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 */ @@ -158,7 +158,7 @@ namespace Tizen.Applications.Tests [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; diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemotePortStateChangedEventArgs.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemotePortStateChangedEventArgs.cs index a6214ff..3a23de3 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemotePortStateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemotePortStateChangedEventArgs.cs @@ -11,24 +11,24 @@ namespace Tizen.Applications.Tests [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> _runningApps; - private static IEnumerable _list; - private static RemotePortStateChangedEventArgs _changeState; - private static bool _flag; - private static State _state; + private Task> _runningApps; + private IEnumerable _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"); @@ -58,7 +58,7 @@ namespace Tizen.Applications.Tests [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 */ @@ -67,7 +67,7 @@ namespace Tizen.Applications.Tests Assert.IsInstanceOf(_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; @@ -81,7 +81,7 @@ namespace Tizen.Applications.Tests [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; diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemoteValues.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemoteValues.cs index 30e3d4c..e23c797 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemoteValues.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSRemoteValues.cs @@ -8,18 +8,18 @@ namespace Tizen.Applications.Tests [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"); @@ -33,7 +33,7 @@ namespace Tizen.Applications.Tests [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(); @@ -47,7 +47,7 @@ namespace Tizen.Applications.Tests [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(); @@ -65,7 +65,7 @@ namespace Tizen.Applications.Tests [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(); @@ -83,7 +83,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSResourceManager.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSResourceManager.cs index bea947d..546efc6 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSResourceManager.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSResourceManager.cs @@ -12,13 +12,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -30,7 +30,7 @@ namespace Tizen.Applications.Tests [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"); @@ -46,7 +46,7 @@ namespace Tizen.Applications.Tests [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"); @@ -62,7 +62,7 @@ namespace Tizen.Applications.Tests [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"); @@ -78,7 +78,7 @@ namespace Tizen.Applications.Tests [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"); @@ -94,7 +94,7 @@ namespace Tizen.Applications.Tests [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"); @@ -110,7 +110,7 @@ namespace Tizen.Applications.Tests [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(() => ResourceManager.GetPath(ResourceManager.Category.Image, "Invalid.png")); } @@ -122,7 +122,7 @@ namespace Tizen.Applications.Tests [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"); @@ -137,7 +137,7 @@ namespace Tizen.Applications.Tests [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"); @@ -153,7 +153,7 @@ namespace Tizen.Applications.Tests [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"); @@ -169,7 +169,7 @@ namespace Tizen.Applications.Tests [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"); @@ -185,7 +185,7 @@ namespace Tizen.Applications.Tests [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"); @@ -201,7 +201,7 @@ namespace Tizen.Applications.Tests [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(() => ResourceManager.GetPath(ResourceManager.Category.Image, null)); } diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSSafeAppControlHandle.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSSafeAppControlHandle.cs index 5d30e4f..77f20fd 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSSafeAppControlHandle.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSSafeAppControlHandle.cs @@ -10,13 +10,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -28,7 +28,7 @@ namespace Tizen.Applications.Tests [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(); @@ -43,7 +43,7 @@ namespace Tizen.Applications.Tests [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); @@ -57,7 +57,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSSafeBundleHandle.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSSafeBundleHandle.cs index 1980e4f..a86737b 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSSafeBundleHandle.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSSafeBundleHandle.cs @@ -10,13 +10,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -28,7 +28,7 @@ namespace Tizen.Applications.Tests [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(); @@ -43,7 +43,7 @@ namespace Tizen.Applications.Tests [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); @@ -57,7 +57,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSServiceApplication.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSServiceApplication.cs index 35f0162..375c07f 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSServiceApplication.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSServiceApplication.cs @@ -9,13 +9,13 @@ namespace Tizen.Applications.Tests 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"); } @@ -27,7 +27,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSTizenSynchronizationContext.cs b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSTizenSynchronizationContext.cs index 0de1022..206158d 100755 --- a/tct-suite-vs/Tizen.Applications.Tests/testcase/TSTizenSynchronizationContext.cs +++ b/tct-suite-vs/Tizen.Applications.Tests/testcase/TSTizenSynchronizationContext.cs @@ -18,13 +18,13 @@ namespace Tizen.Applications.Tests { [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"); } @@ -36,7 +36,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.AttachPanel.Manual.Tests/testcase/TSAttachPanel.cs b/tct-suite-vs/Tizen.AttachPanel.Manual.Tests/testcase/TSAttachPanel.cs index 55bc5c2..597b6b3 100755 --- a/tct-suite-vs/Tizen.AttachPanel.Manual.Tests/testcase/TSAttachPanel.cs +++ b/tct-suite-vs/Tizen.AttachPanel.Manual.Tests/testcase/TSAttachPanel.cs @@ -10,11 +10,11 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests [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"); @@ -28,7 +28,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); @@ -40,7 +40,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests _attachPanel.Hide(true); } - private static void ResultCB(object sender, EventArgs e) + private void ResultCB(object sender, EventArgs e) { ManualTest.Confirm(); } @@ -57,7 +57,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests [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()) { @@ -70,7 +70,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests _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) @@ -90,7 +90,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests [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()) { diff --git a/tct-suite-vs/Tizen.AttachPanel.Manual.Tests/testcase/TSResultEventArgs.cs b/tct-suite-vs/Tizen.AttachPanel.Manual.Tests/testcase/TSResultEventArgs.cs index 151f654..c41f2f5 100755 --- a/tct-suite-vs/Tizen.AttachPanel.Manual.Tests/testcase/TSResultEventArgs.cs +++ b/tct-suite-vs/Tizen.AttachPanel.Manual.Tests/testcase/TSResultEventArgs.cs @@ -10,11 +10,11 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests [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"); @@ -28,7 +28,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); @@ -52,7 +52,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests [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()) { @@ -83,7 +83,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests [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()) { @@ -114,7 +114,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests [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()) { diff --git a/tct-suite-vs/Tizen.AttachPanel.Manual.Tests/testcase/TSStateEventArgs.cs b/tct-suite-vs/Tizen.AttachPanel.Manual.Tests/testcase/TSStateEventArgs.cs index 652fa53..a714698 100755 --- a/tct-suite-vs/Tizen.AttachPanel.Manual.Tests/testcase/TSStateEventArgs.cs +++ b/tct-suite-vs/Tizen.AttachPanel.Manual.Tests/testcase/TSStateEventArgs.cs @@ -10,18 +10,18 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests [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"); @@ -45,7 +45,7 @@ namespace Tizen.Applications.AttachPanel.Manual.Tests [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()) { diff --git a/tct-suite-vs/Tizen.AttachPanel.Tests/testcase/TSAttachPanel.cs b/tct-suite-vs/Tizen.AttachPanel.Tests/testcase/TSAttachPanel.cs index 7436d8b..e4a2379 100755 --- a/tct-suite-vs/Tizen.AttachPanel.Tests/testcase/TSAttachPanel.cs +++ b/tct-suite-vs/Tizen.AttachPanel.Tests/testcase/TSAttachPanel.cs @@ -28,9 +28,9 @@ namespace Tizen.Applications.AttachPanel.Tests [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() { @@ -47,7 +47,7 @@ namespace Tizen.Applications.AttachPanel.Tests [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); if (_conformant == IntPtr.Zero) @@ -59,7 +59,7 @@ namespace Tizen.Applications.AttachPanel.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); @@ -79,7 +79,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -103,7 +103,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -125,7 +125,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -146,7 +146,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -177,7 +177,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -199,7 +199,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -228,7 +228,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -260,7 +260,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -281,7 +281,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -309,7 +309,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -334,7 +334,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -355,7 +355,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -380,7 +380,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -401,7 +401,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -427,7 +427,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -454,7 +454,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { @@ -480,7 +480,7 @@ namespace Tizen.Applications.AttachPanel.Tests [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) { diff --git a/tct-suite-vs/Tizen.AudioIO.Tests/testcase/AudioIO/TSAsyncAudioCapture.cs b/tct-suite-vs/Tizen.AudioIO.Tests/testcase/AudioIO/TSAsyncAudioCapture.cs index 401e800..c9f0339 100644 --- a/tct-suite-vs/Tizen.AudioIO.Tests/testcase/AudioIO/TSAsyncAudioCapture.cs +++ b/tct-suite-vs/Tizen.AudioIO.Tests/testcase/AudioIO/TSAsyncAudioCapture.cs @@ -10,8 +10,8 @@ namespace Tizen.Multimedia.Tests 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() @@ -155,7 +155,7 @@ namespace Tizen.Multimedia.Tests [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; @@ -176,7 +176,7 @@ namespace Tizen.Multimedia.Tests [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; diff --git a/tct-suite-vs/Tizen.AudioIO.Tests/testcase/AudioIO/TSAudioCapture.cs b/tct-suite-vs/Tizen.AudioIO.Tests/testcase/AudioIO/TSAudioCapture.cs index 259cd67..67e7b48 100644 --- a/tct-suite-vs/Tizen.AudioIO.Tests/testcase/AudioIO/TSAudioCapture.cs +++ b/tct-suite-vs/Tizen.AudioIO.Tests/testcase/AudioIO/TSAudioCapture.cs @@ -10,8 +10,8 @@ namespace Tizen.Multimedia.Tests 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() @@ -469,7 +469,7 @@ namespace Tizen.Multimedia.Tests [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; diff --git a/tct-suite-vs/Tizen.Badge.Manual.Tests/testcase/TSBadgeControl.cs b/tct-suite-vs/Tizen.Badge.Manual.Tests/testcase/TSBadgeControl.cs index 15f4198..fa6db73 100755 --- a/tct-suite-vs/Tizen.Badge.Manual.Tests/testcase/TSBadgeControl.cs +++ b/tct-suite-vs/Tizen.Badge.Manual.Tests/testcase/TSBadgeControl.cs @@ -12,21 +12,21 @@ namespace Tizen.Applications.Tests [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 @@ -41,7 +41,7 @@ namespace Tizen.Applications.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); try @@ -66,7 +66,7 @@ namespace Tizen.Applications.Tests [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("http://tizen.org/feature/badge", out value); @@ -106,7 +106,7 @@ namespace Tizen.Applications.Tests [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("http://tizen.org/feature/badge", out value); @@ -163,7 +163,7 @@ namespace Tizen.Applications.Tests [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("http://tizen.org/feature/badge", out value); @@ -220,7 +220,7 @@ namespace Tizen.Applications.Tests [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("http://tizen.org/feature/badge", out value); diff --git a/tct-suite-vs/Tizen.Badge.Tests/testcase/TSBadge.cs b/tct-suite-vs/Tizen.Badge.Tests/testcase/TSBadge.cs index dcc3dfd..ab48314 100755 --- a/tct-suite-vs/Tizen.Badge.Tests/testcase/TSBadge.cs +++ b/tct-suite-vs/Tizen.Badge.Tests/testcase/TSBadge.cs @@ -10,9 +10,9 @@ namespace Tizen.Applications.Tests [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() @@ -21,13 +21,13 @@ namespace Tizen.Applications.Tests } [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"); } @@ -39,7 +39,7 @@ namespace Tizen.Applications.Tests [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 @@ -60,7 +60,7 @@ namespace Tizen.Applications.Tests [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 @@ -85,7 +85,7 @@ namespace Tizen.Applications.Tests [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 @@ -111,7 +111,7 @@ namespace Tizen.Applications.Tests [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 { @@ -139,7 +139,7 @@ namespace Tizen.Applications.Tests [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 { @@ -171,7 +171,7 @@ namespace Tizen.Applications.Tests [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 { diff --git a/tct-suite-vs/Tizen.Badge.Tests/testcase/TSBadgeControl.cs b/tct-suite-vs/Tizen.Badge.Tests/testcase/TSBadgeControl.cs index f80bc1c..e40ecb8 100755 --- a/tct-suite-vs/Tizen.Badge.Tests/testcase/TSBadgeControl.cs +++ b/tct-suite-vs/Tizen.Badge.Tests/testcase/TSBadgeControl.cs @@ -12,11 +12,11 @@ namespace Tizen.Applications.Tests [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() @@ -25,13 +25,13 @@ namespace Tizen.Applications.Tests } [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"); } @@ -43,7 +43,7 @@ namespace Tizen.Applications.Tests [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 { @@ -68,7 +68,7 @@ namespace Tizen.Applications.Tests [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 { @@ -93,7 +93,7 @@ namespace Tizen.Applications.Tests [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 { @@ -133,7 +133,7 @@ namespace Tizen.Applications.Tests [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 { @@ -166,7 +166,7 @@ namespace Tizen.Applications.Tests [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 { @@ -199,7 +199,7 @@ namespace Tizen.Applications.Tests [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 { @@ -225,7 +225,7 @@ namespace Tizen.Applications.Tests [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 { @@ -260,7 +260,7 @@ namespace Tizen.Applications.Tests [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 { @@ -299,7 +299,7 @@ namespace Tizen.Applications.Tests [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 { @@ -338,7 +338,7 @@ namespace Tizen.Applications.Tests [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 @@ -383,7 +383,7 @@ namespace Tizen.Applications.Tests [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 { @@ -422,7 +422,7 @@ namespace Tizen.Applications.Tests [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 @@ -467,7 +467,7 @@ namespace Tizen.Applications.Tests [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 { @@ -507,7 +507,7 @@ namespace Tizen.Applications.Tests [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; @@ -558,7 +558,7 @@ namespace Tizen.Applications.Tests [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 { @@ -597,7 +597,7 @@ namespace Tizen.Applications.Tests [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 @@ -622,7 +622,7 @@ namespace Tizen.Applications.Tests [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 { @@ -656,7 +656,7 @@ namespace Tizen.Applications.Tests [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 list = null; try @@ -688,7 +688,7 @@ namespace Tizen.Applications.Tests } } - private static void OnBadgeChanged(object sender, BadgeEventArgs args) + private void OnBadgeChanged(object sender, BadgeEventArgs args) { bCaught = true; } @@ -700,7 +700,7 @@ namespace Tizen.Applications.Tests [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 { diff --git a/tct-suite-vs/Tizen.Badge.Tests/testcase/TSBadgeEventArgs.cs b/tct-suite-vs/Tizen.Badge.Tests/testcase/TSBadgeEventArgs.cs index ee7ded9..4c82be6 100755 --- a/tct-suite-vs/Tizen.Badge.Tests/testcase/TSBadgeEventArgs.cs +++ b/tct-suite-vs/Tizen.Badge.Tests/testcase/TSBadgeEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.Applications.Tests [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() @@ -22,7 +22,7 @@ namespace Tizen.Applications.Tests 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; @@ -40,7 +40,7 @@ namespace Tizen.Applications.Tests [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 { @@ -73,7 +73,7 @@ namespace Tizen.Applications.Tests } - private static void OnBadgeRemoveChanged(object sender, BadgeEventArgs args) + private void OnBadgeRemoveChanged(object sender, BadgeEventArgs args) { BadgeEventArgs.Action action; action = BadgeEventArgs.Action.Remove; @@ -91,7 +91,7 @@ namespace Tizen.Applications.Tests [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 { @@ -125,7 +125,7 @@ namespace Tizen.Applications.Tests } - private static void OnBadgeUpdateChanged(object sender, BadgeEventArgs args) + private void OnBadgeUpdateChanged(object sender, BadgeEventArgs args) { BadgeEventArgs.Action action; action = BadgeEventArgs.Action.Update; @@ -143,7 +143,7 @@ namespace Tizen.Applications.Tests [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 { @@ -180,7 +180,7 @@ namespace Tizen.Applications.Tests } - private static void OnBadgeArgsGetTest(object sender, BadgeEventArgs args) + private void OnBadgeArgsGetTest(object sender, BadgeEventArgs args) { Badge badge = null; badge = args.Badge; @@ -198,7 +198,7 @@ namespace Tizen.Applications.Tests [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 { diff --git a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarDatabase.cs b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarDatabase.cs index 4fc68bb..49ebd72 100755 --- a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarDatabase.cs +++ b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarDatabase.cs @@ -24,7 +24,7 @@ namespace Tizen.Pims.Calendar.Tests [Description("Tizen.Pims.Calendar.CalendarDatabase Tests")] public class CalendarDatabaseTests { - static bool isCalendarSupported = false; + bool isCalendarSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -33,14 +33,14 @@ namespace Tizen.Pims.Calendar.Tests } [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"); } @@ -52,7 +52,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -85,7 +85,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -119,7 +119,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -152,7 +152,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -191,7 +191,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -225,7 +225,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -269,7 +269,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -302,7 +302,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -338,7 +338,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -370,7 +370,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -420,7 +420,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -453,7 +453,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -507,7 +507,7 @@ namespace Tizen.Pims.Calendar.Tests [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 @@ -538,7 +538,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -573,7 +573,7 @@ namespace Tizen.Pims.Calendar.Tests [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 @@ -604,7 +604,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -640,7 +640,7 @@ namespace Tizen.Pims.Calendar.Tests [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 @@ -672,7 +672,7 @@ namespace Tizen.Pims.Calendar.Tests [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 @@ -703,7 +703,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -741,7 +741,7 @@ namespace Tizen.Pims.Calendar.Tests [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 @@ -772,7 +772,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -814,7 +814,7 @@ namespace Tizen.Pims.Calendar.Tests [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 @@ -845,7 +845,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -878,7 +878,7 @@ namespace Tizen.Pims.Calendar.Tests [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 @@ -909,7 +909,7 @@ namespace Tizen.Pims.Calendar.Tests [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 @@ -940,7 +940,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -976,7 +976,7 @@ namespace Tizen.Pims.Calendar.Tests [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 @@ -1008,7 +1008,7 @@ namespace Tizen.Pims.Calendar.Tests [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 @@ -1039,7 +1039,7 @@ namespace Tizen.Pims.Calendar.Tests [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 @@ -1063,7 +1063,7 @@ namespace Tizen.Pims.Calendar.Tests } } - public static void DBChangedHandler(object sender, DBChangedEventArgs args) + public void DBChangedHandler(object sender, DBChangedEventArgs args) { Log.Debug(Globals.LogTag, "DBChangedHandler"); } @@ -1075,7 +1075,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -1108,7 +1108,7 @@ namespace Tizen.Pims.Calendar.Tests [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 @@ -1139,7 +1139,7 @@ namespace Tizen.Pims.Calendar.Tests [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 @@ -1170,7 +1170,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -1203,7 +1203,7 @@ namespace Tizen.Pims.Calendar.Tests [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 @@ -1234,7 +1234,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); diff --git a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarFilter.cs b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarFilter.cs index 0af2924..b995953 100755 --- a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarFilter.cs +++ b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarFilter.cs @@ -24,7 +24,7 @@ namespace Tizen.Pims.Calendar.Tests [Description("Tizen.Pims.Calendar.CalendarFilter Tests")] public class CalendarFilterTests { - static bool isCalendarSupported = false; + bool isCalendarSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -33,13 +33,13 @@ namespace Tizen.Pims.Calendar.Tests } [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"); } @@ -52,7 +52,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -80,7 +80,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -108,7 +108,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -136,7 +136,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -164,7 +164,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -192,7 +192,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -224,7 +224,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -252,7 +252,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -280,7 +280,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -308,7 +308,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -336,7 +336,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -364,7 +364,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -398,7 +398,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -425,7 +425,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); diff --git a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarList.cs b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarList.cs index 2923038..ecf1188 100755 --- a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarList.cs +++ b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarList.cs @@ -26,7 +26,7 @@ namespace Tizen.Pims.Calendar.Tests [Description("Tizen.Pims.Calendar.CalendarList Tests")] public class CalendarListTests { - static bool isCalendarSupported = false; + bool isCalendarSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -35,14 +35,14 @@ namespace Tizen.Pims.Calendar.Tests } [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"); } @@ -54,7 +54,7 @@ namespace Tizen.Pims.Calendar.Tests [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; @@ -81,7 +81,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -120,7 +120,7 @@ namespace Tizen.Pims.Calendar.Tests [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; @@ -161,7 +161,7 @@ namespace Tizen.Pims.Calendar.Tests [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; @@ -202,7 +202,7 @@ namespace Tizen.Pims.Calendar.Tests [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; @@ -246,7 +246,7 @@ namespace Tizen.Pims.Calendar.Tests [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; @@ -297,7 +297,7 @@ namespace Tizen.Pims.Calendar.Tests [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; @@ -349,7 +349,7 @@ namespace Tizen.Pims.Calendar.Tests [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; @@ -401,7 +401,7 @@ namespace Tizen.Pims.Calendar.Tests [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; diff --git a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarManager.cs b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarManager.cs index cd65592..6ed504f 100755 --- a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarManager.cs +++ b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarManager.cs @@ -24,7 +24,7 @@ namespace Tizen.Pims.Calendar.Tests [Description("Tizen.Pims.Calendar.CalendarManager Tests")] public class CalendarManagerTests { - static bool isCalendarSupported = false; + bool isCalendarSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -33,13 +33,13 @@ namespace Tizen.Pims.Calendar.Tests } [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"); } @@ -51,7 +51,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -79,7 +79,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); diff --git a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarQuery.cs b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarQuery.cs index c128900..abe7331 100755 --- a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarQuery.cs +++ b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarQuery.cs @@ -24,7 +24,7 @@ namespace Tizen.Pims.Calendar.Tests [Description("Tizen.Pims.Calendar.CalendarQuery Tests")] public class CalendarQueryTests { - static bool isCalendarSupported = false; + bool isCalendarSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -33,13 +33,13 @@ namespace Tizen.Pims.Calendar.Tests } [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"); } @@ -51,7 +51,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -78,7 +78,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -109,7 +109,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -136,7 +136,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -170,7 +170,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -197,7 +197,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -224,7 +224,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -260,7 +260,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -287,7 +287,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); diff --git a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarRecord.cs b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarRecord.cs index 0626b6e..1cfb9ff 100755 --- a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarRecord.cs +++ b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarRecord.cs @@ -25,7 +25,7 @@ namespace Tizen.Pims.Calendar.Tests [Description("Tizen.Pims.Calendar.CalendarRecord Tests")] public class CalendarRecordTests { - static bool isCalendarSupported = false; + bool isCalendarSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -34,13 +34,13 @@ namespace Tizen.Pims.Calendar.Tests } [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"); } @@ -52,7 +52,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -80,7 +80,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -107,7 +107,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -138,7 +138,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -165,7 +165,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -192,7 +192,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -229,7 +229,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -256,7 +256,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -283,7 +283,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -310,7 +310,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -337,7 +337,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -364,7 +364,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -391,7 +391,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -418,7 +418,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -445,7 +445,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -472,7 +472,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -508,7 +508,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -535,7 +535,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -571,7 +571,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -598,7 +598,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -634,7 +634,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -661,7 +661,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -694,7 +694,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -721,7 +721,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -754,7 +754,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); @@ -781,7 +781,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); diff --git a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarReminder.cs b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarReminder.cs index fe37d0e..950ce39 100755 --- a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarReminder.cs +++ b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarReminder.cs @@ -25,7 +25,7 @@ namespace Tizen.Pims.Calendar.Tests [Description("Calendar Class Tests")] public class CalendarReminderTests { - static bool isCalendarSupported = false; + bool isCalendarSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -34,14 +34,14 @@ namespace Tizen.Pims.Calendar.Tests } [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"); } @@ -53,7 +53,7 @@ namespace Tizen.Pims.Calendar.Tests [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"); diff --git a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarTime.cs b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarTime.cs index 85a4f14..788609f 100755 --- a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarTime.cs +++ b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarTime.cs @@ -24,7 +24,7 @@ namespace Tizen.Pims.Calendar.Tests [Description("Tizen.Pims.Calendar.CalendarTime Tests")] public class CalendarTimeTests { - static bool isCalendarSupported = false; + bool isCalendarSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -33,13 +33,13 @@ namespace Tizen.Pims.Calendar.Tests } [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"); } @@ -51,7 +51,7 @@ namespace Tizen.Pims.Calendar.Tests [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 { @@ -78,7 +78,7 @@ namespace Tizen.Pims.Calendar.Tests [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 { @@ -108,7 +108,7 @@ namespace Tizen.Pims.Calendar.Tests [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 { @@ -136,7 +136,7 @@ namespace Tizen.Pims.Calendar.Tests [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 { @@ -161,7 +161,7 @@ namespace Tizen.Pims.Calendar.Tests [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 { @@ -190,7 +190,7 @@ namespace Tizen.Pims.Calendar.Tests [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 { @@ -219,7 +219,7 @@ namespace Tizen.Pims.Calendar.Tests [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 { diff --git a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarVcalendar.cs b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarVcalendar.cs index a1b3936..19b6ed6 100755 --- a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarVcalendar.cs +++ b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSCalendarVcalendar.cs @@ -26,8 +26,8 @@ namespace Tizen.Pims.Calendar.Tests [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() @@ -36,13 +36,13 @@ namespace Tizen.Pims.Calendar.Tests } [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"); } @@ -54,7 +54,7 @@ namespace Tizen.Pims.Calendar.Tests [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; @@ -101,7 +101,7 @@ namespace Tizen.Pims.Calendar.Tests [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; @@ -141,7 +141,7 @@ namespace Tizen.Pims.Calendar.Tests [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; @@ -191,7 +191,7 @@ namespace Tizen.Pims.Calendar.Tests [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; @@ -224,7 +224,7 @@ namespace Tizen.Pims.Calendar.Tests [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 @@ -258,7 +258,7 @@ namespace Tizen.Pims.Calendar.Tests [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 { diff --git a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSDBChangedEventArgs.cs b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSDBChangedEventArgs.cs index c907702..44aba8a 100755 --- a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSDBChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSDBChangedEventArgs.cs @@ -28,7 +28,7 @@ namespace Tizen.Pims.Calendar.Tests { [Description("Tizen.Pims.Calendar.DBChangedEventArgs Tests")] public class DBChangedEventArgsTests { - static bool isCalendarSupported = false; + bool isCalendarSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -36,21 +36,21 @@ namespace Tizen.Pims.Calendar.Tests { 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) @@ -66,7 +66,7 @@ namespace Tizen.Pims.Calendar.Tests { [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; diff --git a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSParseDelegate.cs b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSParseDelegate.cs index d4b9025..98ec95c 100755 --- a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSParseDelegate.cs +++ b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSParseDelegate.cs @@ -28,18 +28,18 @@ namespace Tizen.Pims.Calendar.Tests 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(record, "Should return CalendarRecord instance."); return true; @@ -52,7 +52,7 @@ namespace Tizen.Pims.Calendar.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "CONSTR")] [Property("AUTHOR", "Jeesun Kim, iamjs.kim@samsung.com")] - public static void ParseCallback_INIT() + public void ParseCallback_INIT() { try { diff --git a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSReminderAlertedEventArgs.cs b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSReminderAlertedEventArgs.cs index 46b584a..2e1e604 100755 --- a/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSReminderAlertedEventArgs.cs +++ b/tct-suite-vs/Tizen.Calendar.Tests/testcase/TSReminderAlertedEventArgs.cs @@ -24,7 +24,7 @@ namespace Tizen.Pims.Calendar.Tests [Description("Tizen.Pims.Calendar.ReminderAlertedEventArgs Tests")] public class ReminderAlertedEventArgsTests { - static bool isCalendarSupported = false; + bool isCalendarSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -33,13 +33,13 @@ namespace Tizen.Pims.Calendar.Tests } [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"); } diff --git a/tct-suite-vs/Tizen.Contacts.Manual.Tests/testcase/TSContactsDatabase.cs b/tct-suite-vs/Tizen.Contacts.Manual.Tests/testcase/TSContactsDatabase.cs index 65d7e03..8283fa4 100755 --- a/tct-suite-vs/Tizen.Contacts.Manual.Tests/testcase/TSContactsDatabase.cs +++ b/tct-suite-vs/Tizen.Contacts.Manual.Tests/testcase/TSContactsDatabase.cs @@ -27,18 +27,18 @@ namespace Tizen.Pims.Contacts.Tests 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(); @@ -57,7 +57,7 @@ namespace Tizen.Pims.Contacts.Tests [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 diff --git a/tct-suite-vs/Tizen.Contacts.Manual.Tests/testcase/TSDBStatusChangedEventArgs.cs b/tct-suite-vs/Tizen.Contacts.Manual.Tests/testcase/TSDBStatusChangedEventArgs.cs index e495ad8..40b6f51 100755 --- a/tct-suite-vs/Tizen.Contacts.Manual.Tests/testcase/TSDBStatusChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Contacts.Manual.Tests/testcase/TSDBStatusChangedEventArgs.cs @@ -27,18 +27,18 @@ namespace Tizen.Pims.Contacts.Tests 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"); @@ -58,7 +58,7 @@ namespace Tizen.Pims.Contacts.Tests [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 diff --git a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsDatabase.cs b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsDatabase.cs index b8a5154..f5b6f40 100755 --- a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsDatabase.cs +++ b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsDatabase.cs @@ -27,7 +27,7 @@ namespace Tizen.Pims.Contacts.Tests { [TestFixture] [Description("Tizen.Pims.Contacts.ContactsDatabase Tests")] public class ContactsDatabaseTests { - static bool isContactSupported = false; + bool isContactSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -36,13 +36,13 @@ namespace Tizen.Pims.Contacts.Tests { } [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"); } @@ -54,7 +54,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -84,7 +84,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -114,7 +114,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -146,7 +146,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -172,7 +172,7 @@ namespace Tizen.Pims.Contacts.Tests { } } - public static void EventHandlerDBStatusChanged(object sender, DBStatusChangedEventArgs e) + public void EventHandlerDBStatusChanged(object sender, DBStatusChangedEventArgs e) { Caught = true; } @@ -186,7 +186,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -218,7 +218,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -249,7 +249,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -281,7 +281,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -313,7 +313,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -345,7 +345,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -377,7 +377,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -409,7 +409,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -441,7 +441,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -472,7 +472,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -503,7 +503,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -534,7 +534,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -566,7 +566,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -598,7 +598,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -630,7 +630,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -662,7 +662,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -694,7 +694,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -726,7 +726,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -758,7 +758,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -790,7 +790,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -821,7 +821,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -852,7 +852,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 diff --git a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsFilter.cs b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsFilter.cs index a0c139b..e48a6a7 100755 --- a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsFilter.cs +++ b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsFilter.cs @@ -27,7 +27,7 @@ namespace Tizen.Pims.Contacts.Tests { [TestFixture] [Description("Tizen.Pims.Contacts.ContactsFilter Tests")] public class ContactsFilterTests { - static bool isContactSupported = false; + bool isContactSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -36,13 +36,13 @@ namespace Tizen.Pims.Contacts.Tests { } [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"); } @@ -55,7 +55,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -81,7 +81,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -107,7 +107,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -133,7 +133,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -159,7 +159,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -185,7 +185,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -215,7 +215,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -241,7 +241,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -267,7 +267,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -293,7 +293,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -319,7 +319,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -345,7 +345,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -376,7 +376,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -401,7 +401,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; diff --git a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsList.cs b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsList.cs index b35196b..380a939 100755 --- a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsList.cs +++ b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsList.cs @@ -28,7 +28,7 @@ namespace Tizen.Pims.Contacts.Tests { [Description("Tizen.Pims.Contacts.ContactsList Tests")] public class ContactsListTests { - static bool isContactSupported = false; + bool isContactSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -37,13 +37,13 @@ namespace Tizen.Pims.Contacts.Tests { } [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"); } @@ -55,7 +55,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -80,7 +80,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -127,7 +127,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -169,7 +169,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -211,7 +211,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -255,7 +255,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -293,7 +293,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -327,7 +327,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -363,7 +363,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -398,7 +398,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -434,7 +434,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; diff --git a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsManager.cs b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsManager.cs index a26b18c..46bbb9c 100755 --- a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsManager.cs +++ b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsManager.cs @@ -27,7 +27,7 @@ namespace Tizen.Pims.Contacts.Tests { [TestFixture] [Description("Tizen.Pims.Contacts.ContactsManager Tests")] public class ContactsManagerTests { - static bool isContactSupported = false; + bool isContactSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -36,13 +36,13 @@ namespace Tizen.Pims.Contacts.Tests { } [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"); } @@ -54,7 +54,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -79,7 +79,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -105,7 +105,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -141,7 +141,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -177,7 +177,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 handler = null; @@ -219,7 +219,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 handler = null; diff --git a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsQuery.cs b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsQuery.cs index 9df50f1..9b3a498 100755 --- a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsQuery.cs +++ b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsQuery.cs @@ -27,7 +27,7 @@ namespace Tizen.Pims.Contacts.Tests { [TestFixture] [Description("Tizen.Pims.Contacts.ContactsQuery Tests")] public class ContactsQueryTests { - static bool isContactSupported = false; + bool isContactSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -36,13 +36,13 @@ namespace Tizen.Pims.Contacts.Tests { } [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"); } @@ -54,7 +54,7 @@ namespace Tizen.Pims.Contacts.Tests { [Property("SPEC_URL", "-")] [Property("CRITERIA", "CONSTR")] [Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")] - public static void ContactsQuery_INIT() + public void ContactsQuery_INIT() { try { @@ -79,7 +79,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -108,7 +108,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -133,7 +133,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -164,7 +164,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -189,7 +189,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -214,7 +214,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -247,7 +247,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -272,7 +272,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 diff --git a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsRecord.cs b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsRecord.cs index 9547d6c..6edf5b1 100755 --- a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsRecord.cs +++ b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsRecord.cs @@ -27,7 +27,7 @@ namespace Tizen.Pims.Contacts.Tests { [TestFixture] [Description("Tizen.Pims.Contacts.ContactsRecord Tests")] public class ContactsRecordTests { - static bool isContactSupported = false; + bool isContactSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -36,13 +36,13 @@ namespace Tizen.Pims.Contacts.Tests { } [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"); } @@ -54,7 +54,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -79,7 +79,7 @@ namespace Tizen.Pims.Contacts.Tests { [Property("SPEC_URL", "-")] [Property("CRITERIA", "CONSTR")] [Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")] - public static void ContactsRecord_INIT() + public void ContactsRecord_INIT() { try { @@ -104,7 +104,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -134,7 +134,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -159,7 +159,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -184,7 +184,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -209,7 +209,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -234,7 +234,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -259,7 +259,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -284,7 +284,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -318,7 +318,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -343,7 +343,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -368,7 +368,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -393,7 +393,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -418,7 +418,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -443,7 +443,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -477,7 +477,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -502,7 +502,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -535,7 +535,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -560,7 +560,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -593,7 +593,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -618,7 +618,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -648,7 +648,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -673,7 +673,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 @@ -703,7 +703,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -728,7 +728,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 diff --git a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsVcard.cs b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsVcard.cs index b5f2ae1..29fa340 100755 --- a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsVcard.cs +++ b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSContactsVcard.cs @@ -29,7 +29,7 @@ namespace Tizen.Pims.Contacts.Tests { [Description("Tizen.Pims.Contacts.ContactsVcard Tests")] public class ContactsVcardTests { - static bool isContactSupported = false; + bool isContactSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -38,13 +38,13 @@ namespace Tizen.Pims.Contacts.Tests { } [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"); } @@ -56,7 +56,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -83,7 +83,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -123,7 +123,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -149,7 +149,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; @@ -185,7 +185,7 @@ namespace Tizen.Pims.Contacts.Tests { [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"; @@ -215,7 +215,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { @@ -249,7 +249,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 { diff --git a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSDBChangedEventArgs.cs b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSDBChangedEventArgs.cs index 5c4a76d..54dc2f7 100755 --- a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSDBChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSDBChangedEventArgs.cs @@ -29,7 +29,7 @@ namespace Tizen.Pims.Contacts.Tests { [Description("Tizen.Pims.Contacts.DBChangedEventArgs Tests")] public class DBChangedEventArgsTests { - static bool isContactSupported = false; + bool isContactSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -37,21 +37,21 @@ namespace Tizen.Pims.Contacts.Tests { 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) @@ -67,7 +67,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; diff --git a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSDBStatusChangedEventArgs.cs b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSDBStatusChangedEventArgs.cs index f2d2e6a..2be8d31 100755 --- a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSDBStatusChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSDBStatusChangedEventArgs.cs @@ -29,7 +29,7 @@ namespace Tizen.Pims.Contacts.Tests { [Description("Tizen.Pims.Contacts.DBStatusChangedEventArgs Tests")] public class DBStatusChangedEventArgsTests { - static bool isContactSupported = false; + bool isContactSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -38,19 +38,19 @@ namespace Tizen.Pims.Contacts.Tests { } [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"); @@ -64,7 +64,7 @@ namespace Tizen.Pims.Contacts.Tests { [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; diff --git a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSNameDisplayOrderChangedEventArgs.cs b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSNameDisplayOrderChangedEventArgs.cs index 5740006..8512428 100755 --- a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSNameDisplayOrderChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSNameDisplayOrderChangedEventArgs.cs @@ -29,7 +29,7 @@ namespace Tizen.Pims.Contacts.Tests { [Description("Tizen.Pims.Contacts.NameDisplayOrderChangedEventArgs Tests")] public class NameDisplayOrderChangedEventArgsTests { - static bool isContactSupported = false; + bool isContactSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -38,13 +38,13 @@ namespace Tizen.Pims.Contacts.Tests { } [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"); } @@ -56,7 +56,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 handler = null; diff --git a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSNameSortingOrderChangedEventArgs.cs b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSNameSortingOrderChangedEventArgs.cs index 353a757..0a6a29b 100755 --- a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSNameSortingOrderChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSNameSortingOrderChangedEventArgs.cs @@ -29,7 +29,7 @@ namespace Tizen.Pims.Contacts.Tests { [Description("Tizen.Pims.Contacts.NameSortingOrderChangedEventArgs Tests")] public class NameSortingOrderChangedEventArgsTests { - static bool isContactSupported = false; + bool isContactSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -38,13 +38,13 @@ namespace Tizen.Pims.Contacts.Tests { } [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"); } @@ -56,7 +56,7 @@ namespace Tizen.Pims.Contacts.Tests { [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 handler = null; diff --git a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSParseCallback.cs b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSParseCallback.cs index 23f5788..c01e4d1 100755 --- a/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSParseCallback.cs +++ b/tct-suite-vs/Tizen.Contacts.Tests/testcase/TSParseCallback.cs @@ -30,18 +30,18 @@ namespace Tizen.Pims.Contacts.Tests { { [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(record, "Should return ContactsRecord instance."); return true; @@ -54,7 +54,7 @@ namespace Tizen.Pims.Contacts.Tests { [Property("SPEC_URL", "-")] [Property("CRITERIA", "CONSTR")] [Property("AUTHOR", "Jongkyu Koo, jk.koo@samsung.com")] - public static void ParseCallback_INIT() + public void ParseCallback_INIT() { try { diff --git a/tct-suite-vs/Tizen.Context.Tests/testcase/TSAppStatisticsData.cs b/tct-suite-vs/Tizen.Context.Tests/testcase/TSAppStatisticsData.cs index 5ac268b..1b48cb1 100755 --- a/tct-suite-vs/Tizen.Context.Tests/testcase/TSAppStatisticsData.cs +++ b/tct-suite-vs/Tizen.Context.Tests/testcase/TSAppStatisticsData.cs @@ -29,15 +29,15 @@ namespace Tizen.Context.AppHistory.Tests [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 _usageResultList; - private static IReadOnlyList _batteryResultList; + private bool _isSupported = false; + private bool _isBatterySupported = false; + private UsageStatistics _usageStats; + private BatteryStatistics _batteryStats; + private IReadOnlyList _usageResultList; + private IReadOnlyList _batteryResultList; [OneTimeSetUp] - public static void Init() + public void Init() { try { @@ -74,7 +74,7 @@ namespace Tizen.Context.AppHistory.Tests [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."); diff --git a/tct-suite-vs/Tizen.Context.Tests/testcase/TSBatteryStatistics.cs b/tct-suite-vs/Tizen.Context.Tests/testcase/TSBatteryStatistics.cs index 950d68f..4863391 100755 --- a/tct-suite-vs/Tizen.Context.Tests/testcase/TSBatteryStatistics.cs +++ b/tct-suite-vs/Tizen.Context.Tests/testcase/TSBatteryStatistics.cs @@ -30,11 +30,11 @@ namespace Tizen.Context.AppHistory.Tests 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) @@ -52,7 +52,7 @@ namespace Tizen.Context.AppHistory.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "CONSTR")] [Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")] - public static void BatteryStatistics_INIT() + public void BatteryStatistics_INIT() { try { @@ -78,7 +78,7 @@ namespace Tizen.Context.AppHistory.Tests [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 { @@ -103,7 +103,7 @@ namespace Tizen.Context.AppHistory.Tests [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 { @@ -126,7 +126,7 @@ namespace Tizen.Context.AppHistory.Tests [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 { @@ -154,7 +154,7 @@ namespace Tizen.Context.AppHistory.Tests [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 { @@ -181,7 +181,7 @@ namespace Tizen.Context.AppHistory.Tests [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 { @@ -207,7 +207,7 @@ namespace Tizen.Context.AppHistory.Tests [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 { @@ -231,7 +231,7 @@ namespace Tizen.Context.AppHistory.Tests [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 { diff --git a/tct-suite-vs/Tizen.Context.Tests/testcase/TSBatteryStatisticsData.cs b/tct-suite-vs/Tizen.Context.Tests/testcase/TSBatteryStatisticsData.cs index 78d02b4..d001ac5 100755 --- a/tct-suite-vs/Tizen.Context.Tests/testcase/TSBatteryStatisticsData.cs +++ b/tct-suite-vs/Tizen.Context.Tests/testcase/TSBatteryStatisticsData.cs @@ -29,13 +29,13 @@ namespace Tizen.Context.AppHistory.Tests [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 _resultList; + private bool _isSupported = false; + private bool _isBatterySupported = false; + private BatteryStatistics _stats; + private IReadOnlyList _resultList; [OneTimeSetUp] - public static void Init() + public void Init() { try { @@ -67,7 +67,7 @@ namespace Tizen.Context.AppHistory.Tests [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."); @@ -88,7 +88,7 @@ namespace Tizen.Context.AppHistory.Tests [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."); diff --git a/tct-suite-vs/Tizen.Context.Tests/testcase/TSUsageStatistics.cs b/tct-suite-vs/Tizen.Context.Tests/testcase/TSUsageStatistics.cs index 5c6ec75..ebc1eb3 100755 --- a/tct-suite-vs/Tizen.Context.Tests/testcase/TSUsageStatistics.cs +++ b/tct-suite-vs/Tizen.Context.Tests/testcase/TSUsageStatistics.cs @@ -29,10 +29,10 @@ namespace Tizen.Context.AppHistory.Tests [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) @@ -46,7 +46,7 @@ namespace Tizen.Context.AppHistory.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "CONSTR")] [Property("AUTHOR", "Somin Kim, somin926.kim@samsung.com")] - public static void UsageStatistics_INIT() + public void UsageStatistics_INIT() { try { @@ -72,7 +72,7 @@ namespace Tizen.Context.AppHistory.Tests [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 { @@ -101,7 +101,7 @@ namespace Tizen.Context.AppHistory.Tests [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 { @@ -124,7 +124,7 @@ namespace Tizen.Context.AppHistory.Tests [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 { @@ -154,7 +154,7 @@ namespace Tizen.Context.AppHistory.Tests [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 { @@ -181,7 +181,7 @@ namespace Tizen.Context.AppHistory.Tests [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 { @@ -207,7 +207,7 @@ namespace Tizen.Context.AppHistory.Tests [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 { diff --git a/tct-suite-vs/Tizen.Context.Tests/testcase/TSUsageStatisticsData.cs b/tct-suite-vs/Tizen.Context.Tests/testcase/TSUsageStatisticsData.cs index d4aef7f..85209bb 100755 --- a/tct-suite-vs/Tizen.Context.Tests/testcase/TSUsageStatisticsData.cs +++ b/tct-suite-vs/Tizen.Context.Tests/testcase/TSUsageStatisticsData.cs @@ -29,12 +29,12 @@ namespace Tizen.Context.AppHistory.Tests [Description("Tizen.Context.AppHistory.UsageStatisticsData Class Tests")] public class UsageStatisticsDataTests { - private static bool _isSupported = false; - private static UsageStatistics _stats; - private static IReadOnlyList _resultList; + private bool _isSupported = false; + private UsageStatistics _stats; + private IReadOnlyList _resultList; [OneTimeSetUp] - public static void Init() + public void Init() { try { @@ -62,7 +62,7 @@ namespace Tizen.Context.AppHistory.Tests [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."); @@ -83,7 +83,7 @@ namespace Tizen.Context.AppHistory.Tests [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."); @@ -104,7 +104,7 @@ namespace Tizen.Context.AppHistory.Tests [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."); @@ -125,7 +125,7 @@ namespace Tizen.Context.AppHistory.Tests [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."); diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSBulkData.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSBulkData.cs index 872f1d8..56a8945 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSBulkData.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSBulkData.cs @@ -33,13 +33,13 @@ namespace Tizen.DataControl.Tests { [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"); } @@ -51,7 +51,7 @@ namespace Tizen.DataControl.Tests [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(); @@ -66,7 +66,7 @@ namespace Tizen.DataControl.Tests [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"); @@ -83,7 +83,7 @@ namespace Tizen.DataControl.Tests [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"); @@ -97,7 +97,7 @@ namespace Tizen.DataControl.Tests [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(); @@ -112,7 +112,7 @@ namespace Tizen.DataControl.Tests [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(); @@ -131,7 +131,7 @@ namespace Tizen.DataControl.Tests [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"); @@ -145,7 +145,7 @@ namespace Tizen.DataControl.Tests [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(); diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSBulkInsertResult.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSBulkInsertResult.cs index ac59f8f..c53ea4c 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSBulkInsertResult.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSBulkInsertResult.cs @@ -33,13 +33,13 @@ namespace Tizen.DataControl.Tests { [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"); } @@ -52,7 +52,7 @@ namespace Tizen.DataControl.Tests [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(); @@ -71,7 +71,7 @@ namespace Tizen.DataControl.Tests [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(() => new BulkInsertResult(null, true)); } @@ -83,7 +83,7 @@ namespace Tizen.DataControl.Tests [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"); @@ -101,7 +101,7 @@ namespace Tizen.DataControl.Tests [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"); diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSBulkResultData.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSBulkResultData.cs index 0456a39..45eb869 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSBulkResultData.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSBulkResultData.cs @@ -33,13 +33,13 @@ namespace Tizen.DataControl.Tests { [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"); } @@ -51,7 +51,7 @@ namespace Tizen.DataControl.Tests [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(); @@ -66,7 +66,7 @@ namespace Tizen.DataControl.Tests [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"); @@ -83,7 +83,7 @@ namespace Tizen.DataControl.Tests [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(); @@ -98,7 +98,7 @@ namespace Tizen.DataControl.Tests [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(); @@ -116,7 +116,7 @@ namespace Tizen.DataControl.Tests [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(); @@ -132,7 +132,7 @@ namespace Tizen.DataControl.Tests [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(); @@ -151,7 +151,7 @@ namespace Tizen.DataControl.Tests [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(); @@ -168,7 +168,7 @@ namespace Tizen.DataControl.Tests [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(); diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSConsumer.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSConsumer.cs index 592304d..cc9297d 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSConsumer.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSConsumer.cs @@ -36,7 +36,7 @@ namespace Tizen.DataControl.Tests 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 { @@ -258,14 +258,14 @@ namespace Tizen.DataControl.Tests } [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"); @@ -278,7 +278,7 @@ namespace Tizen.DataControl.Tests [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); @@ -293,7 +293,7 @@ namespace Tizen.DataControl.Tests [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 @@ -313,7 +313,7 @@ namespace Tizen.DataControl.Tests [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 @@ -331,7 +331,7 @@ namespace Tizen.DataControl.Tests [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 @@ -351,7 +351,7 @@ namespace Tizen.DataControl.Tests [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 @@ -368,7 +368,7 @@ namespace Tizen.DataControl.Tests [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 @@ -387,7 +387,7 @@ namespace Tizen.DataControl.Tests [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 @@ -406,7 +406,7 @@ namespace Tizen.DataControl.Tests [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 @@ -438,7 +438,7 @@ namespace Tizen.DataControl.Tests [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 @@ -457,7 +457,7 @@ namespace Tizen.DataControl.Tests [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 @@ -481,7 +481,7 @@ namespace Tizen.DataControl.Tests [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 @@ -505,7 +505,7 @@ namespace Tizen.DataControl.Tests [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 @@ -529,7 +529,7 @@ namespace Tizen.DataControl.Tests [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 @@ -551,7 +551,7 @@ namespace Tizen.DataControl.Tests [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 @@ -588,7 +588,7 @@ namespace Tizen.DataControl.Tests [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 @@ -610,7 +610,7 @@ namespace Tizen.DataControl.Tests [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 @@ -638,7 +638,7 @@ namespace Tizen.DataControl.Tests [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 @@ -656,7 +656,7 @@ namespace Tizen.DataControl.Tests [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 @@ -674,7 +674,7 @@ namespace Tizen.DataControl.Tests [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 @@ -692,7 +692,7 @@ namespace Tizen.DataControl.Tests [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 @@ -710,7 +710,7 @@ namespace Tizen.DataControl.Tests [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 @@ -742,7 +742,7 @@ namespace Tizen.DataControl.Tests [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 @@ -764,7 +764,7 @@ namespace Tizen.DataControl.Tests [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 @@ -786,7 +786,7 @@ namespace Tizen.DataControl.Tests [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 @@ -808,7 +808,7 @@ namespace Tizen.DataControl.Tests [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 @@ -830,7 +830,7 @@ namespace Tizen.DataControl.Tests [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 diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSDataChangeListenResult.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSDataChangeListenResult.cs index afef172..ff198ee 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSDataChangeListenResult.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSDataChangeListenResult.cs @@ -33,13 +33,13 @@ namespace Tizen.DataControl.Tests { [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"); } @@ -51,7 +51,7 @@ namespace Tizen.DataControl.Tests [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); @@ -66,7 +66,7 @@ namespace Tizen.DataControl.Tests [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"); diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSDeleteResult.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSDeleteResult.cs index 79a9e05..0a31f87 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSDeleteResult.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSDeleteResult.cs @@ -33,13 +33,13 @@ namespace Tizen.DataControl.Tests { [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"); } @@ -51,7 +51,7 @@ namespace Tizen.DataControl.Tests [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); @@ -66,7 +66,7 @@ namespace Tizen.DataControl.Tests [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"); diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSInsertResult.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSInsertResult.cs index b1757bd..d57bdbe 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSInsertResult.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSInsertResult.cs @@ -33,13 +33,13 @@ namespace Tizen.DataControl.Tests { [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"); } @@ -51,7 +51,7 @@ namespace Tizen.DataControl.Tests [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); @@ -66,7 +66,7 @@ namespace Tizen.DataControl.Tests [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"); @@ -80,7 +80,7 @@ namespace Tizen.DataControl.Tests [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"); diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapAddResult.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapAddResult.cs index 154342b..49e7cc4 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapAddResult.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapAddResult.cs @@ -33,13 +33,13 @@ namespace Tizen.DataControl.Tests { [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"); } @@ -51,7 +51,7 @@ namespace Tizen.DataControl.Tests [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); @@ -66,7 +66,7 @@ namespace Tizen.DataControl.Tests [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"); diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapBulkAddResult.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapBulkAddResult.cs index eab6f36..e9bcf9c 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapBulkAddResult.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapBulkAddResult.cs @@ -33,13 +33,13 @@ namespace Tizen.DataControl.Tests { [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"); } @@ -51,7 +51,7 @@ namespace Tizen.DataControl.Tests [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(); @@ -70,7 +70,7 @@ namespace Tizen.DataControl.Tests [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(() => new MapBulkAddResult(null, true)); } @@ -82,7 +82,7 @@ namespace Tizen.DataControl.Tests [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"); @@ -100,7 +100,7 @@ namespace Tizen.DataControl.Tests [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"); diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapGetResult.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapGetResult.cs index 3fbdbae..0a166e8 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapGetResult.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapGetResult.cs @@ -33,13 +33,13 @@ namespace Tizen.DataControl.Tests { [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"); } @@ -51,7 +51,7 @@ namespace Tizen.DataControl.Tests [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" }; @@ -67,7 +67,7 @@ namespace Tizen.DataControl.Tests [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); @@ -82,7 +82,7 @@ namespace Tizen.DataControl.Tests [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); diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapRemoveResult.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapRemoveResult.cs index 93d555b..e34d9b7 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapRemoveResult.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapRemoveResult.cs @@ -33,13 +33,13 @@ namespace Tizen.DataControl.Tests { [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"); } @@ -51,7 +51,7 @@ namespace Tizen.DataControl.Tests [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); @@ -66,7 +66,7 @@ namespace Tizen.DataControl.Tests [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"); diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapSetResult.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapSetResult.cs index 621ce8b..193c363 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapSetResult.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMapSetResult.cs @@ -33,13 +33,13 @@ namespace Tizen.DataControl.Tests { [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"); } @@ -51,7 +51,7 @@ namespace Tizen.DataControl.Tests [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); @@ -66,7 +66,7 @@ namespace Tizen.DataControl.Tests [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"); diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMatrixCursor.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMatrixCursor.cs index 3f019b3..92d77a6 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMatrixCursor.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSMatrixCursor.cs @@ -31,13 +31,13 @@ namespace Tizen.DataControlMatrixCursor.Tests 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"); } @@ -49,7 +49,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -66,7 +66,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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(() => new MatrixCursor(null, null)); } @@ -78,7 +78,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -104,7 +104,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -121,7 +121,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -151,7 +151,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -176,7 +176,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -192,7 +192,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -208,7 +208,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -233,7 +233,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -249,7 +249,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -274,7 +274,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -304,7 +304,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -329,7 +329,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -359,7 +359,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -384,7 +384,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -414,7 +414,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -439,7 +439,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -465,7 +465,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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" }; @@ -496,7 +496,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -521,7 +521,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -546,7 +546,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; @@ -573,7 +573,7 @@ namespace Tizen.DataControlMatrixCursor.Tests [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 }; diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSProvider.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSProvider.cs index 81891c4..e7282d1 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSProvider.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSProvider.cs @@ -32,7 +32,7 @@ namespace Tizen.DataControl.Tests 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 @@ -182,13 +182,13 @@ namespace Tizen.DataControl.Tests } [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"); } @@ -200,7 +200,7 @@ namespace Tizen.DataControl.Tests [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); @@ -216,7 +216,7 @@ namespace Tizen.DataControl.Tests [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 @@ -234,7 +234,7 @@ namespace Tizen.DataControl.Tests [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 @@ -252,7 +252,7 @@ namespace Tizen.DataControl.Tests [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); @@ -268,7 +268,7 @@ namespace Tizen.DataControl.Tests [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 @@ -294,7 +294,7 @@ namespace Tizen.DataControl.Tests [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 @@ -322,7 +322,7 @@ namespace Tizen.DataControl.Tests [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 @@ -350,7 +350,7 @@ namespace Tizen.DataControl.Tests [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 @@ -368,13 +368,13 @@ namespace Tizen.DataControl.Tests 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) @@ -395,7 +395,7 @@ namespace Tizen.DataControl.Tests [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 @@ -427,7 +427,7 @@ namespace Tizen.DataControl.Tests [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 @@ -466,7 +466,7 @@ namespace Tizen.DataControl.Tests [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 @@ -491,7 +491,7 @@ namespace Tizen.DataControl.Tests [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 @@ -517,7 +517,7 @@ namespace Tizen.DataControl.Tests [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 @@ -543,7 +543,7 @@ namespace Tizen.DataControl.Tests [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 @@ -569,7 +569,7 @@ namespace Tizen.DataControl.Tests [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 @@ -609,7 +609,7 @@ namespace Tizen.DataControl.Tests [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 diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSSelectResult.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSSelectResult.cs index 9d147fa..3ed68c8 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSSelectResult.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSSelectResult.cs @@ -33,13 +33,13 @@ namespace Tizen.DataControl.Tests { [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"); } @@ -51,7 +51,7 @@ namespace Tizen.DataControl.Tests [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 }; @@ -70,7 +70,7 @@ namespace Tizen.DataControl.Tests [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(() => new SelectResult(null, true)); } @@ -82,7 +82,7 @@ namespace Tizen.DataControl.Tests [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 }; @@ -100,7 +100,7 @@ namespace Tizen.DataControl.Tests [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 }; diff --git a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSUpdateResult.cs b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSUpdateResult.cs index af284c7..b3b29eb 100755 --- a/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSUpdateResult.cs +++ b/tct-suite-vs/Tizen.DataControl.Tests/testcase/TSUpdateResult.cs @@ -33,13 +33,13 @@ namespace Tizen.DataControl.Tests { [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"); } @@ -51,7 +51,7 @@ namespace Tizen.DataControl.Tests [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); @@ -66,7 +66,7 @@ namespace Tizen.DataControl.Tests [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"); diff --git a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBattery.cs b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBattery.cs index c300795..8d10a79 100755 --- a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBattery.cs +++ b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBattery.cs @@ -10,10 +10,10 @@ namespace Tizen.System.Tests [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; @@ -29,7 +29,7 @@ namespace Tizen.System.Tests } } - private static int PassForNotSuppot() + private int PassForNotSuppot() { if (isSupport == 0) { @@ -41,7 +41,7 @@ namespace Tizen.System.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -61,7 +61,7 @@ namespace Tizen.System.Tests [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; @@ -100,7 +100,7 @@ namespace Tizen.System.Tests ManualTest.Confirm(); } - public static void ChargingStateDisconnected(object sender, BatteryChargingStateChangedEventArgs args) + public void ChargingStateDisconnected(object sender, BatteryChargingStateChangedEventArgs args) { Assert.IsInstanceOf(args.IsCharging, "IsCharging should be valid type"); Assert.IsFalse(args.IsCharging, "IsCharging should be False when you disconnect cable"); @@ -124,7 +124,7 @@ namespace Tizen.System.Tests [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; @@ -132,7 +132,7 @@ namespace Tizen.System.Tests Battery.ChargingStateChanged -= ChargingStateDisconnected; // should be remove event. } - public static void ChargingStateConnected(object sender, BatteryChargingStateChangedEventArgs args) + public void ChargingStateConnected(object sender, BatteryChargingStateChangedEventArgs args) { Assert.IsInstanceOf(args.IsCharging, "IsCharging should be valid type"); Assert.True(args.IsCharging, "IsCharging should be False when you disconnect cable"); @@ -156,7 +156,7 @@ namespace Tizen.System.Tests [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; @@ -164,7 +164,7 @@ namespace Tizen.System.Tests Battery.ChargingStateChanged -= ChargingStateConnected; // should be remove event. } - public static void RecievedLevelStateChanged(object sender, BatteryLevelChangedEventArgs args) + public void RecievedLevelStateChanged(object sender, BatteryLevelChangedEventArgs args) { Assert.IsInstanceOf(args.Level, "Level should be valid type"); LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Invoked Event :" + args.Level); @@ -194,7 +194,7 @@ namespace Tizen.System.Tests [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; @@ -202,7 +202,7 @@ namespace Tizen.System.Tests 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(args.Percent, "Percent should be valid type"); @@ -228,7 +228,7 @@ namespace Tizen.System.Tests [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; @@ -237,7 +237,7 @@ namespace Tizen.System.Tests 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(args.Percent, "Percent should be valid type"); @@ -262,7 +262,7 @@ namespace Tizen.System.Tests [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; diff --git a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBatteryChargingStateChangedEventArgs.cs b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBatteryChargingStateChangedEventArgs.cs index 516b806..9fb4c1c 100755 --- a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBatteryChargingStateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBatteryChargingStateChangedEventArgs.cs @@ -8,9 +8,9 @@ namespace Tizen.System.Tests [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; @@ -26,7 +26,7 @@ namespace Tizen.System.Tests } } - private static int PassForNotSuppot() + private int PassForNotSuppot() { if (isSupport == 0) { @@ -38,12 +38,12 @@ namespace Tizen.System.Tests } [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(args.IsCharging, "IsCharging should be valid type"); Assert.IsFalse(args.IsCharging, "IsCharging should be False when you disconnect cable"); @@ -62,7 +62,7 @@ namespace Tizen.System.Tests [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; diff --git a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBatteryLevelChangedEventArgs.cs b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBatteryLevelChangedEventArgs.cs index 4b46a69..133bbba 100755 --- a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBatteryLevelChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBatteryLevelChangedEventArgs.cs @@ -8,10 +8,10 @@ namespace Tizen.System.Tests [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; @@ -27,7 +27,7 @@ namespace Tizen.System.Tests } } - private static int PassForNotSuppot() + private int PassForNotSuppot() { if (isSupport == 0) { @@ -39,12 +39,12 @@ namespace Tizen.System.Tests } [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(args.Level, "Level should be valid type"); @@ -75,7 +75,7 @@ namespace Tizen.System.Tests [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; diff --git a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBatteryPercentChangedEventArgs.cs b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBatteryPercentChangedEventArgs.cs index a44c33e..f336b60 100755 --- a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBatteryPercentChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSBatteryPercentChangedEventArgs.cs @@ -8,10 +8,10 @@ namespace Tizen.System.Tests [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; @@ -28,12 +28,12 @@ namespace Tizen.System.Tests } [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) { @@ -44,7 +44,7 @@ namespace Tizen.System.Tests 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(args.Percent, "Percent should be valid type"); @@ -70,7 +70,7 @@ namespace Tizen.System.Tests [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; diff --git a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSDisplay.cs b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSDisplay.cs index c4d8be7..0532d4a 100755 --- a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSDisplay.cs +++ b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSDisplay.cs @@ -8,9 +8,9 @@ namespace Tizen.System.Tests [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; @@ -24,7 +24,7 @@ namespace Tizen.System.Tests } } - private static int PassForNotSuppot() + private int PassForNotSuppot() { if (isSupport == 0) { @@ -36,12 +36,12 @@ namespace Tizen.System.Tests } [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. @@ -60,7 +60,7 @@ namespace Tizen.System.Tests [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; diff --git a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSDisplayStateChangedEventArgs.cs b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSDisplayStateChangedEventArgs.cs index b16d5fa..f6728ed 100755 --- a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSDisplayStateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSDisplayStateChangedEventArgs.cs @@ -8,9 +8,9 @@ namespace Tizen.System.Tests [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; @@ -24,7 +24,7 @@ namespace Tizen.System.Tests } } - private static int PassForNotSuppot() + private int PassForNotSuppot() { if (isSupport == 0) { @@ -36,7 +36,7 @@ namespace Tizen.System.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -54,7 +54,7 @@ namespace Tizen.System.Tests [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: "); @@ -63,7 +63,7 @@ namespace Tizen.System.Tests 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(args.State, "State should be valid type"); diff --git a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSIR.cs b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSIR.cs index 81f9790..6fc60e9 100755 --- a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSIR.cs +++ b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSIR.cs @@ -10,9 +10,9 @@ namespace Tizen.System.Tests [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; @@ -28,10 +28,10 @@ namespace Tizen.System.Tests } [TearDown] - public static void Destroy() + public void Destroy() { } - private static int PassForNotSuppot() + private int PassForNotSuppot() { if (isSupport == 0) { @@ -57,7 +57,7 @@ namespace Tizen.System.Tests [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. diff --git a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSLed.cs b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSLed.cs index 0938e6a..4b854a7 100755 --- a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSLed.cs +++ b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSLed.cs @@ -10,9 +10,9 @@ namespace Tizen.System.Tests [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; @@ -27,7 +27,7 @@ namespace Tizen.System.Tests } } - private static int PassForNotSuppot() + private int PassForNotSuppot() { if (isSupport == 0) { @@ -39,7 +39,7 @@ namespace Tizen.System.Tests } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -57,7 +57,7 @@ namespace Tizen.System.Tests [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; @@ -90,7 +90,7 @@ namespace Tizen.System.Tests [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; diff --git a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSLedBrightnessChangedEventArgs.cs b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSLedBrightnessChangedEventArgs.cs index 2967fbd..29826db 100755 --- a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSLedBrightnessChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSLedBrightnessChangedEventArgs.cs @@ -10,10 +10,10 @@ namespace Tizen.System.Tests [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; @@ -29,7 +29,7 @@ namespace Tizen.System.Tests } } - private static int PassForNotSuppot() + private int PassForNotSuppot() { if (isSupport == 0) { @@ -41,12 +41,12 @@ namespace Tizen.System.Tests } [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(args.Brightness, "Brightness should be valid type"); @@ -64,7 +64,7 @@ namespace Tizen.System.Tests [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; diff --git a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSVibrator.cs b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSVibrator.cs index 0f9eb48..2578734 100755 --- a/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSVibrator.cs +++ b/tct-suite-vs/Tizen.Device.Manual.Tests/testcase/TSVibrator.cs @@ -10,9 +10,9 @@ namespace Tizen.System.Tests [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; @@ -36,7 +36,7 @@ namespace Tizen.System.Tests } } - private static int PassForNotSuppot() + private int PassForNotSuppot() { if (isSupport == 0) { @@ -48,7 +48,7 @@ namespace Tizen.System.Tests } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -64,7 +64,7 @@ namespace Tizen.System.Tests [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"); @@ -96,7 +96,7 @@ namespace Tizen.System.Tests [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"); diff --git a/tct-suite-vs/Tizen.DotnetUtil.Tests/testcase/TSDotnetUtil.cs b/tct-suite-vs/Tizen.DotnetUtil.Tests/testcase/TSDotnetUtil.cs index e7ba164..05f7f5a 100755 --- a/tct-suite-vs/Tizen.DotnetUtil.Tests/testcase/TSDotnetUtil.cs +++ b/tct-suite-vs/Tizen.DotnetUtil.Tests/testcase/TSDotnetUtil.cs @@ -25,13 +25,13 @@ namespace Tizen.DotnetUtil.Tests 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() { } @@ -42,7 +42,7 @@ namespace Tizen.DotnetUtil.Tests [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 */ diff --git a/tct-suite-vs/Tizen.Download.Manual.Tests/testcase/TSRequest.cs b/tct-suite-vs/Tizen.Download.Manual.Tests/testcase/TSRequest.cs index 6ce4a89..b0710c3 100755 --- a/tct-suite-vs/Tizen.Download.Manual.Tests/testcase/TSRequest.cs +++ b/tct-suite-vs/Tizen.Download.Manual.Tests/testcase/TSRequest.cs @@ -10,12 +10,12 @@ namespace Tizen.Content.Download.Tests [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) @@ -33,13 +33,13 @@ namespace Tizen.Content.Download.Tests } } - 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"; @@ -49,14 +49,14 @@ namespace Tizen.Content.Download.Tests } [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) @@ -111,7 +111,7 @@ namespace Tizen.Content.Download.Tests [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); diff --git a/tct-suite-vs/Tizen.Download.Tests/testcase/TSNotification.cs b/tct-suite-vs/Tizen.Download.Tests/testcase/TSNotification.cs index 4320812..697a53d 100755 --- a/tct-suite-vs/Tizen.Download.Tests/testcase/TSNotification.cs +++ b/tct-suite-vs/Tizen.Download.Tests/testcase/TSNotification.cs @@ -7,18 +7,18 @@ using Tizen.System; 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"; @@ -29,7 +29,7 @@ namespace Tizen.Content.Download.Tests { } [TearDown] - public static void Destroy() { + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG , "Postconditions for each Test"); notificationUrl = null; notificationTitle = null; @@ -43,7 +43,7 @@ namespace Tizen.Content.Download.Tests { [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 @@ -68,7 +68,7 @@ namespace Tizen.Content.Download.Tests { [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 @@ -93,7 +93,7 @@ namespace Tizen.Content.Download.Tests { [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 @@ -118,7 +118,7 @@ namespace Tizen.Content.Download.Tests { [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 @@ -143,7 +143,7 @@ namespace Tizen.Content.Download.Tests { [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 @@ -168,7 +168,7 @@ namespace Tizen.Content.Download.Tests { [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 @@ -192,7 +192,7 @@ namespace Tizen.Content.Download.Tests { [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 @@ -219,7 +219,7 @@ namespace Tizen.Content.Download.Tests { [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 @@ -240,7 +240,7 @@ namespace Tizen.Content.Download.Tests { [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 @@ -267,7 +267,7 @@ namespace Tizen.Content.Download.Tests { [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 @@ -288,7 +288,7 @@ namespace Tizen.Content.Download.Tests { [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 @@ -315,7 +315,7 @@ namespace Tizen.Content.Download.Tests { [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 diff --git a/tct-suite-vs/Tizen.Download.Tests/testcase/TSProgressChangedEventArgs.cs b/tct-suite-vs/Tizen.Download.Tests/testcase/TSProgressChangedEventArgs.cs index d8eb618..a4f8a2f 100755 --- a/tct-suite-vs/Tizen.Download.Tests/testcase/TSProgressChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Download.Tests/testcase/TSProgressChangedEventArgs.cs @@ -9,10 +9,10 @@ namespace Tizen.Content.Download.Tests [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) @@ -31,18 +31,18 @@ namespace Tizen.Content.Download.Tests } [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(e.ReceivedDataSize , "ReceivedDataSize is not of the type ulong"); @@ -57,7 +57,7 @@ namespace Tizen.Content.Download.Tests [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 diff --git a/tct-suite-vs/Tizen.Download.Tests/testcase/TSRequest.cs b/tct-suite-vs/Tizen.Download.Tests/testcase/TSRequest.cs index 4c8faaa..7df2d5e 100755 --- a/tct-suite-vs/Tizen.Download.Tests/testcase/TSRequest.cs +++ b/tct-suite-vs/Tizen.Download.Tests/testcase/TSRequest.cs @@ -11,24 +11,24 @@ namespace Tizen.Content.Download.Tests [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 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 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) @@ -47,7 +47,7 @@ namespace Tizen.Content.Download.Tests } [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"; @@ -67,7 +67,7 @@ namespace Tizen.Content.Download.Tests } [TearDown] - public static void Destroy() { + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG , "Postconditions for each Test"); req = null; url = null; @@ -78,13 +78,13 @@ namespace Tizen.Content.Download.Tests 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) @@ -135,7 +135,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -159,7 +159,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -186,7 +186,7 @@ namespace Tizen.Content.Download.Tests [Property("CRITERIA", "CONSTR")] [Property("AUTHOR", "Yuvaraj S, yuvaraj.s@samsung.com")] [Property("COVPARAM", "string, string, string, Tizen.Content.Download.NetworkType, System.Collections.Generic.IDictionary")] - public static void Request_INIT_URL_DESTPATH_FILENAME_NETWORKTYPE_HEADER() + public void Request_INIT_URL_DESTPATH_FILENAME_NETWORKTYPE_HEADER() { /* TEST CODE */ try @@ -212,7 +212,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -246,7 +246,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -273,7 +273,7 @@ namespace Tizen.Content.Download.Tests } } - 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"); @@ -289,7 +289,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -322,7 +322,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -350,7 +350,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -382,7 +382,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -412,7 +412,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -445,7 +445,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -477,7 +477,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -507,7 +507,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -539,7 +539,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -569,7 +569,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -601,7 +601,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -631,7 +631,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -663,7 +663,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -693,7 +693,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -718,7 +718,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -745,7 +745,7 @@ namespace Tizen.Content.Download.Tests [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 */ @@ -775,7 +775,7 @@ namespace Tizen.Content.Download.Tests [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 { @@ -805,7 +805,7 @@ namespace Tizen.Content.Download.Tests [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 { @@ -834,7 +834,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -862,7 +862,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -887,7 +887,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -913,7 +913,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -942,7 +942,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -968,7 +968,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -997,7 +997,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -1016,7 +1016,7 @@ namespace Tizen.Content.Download.Tests } } - static void OnStateChangedTempPath(object sender, StateChangedEventArgs e) + void OnStateChangedTempPath(object sender, StateChangedEventArgs e) { Tizen.Log.Info("Tizen.Content.Download" , "OnStateChanged"); Request testRequest = (Request)sender; @@ -1078,7 +1078,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -1112,7 +1112,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -1140,7 +1140,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -1166,7 +1166,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -1219,7 +1219,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -1239,7 +1239,7 @@ namespace Tizen.Content.Download.Tests } } - static void OnStateChangedStart(object sender, StateChangedEventArgs e) + void OnStateChangedStart(object sender, StateChangedEventArgs e) { Tizen.Log.Info("Tizen.Content.Download" , "OnStateChanged"); switch (e.State) @@ -1289,7 +1289,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -1320,7 +1320,7 @@ namespace Tizen.Content.Download.Tests 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; @@ -1375,7 +1375,7 @@ namespace Tizen.Content.Download.Tests } } - 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; @@ -1437,7 +1437,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -1471,7 +1471,7 @@ namespace Tizen.Content.Download.Tests [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 @@ -1506,7 +1506,7 @@ namespace Tizen.Content.Download.Tests [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 diff --git a/tct-suite-vs/Tizen.Download.Tests/testcase/TSStateChangedEventArgs.cs b/tct-suite-vs/Tizen.Download.Tests/testcase/TSStateChangedEventArgs.cs index f428beb..cd87909 100755 --- a/tct-suite-vs/Tizen.Download.Tests/testcase/TSStateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Download.Tests/testcase/TSStateChangedEventArgs.cs @@ -9,10 +9,10 @@ namespace Tizen.Content.Download.Tests [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) @@ -31,18 +31,18 @@ namespace Tizen.Content.Download.Tests } [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) @@ -92,7 +92,7 @@ namespace Tizen.Content.Download.Tests [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 diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSAccessibleObject.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSAccessibleObject.cs index b7b06bd..da3e7cb 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSAccessibleObject.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSAccessibleObject.cs @@ -27,12 +27,12 @@ namespace ElmSharp.Tests [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) @@ -55,7 +55,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); if (_button != null) @@ -65,7 +65,7 @@ namespace ElmSharp.Tests } } - private static string AccessibleInfoProviderDelegate(AccessibleObject obj) + private string AccessibleInfoProviderDelegate(AccessibleObject obj) { return "Test AccessibleInfoProvider"; } @@ -82,7 +82,7 @@ namespace ElmSharp.Tests [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(); @@ -106,7 +106,7 @@ namespace ElmSharp.Tests [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(); @@ -131,7 +131,7 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSAccessibleUtil.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSAccessibleUtil.cs index 659d045..584cf80 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSAccessibleUtil.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSAccessibleUtil.cs @@ -27,15 +27,15 @@ namespace ElmSharp.Tests [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) @@ -76,7 +76,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); if (_box != null) @@ -117,7 +117,7 @@ namespace ElmSharp.Tests [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"; @@ -156,7 +156,7 @@ namespace ElmSharp.Tests [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"; diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSBox.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSBox.cs index deac113..6dbfabc 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSBox.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSBox.cs @@ -27,20 +27,20 @@ namespace ElmSharp.Tests [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) @@ -70,7 +70,7 @@ namespace ElmSharp.Tests } } - private static void OnClicked(object sender, EventArgs e) + private void OnClicked(object sender, EventArgs e) { _box.SetLayoutCallback(OnSetLayout); var niviframe = _testPage.getNavigationPage(); @@ -78,7 +78,7 @@ namespace ElmSharp.Tests niviframe.Pop(); } - private static void OnClicked_UnPack(object sender, EventArgs e) + private void OnClicked_UnPack(object sender, EventArgs e) { _box.UnPack(_button2); _box.Hide(); @@ -101,7 +101,7 @@ namespace ElmSharp.Tests } } - private static void OnClicked_UnPackAll(object sender, EventArgs e) + private void OnClicked_UnPackAll(object sender, EventArgs e) { _box.UnPackAll(); _box.Hide(); @@ -124,7 +124,7 @@ namespace ElmSharp.Tests } } - private static void CreateBoxPage() + private void CreateBoxPage() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init"); @@ -175,7 +175,7 @@ namespace ElmSharp.Tests _testPage.ExecuteTCByPage(_box2); } - private static Action OnSetLayout = () => + private Action OnSetLayout = () => { ManualTest.Confirm(); }; @@ -191,7 +191,7 @@ namespace ElmSharp.Tests [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; @@ -211,7 +211,7 @@ namespace ElmSharp.Tests [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; @@ -230,7 +230,7 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSButton.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSButton.cs index 523ec9d..f89cf0e 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSButton.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSButton.cs @@ -29,19 +29,19 @@ namespace ElmSharp.Tests [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) @@ -51,7 +51,7 @@ namespace ElmSharp.Tests } } - private static void CreateButton(string buttonText) + private void CreateButton(string buttonText) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateButton"); @@ -67,7 +67,7 @@ namespace ElmSharp.Tests _testPage.ExecuteTC(_button); } - private static void CreateButtonPage(string buttonText) + private void CreateButtonPage(string buttonText) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init"); @@ -95,22 +95,22 @@ namespace ElmSharp.Tests _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) { @@ -130,7 +130,7 @@ namespace ElmSharp.Tests [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; @@ -150,7 +150,7 @@ namespace ElmSharp.Tests [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; @@ -170,7 +170,7 @@ namespace ElmSharp.Tests [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; @@ -191,7 +191,7 @@ namespace ElmSharp.Tests [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"); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSCalendar.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSCalendar.cs index c8b767d..ac0aecd 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSCalendar.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSCalendar.cs @@ -27,12 +27,12 @@ namespace ElmSharp.Tests [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) @@ -47,7 +47,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); if (_Calendar != null) @@ -57,7 +57,7 @@ namespace ElmSharp.Tests } } - private static void CreateCalendarPage(string CalendarText) + private void CreateCalendarPage(string CalendarText) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init"); @@ -77,12 +77,12 @@ namespace ElmSharp.Tests _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) @@ -90,7 +90,7 @@ namespace ElmSharp.Tests ManualTest.Confirm(); } - public static void OnDisplayedMonthChanged(object sender, EventArgs e) + public void OnDisplayedMonthChanged(object sender, EventArgs e) { var niviframe = _testPage.getNavigationPage(); if (niviframe != null) @@ -109,7 +109,7 @@ namespace ElmSharp.Tests [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. @@ -129,7 +129,7 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSCheck.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSCheck.cs index b71e934..7880ab2 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSCheck.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSCheck.cs @@ -27,18 +27,18 @@ namespace ElmSharp.Tests [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) @@ -48,7 +48,7 @@ namespace ElmSharp.Tests } } - private static void CreateCheck() + private void CreateCheck() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init"); _Check = new Check(_window); @@ -58,7 +58,7 @@ namespace ElmSharp.Tests _Check.StateChanged -= OnStateChanged; } - private static void OnStateChanged(object sender, EventArgs e) + private void OnStateChanged(object sender, EventArgs e) { ManualTest.Confirm(); } @@ -74,7 +74,7 @@ namespace ElmSharp.Tests [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. diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSContextPopup.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSContextPopup.cs index 9ef91a8..9433079 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSContextPopup.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSContextPopup.cs @@ -27,20 +27,20 @@ namespace ElmSharp.Tests [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) @@ -50,12 +50,12 @@ namespace ElmSharp.Tests } } - 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); @@ -87,7 +87,7 @@ namespace ElmSharp.Tests _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) @@ -107,7 +107,7 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSContextPopupItem.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSContextPopupItem.cs index 51431b2..dbebd88 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSContextPopupItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSContextPopupItem.cs @@ -27,20 +27,20 @@ namespace ElmSharp.Tests [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) @@ -50,7 +50,7 @@ namespace ElmSharp.Tests } } - private static void CreateContextPopupItem() + private void CreateContextPopupItem() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init"); _contextPopup = new ContextPopup(_window); @@ -72,7 +72,7 @@ namespace ElmSharp.Tests } - private static void OnSelected(object sender, EventArgs e) + private void OnSelected(object sender, EventArgs e) { var niviframe = _testPage.getNavigationPage(); if (niviframe != null) @@ -91,7 +91,7 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSDateTimeSelector.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSDateTimeSelector.cs index 9f0c86b..30057b3 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSDateTimeSelector.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSDateTimeSelector.cs @@ -27,19 +27,19 @@ namespace ElmSharp.Tests [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) @@ -49,7 +49,7 @@ namespace ElmSharp.Tests } } - private static void CreateDateTimeSelector() + private void CreateDateTimeSelector() { _dateTimeSelector = new DateTimeSelector(_window) { @@ -59,7 +59,7 @@ namespace ElmSharp.Tests }; } - private static void OnDateTimeChanged(object sender, EventArgs e) + private void OnDateTimeChanged(object sender, EventArgs e) { if (_dateTimeSelector.DateTime == _oldDateTime.AddDays(1)) { @@ -87,7 +87,7 @@ namespace ElmSharp.Tests [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) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreEvent.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreEvent.cs index 5d4ab96..49f4f26 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreEvent.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreEvent.cs @@ -26,15 +26,15 @@ namespace ElmSharp.Tests [Description("Testing ElmSharp.EcoreEvent class")] public class EcoreEventTests { - private static TestPage _testPage = TestPage.GetInstance(); - private static EcoreEvent _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 _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) @@ -45,7 +45,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_ecoreEvent != null) @@ -69,7 +69,7 @@ namespace ElmSharp.Tests } } - private static void CreateLayout() + private void CreateLayout() { _box = new Box(_window) { @@ -104,7 +104,7 @@ namespace ElmSharp.Tests _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) { @@ -114,7 +114,7 @@ namespace ElmSharp.Tests return new EcoreKeyEventArgs(); } - private static void OnKeyDown(object s, EcoreKeyEventArgs e) + private void OnKeyDown(object s, EcoreKeyEventArgs e) { if (e.KeyName == "XF86Menu") { @@ -130,12 +130,12 @@ namespace ElmSharp.Tests } } - 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"; @@ -154,7 +154,7 @@ namespace ElmSharp.Tests [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(EcoreEventType.KeyDown, EventInfoParserDelegate); _ecoreEvent.On += OnKeyDown; @@ -177,7 +177,7 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreEventTemplate.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreEventTemplate.cs index a86f3a3..87021ae 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreEventTemplate.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreEventTemplate.cs @@ -25,18 +25,18 @@ namespace ElmSharp.Tests [Description("Testing ElmSharp.EcoreEvent class")] public class EcoreEventTemplateTests { - private static TestPage _testPage = TestPage.GetInstance(); - private static MainWindow _window = MainWindow.GetInstance(); - private static EcoreEvent _ecoreEventTemplate; + private TestPage _testPage = TestPage.GetInstance(); + private MainWindow _window = MainWindow.GetInstance(); + private EcoreEvent _ecoreEventTemplate; [SetUp] - public static void Init() + public void Init() { _ecoreEventTemplate = new EcoreEvent( EcoreEventType.MouseButtonDown); } [TearDown] - public static void Destroy() + public void Destroy() { if (_ecoreEventTemplate != null) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreKeyEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreKeyEventArgs.cs index b632083..5a7dfc7 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreKeyEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreKeyEventArgs.cs @@ -27,12 +27,12 @@ namespace ElmSharp.Tests [Description("Testing ElmSharp.EcoreKeyEventArgs class")] public class TSEcoreKeyEventArgs { - private static TestPage _testPage = TestPage.GetInstance(); - private static EcoreEvent _ecoreEvent; - private static MainWindow _window = MainWindow.GetInstance(); + private TestPage _testPage = TestPage.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"); if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.MobileProfile) != 0) @@ -43,7 +43,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_ecoreEvent != null) @@ -52,7 +52,7 @@ namespace ElmSharp.Tests } } - private static void OnKeyDown_KeyName(object obj, EcoreKeyEventArgs e) + private void OnKeyDown_KeyName(object obj, EcoreKeyEventArgs e) { if (e.KeyName == "XF86Menu") { @@ -65,7 +65,7 @@ namespace ElmSharp.Tests } } - private static void OnKeyDown_KeyCode(object obj, EcoreKeyEventArgs e) + private void OnKeyDown_KeyCode(object obj, EcoreKeyEventArgs e) { if (e.KeyCode == 177) { @@ -89,7 +89,7 @@ namespace ElmSharp.Tests [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(EcoreEventType.KeyDown, EcoreKeyEventArgs.Create); _ecoreEvent.On += OnKeyDown_KeyName; @@ -108,7 +108,7 @@ namespace ElmSharp.Tests [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(EcoreEventType.KeyDown, EcoreKeyEventArgs.Create); _ecoreEvent.On += OnKeyDown_KeyCode; diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreTimelineAnimator.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreTimelineAnimator.cs index 2021dfc..48becab 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreTimelineAnimator.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEcoreTimelineAnimator.cs @@ -26,14 +26,14 @@ namespace ElmSharp.Tests [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 { @@ -48,7 +48,7 @@ namespace ElmSharp.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST"); @@ -61,7 +61,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); if (_box != null) @@ -134,7 +134,7 @@ namespace ElmSharp.Tests return square; } - private static void OnTimeline() + private void OnTimeline() { int X1 = _rect.X; int Y1 = _rect.Y; @@ -148,19 +148,19 @@ namespace ElmSharp.Tests _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) { @@ -178,31 +178,31 @@ namespace ElmSharp.Tests } } - 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(); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEffectBase.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEffectBase.cs index fbfef83..12684e8 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEffectBase.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEffectBase.cs @@ -27,16 +27,16 @@ namespace ElmSharp.Tests [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"); @@ -50,7 +50,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); if (_box != null) @@ -80,7 +80,7 @@ namespace ElmSharp.Tests niviframe.Pop(); } - private static void CreateTransit() + private void CreateTransit() { _trans = new Transit(); @@ -89,7 +89,7 @@ namespace ElmSharp.Tests _trans.Duration = 2; } - private static void CreateBtn(string text) + private void CreateBtn(string text) { _btn = new Button(_window) { @@ -102,7 +102,7 @@ namespace ElmSharp.Tests } - private static void _Confirm(object sender, EventArgs e) + private void _Confirm(object sender, EventArgs e) { ManualTest.Confirm(); } @@ -119,7 +119,7 @@ namespace ElmSharp.Tests [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"); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEntry.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEntry.cs index 968c87c..4343512 100644 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEntry.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEntry.cs @@ -29,22 +29,22 @@ namespace ElmSharp.Tests [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) @@ -78,7 +78,7 @@ namespace ElmSharp.Tests } } - private static void CreateLabel() + private void CreateLabel() { _label = new Label(_window) { @@ -90,7 +90,7 @@ namespace ElmSharp.Tests _label.Show(); } - private static void CreateEntry() + private void CreateEntry() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init"); _layout = new Box(_window) @@ -115,7 +115,7 @@ namespace ElmSharp.Tests _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) @@ -158,7 +158,7 @@ namespace ElmSharp.Tests _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) @@ -204,7 +204,7 @@ namespace ElmSharp.Tests _testPage.ExecuteTC(_layout); } - public static string SetFilter(Entry entry, string text) + public string SetFilter(Entry entry, string text) { if (text.Equals("t")) return "Tizen"; @@ -212,29 +212,29 @@ namespace ElmSharp.Tests 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; @@ -256,7 +256,7 @@ namespace ElmSharp.Tests } } - private static void OnClickedByEndCursorSelection(object sender, EventArgs e) + private void OnClickedByEndCursorSelection(object sender, EventArgs e) { _button1.IsEnabled = false; _entry.CursorPosition = 2; @@ -278,21 +278,21 @@ namespace ElmSharp.Tests } } - 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(); @@ -308,13 +308,13 @@ namespace ElmSharp.Tests } } - 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()) { @@ -330,7 +330,7 @@ namespace ElmSharp.Tests } } - private static void OnClickedByGetSelection(object sender, EventArgs e) + private void OnClickedByGetSelection(object sender, EventArgs e) { _entry.SelectAll(); @@ -348,34 +348,34 @@ namespace ElmSharp.Tests } } - 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")) { @@ -393,7 +393,7 @@ namespace ElmSharp.Tests } } - private static void OnClickedBySaveFile(object sender, EventArgs e) + private void OnClickedBySaveFile(object sender, EventArgs e) { _entry.SaveFile(); @@ -417,7 +417,7 @@ namespace ElmSharp.Tests } } - private static EvasObject ItemProvider(string s) + private EvasObject ItemProvider(string s) { Image img = new Image(_window); img.Show(); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasCanvas.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasCanvas.cs index 235ebe2..82008ef 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasCanvas.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasCanvas.cs @@ -27,22 +27,22 @@ namespace ElmSharp.Tests [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) @@ -67,7 +67,7 @@ namespace ElmSharp.Tests } } - private static void CreateResultLabel(string text) + private void CreateResultLabel(string text) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateEvasObject"); _resultlabel = new Label(_window) @@ -77,7 +77,7 @@ namespace ElmSharp.Tests _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) @@ -92,39 +92,39 @@ namespace ElmSharp.Tests _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; @@ -144,7 +144,7 @@ namespace ElmSharp.Tests } } - private static void OnPointer(object sender, EventArgs e) + private void OnPointer(object sender, EventArgs e) { if (_image == null) return; @@ -179,7 +179,7 @@ namespace ElmSharp.Tests [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) { @@ -214,7 +214,7 @@ namespace ElmSharp.Tests [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) { @@ -246,7 +246,7 @@ namespace ElmSharp.Tests [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) { @@ -282,7 +282,7 @@ namespace ElmSharp.Tests [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) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasImage.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasImage.cs index ccdb181..c020f08 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasImage.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasImage.cs @@ -28,24 +28,24 @@ namespace ElmSharp.Tests [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) @@ -85,7 +85,7 @@ namespace ElmSharp.Tests } } - private static Box CreateBox() + private Box CreateBox() { Box box = new Box(_window) { @@ -97,7 +97,7 @@ namespace ElmSharp.Tests return box; } - private static EvasImage CreateEvasImage() + private EvasImage CreateEvasImage() { EvasImage evasImage = new EvasImage(_window) { @@ -109,7 +109,7 @@ namespace ElmSharp.Tests return evasImage; } - private static Image CreateImage(String file) + private Image CreateImage(String file) { Image image = new Image(_window) { @@ -122,18 +122,18 @@ namespace ElmSharp.Tests 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"); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasKeyEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasKeyEventArgs.cs index c11ee32..dc64c80 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasKeyEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasKeyEventArgs.cs @@ -27,12 +27,12 @@ namespace ElmSharp.Tests [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) @@ -43,7 +43,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_evasKeyEventArgs != null) @@ -52,7 +52,7 @@ namespace ElmSharp.Tests } } - private static void OnMenuKeydown(object obj, EvasKeyEventArgs evs) + private void OnMenuKeydown(object obj, EvasKeyEventArgs evs) { _evasKeyEventArgs = evs; if (evs.KeyName == "XF86Menu") @@ -66,7 +66,7 @@ namespace ElmSharp.Tests 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."); @@ -88,7 +88,7 @@ namespace ElmSharp.Tests [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); @@ -109,7 +109,7 @@ namespace ElmSharp.Tests [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); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasMap.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasMap.cs index e7a42fe..b08c3eb 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasMap.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasMap.cs @@ -27,26 +27,26 @@ namespace ElmSharp.Tests [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) @@ -81,7 +81,7 @@ namespace ElmSharp.Tests } } - private static void CreateEvasMap() + private void CreateEvasMap() { _box = new Box(_window) { @@ -139,7 +139,7 @@ namespace ElmSharp.Tests _testPage.ExecuteTC(_box); } - private static void OnClickedForPopulate1(object sender, EventArgs e) + private void OnClickedForPopulate1(object sender, EventArgs e) { _x += 0.5; _y += 0.5; @@ -151,7 +151,7 @@ namespace ElmSharp.Tests _xLabel.IsMapEnabled = true; } - private static void OnClickedForPopulate2(object sender, EventArgs e) + private void OnClickedForPopulate2(object sender, EventArgs e) { _x += 0.5; _y += 0.5; @@ -163,7 +163,7 @@ namespace ElmSharp.Tests _yLabel.IsMapEnabled = true; } - private static void OnClickedForPopulate3(object sender, EventArgs e) + private void OnClickedForPopulate3(object sender, EventArgs e) { _x += 0.5; _y += 0.5; @@ -175,7 +175,7 @@ namespace ElmSharp.Tests _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); @@ -186,7 +186,7 @@ namespace ElmSharp.Tests _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); @@ -197,7 +197,7 @@ namespace ElmSharp.Tests _group.IsMapEnabled = true; } - private static void OnClickedForZoom(object sender, EventArgs e) + private void OnClickedForZoom(object sender, EventArgs e) { _x += 0.5; _y += 0.5; @@ -222,7 +222,7 @@ namespace ElmSharp.Tests [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(); @@ -247,7 +247,7 @@ namespace ElmSharp.Tests [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(); @@ -272,7 +272,7 @@ namespace ElmSharp.Tests [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(); @@ -296,7 +296,7 @@ namespace ElmSharp.Tests [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(); @@ -321,7 +321,7 @@ namespace ElmSharp.Tests [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(); @@ -346,7 +346,7 @@ namespace ElmSharp.Tests [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(); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasObject.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasObject.cs index a4b8e02..170d882 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasObject.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasObject.cs @@ -27,14 +27,14 @@ namespace ElmSharp.Tests [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() @@ -60,14 +60,14 @@ namespace ElmSharp.Tests } [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) @@ -103,7 +103,7 @@ namespace ElmSharp.Tests _isInvalidate = false; } - private static void CreateResultLabel(string text) + private void CreateResultLabel(string text) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateEvasObject"); _resultlabel = new Label(_window) @@ -113,7 +113,7 @@ namespace ElmSharp.Tests _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) @@ -128,7 +128,7 @@ namespace ElmSharp.Tests _testPage.ExecuteTC(_button); } - public static EvasObject GetTooltipContent() + public EvasObject GetTooltipContent() { var label = new Label(_window) { @@ -141,41 +141,41 @@ namespace ElmSharp.Tests 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(); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasObjectEvent.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasObjectEvent.cs index 61097f6..c350ee8 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasObjectEvent.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasObjectEvent.cs @@ -27,25 +27,25 @@ namespace ElmSharp.Tests [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 _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 _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) @@ -82,7 +82,7 @@ namespace ElmSharp.Tests } } - private static void CreateResultButton(string text) + private void CreateResultButton(string text) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateEvasObject"); _button = new Button(_window) @@ -97,7 +97,7 @@ namespace ElmSharp.Tests _testPage.ExecuteTC(_button); } - private static void CreateLayout(string text1, string text2) + private void CreateLayout(string text1, string text2) { _box = new Box(_window) { @@ -135,46 +135,46 @@ namespace ElmSharp.Tests _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") { @@ -203,7 +203,7 @@ namespace ElmSharp.Tests [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); @@ -228,7 +228,7 @@ namespace ElmSharp.Tests [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); @@ -257,7 +257,7 @@ namespace ElmSharp.Tests [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; @@ -290,7 +290,7 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasObjectEventTemplate.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasObjectEventTemplate.cs index 5204b74..d9299d3 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasObjectEventTemplate.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasObjectEventTemplate.cs @@ -27,21 +27,21 @@ namespace ElmSharp.Tests [Description("Testing ElmSharp.EvasObjectEvent class")] public class TSEvasObjectEventTemplate { - private static TestPage _testPage = TestPage.GetInstance(); - private static EvasObject _evasObject; - private static EvasObjectEvent _evasObjectEvent; - private static Label _resultlabel; - private static MainWindow _window = MainWindow.GetInstance(); + private TestPage _testPage = TestPage.GetInstance(); + private EvasObject _evasObject; + private EvasObjectEvent _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) @@ -60,7 +60,7 @@ namespace ElmSharp.Tests } } - private static void CreateResultLabel(string text) + private void CreateResultLabel(string text) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateEvasObject"); _resultlabel = new Label(_window) @@ -70,7 +70,7 @@ namespace ElmSharp.Tests _testPage.ExecuteTC(_resultlabel); } - private static void On2(object sender, EventArgs e) + private void On2(object sender, EventArgs e) { _resultlabel.Text = "Success!"; } @@ -88,7 +88,7 @@ namespace ElmSharp.Tests [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) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSFlipSelector.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSFlipSelector.cs index e8ad1a7..79534eb 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSFlipSelector.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSFlipSelector.cs @@ -28,16 +28,16 @@ namespace ElmSharp.Tests [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) @@ -47,7 +47,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_flipSelector != null) @@ -56,7 +56,7 @@ namespace ElmSharp.Tests _flipSelector = null; } } - private static void CreateFlipSelector() + private void CreateFlipSelector() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init"); _flipSelector = new FlipSelector(_window); @@ -67,17 +67,17 @@ namespace ElmSharp.Tests _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(); @@ -94,7 +94,7 @@ namespace ElmSharp.Tests [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; @@ -115,7 +115,7 @@ namespace ElmSharp.Tests [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; @@ -136,7 +136,7 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSFlipSelectorItem.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSFlipSelectorItem.cs index 4a86dc6..582e5e7 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSFlipSelectorItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSFlipSelectorItem.cs @@ -28,17 +28,17 @@ namespace ElmSharp.Tests [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) @@ -49,7 +49,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_flipSelectorItem != null) @@ -59,7 +59,7 @@ namespace ElmSharp.Tests _flipSelectorItem = null; } } - private static void CreateFlipSelector(string flipSelectorText) + private void CreateFlipSelector(string flipSelectorText) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init"); _flipSelector = new FlipSelector(_window); @@ -70,7 +70,7 @@ namespace ElmSharp.Tests _testPage.ExecuteTC(_flipSelector); } - private static void OnSelected(object sender, EventArgs e) + private void OnSelected(object sender, EventArgs e) { Assert.True(true); ManualTest.Confirm(); @@ -88,7 +88,7 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSFloatingButton.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSFloatingButton.cs index 27f6d66..74c6ac6 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSFloatingButton.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSFloatingButton.cs @@ -27,12 +27,12 @@ namespace ElmSharp.Tests [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) { @@ -46,7 +46,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_floatingButton != null) @@ -56,7 +56,7 @@ namespace ElmSharp.Tests } } - private static void CreateFloatingButton() + private void CreateFloatingButton() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init"); _floatingButton = new FloatingButton(_window) @@ -72,7 +72,7 @@ namespace ElmSharp.Tests _testPage.ExecuteTC(_floatingButton); } - private static void OnButtonClicked(object sender, EventArgs e) + private void OnButtonClicked(object sender, EventArgs e) { Assert.True(true); ManualTest.Confirm(); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenGrid.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenGrid.cs index cb69d18..e661634 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenGrid.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenGrid.cs @@ -27,20 +27,20 @@ namespace ElmSharp.Tests [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 _genGridItemList; - private static GenItemClass _genItemClass; - private static GenItemClass _genItemUpdateClass; - private static List _colorList; - private static List _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 _genGridItemList; + private GenItemClass _genItemClass; + private GenItemClass _genItemUpdateClass; + private List _colorList; + private List _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) { @@ -54,7 +54,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { if (_genGridItemList != null) { @@ -103,7 +103,7 @@ namespace ElmSharp.Tests } } - private static void InitGenGrid() + private void InitGenGrid() { _genGridItemList = new List(); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenGridItem.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenGridItem.cs index 202c68c..c678ae2 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenGridItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenGridItem.cs @@ -27,16 +27,16 @@ namespace ElmSharp.Tests [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 _genGridItemList; - private static GenItemClass _genItemClass; - private static GenItemClass _genItemUpdateClass; - private static List _colorList; - private static List _myColorList; - private static Button _button; - private static Box _box; + private TestPage _testPage = TestPage.GetInstance(); + private MainWindow _window = MainWindow.GetInstance(); + private GenGrid _genGrid; + private List _genGridItemList; + private GenItemClass _genItemClass; + private GenItemClass _genItemUpdateClass; + private List _colorList; + private List _myColorList; + private Button _button; + private Box _box; class MyColor { @@ -61,7 +61,7 @@ namespace ElmSharp.Tests } [SetUp] - public static void Init() + public void Init() { if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.WearableProfile) == 0) { @@ -75,7 +75,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { if (_genGrid != null) { @@ -114,7 +114,7 @@ namespace ElmSharp.Tests } } - private static void InitGenGrid() + private void InitGenGrid() { _genGridItemList = new List(); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenItem.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenItem.cs index 5950978..233d70f 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenItem.cs @@ -27,16 +27,16 @@ namespace ElmSharp.Tests [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 _colorList; - private static List _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 _colorList; + private List _myColorList; + private GenList _genList; + private GenItemClass _defaultClass; + private GenListItem _selectedItem; class MyColor { @@ -61,14 +61,14 @@ namespace ElmSharp.Tests } [SetUp] - public static void Init() + public void Init() { InitGenGrid(); InitGenList(); } [TearDown] - public static void Destroy() + public void Destroy() { if (_genGrid != null) { @@ -107,7 +107,7 @@ namespace ElmSharp.Tests } } - private static void InitGenGrid() + private void InitGenGrid() { _genGrid = new GenGrid(_window) { @@ -176,7 +176,7 @@ namespace ElmSharp.Tests } } - private static void InitGenList() + private void InitGenList() { _genList = new GenList(_window) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenList.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenList.cs index f5f1b48..7cd79d9 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenList.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenList.cs @@ -27,21 +27,21 @@ namespace ElmSharp.Tests [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 _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 _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 { @@ -66,13 +66,13 @@ namespace ElmSharp.Tests } [SetUp] - public static void Init() + public void Init() { InitGenList(); } [TearDown] - public static void Destroy() + public void Destroy() { if (_datas != null) { @@ -130,7 +130,7 @@ namespace ElmSharp.Tests } } - private static void InitGenList() + private void InitGenList() { _genListItemList = new List(); _genList = new GenList(_window) diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenListItem.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenListItem.cs index b0d2495..a73f28f 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenListItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenListItem.cs @@ -27,17 +27,17 @@ namespace ElmSharp.Tests [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 _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 _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 { @@ -62,13 +62,13 @@ namespace ElmSharp.Tests } [SetUp] - public static void Init() + public void Init() { InitGenList(); } [TearDown] - public static void Destroy() + public void Destroy() { if (_datas != null) { @@ -111,7 +111,7 @@ namespace ElmSharp.Tests } } - private static void InitGenList() + private void InitGenList() { _genListItemList = new List(); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSHoversel.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSHoversel.cs index 668c0c7..2bd8e5d 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSHoversel.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSHoversel.cs @@ -27,14 +27,14 @@ namespace ElmSharp.Tests [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) @@ -45,7 +45,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_hoversel != null) @@ -77,7 +77,7 @@ namespace ElmSharp.Tests } } - private static void CreateHoversel() + private void CreateHoversel() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init"); _layout1 = new Box(_window) @@ -100,7 +100,7 @@ namespace ElmSharp.Tests _testPage.ExecuteTC(_layout1); } - private static void CreateHoverselPage() + private void CreateHoverselPage() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init"); _layout1 = new Box(_window) @@ -151,7 +151,7 @@ namespace ElmSharp.Tests _button2.Show(); _testPage.ExecuteTCByPage(_layout1); } - private static void CreateHoverselPageS() + private void CreateHoverselPageS() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init"); _layout1 = new Box(_window) @@ -204,20 +204,20 @@ namespace ElmSharp.Tests _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(); } @@ -234,7 +234,7 @@ namespace ElmSharp.Tests [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(); @@ -255,7 +255,7 @@ namespace ElmSharp.Tests [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(); @@ -278,7 +278,7 @@ namespace ElmSharp.Tests [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; @@ -299,7 +299,7 @@ namespace ElmSharp.Tests [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; @@ -324,7 +324,7 @@ namespace ElmSharp.Tests [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; @@ -351,7 +351,7 @@ namespace ElmSharp.Tests [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; @@ -361,11 +361,11 @@ namespace ElmSharp.Tests _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(); } @@ -383,7 +383,7 @@ namespace ElmSharp.Tests [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; @@ -408,7 +408,7 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSHoverselItem.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSHoverselItem.cs index 38a8ff8..eb5fd5d 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSHoverselItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSHoverselItem.cs @@ -27,14 +27,14 @@ namespace ElmSharp.Tests [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) @@ -45,7 +45,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_hoversel != null) @@ -63,7 +63,7 @@ namespace ElmSharp.Tests _layout = null; } } - private static void CreateHoversel() + private void CreateHoversel() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init"); _layout = new Box(_window) @@ -85,7 +85,7 @@ namespace ElmSharp.Tests _testPage.ExecuteTC(_layout); } - private static void Confirm(object sender, EventArgs e) + private void Confirm(object sender, EventArgs e) { Assert.True(true); ManualTest.Confirm(); @@ -103,7 +103,7 @@ namespace ElmSharp.Tests [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"); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSIAccessibleObject.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSIAccessibleObject.cs index 73839ce..7b7901c 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSIAccessibleObject.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSIAccessibleObject.cs @@ -27,14 +27,14 @@ namespace ElmSharp.Tests [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) { @@ -70,7 +70,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); if (_box != null) @@ -90,7 +90,7 @@ namespace ElmSharp.Tests } } - 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 }); @@ -109,7 +109,7 @@ namespace ElmSharp.Tests [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"; @@ -144,7 +144,7 @@ namespace ElmSharp.Tests [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"; @@ -179,7 +179,7 @@ namespace ElmSharp.Tests [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(); @@ -203,7 +203,7 @@ namespace ElmSharp.Tests [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(); @@ -228,7 +228,7 @@ namespace ElmSharp.Tests [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"; @@ -253,7 +253,7 @@ namespace ElmSharp.Tests [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"; diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSImage.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSImage.cs index 7d5a7ee..8478623 100644 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSImage.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSImage.cs @@ -28,18 +28,18 @@ namespace ElmSharp.Tests [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) @@ -49,7 +49,7 @@ namespace ElmSharp.Tests } } - private static void CreateImage() + private void CreateImage() { _image = new Image(_window) { @@ -64,7 +64,7 @@ namespace ElmSharp.Tests _testPage.ExecuteTC(_image); } - private static void OnClicked(object sender, EventArgs e) + private void OnClicked(object sender, EventArgs e) { ManualTest.Confirm(); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSIndex.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSIndex.cs index b1c53e0..d5c9119 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSIndex.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSIndex.cs @@ -27,11 +27,11 @@ namespace ElmSharp.Tests [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) @@ -42,12 +42,12 @@ namespace ElmSharp.Tests } [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(); } @@ -65,7 +65,7 @@ namespace ElmSharp.Tests [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) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSIndexItem.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSIndexItem.cs index 782d27e..2611a65 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSIndexItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSIndexItem.cs @@ -27,11 +27,11 @@ namespace ElmSharp.Tests [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) @@ -42,12 +42,12 @@ namespace ElmSharp.Tests } [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(); } @@ -64,7 +64,7 @@ namespace ElmSharp.Tests [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) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSItemObject.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSItemObject.cs index 11c125d..ec0a318 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSItemObject.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSItemObject.cs @@ -28,20 +28,20 @@ namespace ElmSharp.Tests [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) @@ -61,7 +61,7 @@ namespace ElmSharp.Tests } } - private static void OnConfirm(object s, EventArgs e) + private void OnConfirm(object s, EventArgs e) { ManualTest.Confirm(); } @@ -78,7 +78,7 @@ namespace ElmSharp.Tests [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) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSLabel.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSLabel.cs index ab21a8a..93502cc 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSLabel.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSLabel.cs @@ -26,18 +26,18 @@ namespace ElmSharp.Tests [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) @@ -47,7 +47,7 @@ namespace ElmSharp.Tests } } - private static void CreateLayout() + private void CreateLayout() { _label = new Label(_window) { @@ -63,7 +63,7 @@ namespace ElmSharp.Tests _testPage.ExecuteTC(_label); } - private static void OnSlideCompleted(object sender, EventArgs e) + private void OnSlideCompleted(object sender, EventArgs e) { ManualTest.Confirm(); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSLayout.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSLayout.cs index c4e3785..a657a94 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSLayout.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSLayout.cs @@ -27,20 +27,20 @@ namespace ElmSharp.Tests [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) @@ -50,7 +50,7 @@ namespace ElmSharp.Tests } } - private static void CreateLayout() + private void CreateLayout() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateButton"); @@ -88,7 +88,7 @@ namespace ElmSharp.Tests _testPage.ExecuteTC(_box); } - private static void OnLanguageChanged(object sender, EventArgs e) + private void OnLanguageChanged(object sender, EventArgs e) { ManualTest.Confirm(); } @@ -104,7 +104,7 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSList.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSList.cs index a95f3a5..12fc646 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSList.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSList.cs @@ -25,24 +25,24 @@ namespace ElmSharp.Tests [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) { @@ -66,7 +66,7 @@ namespace ElmSharp.Tests } } - private static void InitList() + private void InitList() { _list = new List(_window) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSMultiButtonEntry.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSMultiButtonEntry.cs index eb7a2a1..e356359 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSMultiButtonEntry.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSMultiButtonEntry.cs @@ -29,16 +29,16 @@ namespace ElmSharp.Tests [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) @@ -54,7 +54,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); if (_mButtonEntry != null) @@ -75,36 +75,36 @@ namespace ElmSharp.Tests } } - 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; @@ -131,7 +131,7 @@ namespace ElmSharp.Tests [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"); @@ -157,7 +157,7 @@ namespace ElmSharp.Tests [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++) { @@ -205,7 +205,7 @@ namespace ElmSharp.Tests [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++) @@ -234,7 +234,7 @@ namespace ElmSharp.Tests [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"); @@ -292,7 +292,7 @@ namespace ElmSharp.Tests [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"); @@ -339,7 +339,7 @@ namespace ElmSharp.Tests [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"); @@ -364,7 +364,7 @@ namespace ElmSharp.Tests [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"); @@ -411,7 +411,7 @@ namespace ElmSharp.Tests [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"); @@ -436,7 +436,7 @@ namespace ElmSharp.Tests [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"); @@ -461,7 +461,7 @@ namespace ElmSharp.Tests [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; @@ -486,7 +486,7 @@ namespace ElmSharp.Tests [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++) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSNaviItem.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSNaviItem.cs index 4b5aaee..cc1a28a 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSNaviItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSNaviItem.cs @@ -28,20 +28,20 @@ namespace ElmSharp.Tests [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) @@ -61,7 +61,7 @@ namespace ElmSharp.Tests } } - private static void OnConfirm(object s, EventArgs e) + private void OnConfirm(object s, EventArgs e) { ManualTest.Confirm(); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSNaviframe.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSNaviframe.cs index e047502..e31a28e 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSNaviframe.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSNaviframe.cs @@ -27,17 +27,17 @@ namespace ElmSharp.Tests [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"); } @@ -54,7 +54,7 @@ namespace ElmSharp.Tests [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) { @@ -106,7 +106,7 @@ namespace ElmSharp.Tests [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) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSPanes.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSPanes.cs index c6bebd3..7ae5588 100644 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSPanes.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSPanes.cs @@ -27,12 +27,12 @@ namespace ElmSharp.Tests [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) @@ -42,7 +42,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); if (_panes != null) @@ -53,7 +53,7 @@ namespace ElmSharp.Tests } - private static void CreatePanes() + private void CreatePanes() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreatePanes"); _panes = new Panes(_window); @@ -84,7 +84,7 @@ namespace ElmSharp.Tests } - private static void _Confirm(object sender, EventArgs e) + private void _Confirm(object sender, EventArgs e) { ManualTest.Confirm(); } @@ -100,7 +100,7 @@ namespace ElmSharp.Tests [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(); @@ -127,7 +127,7 @@ namespace ElmSharp.Tests [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(); @@ -155,7 +155,7 @@ namespace ElmSharp.Tests [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(); @@ -178,7 +178,7 @@ namespace ElmSharp.Tests [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(); @@ -202,7 +202,7 @@ namespace ElmSharp.Tests [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(); @@ -226,7 +226,7 @@ namespace ElmSharp.Tests [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(); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSPolygon.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSPolygon.cs index d7dca1c..4f87b33 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSPolygon.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSPolygon.cs @@ -27,19 +27,19 @@ namespace ElmSharp.Tests [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) @@ -49,7 +49,7 @@ namespace ElmSharp.Tests } } - private static void CreatePolygon() + private void CreatePolygon() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreatePolygon"); _polygon = new Polygon(_window); @@ -71,7 +71,7 @@ namespace ElmSharp.Tests [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); @@ -107,7 +107,7 @@ namespace ElmSharp.Tests [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); @@ -142,7 +142,7 @@ namespace ElmSharp.Tests [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); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSPopup.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSPopup.cs index 955d157..8cf28df 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSPopup.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSPopup.cs @@ -27,20 +27,20 @@ namespace ElmSharp.Tests [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) @@ -55,7 +55,7 @@ namespace ElmSharp.Tests } } - private static void CreateButton(Popup parent) + private void CreateButton(Popup parent) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreatePopup"); _close = new Button(_popup) @@ -66,7 +66,7 @@ namespace ElmSharp.Tests } - private static void CreatePopup(string popupText) + private void CreatePopup(string popupText) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreatePopup"); _popup = new Popup(_window) @@ -78,12 +78,12 @@ namespace ElmSharp.Tests }; } - 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(); } @@ -101,7 +101,7 @@ namespace ElmSharp.Tests [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); @@ -136,7 +136,7 @@ namespace ElmSharp.Tests [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"); @@ -169,7 +169,7 @@ namespace ElmSharp.Tests [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); @@ -199,7 +199,7 @@ namespace ElmSharp.Tests [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"); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSProgressBar.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSProgressBar.cs index 0135f73..04686f6 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSProgressBar.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSProgressBar.cs @@ -27,22 +27,22 @@ namespace ElmSharp.Tests [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) @@ -70,7 +70,7 @@ namespace ElmSharp.Tests } } - private static void CreateProgressBar() + private void CreateProgressBar() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateProgressBar"); @@ -95,7 +95,7 @@ namespace ElmSharp.Tests _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) @@ -112,7 +112,7 @@ namespace ElmSharp.Tests _box.PackStart(_btn); } - private static void CreateLabel() + private void CreateLabel() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateLabel"); _lab = new Label(_window) @@ -127,28 +127,28 @@ namespace ElmSharp.Tests _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) @@ -167,7 +167,7 @@ namespace ElmSharp.Tests [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"); @@ -199,7 +199,7 @@ namespace ElmSharp.Tests [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; @@ -222,7 +222,7 @@ namespace ElmSharp.Tests [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) { @@ -253,7 +253,7 @@ namespace ElmSharp.Tests [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"); @@ -288,7 +288,7 @@ namespace ElmSharp.Tests [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"); @@ -324,7 +324,7 @@ namespace ElmSharp.Tests [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(); @@ -350,7 +350,7 @@ namespace ElmSharp.Tests [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"); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSRadio.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSRadio.cs index a06f0c4..84d332f 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSRadio.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSRadio.cs @@ -27,14 +27,14 @@ namespace ElmSharp.Tests [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) @@ -47,7 +47,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); if (_box != null) @@ -62,7 +62,7 @@ namespace ElmSharp.Tests } } - private static void CreateRadio() + private void CreateRadio() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateRadio"); _radio = new Radio(_window) @@ -92,7 +92,7 @@ namespace ElmSharp.Tests } - private static void CreateButton(string text) + private void CreateButton(string text) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateButton"); _button = new Button(_window) @@ -109,7 +109,7 @@ namespace ElmSharp.Tests _box.PackStart(_button); } - private static void _Confirm(object sender, EventArgs e) + private void _Confirm(object sender, EventArgs e) { ManualTest.Confirm(); } @@ -126,7 +126,7 @@ namespace ElmSharp.Tests [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(); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSScroller.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSScroller.cs index 458fb79..b8820f9 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSScroller.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSScroller.cs @@ -27,25 +27,25 @@ namespace ElmSharp.Tests [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) @@ -65,7 +65,7 @@ namespace ElmSharp.Tests } } - private static void CreateScroller(string Text) + private void CreateScroller(string Text) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateScroller"); _scroller = new Scroller(_window) @@ -110,7 +110,7 @@ namespace ElmSharp.Tests } } - private static Box CreateScroller2() + private Box CreateScroller2() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateScroller2"); @@ -196,7 +196,7 @@ namespace ElmSharp.Tests return outterBox; } - private static Box CreateScroller3() + private Box CreateScroller3() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateScroller3"); @@ -287,7 +287,7 @@ namespace ElmSharp.Tests return outterBox; } - private static Box CreateScroller4() + private Box CreateScroller4() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateScroller4"); @@ -348,12 +348,12 @@ namespace ElmSharp.Tests 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) { @@ -361,49 +361,49 @@ namespace ElmSharp.Tests } } - 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) { @@ -419,7 +419,7 @@ namespace ElmSharp.Tests } } - private static void _ScrollerResizedHeight(object sender, EventArgs e) + private void _ScrollerResizedHeight(object sender, EventArgs e) { if (_scroller.ChildHeight > 0) { @@ -446,7 +446,7 @@ namespace ElmSharp.Tests [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); @@ -468,7 +468,7 @@ namespace ElmSharp.Tests [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); @@ -491,7 +491,7 @@ namespace ElmSharp.Tests [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); @@ -521,7 +521,7 @@ namespace ElmSharp.Tests [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); @@ -552,7 +552,7 @@ namespace ElmSharp.Tests [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); @@ -583,7 +583,7 @@ namespace ElmSharp.Tests [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); @@ -614,7 +614,7 @@ namespace ElmSharp.Tests [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); @@ -637,7 +637,7 @@ namespace ElmSharp.Tests [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); @@ -660,7 +660,7 @@ namespace ElmSharp.Tests [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); @@ -710,7 +710,7 @@ namespace ElmSharp.Tests [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); @@ -758,7 +758,7 @@ namespace ElmSharp.Tests [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); @@ -780,7 +780,7 @@ namespace ElmSharp.Tests [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); @@ -803,7 +803,7 @@ namespace ElmSharp.Tests [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(); @@ -822,7 +822,7 @@ namespace ElmSharp.Tests [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"); @@ -848,7 +848,7 @@ namespace ElmSharp.Tests [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"); @@ -874,7 +874,7 @@ namespace ElmSharp.Tests [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; @@ -895,7 +895,7 @@ namespace ElmSharp.Tests [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; @@ -917,7 +917,7 @@ namespace ElmSharp.Tests [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; @@ -938,7 +938,7 @@ namespace ElmSharp.Tests [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; @@ -961,7 +961,7 @@ namespace ElmSharp.Tests [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; @@ -983,7 +983,7 @@ namespace ElmSharp.Tests [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; @@ -1007,7 +1007,7 @@ namespace ElmSharp.Tests [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); @@ -1032,7 +1032,7 @@ namespace ElmSharp.Tests [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); @@ -1055,7 +1055,7 @@ namespace ElmSharp.Tests [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); @@ -1078,7 +1078,7 @@ namespace ElmSharp.Tests [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; @@ -1121,7 +1121,7 @@ namespace ElmSharp.Tests [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); @@ -1151,7 +1151,7 @@ namespace ElmSharp.Tests [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); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSlider.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSlider.cs index 623bdb5..8dccf5b 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSlider.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSlider.cs @@ -27,21 +27,21 @@ namespace ElmSharp.Tests [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) @@ -61,7 +61,7 @@ namespace ElmSharp.Tests } } - private static void CreateSlider() + private void CreateSlider() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateSlider"); @@ -91,7 +91,7 @@ namespace ElmSharp.Tests _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) @@ -108,12 +108,12 @@ namespace ElmSharp.Tests _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; @@ -132,7 +132,7 @@ namespace ElmSharp.Tests [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(); @@ -156,7 +156,7 @@ namespace ElmSharp.Tests [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(); @@ -180,7 +180,7 @@ namespace ElmSharp.Tests [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(); @@ -204,7 +204,7 @@ namespace ElmSharp.Tests [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(); @@ -228,7 +228,7 @@ namespace ElmSharp.Tests [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) { @@ -257,7 +257,7 @@ namespace ElmSharp.Tests [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) { @@ -286,7 +286,7 @@ namespace ElmSharp.Tests [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"); @@ -310,7 +310,7 @@ namespace ElmSharp.Tests [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(); @@ -332,7 +332,7 @@ namespace ElmSharp.Tests [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"); @@ -356,7 +356,7 @@ namespace ElmSharp.Tests [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(); @@ -382,7 +382,7 @@ namespace ElmSharp.Tests [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; @@ -410,7 +410,7 @@ namespace ElmSharp.Tests [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) { @@ -439,7 +439,7 @@ namespace ElmSharp.Tests [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) { @@ -468,7 +468,7 @@ namespace ElmSharp.Tests [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) { @@ -497,7 +497,7 @@ namespace ElmSharp.Tests [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) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSmartEvent.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSmartEvent.cs index 7a69020..3f6c6f3 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSmartEvent.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSmartEvent.cs @@ -25,16 +25,16 @@ namespace ElmSharp.Tests [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) { @@ -53,7 +53,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { if (_smartEvent != null) { @@ -82,7 +82,7 @@ namespace ElmSharp.Tests } } - private static void CreateLayout() + private void CreateLayout() { _box = new Box(_window) { @@ -118,14 +118,14 @@ namespace ElmSharp.Tests _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"; } @@ -171,7 +171,7 @@ namespace ElmSharp.Tests [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(); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSmartEventTemplate.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSmartEventTemplate.cs index 199793d..7c2b62f 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSmartEventTemplate.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSmartEventTemplate.cs @@ -25,18 +25,18 @@ namespace ElmSharp.Tests [Description("Testing ElmSharp.SmartEvent 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 _smartEvent; - private static SmartEvent _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 _smartEvent; + private SmartEvent _smartEventHovesel; [SetUp] - public static void Init() + public void Init() { if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.WearableProfile) == 0) { @@ -46,7 +46,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { if (_smartEvent != null) { @@ -85,7 +85,7 @@ namespace ElmSharp.Tests } } - public static void CreateColorSelector() + public void CreateColorSelector() { _colorSel = new ColorSelector(_window) { @@ -95,7 +95,7 @@ namespace ElmSharp.Tests _smartEvent = new SmartEvent(_colorSel, "color,item,longpressed"); } - public static void CreateHoversel() + public void CreateHoversel() { _hoversel = new Hoversel(_window) { @@ -110,7 +110,7 @@ namespace ElmSharp.Tests _hoversel.Show(); } - private static void CreateLayout() + private void CreateLayout() { _box = new Box(_window) { @@ -146,29 +146,29 @@ namespace ElmSharp.Tests _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(); } @@ -183,7 +183,7 @@ namespace ElmSharp.Tests [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; @@ -209,7 +209,7 @@ namespace ElmSharp.Tests [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(); @@ -235,7 +235,7 @@ namespace ElmSharp.Tests [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(_hoversel, _hoversel.RealHandle, "selected", SmartEventInfoParserDelegate); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSpinner.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSpinner.cs index f5f5494..7f02f5d 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSpinner.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSpinner.cs @@ -27,17 +27,17 @@ namespace ElmSharp.Tests [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) @@ -48,7 +48,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); if (_spinner != null) @@ -70,7 +70,7 @@ namespace ElmSharp.Tests } } - private static void CreateButtonPage(string buttonText, double spinnerValue) + private void CreateButtonPage(string buttonText, double spinnerValue) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init"); @@ -109,7 +109,7 @@ namespace ElmSharp.Tests _testPage.ExecuteTC(_layout); } - private static void CreateSpinner(string spinnerText) + private void CreateSpinner(string spinnerText) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateSpinner"); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSTable.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSTable.cs index e51e261..a6fcbd5 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSTable.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSTable.cs @@ -27,22 +27,22 @@ namespace ElmSharp.Tests [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"); @@ -82,7 +82,7 @@ namespace ElmSharp.Tests naviPage.Popped -= TSTable_Popped; } - private static void CreateTablePage(string buttonText) + private void CreateTablePage(string buttonText) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Init"); @@ -138,7 +138,7 @@ namespace ElmSharp.Tests } } - private static void TSTable_Popped(object sender, NaviframeEventArgs e) + private void TSTable_Popped(object sender, NaviframeEventArgs e) { if (_redButton != null) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSToolbar.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSToolbar.cs index b7d1b3b..e12c685 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSToolbar.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSToolbar.cs @@ -27,14 +27,14 @@ namespace ElmSharp.Tests [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) @@ -43,7 +43,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); if (_toolbar != null) @@ -63,7 +63,7 @@ namespace ElmSharp.Tests niviframe.Pop(); } - private static void CreateTestPage() + private void CreateTestPage() { _box = new Box(_window) { @@ -88,12 +88,12 @@ namespace ElmSharp.Tests _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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSToolbarItem.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSToolbarItem.cs index d7570ea..b7d2b22 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSToolbarItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSToolbarItem.cs @@ -27,14 +27,14 @@ namespace ElmSharp.Tests [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) @@ -42,7 +42,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); if(_toolbar != null) @@ -62,7 +62,7 @@ namespace ElmSharp.Tests niviframe.Pop(); } - private static void CreateTestPage() + private void CreateTestPage() { _box = new Box(_window) { @@ -87,17 +87,17 @@ namespace ElmSharp.Tests _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(); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSToolbarItemEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSToolbarItemEventArgs.cs index f5a252b..e85ea3f 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSToolbarItemEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSToolbarItemEventArgs.cs @@ -27,15 +27,15 @@ namespace ElmSharp.Tests [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) @@ -43,7 +43,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); if (_toolbar != null) @@ -63,7 +63,7 @@ namespace ElmSharp.Tests niviframe.Pop(); } - private static void CreateTestPage() + private void CreateTestPage() { _box = new Box(_window) { @@ -88,7 +88,7 @@ namespace ElmSharp.Tests _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"); diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSTransit.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSTransit.cs index 6b9b3ba..d094bd6 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSTransit.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSTransit.cs @@ -27,15 +27,15 @@ namespace ElmSharp.Tests [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"); @@ -49,7 +49,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); if(_box != null) @@ -71,7 +71,7 @@ namespace ElmSharp.Tests } } - private static void CreateTransit() + private void CreateTransit() { _trans = new Transit(); @@ -80,7 +80,7 @@ namespace ElmSharp.Tests _trans.Duration = 3; } - private static void CreateBtn(string text) + private void CreateBtn(string text) { _btn = new Button(_window) { @@ -93,7 +93,7 @@ namespace ElmSharp.Tests } - private static void CreateLabel(object sender, EventArgs e) + private void CreateLabel(object sender, EventArgs e) { Label lab= new Label(_window) { @@ -110,7 +110,7 @@ namespace ElmSharp.Tests } - private static void _AddEffect(object sender, EventArgs e) + private void _AddEffect(object sender, EventArgs e) { RotationEffect rotation = new RotationEffect(0, 180); @@ -120,27 +120,27 @@ namespace ElmSharp.Tests } - 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(); @@ -150,7 +150,7 @@ namespace ElmSharp.Tests } } - private static void _OnConfirm(object sender, EventArgs e) + private void _OnConfirm(object sender, EventArgs e) { ManualTest.Confirm(); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSWidget.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSWidget.cs index c2f9688..cc9a1a1 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSWidget.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSWidget.cs @@ -27,23 +27,23 @@ namespace ElmSharp.Tests [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"); @@ -63,7 +63,7 @@ namespace ElmSharp.Tests GC.WaitForPendingFinalizers(); } - private static void CreateTestPage() + private void CreateTestPage() { _box = new Box(_window) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSWindow.cs b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSWindow.cs index 18c89a6..0881bd2 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSWindow.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSWindow.cs @@ -27,17 +27,17 @@ namespace ElmSharp.Tests [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(); diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSAccelerateFactorMotionMapper.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSAccelerateFactorMotionMapper.cs index 598c807..52d3142 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSAccelerateFactorMotionMapper.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSAccelerateFactorMotionMapper.cs @@ -24,17 +24,17 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSAccelerateMotionMapper.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSAccelerateMotionMapper.cs index 113af6c..a1fa447 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSAccelerateMotionMapper.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSAccelerateMotionMapper.cs @@ -24,17 +24,17 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSAccessibleObject.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSAccessibleObject.cs index f744735..9e09148 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSAccessibleObject.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSAccessibleObject.cs @@ -26,8 +26,8 @@ namespace ElmSharp.Tests [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() { @@ -44,13 +44,13 @@ namespace ElmSharp.Tests } [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBackground.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBackground.cs index 74eb8b9..fab0c13 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBackground.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBackground.cs @@ -28,18 +28,18 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBlendEffect.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBlendEffect.cs index 97ca7f5..d0a6de5 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBlendEffect.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBlendEffect.cs @@ -23,16 +23,16 @@ namespace ElmSharp.Tests [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"); diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBounceMotionMapper.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBounceMotionMapper.cs index 00d81d6..b81fade 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBounceMotionMapper.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBounceMotionMapper.cs @@ -24,17 +24,17 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBox.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBox.cs index 456146e..b7d44f7 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBox.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSBox.cs @@ -24,18 +24,18 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSButton.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSButton.cs index d953ee7..0ca451c 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSButton.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSButton.cs @@ -25,18 +25,18 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCalendar.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCalendar.cs index 04b197b..79297fa 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCalendar.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCalendar.cs @@ -29,14 +29,14 @@ namespace ElmSharp.Tests 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"); @@ -47,7 +47,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); _calendar = null; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCalendarMark.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCalendarMark.cs index 86b3f5a..f8250e0 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCalendarMark.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCalendarMark.cs @@ -27,14 +27,14 @@ namespace ElmSharp.Tests { [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"); @@ -50,7 +50,7 @@ namespace ElmSharp.Tests { } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST"); _calendar = null; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCheck.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCheck.cs index 9162abe..fee8345 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCheck.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCheck.cs @@ -24,18 +24,18 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCheckStateChangedEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCheckStateChangedEventArgs.cs index 23de7da..3d16870 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCheckStateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCheckStateChangedEventArgs.cs @@ -23,17 +23,17 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSChildOf.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSChildOf.cs index 5ae9380..52a18a4 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSChildOf.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSChildOf.cs @@ -26,19 +26,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColor.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColor.cs index c9ccb96..36cfc3a 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColor.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColor.cs @@ -27,17 +27,17 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorChangedEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorChangedEventArgs.cs index b57882e..7509454 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorChangedEventArgs.cs @@ -27,19 +27,19 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorEffect.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorEffect.cs index d0240ac..973420b 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorEffect.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorEffect.cs @@ -23,16 +23,16 @@ namespace ElmSharp.Tests [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"); @@ -42,7 +42,7 @@ namespace ElmSharp.Tests } } - private static void CreateColorEffect() + private void CreateColorEffect() { _colorEffect = new ColorEffect(Color.Black, Color.Blue); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorSelector.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorSelector.cs index 2d64348..880a3b5 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorSelector.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorSelector.cs @@ -28,11 +28,11 @@ namespace ElmSharp.Tests { [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) @@ -46,7 +46,7 @@ namespace ElmSharp.Tests { } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST"); _colorSelector = null; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorSelectorItem.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorSelectorItem.cs index 588a591..cda017c 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorSelectorItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSColorSelectorItem.cs @@ -27,12 +27,12 @@ namespace ElmSharp.Tests { [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"); @@ -47,7 +47,7 @@ namespace ElmSharp.Tests { } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); _colorSelector = null; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSConformant.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSConformant.cs index 8f7c407..120267e 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSConformant.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSConformant.cs @@ -24,18 +24,18 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSContainer.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSContainer.cs index c73e4b9..ce507c9 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSContainer.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSContainer.cs @@ -26,9 +26,9 @@ namespace ElmSharp.Tests [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 { @@ -65,14 +65,14 @@ namespace ElmSharp.Tests } [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSContextPopup.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSContextPopup.cs index a6362d9..14e0f48 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSContextPopup.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSContextPopup.cs @@ -26,18 +26,18 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSContextPopupItem.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSContextPopupItem.cs index 4ac58ae..39438f0 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSContextPopupItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSContextPopupItem.cs @@ -27,19 +27,19 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSControlledBy.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSControlledBy.cs index 4847834..34d59bf 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSControlledBy.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSControlledBy.cs @@ -26,19 +26,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSControllerFor.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSControllerFor.cs index 7152db4..0d61f8d 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSControllerFor.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSControllerFor.cs @@ -26,19 +26,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCubicBezierMotionMapper.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCubicBezierMotionMapper.cs index 343f67a..6d1ec34 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCubicBezierMotionMapper.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSCubicBezierMotionMapper.cs @@ -24,17 +24,17 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDateChangedEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDateChangedEventArgs.cs index 406d173..70fe746 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDateChangedEventArgs.cs @@ -24,19 +24,19 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDateTimeSelector.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDateTimeSelector.cs index 007935f..c2ffa2d 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDateTimeSelector.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDateTimeSelector.cs @@ -27,8 +27,8 @@ namespace ElmSharp.Tests { [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); @@ -45,14 +45,14 @@ namespace ElmSharp.Tests { } [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDecelerateFactorMotionMapper.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDecelerateFactorMotionMapper.cs index 19db831..859c3c7 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDecelerateFactorMotionMapper.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDecelerateFactorMotionMapper.cs @@ -24,17 +24,17 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDecelerateMotionMapper.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDecelerateMotionMapper.cs index dee94ce..20737db 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDecelerateMotionMapper.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDecelerateMotionMapper.cs @@ -24,17 +24,17 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDescribedBy.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDescribedBy.cs index e306a40..ee0d5c7 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDescribedBy.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDescribedBy.cs @@ -26,19 +26,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDescriptionFor.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDescriptionFor.cs index f8d5090..5ad5feb 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDescriptionFor.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDescriptionFor.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDisplayedMonthChangedEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDisplayedMonthChangedEventArgs.cs index 33df5ee..36f508a 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDisplayedMonthChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDisplayedMonthChangedEventArgs.cs @@ -23,17 +23,17 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDivisorInterpolatedMotionMapper.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDivisorInterpolatedMotionMapper.cs index 9696203..2106364 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDivisorInterpolatedMotionMapper.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSDivisorInterpolatedMotionMapper.cs @@ -24,17 +24,17 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreAnimator.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreAnimator.cs index 7bc6fca..b39fcbb 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreAnimator.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreAnimator.cs @@ -27,13 +27,13 @@ namespace ElmSharp.Tests { 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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreEvent.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreEvent.cs index 023ef85..2248cc1 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreEvent.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreEvent.cs @@ -27,18 +27,18 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreEventTemplate.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreEventTemplate.cs index dde59da..1391f3c 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreEventTemplate.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreEventTemplate.cs @@ -28,18 +28,18 @@ namespace ElmSharp.Tests { public class EcoreEventTemplateTests { - private static EcoreEvent _ecoreEvent; - private static EcoreEvent _ecoreEventTemplate; + private EcoreEvent _ecoreEvent; + private EcoreEvent _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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreEventType.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreEventType.cs index 400af0e..2724f0a 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreEventType.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreEventType.cs @@ -27,17 +27,17 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreKeyEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreKeyEventArgs.cs index 43e5b4d..872737b 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreKeyEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreKeyEventArgs.cs @@ -27,18 +27,18 @@ namespace ElmSharp.Tests { [Description("ElmSharp.EcoreKeyEventArgs Tests")] public class EcoreKeyEventArgsTests { - private static EcoreKeyEventArgs _ecoreKeyEventArgs; - private static EcoreEvent _ecoreEvent; + private EcoreKeyEventArgs _ecoreKeyEventArgs; + private EcoreEvent _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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreMainloop.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreMainloop.cs index bb9000e..ae7ea86 100644 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreMainloop.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreMainloop.cs @@ -27,13 +27,13 @@ namespace ElmSharp.Tests { 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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreSynchronizationContext.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreSynchronizationContext.cs index a2fec43..f6563cb 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreSynchronizationContext.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreSynchronizationContext.cs @@ -26,17 +26,17 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreTimelineAnimator.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreTimelineAnimator.cs index 035bb7f..78b2343 100644 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreTimelineAnimator.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEcoreTimelineAnimator.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests { [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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEdjeObject.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEdjeObject.cs index c308161..9f4b995 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEdjeObject.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEdjeObject.cs @@ -25,23 +25,23 @@ namespace ElmSharp.Tests [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"; } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEdjeTextPartObject.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEdjeTextPartObject.cs index c7f441c..d71d0c3 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEdjeTextPartObject.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEdjeTextPartObject.cs @@ -25,18 +25,18 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEffectBase.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEffectBase.cs index df8e3e4..416190c 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEffectBase.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEffectBase.cs @@ -23,16 +23,16 @@ namespace ElmSharp.Tests [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"); diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSElementary.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSElementary.cs index 7f88c38..ae2a191 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSElementary.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSElementary.cs @@ -27,16 +27,16 @@ namespace ElmSharp.Tests [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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSElmScrollConfig.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSElmScrollConfig.cs index 89711e0..c079acf 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSElmScrollConfig.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSElmScrollConfig.cs @@ -27,15 +27,15 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEmbeddedBy.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEmbeddedBy.cs index f7d9730..c991509 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEmbeddedBy.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEmbeddedBy.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEmbeds.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEmbeds.cs index d21613a..20dca36 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEmbeds.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEmbeds.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEntry.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEntry.cs index 71be0ec..a9a4ff5 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEntry.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEntry.cs @@ -25,18 +25,18 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasCanvas.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasCanvas.cs index 564f462..0f4120d 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasCanvas.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasCanvas.cs @@ -25,12 +25,12 @@ namespace ElmSharp.Tests [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); @@ -38,7 +38,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_evasObject != null) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasImage.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasImage.cs index b4c5b80..8ee4c87 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasImage.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasImage.cs @@ -42,18 +42,18 @@ namespace ElmSharp.Tests [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasKeyEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasKeyEventArgs.cs index ac5fd3a..9c38472 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasKeyEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasKeyEventArgs.cs @@ -25,18 +25,18 @@ namespace ElmSharp.Tests [Description("Testing ElmSharp.EvasKeyEventArgs class")] public class EvasKeyEventArgsTests { - private static EvasKeyEventArgs _evasKeyEventArgs; - private static EvasObjectEvent _evasObjectEvent; - private static MainWindow _window = MainWindow.GetInstance(); + private EvasKeyEventArgs _evasKeyEventArgs; + 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"); } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_evasKeyEventArgs != null) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasMap.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasMap.cs index 83b82eb..1096e00 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasMap.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasMap.cs @@ -25,18 +25,18 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasObject.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasObject.cs index a0fbb43..e3688c6 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasObject.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasObject.cs @@ -25,8 +25,8 @@ namespace ElmSharp.Tests [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 @@ -83,14 +83,14 @@ namespace ElmSharp.Tests } [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasObjectEvent.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasObjectEvent.cs index 3f78ce2..22568c2 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasObjectEvent.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasObjectEvent.cs @@ -26,18 +26,18 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasObjectEventTemplate.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasObjectEventTemplate.cs index 614b4d4..a94f7ad 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasObjectEventTemplate.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSEvasObjectEventTemplate.cs @@ -26,18 +26,18 @@ namespace ElmSharp.Tests [Description("Testing ElmSharp.TSEvasObjectEvent class")] public class TSEvasObjectEventTemplate { - 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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSExtended.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSExtended.cs index c1a5ee3..c89b482 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSExtended.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSExtended.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFadeEffect.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFadeEffect.cs index f275c4a..4be0021 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFadeEffect.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFadeEffect.cs @@ -23,16 +23,16 @@ namespace ElmSharp.Tests [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"); diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlipEffect.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlipEffect.cs index 7d07432..2e266ac 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlipEffect.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlipEffect.cs @@ -23,16 +23,16 @@ namespace ElmSharp.Tests [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"); @@ -42,7 +42,7 @@ namespace ElmSharp.Tests } } - private static void CreateFlipEffect() + private void CreateFlipEffect() { _flipEffect = new FlipEffect(FlipAxis.X, true, true); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlipSelector.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlipSelector.cs index 9b1c168..2d7ff68 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlipSelector.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlipSelector.cs @@ -28,11 +28,11 @@ namespace ElmSharp.Tests 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"); @@ -47,7 +47,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); _flipSelector = null; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlipSelectorItem.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlipSelectorItem.cs index 9c87887..4981726 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlipSelectorItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlipSelectorItem.cs @@ -28,10 +28,10 @@ namespace ElmSharp.Tests [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) @@ -45,7 +45,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); _flipSelectorItem = null; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFloatingButton.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFloatingButton.cs index 87ff6bc..91fcf1e 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFloatingButton.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFloatingButton.cs @@ -25,11 +25,11 @@ namespace ElmSharp.Tests [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) { @@ -43,7 +43,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); _floatingButton = null; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlowsFrom.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlowsFrom.cs index 2f267e8..0d5bcd8 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlowsFrom.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlowsFrom.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlowsTo.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlowsTo.cs index 20e6e39..ce43174 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlowsTo.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSFlowsTo.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGrid.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGrid.cs index 09deaa8..9c6dd25 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGrid.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGrid.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests [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 _colorList; + private MainWindow _window = MainWindow.GetInstance(); + private GenGrid _genGrid; + private GenItemClass _genItemClass; + private List _colorList; [SetUp] - public static void Init() + public void Init() { InitGenGrid(); } [TearDown] - public static void Destroy() + public void Destroy() { if (_genGrid != null) { @@ -56,7 +56,7 @@ namespace ElmSharp.Tests } } - private static void InitGenGrid() + private void InitGenGrid() { _genGrid = new GenGrid(_window); _genItemClass = new GenItemClass("default") diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGridItem.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGridItem.cs index 82c88b9..b9bebbf 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGridItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGridItem.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests [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 _colorList; + private MainWindow _window = MainWindow.GetInstance(); + private GenGrid _genGrid; + private GenItemClass _genItemClass; + private List _colorList; [SetUp] - public static void Init() + public void Init() { InitGenGrid(); } [TearDown] - public static void Destroy() + public void Destroy() { if (_genGrid != null) { @@ -56,7 +56,7 @@ namespace ElmSharp.Tests } } - private static void InitGenGrid() + private void InitGenGrid() { _genGrid = new GenGrid(_window); _genItemClass = new GenItemClass("default") diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGridItemClass.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGridItemClass.cs index b464ecd..3588279 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGridItemClass.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGridItemClass.cs @@ -24,13 +24,13 @@ namespace ElmSharp.Tests [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 { @@ -50,13 +50,13 @@ namespace ElmSharp.Tests } [SetUp] - public static void Init() + public void Init() { InitGenGrid(); } [TearDown] - public static void Destroy() + public void Destroy() { if (_genGridItemClass != null) { @@ -70,7 +70,7 @@ namespace ElmSharp.Tests } } - private static void InitGenGrid() + private void InitGenGrid() { _genGridItemClass = new GenGridItemClass("default") { diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGridItemEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGridItemEventArgs.cs index bae46d9..7cc9337 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGridItemEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenGridItemEventArgs.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests [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 _colorList; + private MainWindow _window = MainWindow.GetInstance(); + private GenGrid _genGrid; + private GenItemClass _genItemClass; + private List _colorList; [SetUp] - public static void Init() + public void Init() { InitGenGrid(); } [TearDown] - public static void Destroy() + public void Destroy() { if (_genGrid != null) { @@ -56,7 +56,7 @@ namespace ElmSharp.Tests } } - private static void InitGenGrid() + private void InitGenGrid() { _genGrid = new GenGrid(_window); _genItemClass = new GenItemClass("default") diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenItem.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenItem.cs index ee38c2b..40a38f6 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenItem.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests [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 _colorList; + private MainWindow _window = MainWindow.GetInstance(); + private GenGrid _genGrid; + private GenItemClass _genItemClass; + private List _colorList; [SetUp] - public static void Init() + public void Init() { InitGenGrid(); } [TearDown] - public static void Destroy() + public void Destroy() { if (_genGrid != null) { @@ -56,7 +56,7 @@ namespace ElmSharp.Tests } } - private static void InitGenGrid() + private void InitGenGrid() { _genGrid = new GenGrid(_window); _genItemClass = new GenItemClass("default") diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenItemClass.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenItemClass.cs index 70a5835..6aec4ec 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenItemClass.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenItemClass.cs @@ -25,13 +25,13 @@ namespace ElmSharp.Tests [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 { @@ -51,13 +51,13 @@ namespace ElmSharp.Tests } [SetUp] - public static void Init() + public void Init() { InitGenGrid(); } [TearDown] - public static void Destroy() + public void Destroy() { if (_genItemClass != null) { @@ -71,7 +71,7 @@ namespace ElmSharp.Tests } } - private static void InitGenGrid() + private void InitGenGrid() { _genItemClass = new GenItemClass("default") { diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenList.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenList.cs index e51d7c8..9935cfa 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenList.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenList.cs @@ -25,12 +25,12 @@ namespace ElmSharp.Tests [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 { @@ -40,13 +40,13 @@ namespace ElmSharp.Tests } [SetUp] - public static void Init() + public void Init() { InitGenList(); } [TearDown] - public static void Destroy() + public void Destroy() { if (_genList != null) { @@ -70,7 +70,7 @@ namespace ElmSharp.Tests } } - private static void InitGenList() + private void InitGenList() { _isTrigger = false; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenListItem.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenListItem.cs index e8ac10e..c609a51 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenListItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenListItem.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests [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) { @@ -56,7 +56,7 @@ namespace ElmSharp.Tests } } - private static void InitGenList() + private void InitGenList() { _genList = new GenList(_window) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenListItemEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenListItemEventArgs.cs index 95774fb..4a1d0be 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenListItemEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGenListItemEventArgs.cs @@ -25,18 +25,18 @@ namespace ElmSharp.Tests [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) { @@ -50,7 +50,7 @@ namespace ElmSharp.Tests } } - private static void InitGenList() + private void InitGenList() { _genList = new GenList(_window) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.Config.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.Config.cs index df75f0b..29519f7 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.Config.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.Config.cs @@ -27,13 +27,13 @@ namespace ElmSharp.Tests 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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.LineData.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.LineData.cs index c91d68f..61be594 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.LineData.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.LineData.cs @@ -27,13 +27,13 @@ namespace ElmSharp.Tests 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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.MomentumData.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.MomentumData.cs index f914812..da02876 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.MomentumData.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.MomentumData.cs @@ -27,13 +27,13 @@ namespace ElmSharp.Tests 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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.RotateData.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.RotateData.cs index e71618a..2d6cc30 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.RotateData.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.RotateData.cs @@ -27,13 +27,13 @@ namespace ElmSharp.Tests 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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.TapData.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.TapData.cs index 20eee69..48c2524 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.TapData.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.TapData.cs @@ -27,13 +27,13 @@ namespace ElmSharp.Tests 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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.ZoomData.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.ZoomData.cs index b699211..23258f5 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.ZoomData.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.ZoomData.cs @@ -27,13 +27,13 @@ namespace ElmSharp.Tests 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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.cs index 65ccaa0..2f0704b 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSGestureLayer.cs @@ -41,12 +41,12 @@ namespace ElmSharp.Tests [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); @@ -54,7 +54,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); _GestureLayer = null; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSHoversel.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSHoversel.cs index e02c65b..4d85de9 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSHoversel.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSHoversel.cs @@ -25,18 +25,18 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSHoverselItem.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSHoverselItem.cs index 68779e5..c4f9b83 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSHoverselItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSHoverselItem.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSHoverselItemEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSHoverselItemEventArgs.cs index 4a03ee7..a5f4dbf 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSHoverselItemEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSHoverselItemEventArgs.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIAccessibleObject.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIAccessibleObject.cs index 4645958..f5e4401 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIAccessibleObject.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIAccessibleObject.cs @@ -26,18 +26,18 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIAccessibleRelation.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIAccessibleRelation.cs index b7d932a..2164974 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIAccessibleRelation.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIAccessibleRelation.cs @@ -26,9 +26,9 @@ namespace ElmSharp.Tests { [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; } @@ -38,14 +38,14 @@ namespace ElmSharp.Tests { } [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIAnimatorMotionMapper.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIAnimatorMotionMapper.cs index 3ea6bb2..f3c98cd 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIAnimatorMotionMapper.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIAnimatorMotionMapper.cs @@ -24,17 +24,17 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIInvalidatable.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIInvalidatable.cs index be5b3fe..c53cd57 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIInvalidatable.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIInvalidatable.cs @@ -41,17 +41,17 @@ namespace ElmSharp.Tests [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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIcon.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIcon.cs index 7f6a4de..76469ee 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIcon.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIcon.cs @@ -39,18 +39,18 @@ namespace ElmSharp.Tests 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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIndex.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIndex.cs index 1daf982..4f9f778 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIndex.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIndex.cs @@ -38,18 +38,18 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIndexItem.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIndexItem.cs index c10aea7..d98118f 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIndexItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSIndexItem.cs @@ -27,18 +27,18 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSItemObject.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSItemObject.cs index c7f24ff..9c702c2 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSItemObject.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSItemObject.cs @@ -35,17 +35,17 @@ namespace ElmSharp.Tests [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) @@ -64,7 +64,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_colorSelector != null) @@ -96,7 +96,7 @@ namespace ElmSharp.Tests } } - private static void OnDeleted(object sender, EventArgs e) + private void OnDeleted(object sender, EventArgs e) { _mark = 1; } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSItemObjectExtension.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSItemObjectExtension.cs index 995c3de..ce5782e 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSItemObjectExtension.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSItemObjectExtension.cs @@ -27,12 +27,12 @@ namespace ElmSharp.Tests [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) @@ -47,7 +47,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); _colorSelector = null; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLabel.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLabel.cs index 8c4cfb6..02cb5e8 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLabel.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLabel.cs @@ -37,19 +37,19 @@ namespace ElmSharp.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLabelFor.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLabelFor.cs index 023ac6c..52a6745 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLabelFor.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLabelFor.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLabelledBy.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLabelledBy.cs index 9f0fb65..a1be5e7 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLabelledBy.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLabelledBy.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLayout.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLayout.cs index 6b3de52..0abfce7 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLayout.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLayout.cs @@ -52,30 +52,30 @@ namespace ElmSharp.Tests [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; } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLinearMotionMapper.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLinearMotionMapper.cs index fdaf0c2..428409d 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLinearMotionMapper.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSLinearMotionMapper.cs @@ -24,17 +24,17 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSList.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSList.cs index 22873a1..15e2e1e 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSList.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSList.cs @@ -23,18 +23,18 @@ namespace ElmSharp.Tests [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) { @@ -43,7 +43,7 @@ namespace ElmSharp.Tests } } - private static void InitList() + private void InitList() { _list = new List(_window) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSListItem.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSListItem.cs index 98530d0..9d87b2a 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSListItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSListItem.cs @@ -23,18 +23,18 @@ namespace ElmSharp.Tests [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) { @@ -43,7 +43,7 @@ namespace ElmSharp.Tests } } - private static void InitList() + private void InitList() { _list = new List(_window) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSListItemEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSListItemEventArgs.cs index a5d7781..95bd98b 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSListItemEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSListItemEventArgs.cs @@ -25,17 +25,17 @@ namespace ElmSharp.Tests [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) { @@ -44,7 +44,7 @@ namespace ElmSharp.Tests } } - private static void InitList() + private void InitList() { _list = new List(_window) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMemberOf.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMemberOf.cs index 7d924c3..f5f6b3b 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMemberOf.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMemberOf.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMultiButtonEntry.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMultiButtonEntry.cs index 1833706..facfd1c 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMultiButtonEntry.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMultiButtonEntry.cs @@ -26,11 +26,11 @@ namespace ElmSharp.Tests { [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) @@ -44,7 +44,7 @@ namespace ElmSharp.Tests { } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST"); _mButtonEntry = null; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMultiButtonEntryItem.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMultiButtonEntryItem.cs index 7001e4f..02d67a1 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMultiButtonEntryItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMultiButtonEntryItem.cs @@ -26,12 +26,12 @@ namespace ElmSharp.Tests { [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) @@ -46,7 +46,7 @@ namespace ElmSharp.Tests { } [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMultiButtonEntryItemEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMultiButtonEntryItemEventArgs.cs index c4ea0bb..3aa07f5 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMultiButtonEntryItemEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSMultiButtonEntryItemEventArgs.cs @@ -25,12 +25,12 @@ namespace ElmSharp.Tests { [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) @@ -45,7 +45,7 @@ namespace ElmSharp.Tests { } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST"); if (_mButtonEntryItemEventArgs != null) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNamedHint.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNamedHint.cs index 1fa96e3..2cdec99 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNamedHint.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNamedHint.cs @@ -25,16 +25,16 @@ namespace ElmSharp.Tests [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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNaviItem.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNaviItem.cs index a60a371..7de5d4d 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNaviItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNaviItem.cs @@ -25,16 +25,16 @@ namespace ElmSharp.Tests [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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNaviframe.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNaviframe.cs index 6f65515..94178a2 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNaviframe.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNaviframe.cs @@ -26,12 +26,12 @@ namespace ElmSharp.Tests [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) @@ -42,13 +42,13 @@ namespace ElmSharp.Tests } [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); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNaviframeEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNaviframeEventArgs.cs index 7af80bf..a88deb2 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNaviframeEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSNaviframeEventArgs.cs @@ -26,11 +26,11 @@ namespace ElmSharp.Tests [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) @@ -41,7 +41,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); _naviFrame = null; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPanel.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPanel.cs index 5e3b58e..178926b 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPanel.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPanel.cs @@ -29,24 +29,24 @@ namespace ElmSharp.Tests 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."); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPanes.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPanes.cs index ad65818..65684ae 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPanes.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPanes.cs @@ -28,11 +28,11 @@ namespace ElmSharp.Tests 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) @@ -46,7 +46,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); _panes = null; @@ -106,7 +106,7 @@ namespace ElmSharp.Tests [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"); } @@ -135,7 +135,7 @@ namespace ElmSharp.Tests [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"); diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSParentOf.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSParentOf.cs index 3a7f602..8efbd1e 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSParentOf.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSParentOf.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSParentWindowOf.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSParentWindowOf.cs index c5cebc3..f1a512f 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSParentWindowOf.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSParentWindowOf.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPoint.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPoint.cs index 6aaaa45..32af31c 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPoint.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPoint.cs @@ -28,13 +28,13 @@ namespace ElmSharp.Tests 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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPoint3D.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPoint3D.cs index 2ac20f4..7014f49 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPoint3D.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPoint3D.cs @@ -28,14 +28,14 @@ namespace ElmSharp.Tests 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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPolygon.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPolygon.cs index 91c035d..7b88890 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPolygon.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPolygon.cs @@ -28,18 +28,18 @@ namespace ElmSharp.Tests 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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPopup.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPopup.cs index c50f5f2..8ac49a5 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPopup.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPopup.cs @@ -28,18 +28,18 @@ namespace ElmSharp.Tests 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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPopupFor.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPopupFor.cs index b9a0d61..63ac87b 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPopupFor.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPopupFor.cs @@ -25,19 +25,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPopupItem.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPopupItem.cs index edf20b6..cec3722 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPopupItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSPopupItem.cs @@ -27,19 +27,19 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSProgressBar.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSProgressBar.cs index 48c191b..68fc4fd 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSProgressBar.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSProgressBar.cs @@ -28,18 +28,18 @@ namespace ElmSharp.Tests 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; @@ -82,7 +82,7 @@ namespace ElmSharp.Tests [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"); @@ -231,7 +231,7 @@ namespace ElmSharp.Tests [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"); diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRadio.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRadio.cs index ca9e41b..51cddaa 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRadio.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRadio.cs @@ -28,18 +28,18 @@ namespace ElmSharp.Tests 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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRect.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRect.cs index 0f13231..e88d888 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRect.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRect.cs @@ -27,14 +27,14 @@ namespace ElmSharp.Tests [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); @@ -42,7 +42,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRectangle.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRectangle.cs index 0c1e9ea..26ae365 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRectangle.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRectangle.cs @@ -27,15 +27,15 @@ namespace ElmSharp.Tests [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); @@ -43,7 +43,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); _rect = null; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSResizingEffect.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSResizingEffect.cs index d331ea6..7784b77 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSResizingEffect.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSResizingEffect.cs @@ -23,18 +23,18 @@ namespace ElmSharp.Tests [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"); @@ -44,7 +44,7 @@ namespace ElmSharp.Tests } } - private static void CreateResizingEffect() + private void CreateResizingEffect() { _resizingEffect = new ResizingEffect(_size1, _size2); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRotationEffect.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRotationEffect.cs index acedabc..a842be9 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRotationEffect.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSRotationEffect.cs @@ -23,18 +23,18 @@ namespace ElmSharp.Tests [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"); @@ -44,7 +44,7 @@ namespace ElmSharp.Tests } } - private static void CreateRotationEffect() + private void CreateRotationEffect() { _rotationEffect = new RotationEffect(_bdegree, _edegree); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSScroller.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSScroller.cs index 524849a..c7b8363 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSScroller.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSScroller.cs @@ -27,25 +27,25 @@ namespace ElmSharp.Tests 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) { @@ -99,7 +99,7 @@ namespace ElmSharp.Tests [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, "Should return Scroller instance."); @@ -113,7 +113,7 @@ namespace ElmSharp.Tests [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, "Should return Scroller instance."); @@ -126,7 +126,7 @@ namespace ElmSharp.Tests [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"); @@ -167,7 +167,7 @@ namespace ElmSharp.Tests [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"); @@ -207,7 +207,7 @@ namespace ElmSharp.Tests [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"); @@ -246,7 +246,7 @@ namespace ElmSharp.Tests [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"); @@ -260,7 +260,7 @@ namespace ElmSharp.Tests [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; @@ -275,7 +275,7 @@ namespace ElmSharp.Tests [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; @@ -290,7 +290,7 @@ namespace ElmSharp.Tests [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 { @@ -311,7 +311,7 @@ namespace ElmSharp.Tests [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 { @@ -331,7 +331,7 @@ namespace ElmSharp.Tests [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 { @@ -354,7 +354,7 @@ namespace ElmSharp.Tests [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 { @@ -376,7 +376,7 @@ namespace ElmSharp.Tests [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 { @@ -397,7 +397,7 @@ namespace ElmSharp.Tests [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 { @@ -456,7 +456,7 @@ namespace ElmSharp.Tests [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"); @@ -469,7 +469,7 @@ namespace ElmSharp.Tests [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."); } @@ -481,7 +481,7 @@ namespace ElmSharp.Tests [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."); @@ -500,7 +500,7 @@ namespace ElmSharp.Tests [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."); } @@ -512,7 +512,7 @@ namespace ElmSharp.Tests [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."); diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSinusoidalFactorMotionMapper.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSinusoidalFactorMotionMapper.cs index bbe529b..be6a615 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSinusoidalFactorMotionMapper.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSinusoidalFactorMotionMapper.cs @@ -24,17 +24,17 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSinusoidalMotionMapper.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSinusoidalMotionMapper.cs index 5b5379b..51a3a42 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSinusoidalMotionMapper.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSinusoidalMotionMapper.cs @@ -24,17 +24,17 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSize.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSize.cs index e07eaff..08f86d9 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSize.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSize.cs @@ -27,13 +27,13 @@ namespace ElmSharp.Tests [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); @@ -41,7 +41,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSlider.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSlider.cs index 17e3b43..e8c66e2 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSlider.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSlider.cs @@ -28,18 +28,18 @@ namespace ElmSharp.Tests 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; @@ -106,7 +106,7 @@ namespace ElmSharp.Tests [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"); @@ -135,7 +135,7 @@ namespace ElmSharp.Tests [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"); @@ -148,7 +148,7 @@ namespace ElmSharp.Tests [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; @@ -182,7 +182,7 @@ namespace ElmSharp.Tests [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"); @@ -195,7 +195,7 @@ namespace ElmSharp.Tests [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; @@ -245,7 +245,7 @@ namespace ElmSharp.Tests [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"); @@ -285,7 +285,7 @@ namespace ElmSharp.Tests [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"); diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSmartEvent.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSmartEvent.cs index b28538a..8dd3095 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSmartEvent.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSmartEvent.cs @@ -24,12 +24,12 @@ namespace ElmSharp.Tests [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) { @@ -42,7 +42,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { if (_samrtEvent != null) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSmartEventTemplate.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSmartEventTemplate.cs index 3755d3d..ff4c046 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSmartEventTemplate.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSmartEventTemplate.cs @@ -24,12 +24,12 @@ namespace ElmSharp.Tests [Description("Testing ElmSharp.SmartEvent class")] public class SmartEventTemplateTests { - 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) { @@ -42,7 +42,7 @@ namespace ElmSharp.Tests } [TearDown] - public static void Destroy() + public void Destroy() { if (_samrtEvent != null) { diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSpinner.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSpinner.cs index 04cc308..ceec11c 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSpinner.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSpinner.cs @@ -26,9 +26,9 @@ namespace ElmSharp.Tests { [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 { @@ -38,20 +38,20 @@ namespace ElmSharp.Tests { } [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSpringMotionMapper.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSpringMotionMapper.cs index c7f3638..204295f 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSpringMotionMapper.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSpringMotionMapper.cs @@ -24,17 +24,17 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSubwindowOf.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSubwindowOf.cs index 46f19ec..b5c65ca 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSubwindowOf.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSSubwindowOf.cs @@ -26,19 +26,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTable.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTable.cs index f432436..51cc03d 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTable.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTable.cs @@ -26,18 +26,18 @@ namespace ElmSharp.Tests { [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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTapData.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTapData.cs index 4dcdae6..d674906 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTapData.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTapData.cs @@ -29,7 +29,7 @@ namespace ElmSharp.Tests { private static GestureLayer.TapData _tapData; [SetUp] - public static void Init() + public void Init() { _tapData = new GestureLayer.TapData(); @@ -37,7 +37,7 @@ namespace ElmSharp.Tests { } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSToolbar.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSToolbar.cs index e40453a..b03d492 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSToolbar.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSToolbar.cs @@ -26,11 +26,11 @@ namespace ElmSharp.Tests { [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) @@ -44,7 +44,7 @@ namespace ElmSharp.Tests { } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST"); _toolbar = null; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSToolbarItem.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSToolbarItem.cs index 42ba125..c75f36a 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSToolbarItem.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSToolbarItem.cs @@ -27,13 +27,13 @@ namespace ElmSharp.Tests { [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) @@ -48,7 +48,7 @@ namespace ElmSharp.Tests { } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST"); _toolbar = null; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSToolbarItemEventArgs.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSToolbarItemEventArgs.cs index aa6b302..9553c03 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSToolbarItemEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSToolbarItemEventArgs.cs @@ -25,16 +25,16 @@ namespace ElmSharp.Tests { [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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTooltipFor.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTooltipFor.cs index c0d7558..3b132b2 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTooltipFor.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTooltipFor.cs @@ -26,19 +26,19 @@ namespace ElmSharp.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTransit.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTransit.cs index 15491b1..afc946f 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTransit.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTransit.cs @@ -26,18 +26,18 @@ namespace ElmSharp.Tests [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(); diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTranslationEffect.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTranslationEffect.cs index 59998a8..0911e74 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTranslationEffect.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSTranslationEffect.cs @@ -23,18 +23,18 @@ namespace ElmSharp.Tests [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"); @@ -44,7 +44,7 @@ namespace ElmSharp.Tests } } - private static void CreateTranslationEffect() + private void CreateTranslationEffect() { _point1.X = 10; _point1.Y = 10; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSUtility.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSUtility.cs index 1819f35..9be14a1 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSUtility.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSUtility.cs @@ -10,16 +10,16 @@ namespace ElmSharp.Tests [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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSWidget.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSWidget.cs index fd8726c..812c976 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSWidget.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSWidget.cs @@ -38,18 +38,18 @@ namespace ElmSharp.Tests 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; diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSWindow.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSWindow.cs index 2ed9d91..6f20041 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSWindow.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSWindow.cs @@ -32,16 +32,16 @@ namespace ElmSharp.Tests { { } } - 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"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSWipeEffect.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSWipeEffect.cs index a063e39..297d926 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSWipeEffect.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSWipeEffect.cs @@ -23,16 +23,16 @@ namespace ElmSharp.Tests [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"); diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSZoomData.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSZoomData.cs index bb4856e..e472442 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSZoomData.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSZoomData.cs @@ -27,10 +27,10 @@ namespace ElmSharp.Tests { public class ZoomDataTests { - private static GestureLayer.ZoomData _zoomData; + private GestureLayer.ZoomData _zoomData; [SetUp] - public static void Init() + public void Init() { _zoomData = new GestureLayer.ZoomData(); @@ -38,7 +38,7 @@ namespace ElmSharp.Tests { } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST"); } diff --git a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSZoomEffect.cs b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSZoomEffect.cs index d6fcd8c..914dafa 100755 --- a/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSZoomEffect.cs +++ b/tct-suite-vs/Tizen.ElmSharp.Tests/testcase/TSZoomEffect.cs @@ -23,18 +23,18 @@ namespace ElmSharp.Tests [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"); @@ -44,7 +44,7 @@ namespace ElmSharp.Tests } } - private static void CreateZoomEffect() + private void CreateZoomEffect() { _zoomEffect = new ZoomEffect(_brate, _erate); } diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSCircleGenList.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSCircleGenList.cs index bed8afb..5539af3 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSCircleGenList.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSCircleGenList.cs @@ -25,18 +25,18 @@ namespace ElmSharp.Wearable.Tests [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) @@ -46,7 +46,7 @@ namespace ElmSharp.Wearable.Tests } } - private static void CreateMoreOption() + private void CreateMoreOption() { Conformant conformant = new Conformant(_window); var surface = new CircleSurface(conformant); @@ -88,7 +88,7 @@ namespace ElmSharp.Wearable.Tests [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(); diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSCircleSlider.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSCircleSlider.cs index 91a6fd1..4f7831f 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSCircleSlider.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSCircleSlider.cs @@ -26,18 +26,18 @@ namespace ElmSharp.Wearable.Tests [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) @@ -47,7 +47,7 @@ namespace ElmSharp.Wearable.Tests } } - private static void CreateCircleSlider() + private void CreateCircleSlider() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "CreateButton"); _circleSlider = new CircleSlider(_window) @@ -65,7 +65,7 @@ namespace ElmSharp.Wearable.Tests _testPage.ExecuteTCByPage(_circleSlider); } - public static void OnChanged(object sender, EventArgs e) + public void OnChanged(object sender, EventArgs e) { ManualTest.Confirm(); } @@ -81,7 +81,7 @@ namespace ElmSharp.Wearable.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSEvasObjectExtensions.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSEvasObjectExtensions.cs index 5d180c2..da10dac 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSEvasObjectExtensions.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSEvasObjectExtensions.cs @@ -28,21 +28,21 @@ namespace ElmSharp.Wearable.Tests [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) @@ -52,7 +52,7 @@ namespace ElmSharp.Wearable.Tests } } - private static void CreateSquare() + private void CreateSquare() { _redSquare = new Rectangle(_window) { @@ -62,7 +62,7 @@ namespace ElmSharp.Wearable.Tests _redSquare.Show(); } - public static void OnRotated(RotaryEventArgs e) + public void OnRotated(RotaryEventArgs e) { if (e.IsClockwise) _degrees += 10; else _degrees -= 10; @@ -97,7 +97,7 @@ namespace ElmSharp.Wearable.Tests [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(); @@ -122,7 +122,7 @@ namespace ElmSharp.Wearable.Tests [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(); @@ -145,7 +145,7 @@ namespace ElmSharp.Wearable.Tests [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(); @@ -172,7 +172,7 @@ namespace ElmSharp.Wearable.Tests [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(); diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSMoreOption.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSMoreOption.cs index b79144a..e6d1fe4 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSMoreOption.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSMoreOption.cs @@ -27,18 +27,18 @@ namespace ElmSharp.Wearable.Tests [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) @@ -48,7 +48,7 @@ namespace ElmSharp.Wearable.Tests } } - private static void CreateMoreOption() + private void CreateMoreOption() { _option = new MoreOption(_window) { @@ -66,7 +66,7 @@ namespace ElmSharp.Wearable.Tests _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")); @@ -79,22 +79,22 @@ namespace ElmSharp.Wearable.Tests }; } - 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(); } @@ -110,7 +110,7 @@ namespace ElmSharp.Wearable.Tests [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; @@ -132,7 +132,7 @@ namespace ElmSharp.Wearable.Tests [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; @@ -153,7 +153,7 @@ namespace ElmSharp.Wearable.Tests [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; @@ -175,7 +175,7 @@ namespace ElmSharp.Wearable.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotaryEventArgs.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotaryEventArgs.cs index 92fc244..69b612b 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotaryEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotaryEventArgs.cs @@ -28,21 +28,21 @@ namespace ElmSharp.Wearable.Tests [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) @@ -52,7 +52,7 @@ namespace ElmSharp.Wearable.Tests } } - private static void CreateSquare() + private void CreateSquare() { _redSquare = new Rectangle(_window) { @@ -62,7 +62,7 @@ namespace ElmSharp.Wearable.Tests _redSquare.Show(); } - public static void OnRotated(RotaryEventArgs e) + public void OnRotated(RotaryEventArgs e) { if(!_boo1) { @@ -79,7 +79,7 @@ namespace ElmSharp.Wearable.Tests } } - public static void OnRotated2(RotaryEventArgs e) + public void OnRotated2(RotaryEventArgs e) { e.Timestamp = 9797498; @@ -109,7 +109,7 @@ namespace ElmSharp.Wearable.Tests [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; @@ -132,7 +132,7 @@ namespace ElmSharp.Wearable.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotaryEventExtensions.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotaryEventExtensions.cs index df81bd1..cd198b3 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotaryEventExtensions.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotaryEventExtensions.cs @@ -27,24 +27,24 @@ namespace ElmSharp.Wearable.Tests [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) @@ -79,7 +79,7 @@ namespace ElmSharp.Wearable.Tests } } - private static void CreateSelector() + private void CreateSelector() { _conformant = new Conformant(_window); _layout = new Layout(_window); @@ -99,7 +99,7 @@ namespace ElmSharp.Wearable.Tests _layout.Show(); } - private static void CreateRect() + private void CreateRect() { _box = new Box(_window) { @@ -133,7 +133,7 @@ namespace ElmSharp.Wearable.Tests _box.PackEnd(_rect2); } - private static void EventHandler(RotaryEventArgs args) + private void EventHandler(RotaryEventArgs args) { if (args.IsClockwise) _degrees += 10; else _degrees -= 10; @@ -149,7 +149,7 @@ namespace ElmSharp.Wearable.Tests _box.IsMapEnabled = true; } - private static void Confirm(RotaryEventArgs args) + private void Confirm(RotaryEventArgs args) { ManualTest.Confirm(); } @@ -167,7 +167,7 @@ namespace ElmSharp.Wearable.Tests [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(); @@ -189,7 +189,7 @@ namespace ElmSharp.Wearable.Tests [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); @@ -213,7 +213,7 @@ namespace ElmSharp.Wearable.Tests [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(); @@ -235,7 +235,7 @@ namespace ElmSharp.Wearable.Tests [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); @@ -258,7 +258,7 @@ namespace ElmSharp.Wearable.Tests [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); @@ -284,7 +284,7 @@ namespace ElmSharp.Wearable.Tests [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); diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotaryEventManager.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotaryEventManager.cs index c57122b..5e3e12f 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotaryEventManager.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotaryEventManager.cs @@ -28,20 +28,20 @@ namespace ElmSharp.Wearable.Tests [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) @@ -51,7 +51,7 @@ namespace ElmSharp.Wearable.Tests } } - private static void CreateSquare() + private void CreateSquare() { _redSquare = new Rectangle(_window) { @@ -61,7 +61,7 @@ namespace ElmSharp.Wearable.Tests _redSquare.Show(); } - public static void OnRotated(RotaryEventArgs e) + public void OnRotated(RotaryEventArgs e) { if (e.IsClockwise) _degrees += 10; else _degrees -= 10; @@ -92,7 +92,7 @@ namespace ElmSharp.Wearable.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotarySelector.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotarySelector.cs index 40c6de8..272e2a4 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotarySelector.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotarySelector.cs @@ -27,18 +27,18 @@ namespace ElmSharp.Wearable.Tests [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) @@ -48,7 +48,7 @@ namespace ElmSharp.Wearable.Tests } } - private static void CreateSelector() + private void CreateSelector() { _selector = new RotarySelector(_window) { @@ -84,7 +84,7 @@ namespace ElmSharp.Wearable.Tests _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")); @@ -97,17 +97,17 @@ namespace ElmSharp.Wearable.Tests }; } - 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) { @@ -134,7 +134,7 @@ namespace ElmSharp.Wearable.Tests [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; @@ -157,7 +157,7 @@ namespace ElmSharp.Wearable.Tests [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; @@ -180,7 +180,7 @@ namespace ElmSharp.Wearable.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotarySelectorItemEventArgs.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotarySelectorItemEventArgs.cs index 1c57188..9686c45 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotarySelectorItemEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Manual.Tests/testcase/TSRotarySelectorItemEventArgs.cs @@ -28,18 +28,18 @@ namespace ElmSharp.Wearable.Tests [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) @@ -49,7 +49,7 @@ namespace ElmSharp.Wearable.Tests } } - private static void CreateSelector() + private void CreateSelector() { _selector = new RotarySelector(_window) { @@ -85,7 +85,7 @@ namespace ElmSharp.Wearable.Tests _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")); @@ -98,7 +98,7 @@ namespace ElmSharp.Wearable.Tests }; } - public static void OnSelectedItem(object sender, RotarySelectorItemEventArgs e) + public void OnSelectedItem(object sender, RotarySelectorItemEventArgs e) { if (_selector.Items[0] == e.Item) { @@ -125,7 +125,7 @@ namespace ElmSharp.Wearable.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleDatetimeSelector.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleDatetimeSelector.cs index cb93395..be22ff9 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleDatetimeSelector.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleDatetimeSelector.cs @@ -25,12 +25,12 @@ namespace ElmSharp.Wearable.Tests [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)); @@ -38,7 +38,7 @@ namespace ElmSharp.Wearable.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_circleDatetimeSelector != null) diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleGenList.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleGenList.cs index 43c2adf..a7e80c1 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleGenList.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleGenList.cs @@ -25,12 +25,12 @@ namespace ElmSharp.Wearable.Tests [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)); @@ -38,7 +38,7 @@ namespace ElmSharp.Wearable.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_circleGenList != null) diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleProgressBar.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleProgressBar.cs index ba66aa7..31c86b2 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleProgressBar.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleProgressBar.cs @@ -26,12 +26,12 @@ namespace ElmSharp.Wearable.Tests [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)); @@ -39,7 +39,7 @@ namespace ElmSharp.Wearable.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_circleProgressBar != null) diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleScroller.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleScroller.cs index 1cc4951..f15c2fe 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleScroller.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleScroller.cs @@ -26,12 +26,12 @@ namespace ElmSharp.Wearable.Tests [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)); @@ -39,7 +39,7 @@ namespace ElmSharp.Wearable.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_circleScroller != null) diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSlider.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSlider.cs index dbec5b1..3f564a3 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSlider.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSlider.cs @@ -28,9 +28,9 @@ namespace ElmSharp.Wearable.Tests [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 { @@ -50,7 +50,7 @@ namespace ElmSharp.Wearable.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); _circleSurface = new CircleSurface(new Conformant(_window)); @@ -58,7 +58,7 @@ namespace ElmSharp.Wearable.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); _circleSlider = null; diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSpinner.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSpinner.cs index afbb904..9f6191b 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSpinner.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSpinner.cs @@ -26,12 +26,12 @@ namespace ElmSharp.Wearable.Tests [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)); @@ -39,7 +39,7 @@ namespace ElmSharp.Wearable.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_circleSpinner != null) diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSurface.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSurface.cs index 6a2855f..1f5fb2d 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSurface.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSCircleSurface.cs @@ -26,18 +26,18 @@ namespace ElmSharp.Wearable.Tests [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) diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSICircleWidget.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSICircleWidget.cs index 6585c8e..19aecc6 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSICircleWidget.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSICircleWidget.cs @@ -26,12 +26,12 @@ namespace ElmSharp.Wearable.Tests [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)); @@ -39,7 +39,7 @@ namespace ElmSharp.Wearable.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); if (_circleProgressBar != null) diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSMoreOption.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSMoreOption.cs index f4fb272..1ecfefe 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSMoreOption.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSMoreOption.cs @@ -26,18 +26,18 @@ namespace ElmSharp.Wearable.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSMoreOptionItem.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSMoreOptionItem.cs index cdcd684..d476e72 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSMoreOptionItem.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSMoreOptionItem.cs @@ -26,18 +26,18 @@ namespace ElmSharp.Wearable.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSMoreOptionItemEventArgs.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSMoreOptionItemEventArgs.cs index 4403a59..7ea4a6e 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSMoreOptionItemEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSMoreOptionItemEventArgs.cs @@ -25,18 +25,18 @@ namespace ElmSharp.Wearable.Tests [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; diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotaryEventArgs.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotaryEventArgs.cs index 44ad388..43d4727 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotaryEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotaryEventArgs.cs @@ -26,17 +26,17 @@ namespace ElmSharp.Wearable.Tests { [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) diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotaryEventExtensions.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotaryEventExtensions.cs index f3467b9..689408e 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotaryEventExtensions.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotaryEventExtensions.cs @@ -26,18 +26,18 @@ namespace ElmSharp.Wearable.Tests [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) diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelector.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelector.cs index a4d9f07..15f1cb9 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelector.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelector.cs @@ -26,24 +26,24 @@ namespace ElmSharp.Wearable.Tests { [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")); diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelectorItem.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelectorItem.cs index 9636745..b45898e 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelectorItem.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelectorItem.cs @@ -26,19 +26,19 @@ namespace ElmSharp.Wearable.Tests { [Description("ElmSharp.Wearable.RotarySelectorItem Tests")] public class RotarySelectorItemTests { - private static RotarySelector _selector; - private static MainWindow _window = MainWindow.GetInstance(); - private static List _images; + private RotarySelector _selector; + private MainWindow _window = MainWindow.GetInstance(); + private List _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) @@ -53,7 +53,7 @@ namespace ElmSharp.Wearable.Tests { } } - private static void CreateSelector() + private void CreateSelector() { _images = new List(); _selector = new RotarySelector(_window) @@ -82,7 +82,7 @@ namespace ElmSharp.Wearable.Tests { _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")); diff --git a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelectorItemEventArgs.cs b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelectorItemEventArgs.cs index 7279b49..49a0211 100755 --- a/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelectorItemEventArgs.cs +++ b/tct-suite-vs/Tizen.ElmSharpWearable.Tests/testcase/TSRotarySelectorItemEventArgs.cs @@ -26,18 +26,18 @@ namespace ElmSharp.Wearable.Tests { [Description("ElmSharp.Wearable.RotarySelectorItemEventArgs Tests")] public class RotarySelectorItemEventArgsTests { - private static RotarySelector _selector; - private static MainWindow _window = MainWindow.GetInstance(); - private static List _images; + private RotarySelector _selector; + private MainWindow _window = MainWindow.GetInstance(); + private List _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) @@ -52,7 +52,7 @@ namespace ElmSharp.Wearable.Tests { } } - private static void CreateSelector() + private void CreateSelector() { _images = new List(); _selector = new RotarySelector(_window) @@ -81,7 +81,7 @@ namespace ElmSharp.Wearable.Tests { _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")); @@ -97,7 +97,7 @@ namespace ElmSharp.Wearable.Tests { }; } - 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]."); } diff --git a/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailAttachment.cs b/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailAttachment.cs index 18fced2..3814277 100755 --- a/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailAttachment.cs +++ b/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailAttachment.cs @@ -26,7 +26,7 @@ namespace Tizen.Messaging.Email.Tests [Description("Tizen.Messaging.Email.EmailAttachment Tests")] public class EmailAttachmentTests { - static bool isEmailSupported = false; + bool isEmailSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -35,13 +35,13 @@ namespace Tizen.Messaging.Email.Tests } [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"); } diff --git a/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailMessage.cs b/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailMessage.cs index 46f59d0..5e8d524 100755 --- a/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailMessage.cs +++ b/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailMessage.cs @@ -30,7 +30,7 @@ namespace Tizen.Messaging.Email.Tests [Description("Tizen.Messaging.Email.EmailMessage Tests")] public class EmailMessageTests { - static bool isEmailSupported = false; + bool isEmailSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -39,13 +39,13 @@ namespace Tizen.Messaging.Email.Tests } [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"); } diff --git a/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailRecipient.cs b/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailRecipient.cs index 3f47dd8..342deee 100755 --- a/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailRecipient.cs +++ b/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailRecipient.cs @@ -26,7 +26,7 @@ namespace Tizen.Messaging.Email.Tests [Description("Tizen.Messaging.Email.EmailRecipient Tests")] public class EmailRecipientTests { - static bool isEmailSupported = false; + bool isEmailSupported = false; [OneTimeSetUp] public void OneTimeInit() @@ -41,7 +41,7 @@ namespace Tizen.Messaging.Email.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } diff --git a/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailSender.cs b/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailSender.cs index 1c6ba00..3d101a5 100755 --- a/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailSender.cs +++ b/tct-suite-vs/Tizen.Email.Tests/testcase/TSEmailSender.cs @@ -27,8 +27,8 @@ namespace Tizen.Messaging.Email.Tests [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() @@ -38,13 +38,13 @@ namespace Tizen.Messaging.Email.Tests [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"); } diff --git a/tct-suite-vs/Tizen.Feedback.Tests/testcase/TSFeedback.cs b/tct-suite-vs/Tizen.Feedback.Tests/testcase/TSFeedback.cs index 80ef7b5..760228e 100755 --- a/tct-suite-vs/Tizen.Feedback.Tests/testcase/TSFeedback.cs +++ b/tct-suite-vs/Tizen.Feedback.Tests/testcase/TSFeedback.cs @@ -10,18 +10,18 @@ namespace Tizen.System.Tests { 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"}; @@ -33,7 +33,7 @@ namespace Tizen.System.Tests { [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"); @@ -46,7 +46,7 @@ namespace Tizen.System.Tests { [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(); @@ -70,7 +70,7 @@ namespace Tizen.System.Tests { [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; @@ -113,7 +113,7 @@ namespace Tizen.System.Tests { [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(); @@ -136,7 +136,7 @@ namespace Tizen.System.Tests { [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(); @@ -159,7 +159,7 @@ namespace Tizen.System.Tests { [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; @@ -207,7 +207,7 @@ namespace Tizen.System.Tests { [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(); @@ -230,7 +230,7 @@ namespace Tizen.System.Tests { [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(); diff --git a/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSAuthenticatorInformation.cs b/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSAuthenticatorInformation.cs index 4a82fe1..ce0a39a 100755 --- a/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSAuthenticatorInformation.cs +++ b/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSAuthenticatorInformation.cs @@ -21,17 +21,17 @@ namespace Tizen.Account.FidoClient.Tests [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() { } @@ -42,7 +42,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -93,7 +93,7 @@ namespace Tizen.Account.FidoClient.Tests [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 @@ -130,7 +130,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -164,7 +164,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -194,7 +194,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -225,7 +225,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -256,7 +256,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -291,7 +291,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -326,7 +326,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -356,7 +356,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -385,7 +385,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -416,7 +416,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -450,7 +450,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -483,7 +483,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { diff --git a/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafAuthenticatorFinder.cs b/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafAuthenticatorFinder.cs index 3cd6857..7ca455e 100755 --- a/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafAuthenticatorFinder.cs +++ b/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafAuthenticatorFinder.cs @@ -20,17 +20,17 @@ namespace Tizen.Account.FidoClient.Tests [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() { } @@ -41,7 +41,7 @@ namespace Tizen.Account.FidoClient.Tests [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 diff --git a/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafClient.cs b/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafClient.cs index faf2888..459f17d 100755 --- a/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafClient.cs +++ b/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafClient.cs @@ -21,17 +21,17 @@ namespace Tizen.Account.FidoClient.Tests { 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() { } @@ -42,7 +42,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -79,7 +79,7 @@ namespace Tizen.Account.FidoClient.Tests [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 @@ -113,7 +113,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -151,7 +151,7 @@ namespace Tizen.Account.FidoClient.Tests [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 @@ -185,7 +185,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -227,7 +227,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -271,7 +271,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -299,7 +299,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -326,7 +326,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -353,7 +353,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { diff --git a/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafMessage.cs b/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafMessage.cs index 2b8943a..00f3205 100755 --- a/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafMessage.cs +++ b/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafMessage.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.FidoClient.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { @@ -72,7 +72,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { diff --git a/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafResponse.cs b/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafResponse.cs index fd9d102..44f7c99 100755 --- a/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafResponse.cs +++ b/tct-suite-vs/Tizen.FidoClient.Tests/testcase/TSUafResponse.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.FidoClient.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.FidoClient.Tests [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 @@ -71,7 +71,7 @@ namespace Tizen.Account.FidoClient.Tests [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 { diff --git a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSFence.cs b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSFence.cs index 534e27e..058e20b 100755 --- a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSFence.cs +++ b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSFence.cs @@ -17,18 +17,18 @@ namespace Tizen.Location.Geofence.Tests [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); @@ -77,7 +77,7 @@ namespace Tizen.Location.Geofence.Tests } [OneTimeTearDown] - public static void Destroy() + public void Destroy() { if (s_mgr != null) s_mgr.Dispose(); @@ -91,7 +91,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -113,7 +113,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -133,7 +133,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -153,7 +153,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -173,7 +173,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -193,7 +193,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -213,7 +213,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -233,7 +233,7 @@ namespace Tizen.Location.Geofence.Tests [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"); @@ -248,7 +248,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -270,7 +270,7 @@ namespace Tizen.Location.Geofence.Tests [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"); @@ -285,7 +285,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -307,7 +307,7 @@ namespace Tizen.Location.Geofence.Tests [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"); @@ -322,7 +322,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -342,7 +342,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -362,7 +362,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -382,7 +382,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -403,7 +403,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -424,7 +424,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -445,7 +445,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -466,7 +466,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -487,7 +487,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -508,7 +508,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -529,7 +529,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -550,7 +550,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* diff --git a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSFenceData.cs b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSFenceData.cs index 0c6c18b..2191ac7 100755 --- a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSFenceData.cs +++ b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSFenceData.cs @@ -17,16 +17,16 @@ namespace Tizen.Location.Geofence.Tests [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); @@ -80,7 +80,7 @@ namespace Tizen.Location.Geofence.Tests } [OneTimeTearDown] - public static void Destroy() + public void Destroy() { if (s_perimeter != null) s_perimeter.RemoveGeofence(fenceId); @@ -96,7 +96,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -118,7 +118,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -139,7 +139,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -160,7 +160,7 @@ namespace Tizen.Location.Geofence.Tests [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 diff --git a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSFenceStatus.cs b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSFenceStatus.cs index 9d1ebd4..acf53df 100755 --- a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSFenceStatus.cs +++ b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSFenceStatus.cs @@ -17,17 +17,17 @@ namespace Tizen.Location.Geofence.Tests [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); @@ -75,7 +75,7 @@ namespace Tizen.Location.Geofence.Tests } [OneTimeTearDown] - public static void Destroy() + public void Destroy() { if (s_perimeter != null) { @@ -94,7 +94,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -117,7 +117,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -137,7 +137,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* diff --git a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSGeofenceManager.cs b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSGeofenceManager.cs index ddbb830..4cc7a13 100755 --- a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSGeofenceManager.cs +++ b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSGeofenceManager.cs @@ -18,13 +18,13 @@ namespace Tizen.Location.Geofence.Tests [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); @@ -68,7 +68,7 @@ namespace Tizen.Location.Geofence.Tests } [OneTimeTearDown] - public static void Destroy() + public void Destroy() { if (s_mgr != null) s_mgr.Dispose(); @@ -82,7 +82,7 @@ namespace Tizen.Location.Geofence.Tests [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 */ @@ -99,7 +99,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -149,7 +149,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -204,7 +204,7 @@ namespace Tizen.Location.Geofence.Tests [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 */ @@ -218,7 +218,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -285,7 +285,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -346,7 +346,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* diff --git a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSGeofenceResponseEventArgs.cs b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSGeofenceResponseEventArgs.cs index 4d7cb04..7978d00 100755 --- a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSGeofenceResponseEventArgs.cs +++ b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSGeofenceResponseEventArgs.cs @@ -18,13 +18,13 @@ namespace Tizen.Location.Geofence.Tests [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); @@ -51,7 +51,7 @@ namespace Tizen.Location.Geofence.Tests } [OneTimeTearDown] - public static void Destroy() + public void Destroy() { if (s_mgr != null) s_mgr.Dispose(); @@ -65,7 +65,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -122,7 +122,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -190,7 +190,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -248,7 +248,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -319,7 +319,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -389,7 +389,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -454,7 +454,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -519,7 +519,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -575,7 +575,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -622,7 +622,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* diff --git a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSGeofenceStateEventArgs.cs b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSGeofenceStateEventArgs.cs index 04e75c9..a028b64 100755 --- a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSGeofenceStateEventArgs.cs +++ b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSGeofenceStateEventArgs.cs @@ -17,13 +17,13 @@ namespace Tizen.Location.Geofence.Tests [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); @@ -50,7 +50,7 @@ namespace Tizen.Location.Geofence.Tests } [OneTimeTearDown] - public static void Destroy() + public void Destroy() { if (s_mgr != null) s_mgr.Dispose(); @@ -64,7 +64,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -124,7 +124,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* diff --git a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSPlaceData.cs b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSPlaceData.cs index e7caec8..5f0ee43 100755 --- a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSPlaceData.cs +++ b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSPlaceData.cs @@ -18,19 +18,19 @@ namespace Tizen.Location.Geofence.Tests [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); @@ -76,7 +76,7 @@ namespace Tizen.Location.Geofence.Tests } [OneTimeTearDown] - public static void Destroy() + public void Destroy() { if (s_mgr != null) s_mgr.Dispose(); @@ -90,7 +90,7 @@ namespace Tizen.Location.Geofence.Tests [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"); @@ -111,7 +111,7 @@ namespace Tizen.Location.Geofence.Tests [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"); @@ -133,7 +133,7 @@ namespace Tizen.Location.Geofence.Tests [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"); @@ -154,7 +154,7 @@ namespace Tizen.Location.Geofence.Tests [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"); diff --git a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSProximityStateEventArgs.cs b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSProximityStateEventArgs.cs index 6511a54..8f5ba1b 100755 --- a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSProximityStateEventArgs.cs +++ b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSProximityStateEventArgs.cs @@ -18,14 +18,14 @@ namespace Tizen.Location.Geofence.Tests [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); @@ -70,7 +70,7 @@ namespace Tizen.Location.Geofence.Tests } [OneTimeTearDown] - public static void Destroy() + public void Destroy() { if (s_perimeter != null) s_perimeter.RemovePlace(s_placeId); @@ -86,7 +86,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -145,7 +145,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -204,7 +204,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -263,7 +263,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -323,7 +323,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* diff --git a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSVirtualPerimeter.cs b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSVirtualPerimeter.cs index 1898a52..0e57daa 100755 --- a/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSVirtualPerimeter.cs +++ b/tct-suite-vs/Tizen.Geofence.Tests/testcase/TSVirtualPerimeter.cs @@ -19,13 +19,13 @@ namespace Tizen.Location.Geofence.Tests [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); @@ -52,7 +52,7 @@ namespace Tizen.Location.Geofence.Tests } [OneTimeTearDown] - public static void Destroy() + public void Destroy() { if (s_mgr != null) s_mgr.Dispose(); @@ -66,7 +66,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -89,7 +89,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -127,7 +127,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -169,7 +169,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -198,7 +198,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -245,7 +245,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -295,7 +295,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -340,7 +340,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -398,7 +398,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* @@ -459,7 +459,7 @@ namespace Tizen.Location.Geofence.Tests [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"); /* diff --git a/tct-suite-vs/Tizen.Information.Manual.Tests/testcase/TSInformation.cs b/tct-suite-vs/Tizen.Information.Manual.Tests/testcase/TSInformation.cs index 5900c07..a9a7450 100755 --- a/tct-suite-vs/Tizen.Information.Manual.Tests/testcase/TSInformation.cs +++ b/tct-suite-vs/Tizen.Information.Manual.Tests/testcase/TSInformation.cs @@ -5,7 +5,7 @@ using NUnit.Framework.TUnit; 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"; @@ -24,16 +24,16 @@ namespace Tizen.System.Tests { 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(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. @@ -51,7 +51,7 @@ namespace Tizen.System.Tests { [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); @@ -60,7 +60,7 @@ namespace Tizen.System.Tests { } } - public static void BluetoothDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void BluetoothDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(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. @@ -78,7 +78,7 @@ namespace Tizen.System.Tests { [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); @@ -87,7 +87,7 @@ namespace Tizen.System.Tests { } } - public static void WifiHotspotEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void WifiHotspotEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(WifiHotspot, out bool value); Assert.IsTrue(value, "Expects Status of TryGetValue of WifiHotspot to be true, but got false."); ManualTest.Confirm(); @@ -105,7 +105,7 @@ namespace Tizen.System.Tests { [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); @@ -114,7 +114,7 @@ namespace Tizen.System.Tests { } } - public static void WifiHotspotDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void WifiHotspotDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(WifiHotspot, out bool value); Assert.IsFalse(value, "Expects Status of TryGetValue of WifiHotspot to be false, but got true."); ManualTest.Confirm(); @@ -132,7 +132,7 @@ namespace Tizen.System.Tests { [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); @@ -142,7 +142,7 @@ namespace Tizen.System.Tests { } - public static void BluetoothTetheringEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void BluetoothTetheringEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(BluetoothTethering, out bool value); Assert.IsTrue(value, "Expects Status of TryGetValue of BluetoothTethering to be true, but got false."); ManualTest.Confirm(); @@ -160,7 +160,7 @@ namespace Tizen.System.Tests { [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); @@ -169,7 +169,7 @@ namespace Tizen.System.Tests { } } - public static void BluetoothTetheringDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void BluetoothTetheringDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(BluetoothTethering, out bool value); Assert.IsFalse(value, "Expects Status of TryGetValue of BluetoothTethering to be false, but got true."); ManualTest.Confirm(); @@ -187,7 +187,7 @@ namespace Tizen.System.Tests { [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); @@ -196,7 +196,7 @@ namespace Tizen.System.Tests { } } - public static void UsbTetheringEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void UsbTetheringEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(UsbTethering, out bool value); Assert.IsTrue(value, "Expects Status of TryGetValue of UsbTethering to be true, but got false."); ManualTest.Confirm(); @@ -214,7 +214,7 @@ namespace Tizen.System.Tests { [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); @@ -223,7 +223,7 @@ namespace Tizen.System.Tests { } } - public static void UsbTetheringDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void UsbTetheringDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(UsbTethering, out bool value); Assert.IsFalse(value, "Expects Status of TryGetValue of UsbTethering to be false, but got true."); ManualTest.Confirm(); @@ -241,7 +241,7 @@ namespace Tizen.System.Tests { [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); @@ -251,7 +251,7 @@ namespace Tizen.System.Tests { } - public static void PacketDataEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void PacketDataEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(PacketData, out bool value); Assert.IsTrue(value, "Expects Status of TryGetValue of PacketData to be true, but got false."); ManualTest.Confirm(); @@ -269,7 +269,7 @@ namespace Tizen.System.Tests { [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); @@ -278,7 +278,7 @@ namespace Tizen.System.Tests { } } - public static void PacketDataDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void PacketDataDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(PacketData, out bool value); Assert.IsFalse(value, "Expects Status of TryGetValue of PacketData to be false, but got true."); ManualTest.Confirm(); @@ -296,7 +296,7 @@ namespace Tizen.System.Tests { [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); @@ -305,7 +305,7 @@ namespace Tizen.System.Tests { } } - public static void DataRoamingEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void DataRoamingEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(DataRoaming, out bool value); Assert.IsTrue(value, "Expects Status of TryGetValue of DataRoaming to be true, but got false."); ManualTest.Confirm(); @@ -323,7 +323,7 @@ namespace Tizen.System.Tests { [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); @@ -332,7 +332,7 @@ namespace Tizen.System.Tests { } } - public static void DataRoamingDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void DataRoamingDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(DataRoaming, out bool value); Assert.IsFalse(value, "Expects Status of TryGetValue of DataRoaming to be false, but got true."); ManualTest.Confirm(); @@ -350,7 +350,7 @@ namespace Tizen.System.Tests { [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); @@ -359,7 +359,7 @@ namespace Tizen.System.Tests { } } - public static void VibrationEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void VibrationEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(Vibration, out bool value); Assert.IsTrue(value, "Expects Status of TryGetValue of Vibration to be true, but got false."); ManualTest.Confirm(); @@ -375,7 +375,7 @@ namespace Tizen.System.Tests { [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); @@ -384,7 +384,7 @@ namespace Tizen.System.Tests { } } - public static void VibrationDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void VibrationDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(Vibration, out bool value); Assert.IsFalse(value, "Expects Status of TryGetValue of Charger to be Vibration, but got true."); ManualTest.Confirm(); @@ -400,7 +400,7 @@ namespace Tizen.System.Tests { [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); @@ -409,7 +409,7 @@ namespace Tizen.System.Tests { } } - public static void AudioJackEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void AudioJackEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(AudioJack, out bool value); Assert.IsTrue(value, "Expects Status of TryGetValue of AudioJack to be true, but got false."); ManualTest.Confirm(); @@ -425,7 +425,7 @@ namespace Tizen.System.Tests { [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); @@ -434,7 +434,7 @@ namespace Tizen.System.Tests { } } - public static void AudioJackDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void AudioJackDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(AudioJack, out bool value); Assert.IsFalse(value, "Expects Status of TryGetValue of AudioJack to be false, but got true."); ManualTest.Confirm(); @@ -450,7 +450,7 @@ namespace Tizen.System.Tests { [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); @@ -459,7 +459,7 @@ namespace Tizen.System.Tests { } } - public static void GpsStatusChangedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void GpsStatusChangedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(Gps, out int value); Assert.Greater(value, (int)GpsStatus.Disabled, "Expects Status of TryGetValue of Gps to be valid, but got disabled."); ManualTest.Confirm(); @@ -477,7 +477,7 @@ namespace Tizen.System.Tests { [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); @@ -486,7 +486,7 @@ namespace Tizen.System.Tests { } } - public static void BatteryIsChargingEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void BatteryIsChargingEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(BatteryIsCharging, out bool value); Assert.IsTrue(value, "Expects Status of TryGetValue of BatteryIsCharging to be true, but got false."); ManualTest.Confirm(); @@ -503,7 +503,7 @@ namespace Tizen.System.Tests { [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); @@ -512,7 +512,7 @@ namespace Tizen.System.Tests { } } - public static void BatteryIsChargingDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void BatteryIsChargingDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(BatteryIsCharging, out bool value); Assert.IsFalse(value, "Expects Status of TryGetValue of BatteryIsCharging to be false, but got true."); ManualTest.Confirm(); @@ -529,7 +529,7 @@ namespace Tizen.System.Tests { [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); @@ -538,7 +538,7 @@ namespace Tizen.System.Tests { } } - public static void TvOutConnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void TvOutConnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(TvOut, out bool value); Assert.IsTrue(value, "Expects Status of TryGetValue of TvOut to be true, but got false."); ManualTest.Confirm(); @@ -554,7 +554,7 @@ namespace Tizen.System.Tests { [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); @@ -563,7 +563,7 @@ namespace Tizen.System.Tests { } } - public static void TvOutDisconnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void TvOutDisconnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(TvOut, out bool value); Assert.IsFalse(value, "Expects Status of TryGetValue of TvOut to be false, but got true."); ManualTest.Confirm(); @@ -580,7 +580,7 @@ namespace Tizen.System.Tests { [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); @@ -589,7 +589,7 @@ namespace Tizen.System.Tests { } } - public static void AudioJackConnectorCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void AudioJackConnectorCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(AudioJackConnector, out int value); Assert.Greater(value, (int)AudioJackConnectionType.Unconnected,"Expects Status of TryGetValue of AudioJackConnector to be valid"); ManualTest.Confirm(); @@ -605,7 +605,7 @@ namespace Tizen.System.Tests { [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); @@ -614,7 +614,7 @@ namespace Tizen.System.Tests { } } - public static void ChargerConnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void ChargerConnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(Charger, out bool value); Assert.IsTrue(value, "Expects Status of TryGetValue of Charger to be true, but got false."); ManualTest.Confirm(); @@ -631,7 +631,7 @@ namespace Tizen.System.Tests { [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); @@ -640,7 +640,7 @@ namespace Tizen.System.Tests { } } - public static void ChargerDisconnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void ChargerDisconnectedCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(Charger, out bool value); Assert.IsFalse(value, "Expects Status of TryGetValue of Charger to be false, but got true."); ManualTest.Confirm(); @@ -657,7 +657,7 @@ namespace Tizen.System.Tests { [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); @@ -666,7 +666,7 @@ namespace Tizen.System.Tests { } } - public static void AutoRotationEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void AutoRotationEnableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(AutoRotation, out bool value); Assert.IsTrue(value, "Expects Status of TryGetValue of AutoRotation to be true, but got false."); ManualTest.Confirm(); @@ -683,7 +683,7 @@ namespace Tizen.System.Tests { [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); @@ -692,7 +692,7 @@ namespace Tizen.System.Tests { } } - public static void AutoRotationDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { + public void AutoRotationDisableCallback(object sender, RuntimeFeatureStatusChangedEventArgs args) { Information.TryGetValue(AutoRotation, out bool value); Assert.IsFalse(value, "Expects Status of TryGetValue of AutoRotation to be false, but got true."); ManualTest.Confirm(); @@ -709,7 +709,7 @@ namespace Tizen.System.Tests { [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); diff --git a/tct-suite-vs/Tizen.Information.Manual.Tests/testcase/TSRuntimeFeatureStatusChangedEventArgs.cs b/tct-suite-vs/Tizen.Information.Manual.Tests/testcase/TSRuntimeFeatureStatusChangedEventArgs.cs index 8fd0f00..124a430 100755 --- a/tct-suite-vs/Tizen.Information.Manual.Tests/testcase/TSRuntimeFeatureStatusChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Information.Manual.Tests/testcase/TSRuntimeFeatureStatusChangedEventArgs.cs @@ -5,20 +5,20 @@ using NUnit.Framework.TUnit; 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 { @@ -48,7 +48,7 @@ namespace Tizen.System.Tests { [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); diff --git a/tct-suite-vs/Tizen.Information.Tests/testcase/TSInformation.cs b/tct-suite-vs/Tizen.Information.Tests/testcase/TSInformation.cs index ee7fad0..fb140da 100755 --- a/tct-suite-vs/Tizen.Information.Tests/testcase/TSInformation.cs +++ b/tct-suite-vs/Tizen.Information.Tests/testcase/TSInformation.cs @@ -8,19 +8,19 @@ namespace Tizen.System.Tests { [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"); } @@ -32,7 +32,7 @@ namespace Tizen.System.Tests { [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; @@ -117,14 +117,14 @@ namespace Tizen.System.Tests { [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("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) { } @@ -135,7 +135,7 @@ namespace Tizen.System.Tests { [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); } @@ -147,7 +147,7 @@ namespace Tizen.System.Tests { [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 { @@ -168,7 +168,7 @@ namespace Tizen.System.Tests { [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); } @@ -180,7 +180,7 @@ namespace Tizen.System.Tests { [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 { diff --git a/tct-suite-vs/Tizen.Information.Tests/testcase/TSProcessCpuUsage.cs b/tct-suite-vs/Tizen.Information.Tests/testcase/TSProcessCpuUsage.cs index 2ae5135..4ef62b8 100755 --- a/tct-suite-vs/Tizen.Information.Tests/testcase/TSProcessCpuUsage.cs +++ b/tct-suite-vs/Tizen.Information.Tests/testcase/TSProcessCpuUsage.cs @@ -9,12 +9,12 @@ namespace Tizen.System.Tests { [TestFixture] [Description("Tizen.System.ProcessCpuUsage class for unit testing.")] - public static class ProcessCpuUsageTests { + public class ProcessCpuUsageTests { - static bool IsResourcedTmpdirExisted; - static IList processlist; + bool IsResourcedTmpdirExisted; + IList processlist; - static bool IsResourcedActivated() + bool IsResourcedActivated() { if (IsResourcedTmpdirExisted) return true; @@ -30,7 +30,7 @@ namespace Tizen.System.Tests { return false; } - static ProcessCpuUsage GetProcessCpuUsageForAllProcesses() + ProcessCpuUsage GetProcessCpuUsageForAllProcesses() { ProcessCpuUsage allInfo; Process p = Process.GetCurrentProcess(); @@ -49,7 +49,7 @@ namespace Tizen.System.Tests { [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 { @@ -94,7 +94,7 @@ namespace Tizen.System.Tests { [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 { @@ -119,7 +119,7 @@ namespace Tizen.System.Tests { [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 { @@ -152,7 +152,7 @@ namespace Tizen.System.Tests { [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 { @@ -199,7 +199,7 @@ namespace Tizen.System.Tests { [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 { @@ -233,7 +233,7 @@ namespace Tizen.System.Tests { [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; @@ -267,7 +267,7 @@ namespace Tizen.System.Tests { [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 { @@ -301,7 +301,7 @@ namespace Tizen.System.Tests { [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; @@ -335,7 +335,7 @@ namespace Tizen.System.Tests { [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 { diff --git a/tct-suite-vs/Tizen.Information.Tests/testcase/TSProcessMemoryUsage.cs b/tct-suite-vs/Tizen.Information.Tests/testcase/TSProcessMemoryUsage.cs index 546c69a..2c440b6 100755 --- a/tct-suite-vs/Tizen.Information.Tests/testcase/TSProcessMemoryUsage.cs +++ b/tct-suite-vs/Tizen.Information.Tests/testcase/TSProcessMemoryUsage.cs @@ -9,12 +9,12 @@ namespace Tizen.System.Tests { [TestFixture] [Description("Tizen.System.ProcessMemoryUsage class for unit testing.")] - public static class ProcessMemoryUsageTests { + public class ProcessMemoryUsageTests { - static bool IsResourcedTmpdirExisted; - static IList processlist; + bool IsResourcedTmpdirExisted; + IList processlist; - static bool IsResourcedActivated() + bool IsResourcedActivated() { if (IsResourcedTmpdirExisted) return true; @@ -30,7 +30,7 @@ namespace Tizen.System.Tests { return false; } - static ProcessMemoryUsage GetProcessMemoryInformationForAllProcesses() + ProcessMemoryUsage GetProcessMemoryInformationForAllProcesses() { ProcessMemoryUsage allInfo; Process p = Process.GetCurrentProcess(); @@ -49,7 +49,7 @@ namespace Tizen.System.Tests { [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 { @@ -112,7 +112,7 @@ namespace Tizen.System.Tests { [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 { @@ -137,7 +137,7 @@ namespace Tizen.System.Tests { [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 { @@ -170,7 +170,7 @@ namespace Tizen.System.Tests { [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 { @@ -235,7 +235,7 @@ namespace Tizen.System.Tests { [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 { @@ -269,7 +269,7 @@ namespace Tizen.System.Tests { [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; @@ -303,7 +303,7 @@ namespace Tizen.System.Tests { [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 { @@ -337,7 +337,7 @@ namespace Tizen.System.Tests { [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; @@ -371,7 +371,7 @@ namespace Tizen.System.Tests { [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 { @@ -405,7 +405,7 @@ namespace Tizen.System.Tests { [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; @@ -439,7 +439,7 @@ namespace Tizen.System.Tests { [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 { @@ -473,7 +473,7 @@ namespace Tizen.System.Tests { [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; @@ -507,7 +507,7 @@ namespace Tizen.System.Tests { [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 { @@ -541,7 +541,7 @@ namespace Tizen.System.Tests { [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; @@ -575,7 +575,7 @@ namespace Tizen.System.Tests { [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 { @@ -609,7 +609,7 @@ namespace Tizen.System.Tests { [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; @@ -643,7 +643,7 @@ namespace Tizen.System.Tests { [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 { @@ -677,7 +677,7 @@ namespace Tizen.System.Tests { [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; @@ -711,7 +711,7 @@ namespace Tizen.System.Tests { [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 { diff --git a/tct-suite-vs/Tizen.Information.Tests/testcase/TSRuntimeFeatureStatusChangedEventArgs.cs b/tct-suite-vs/Tizen.Information.Tests/testcase/TSRuntimeFeatureStatusChangedEventArgs.cs index 87817d9..f04fdaf 100755 --- a/tct-suite-vs/Tizen.Information.Tests/testcase/TSRuntimeFeatureStatusChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Information.Tests/testcase/TSRuntimeFeatureStatusChangedEventArgs.cs @@ -6,7 +6,7 @@ namespace Tizen.System.Tests { [TestFixture] [Description("Tizen.System.RuntimeKeyStatusChangedEventArgs class for unit testing.")] - public static class RuntimeKeyStatusChangedEventArgsTests + public class RuntimeKeyStatusChangedEventArgsTests { [Test] [Category("P1")] @@ -15,7 +15,7 @@ namespace Tizen.System.Tests { [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"); diff --git a/tct-suite-vs/Tizen.Information.Tests/testcase/TSSystemCpuUsage.cs b/tct-suite-vs/Tizen.Information.Tests/testcase/TSSystemCpuUsage.cs index a2fd525..97d54f2 100755 --- a/tct-suite-vs/Tizen.Information.Tests/testcase/TSSystemCpuUsage.cs +++ b/tct-suite-vs/Tizen.Information.Tests/testcase/TSSystemCpuUsage.cs @@ -6,7 +6,7 @@ namespace Tizen.System.Tests { [TestFixture] [Description("Tizen.System.SystemCpuUsage class for unit testing.")] - public static class SystemCpuUsageTests { + public class SystemCpuUsageTests { [Test] [Category("P1")] @@ -15,7 +15,7 @@ namespace Tizen.System.Tests { [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 { @@ -51,7 +51,7 @@ namespace Tizen.System.Tests { [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 { @@ -88,7 +88,7 @@ namespace Tizen.System.Tests { [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 { @@ -111,7 +111,7 @@ namespace Tizen.System.Tests { [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 { @@ -134,7 +134,7 @@ namespace Tizen.System.Tests { [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 { @@ -158,7 +158,7 @@ namespace Tizen.System.Tests { [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 { @@ -182,7 +182,7 @@ namespace Tizen.System.Tests { [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 { @@ -206,7 +206,7 @@ namespace Tizen.System.Tests { [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 { @@ -230,7 +230,7 @@ namespace Tizen.System.Tests { [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 { @@ -252,7 +252,7 @@ namespace Tizen.System.Tests { [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 { @@ -276,7 +276,7 @@ namespace Tizen.System.Tests { [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 { diff --git a/tct-suite-vs/Tizen.Information.Tests/testcase/TSSystemInfo.cs b/tct-suite-vs/Tizen.Information.Tests/testcase/TSSystemInfo.cs index 6f363f7..641c6a6 100755 --- a/tct-suite-vs/Tizen.Information.Tests/testcase/TSSystemInfo.cs +++ b/tct-suite-vs/Tizen.Information.Tests/testcase/TSSystemInfo.cs @@ -18,25 +18,25 @@ namespace Tizen.System.Tests [Description("Tizen.System.Information class for system-info feature unit testing.")] public class SystemInfoTests { - static List> boolKeys; - static List> doubleKeys; - static List> intKeys; - static List> stringKeys; - static List> invalidKeys; + List> boolKeys; + List> doubleKeys; + List> intKeys; + List> stringKeys; + List> 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() { } @@ -48,7 +48,7 @@ namespace Tizen.System.Tests [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) @@ -71,7 +71,7 @@ namespace Tizen.System.Tests [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) @@ -92,7 +92,7 @@ namespace Tizen.System.Tests [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) @@ -115,7 +115,7 @@ namespace Tizen.System.Tests [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) @@ -136,7 +136,7 @@ namespace Tizen.System.Tests [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) @@ -159,7 +159,7 @@ namespace Tizen.System.Tests [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) @@ -180,7 +180,7 @@ namespace Tizen.System.Tests [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) @@ -203,7 +203,7 @@ namespace Tizen.System.Tests [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) @@ -223,7 +223,7 @@ namespace Tizen.System.Tests [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) @@ -247,7 +247,7 @@ namespace Tizen.System.Tests } } - static void Initialize() + void Initialize() { bool boolValue; double doubleValue; diff --git a/tct-suite-vs/Tizen.Information.Tests/testcase/TSSystemMemoryUsage.cs b/tct-suite-vs/Tizen.Information.Tests/testcase/TSSystemMemoryUsage.cs index c264c37..511c544 100755 --- a/tct-suite-vs/Tizen.Information.Tests/testcase/TSSystemMemoryUsage.cs +++ b/tct-suite-vs/Tizen.Information.Tests/testcase/TSSystemMemoryUsage.cs @@ -6,7 +6,7 @@ namespace Tizen.System.Tests { [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")] @@ -14,7 +14,7 @@ namespace Tizen.System.Tests { [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 { @@ -54,7 +54,7 @@ namespace Tizen.System.Tests { [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 { @@ -95,7 +95,7 @@ namespace Tizen.System.Tests { [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 { @@ -118,7 +118,7 @@ namespace Tizen.System.Tests { [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 { @@ -141,7 +141,7 @@ namespace Tizen.System.Tests { [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 { @@ -164,7 +164,7 @@ namespace Tizen.System.Tests { [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 { @@ -187,7 +187,7 @@ namespace Tizen.System.Tests { [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 { diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSAccessibilityStateChangedEventArgs.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSAccessibilityStateChangedEventArgs.cs index 3c2e5ba..7283847 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSAccessibilityStateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSAccessibilityStateChangedEventArgs.cs @@ -8,22 +8,22 @@ namespace Tizen.Uix.InputMethod.Tests [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; } @@ -35,7 +35,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSCursorPositionUpdatedEventArgs.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSCursorPositionUpdatedEventArgs.cs index d75f3c2..7747366 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSCursorPositionUpdatedEventArgs.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSCursorPositionUpdatedEventArgs.cs @@ -8,22 +8,22 @@ namespace Tizen.Uix.InputMethod.Tests [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; } @@ -35,7 +35,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSDisplayLanguageChangedEventArgs.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSDisplayLanguageChangedEventArgs.cs index d63fcc2..4f8acda 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSDisplayLanguageChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSDisplayLanguageChangedEventArgs.cs @@ -8,22 +8,22 @@ namespace Tizen.Uix.InputMethod.Tests [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; } @@ -35,7 +35,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSEditorWindow.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSEditorWindow.cs index bab938b..e12e859 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSEditorWindow.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSEditorWindow.cs @@ -8,16 +8,16 @@ namespace Tizen.Uix.InputMethod.Tests [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(); @@ -30,7 +30,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSFocusedInEventArgs.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSFocusedInEventArgs.cs index e6d3416..e0a6e47 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSFocusedInEventArgs.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSFocusedInEventArgs.cs @@ -8,22 +8,22 @@ namespace Tizen.Uix.InputMethod.Tests [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; } @@ -35,7 +35,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSFocusedOutEventArgs.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSFocusedOutEventArgs.cs index 50d7294..ce866d1 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSFocusedOutEventArgs.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSFocusedOutEventArgs.cs @@ -8,22 +8,22 @@ namespace Tizen.Uix.InputMethod.Tests [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; } @@ -35,7 +35,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodContext.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodContext.cs index 1c4d5cc..7f691fe 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodContext.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodContext.cs @@ -11,13 +11,13 @@ namespace Tizen.Uix.InputMethod.Tests { [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(); @@ -30,7 +30,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -48,7 +48,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -66,7 +66,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -84,7 +84,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -102,7 +102,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -120,7 +120,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -138,7 +138,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -156,7 +156,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -174,7 +174,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -192,7 +192,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -210,7 +210,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodDeviceInformation.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodDeviceInformation.cs index 1c63f33..6118d6c 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodDeviceInformation.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodDeviceInformation.cs @@ -8,16 +8,16 @@ namespace Tizen.Uix.InputMethod.Tests [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(); @@ -30,7 +30,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -65,7 +65,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -100,7 +100,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodEditor.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodEditor.cs index 36cfdfc..d667edd 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodEditor.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSInputMethodEditor.cs @@ -12,16 +12,16 @@ namespace Tizen.Uix.InputMethod.Tests [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(); @@ -34,7 +34,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -49,7 +49,7 @@ namespace Tizen.Uix.InputMethod.Tests InputMethodEditor.FocusedIn -= InputMethodEditor_FocusedIn; } - private static void InputMethodEditor_FocusedIn(object sender, FocusedInEventArgs e) + private void InputMethodEditor_FocusedIn(object sender, FocusedInEventArgs e) { } @@ -60,7 +60,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -75,7 +75,7 @@ namespace Tizen.Uix.InputMethod.Tests InputMethodEditor.FocusedOut -= InputMethodEditor_FocusedOut; } - private static void InputMethodEditor_FocusedOut(object sender, FocusedOutEventArgs e) + private void InputMethodEditor_FocusedOut(object sender, FocusedOutEventArgs e) { } @@ -86,7 +86,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -101,7 +101,7 @@ namespace Tizen.Uix.InputMethod.Tests InputMethodEditor.SurroundingTextUpdated -= InputMethodEditor_SurroundingTextUpdated; } - private static void InputMethodEditor_SurroundingTextUpdated(object sender, SurroundingTextUpdatedEventArgs e) + private void InputMethodEditor_SurroundingTextUpdated(object sender, SurroundingTextUpdatedEventArgs e) { } @@ -112,7 +112,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -127,7 +127,7 @@ namespace Tizen.Uix.InputMethod.Tests InputMethodEditor.InputContextReset -= InputMethodEditor_InputContextReset; } - private static void InputMethodEditor_InputContextReset(object sender, EventArgs e) + private void InputMethodEditor_InputContextReset(object sender, EventArgs e) { } @@ -138,7 +138,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -153,7 +153,7 @@ namespace Tizen.Uix.InputMethod.Tests InputMethodEditor.CursorPositionUpdated -= InputMethodEditor_CursorPositionUpdated; } - private static void InputMethodEditor_CursorPositionUpdated(object sender, CursorPositionUpdatedEventArgs e) + private void InputMethodEditor_CursorPositionUpdated(object sender, CursorPositionUpdatedEventArgs e) { } @@ -164,7 +164,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -179,7 +179,7 @@ namespace Tizen.Uix.InputMethod.Tests InputMethodEditor.LanguageSet -= InputMethodEditor_LanguageSet; } - private static void InputMethodEditor_LanguageSet(object sender, LanguageSetEventArgs e) + private void InputMethodEditor_LanguageSet(object sender, LanguageSetEventArgs e) { } @@ -190,7 +190,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -205,7 +205,7 @@ namespace Tizen.Uix.InputMethod.Tests InputMethodEditor.DataSet -= InputMethodEditor_DataSet; } - private static void InputMethodEditor_DataSet(object sender, SetDataEventArgs e) + private void InputMethodEditor_DataSet(object sender, SetDataEventArgs e) { } @@ -216,7 +216,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -231,7 +231,7 @@ namespace Tizen.Uix.InputMethod.Tests InputMethodEditor.LayoutSet -= InputMethodEditor_LayoutSet; } - private static void InputMethodEditor_LayoutSet(object sender, LayoutSetEventArgs e) + private void InputMethodEditor_LayoutSet(object sender, LayoutSetEventArgs e) { } @@ -242,7 +242,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -257,7 +257,7 @@ namespace Tizen.Uix.InputMethod.Tests InputMethodEditor.ReturnKeySet -= InputMethodEditor_ReturnKeySet; } - private static void InputMethodEditor_ReturnKeySet(object sender, ReturnKeySetEventArgs e) + private void InputMethodEditor_ReturnKeySet(object sender, ReturnKeySetEventArgs e) { } @@ -268,7 +268,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -283,7 +283,7 @@ namespace Tizen.Uix.InputMethod.Tests InputMethodEditor.ReturnKeyStateSet -= InputMethodEditor_ReturnKeyStateSet; } - private static void InputMethodEditor_ReturnKeyStateSet(object sender, ReturnKeyStateSetEventArgs e) + private void InputMethodEditor_ReturnKeyStateSet(object sender, ReturnKeyStateSetEventArgs e) { } @@ -294,7 +294,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -309,7 +309,7 @@ namespace Tizen.Uix.InputMethod.Tests InputMethodEditor.DisplayLanguageChanged -= InputMethodEditor_DisplayLanguageChanged; } - private static void InputMethodEditor_DisplayLanguageChanged(object sender, DisplayLanguageChangedEventArgs e) + private void InputMethodEditor_DisplayLanguageChanged(object sender, DisplayLanguageChangedEventArgs e) { } @@ -320,7 +320,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -335,7 +335,7 @@ namespace Tizen.Uix.InputMethod.Tests InputMethodEditor.RotationChanged -= InputMethodEditor_RotationChanged; } - private static void InputMethodEditor_RotationChanged(object sender, RotationChangedEventArgs e) + private void InputMethodEditor_RotationChanged(object sender, RotationChangedEventArgs e) { } @@ -346,7 +346,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -361,7 +361,7 @@ namespace Tizen.Uix.InputMethod.Tests InputMethodEditor.AccessibilityStateChanged -= InputMethodEditor_AccessibilityStateChanged; } - private static void InputMethodEditor_AccessibilityStateChanged(object sender, AccessibilityStateChangedEventArgs e) + private void InputMethodEditor_AccessibilityStateChanged(object sender, AccessibilityStateChangedEventArgs e) { } @@ -372,7 +372,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -397,7 +397,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -430,7 +430,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -459,7 +459,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -491,7 +491,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -518,7 +518,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -546,7 +546,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -574,7 +574,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -602,7 +602,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -630,7 +630,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -659,7 +659,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -677,7 +677,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -702,7 +702,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -730,7 +730,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -747,7 +747,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -777,7 +777,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -805,7 +805,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -822,7 +822,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -849,7 +849,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -877,7 +877,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -906,7 +906,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -934,7 +934,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -1047,7 +1047,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -1076,7 +1076,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -1106,7 +1106,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSLanguageSetEventArgs.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSLanguageSetEventArgs.cs index c3f0d47..ea22ff1 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSLanguageSetEventArgs.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSLanguageSetEventArgs.cs @@ -8,22 +8,22 @@ namespace Tizen.Uix.InputMethod.Tests [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; } @@ -35,7 +35,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSLayoutSetEventArgs.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSLayoutSetEventArgs.cs index cc8cfa0..c8bf490 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSLayoutSetEventArgs.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSLayoutSetEventArgs.cs @@ -8,22 +8,22 @@ namespace Tizen.Uix.InputMethod.Tests [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; } @@ -35,7 +35,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSPreEditAttribute.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSPreEditAttribute.cs index c1783a7..e7e1cd7 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSPreEditAttribute.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSPreEditAttribute.cs @@ -10,13 +10,13 @@ namespace Tizen.Uix.InputMethod.Tests { [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(); @@ -29,7 +29,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -48,7 +48,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -67,7 +67,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -86,7 +86,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSReturnKeySetEventArgs.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSReturnKeySetEventArgs.cs index fc90e2e..124a547 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSReturnKeySetEventArgs.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSReturnKeySetEventArgs.cs @@ -8,22 +8,22 @@ namespace Tizen.Uix.InputMethod.Tests [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; } @@ -35,7 +35,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSReturnKeyStateSetEventArgs.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSReturnKeyStateSetEventArgs.cs index 4c91d8f..01394f6 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSReturnKeyStateSetEventArgs.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSReturnKeyStateSetEventArgs.cs @@ -8,22 +8,22 @@ namespace Tizen.Uix.InputMethod.Tests [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; } @@ -35,7 +35,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSRotationChangedEventArgs.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSRotationChangedEventArgs.cs index 4ac9401..bbd23f3 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSRotationChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSRotationChangedEventArgs.cs @@ -8,22 +8,22 @@ namespace Tizen.Uix.InputMethod.Tests [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; } @@ -35,7 +35,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSSetDataEventArgs.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSSetDataEventArgs.cs index c43ea89..5339047 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSSetDataEventArgs.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSSetDataEventArgs.cs @@ -8,23 +8,23 @@ namespace Tizen.Uix.InputMethod.Tests [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; @@ -37,7 +37,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -56,7 +56,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSSurroundingTextUpdatedEventArgs.cs b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSSurroundingTextUpdatedEventArgs.cs index 169bd5b..793e228 100755 --- a/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSSurroundingTextUpdatedEventArgs.cs +++ b/tct-suite-vs/Tizen.Inputmethod.Tests/testcase/TSSurroundingTextUpdatedEventArgs.cs @@ -8,24 +8,24 @@ namespace Tizen.Uix.InputMethod.Tests [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; @@ -39,7 +39,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -58,7 +58,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 @@ -77,7 +77,7 @@ namespace Tizen.Uix.InputMethod.Tests [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 diff --git a/tct-suite-vs/Tizen.Inputmethodmanager.Tests/testcase/TSManager.cs b/tct-suite-vs/Tizen.Inputmethodmanager.Tests/testcase/TSManager.cs index 9e1e381..ee62075 100755 --- a/tct-suite-vs/Tizen.Inputmethodmanager.Tests/testcase/TSManager.cs +++ b/tct-suite-vs/Tizen.Inputmethodmanager.Tests/testcase/TSManager.cs @@ -7,20 +7,20 @@ namespace Tizen.Uix.InputMethodManager.Tests [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() { } @@ -31,7 +31,7 @@ namespace Tizen.Uix.InputMethodManager.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "MR")] [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")] - public static void ShowIMEList_NoException() + public void ShowIMEList_NoException() { try { @@ -51,7 +51,7 @@ namespace Tizen.Uix.InputMethodManager.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "MR")] [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")] - public static void ShowIMESelector_NoException() + public void ShowIMESelector_NoException() { try { @@ -71,7 +71,7 @@ namespace Tizen.Uix.InputMethodManager.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "MR")] [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")] - public static void GetActiveIME_NoException() + public void GetActiveIME_NoException() { try { @@ -92,7 +92,7 @@ namespace Tizen.Uix.InputMethodManager.Tests [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(() => Manager.IsIMEEnabled(null)); @@ -105,7 +105,7 @@ namespace Tizen.Uix.InputMethodManager.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "MR")] [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")] - public static void IsIMEEnabled_NoException() + public void IsIMEEnabled_NoException() { try { @@ -126,7 +126,7 @@ namespace Tizen.Uix.InputMethodManager.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "MR")] [Property("AUTHOR", "Manish Rathod, manish.r@samsung.com")] - public static void GetEnabledIMECount_NoException() + public void GetEnabledIMECount_NoException() { try { @@ -147,7 +147,7 @@ namespace Tizen.Uix.InputMethodManager.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "MR")] [Property("AUTHOR", "Inhong Han, inhong1.han@samsung.com")] - public static void PrelaunchIME_NoException() + public void PrelaunchIME_NoException() { try { diff --git a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSAttributes.cs b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSAttributes.cs index 1b2ba1d..1b33722 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSAttributes.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSAttributes.cs @@ -11,17 +11,17 @@ namespace Tizen.IoTConnectivityClient.Tests [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"); } @@ -33,7 +33,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -62,7 +62,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -98,7 +98,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -134,7 +134,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -173,7 +173,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -212,7 +212,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -253,7 +253,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -290,7 +290,7 @@ namespace Tizen.IoTConnectivityClient.Tests [Property("CRITERIA", "MCST")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.KeyValuePair")] - public static void Add_USAGE_WITH_PAIR() + public void Add_USAGE_WITH_PAIR() { Log.Info(TestHelper.LOGTAG, "[TS Start] Add_USAGE_WITH_PAIR"); try @@ -324,7 +324,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -357,7 +357,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -393,7 +393,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -432,7 +432,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -471,7 +471,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -511,7 +511,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -551,7 +551,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -603,7 +603,7 @@ namespace Tizen.IoTConnectivityClient.Tests [Property("CRITERIA", "MCST")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.KeyValuePair")] - public static void Remove_USAGE_WITH_PAIR() + public void Remove_USAGE_WITH_PAIR() { Log.Info(TestHelper.LOGTAG, "[TS Start] Remove_USAGE_WITH_PAIR"); try @@ -643,7 +643,7 @@ namespace Tizen.IoTConnectivityClient.Tests [Property("CRITERIA", "MR")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.KeyValuePair")] - 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 @@ -682,7 +682,7 @@ namespace Tizen.IoTConnectivityClient.Tests [Property("CRITERIA", "MEX")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.KeyValuePair")] - 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 @@ -720,7 +720,7 @@ namespace Tizen.IoTConnectivityClient.Tests [Property("CRITERIA", "MEX")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.KeyValuePair")] - 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 @@ -757,7 +757,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -796,7 +796,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -835,7 +835,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -873,7 +873,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -909,7 +909,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -947,7 +947,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -984,7 +984,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSCacheUpdatedEventArgs.cs b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSCacheUpdatedEventArgs.cs index 271082b..3db8ec4 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSCacheUpdatedEventArgs.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSCacheUpdatedEventArgs.cs @@ -10,12 +10,12 @@ namespace Tizen.IoTConnectivityClient.Tests [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); @@ -23,7 +23,7 @@ namespace Tizen.IoTConnectivityClient.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(TestHelper.LOGTAG, "CacheUpdatedEventArgsTest Destroy"); } @@ -35,7 +35,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSDeviceInformationFoundEventArgs.cs b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSDeviceInformationFoundEventArgs.cs index 7a64c92..d1696ef 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSDeviceInformationFoundEventArgs.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSDeviceInformationFoundEventArgs.cs @@ -10,12 +10,12 @@ namespace Tizen.IoTConnectivityClient.Tests [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); @@ -23,7 +23,7 @@ namespace Tizen.IoTConnectivityClient.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(TestHelper.LOGTAG, "DeviceInformationFoundEventArgsTest Destroy"); } @@ -35,7 +35,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -76,7 +76,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -123,7 +123,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -164,7 +164,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -205,7 +205,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -246,7 +246,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSFindingErrorOccurredEventArgs.cs b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSFindingErrorOccurredEventArgs.cs index 6c5cba8..00ca70d 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSFindingErrorOccurredEventArgs.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSFindingErrorOccurredEventArgs.cs @@ -11,12 +11,12 @@ namespace Tizen.IoTConnectivityClient.Tests [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); @@ -24,7 +24,7 @@ namespace Tizen.IoTConnectivityClient.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(TestHelper.LOGTAG, "FindingErrorOccurredEventArgsTest Destroy"); } @@ -36,7 +36,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -75,7 +75,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSIoTConnectivityClientManager.cs b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSIoTConnectivityClientManager.cs index b9a0757..437ede7 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSIoTConnectivityClientManager.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSIoTConnectivityClientManager.cs @@ -10,12 +10,12 @@ namespace Tizen.IoTConnectivityClient.Tests [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) { @@ -30,7 +30,7 @@ namespace Tizen.IoTConnectivityClient.Tests } [SetUp] - public static void Init() + public void Init() { Log.Info(TestHelper.LOGTAG, "ClientManagerTest Init"); Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported); @@ -38,7 +38,7 @@ namespace Tizen.IoTConnectivityClient.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(TestHelper.LOGTAG, "ClientManagerTest Destroy"); } @@ -50,7 +50,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -78,7 +78,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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"); @@ -114,7 +114,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -144,7 +144,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -183,7 +183,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -222,7 +222,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -257,7 +257,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -294,7 +294,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -329,7 +329,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -364,7 +364,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -399,7 +399,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -436,7 +436,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -471,7 +471,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -506,7 +506,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -540,7 +540,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -581,7 +581,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -623,7 +623,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -660,7 +660,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -698,7 +698,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -740,7 +740,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -785,7 +785,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -822,7 +822,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -860,7 +860,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -897,7 +897,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -934,7 +934,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -971,7 +971,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -1009,7 +1009,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -1046,7 +1046,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -1083,7 +1083,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -1121,7 +1121,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -1158,7 +1158,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -1201,7 +1201,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -1244,7 +1244,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -1282,7 +1282,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -1320,7 +1320,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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"); diff --git a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSObserverNotifiedEventArgs.cs b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSObserverNotifiedEventArgs.cs index c1705af..15c4a48 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSObserverNotifiedEventArgs.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSObserverNotifiedEventArgs.cs @@ -10,12 +10,12 @@ namespace Tizen.IoTConnectivityClient.Tests [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); @@ -23,7 +23,7 @@ namespace Tizen.IoTConnectivityClient.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(TestHelper.LOGTAG, "ObserverNotifiedEventArgsTest Destroy"); } @@ -35,7 +35,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -85,7 +85,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSPlatformInformationFoundEventArgs.cs b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSPlatformInformationFoundEventArgs.cs index e9eab8f..9719ce6 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSPlatformInformationFoundEventArgs.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSPlatformInformationFoundEventArgs.cs @@ -10,12 +10,12 @@ namespace Tizen.IoTConnectivityClient.Tests [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); @@ -23,7 +23,7 @@ namespace Tizen.IoTConnectivityClient.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(TestHelper.LOGTAG, "PlatformInformationFoundEventArgsTest Destroy"); } @@ -35,7 +35,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -76,7 +76,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -123,7 +123,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -164,7 +164,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -205,7 +205,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -246,7 +246,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -287,7 +287,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -327,7 +327,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -368,7 +368,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -408,7 +408,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -448,7 +448,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -489,7 +489,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -529,7 +529,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSPresenceReceivedEventArgs.cs b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSPresenceReceivedEventArgs.cs index f628278..3b18fdb 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSPresenceReceivedEventArgs.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSPresenceReceivedEventArgs.cs @@ -10,15 +10,15 @@ namespace Tizen.IoTConnectivityClient.Tests [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); @@ -26,7 +26,7 @@ namespace Tizen.IoTConnectivityClient.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(TestHelper.LOGTAG, "PresenceReceivedEventArgsTest Destroy"); } @@ -38,7 +38,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -83,7 +83,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -128,7 +128,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -173,7 +173,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSRemoteResource.cs b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSRemoteResource.cs index 3c026ef..6043d5e 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSRemoteResource.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSRemoteResource.cs @@ -12,12 +12,12 @@ namespace Tizen.IoTConnectivityClient.Tests [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) { @@ -32,7 +32,7 @@ namespace Tizen.IoTConnectivityClient.Tests } [SetUp] - public static void Init() + public void Init() { Log.Info(TestHelper.LOGTAG, "RemoteResourceTest Init"); Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported); @@ -41,7 +41,7 @@ namespace Tizen.IoTConnectivityClient.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(TestHelper.LOGTAG, "RemoteResourceTest Destroy"); } @@ -53,7 +53,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -93,7 +93,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -134,7 +134,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -175,7 +175,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -212,7 +212,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -252,7 +252,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -295,7 +295,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -338,7 +338,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -383,7 +383,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -428,7 +428,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -471,7 +471,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -516,7 +516,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -563,7 +563,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -609,7 +609,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -653,7 +653,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -694,7 +694,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -738,7 +738,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -781,7 +781,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -824,7 +824,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -866,7 +866,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -908,7 +908,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -955,7 +955,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -997,7 +997,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -1042,7 +1042,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -1087,7 +1087,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -1139,7 +1139,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -1191,7 +1191,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -1236,7 +1236,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -1316,7 +1316,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSRemoteResponse.cs b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSRemoteResponse.cs index eb0c8c4..2dbf170 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSRemoteResponse.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSRemoteResponse.cs @@ -10,12 +10,12 @@ namespace Tizen.IoTConnectivityClient.Tests [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); @@ -23,7 +23,7 @@ namespace Tizen.IoTConnectivityClient.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(TestHelper.LOGTAG, "RemoteResponseTests Destroy"); } @@ -35,7 +35,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -76,7 +76,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -119,7 +119,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSRepresentation.cs b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSRepresentation.cs index e5ba675..9ee618e 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSRepresentation.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSRepresentation.cs @@ -12,17 +12,17 @@ namespace Tizen.IoTConnectivityClient.Tests [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"); } @@ -34,7 +34,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -62,7 +62,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -97,7 +97,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -140,7 +140,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -183,7 +183,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -229,7 +229,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -283,7 +283,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSResourceFoundEventArgs.cs b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSResourceFoundEventArgs.cs index 3fec4ed..3805a4a 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSResourceFoundEventArgs.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSResourceFoundEventArgs.cs @@ -10,12 +10,12 @@ namespace Tizen.IoTConnectivityClient.Tests [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); @@ -23,7 +23,7 @@ namespace Tizen.IoTConnectivityClient.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(TestHelper.LOGTAG, "ResourceFoundEventArgsTest Destroy"); } @@ -35,7 +35,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -76,7 +76,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -123,7 +123,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSResponse.cs b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSResponse.cs index 59296e0..f78ead4 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSResponse.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSResponse.cs @@ -10,17 +10,17 @@ namespace Tizen.IoTConnectivityClient.Tests [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"); } @@ -32,7 +32,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -58,7 +58,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -89,7 +89,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -121,7 +121,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -153,7 +153,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -185,7 +185,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -217,7 +217,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -249,7 +249,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -281,7 +281,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -319,7 +319,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 @@ -355,7 +355,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSStateChangedEventArgs.cs b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSStateChangedEventArgs.cs index 71a5449..6b55fe5 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSStateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityClient.Tests/testcase/TSStateChangedEventArgs.cs @@ -11,12 +11,12 @@ namespace Tizen.IoTConnectivityClient.Tests [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) { @@ -31,7 +31,7 @@ namespace Tizen.IoTConnectivityClient.Tests } [SetUp] - public static void Init() + public void Init() { Log.Info(TestHelper.LOGTAG, "StateChangedEventArgsTest Init"); Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported); @@ -40,7 +40,7 @@ namespace Tizen.IoTConnectivityClient.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(TestHelper.LOGTAG, "StateChangedEventArgsTest Destroy"); } @@ -52,7 +52,7 @@ namespace Tizen.IoTConnectivityClient.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSIoTConnectivityServerManager.cs b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSIoTConnectivityServerManager.cs index 4c26a84..e1719d6 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSIoTConnectivityServerManager.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSIoTConnectivityServerManager.cs @@ -10,20 +10,20 @@ namespace Tizen.IoTConnectivityServer.Tests [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"); } @@ -35,7 +35,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -63,7 +63,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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"); @@ -98,7 +98,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -128,7 +128,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -169,7 +169,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -210,7 +210,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -251,7 +251,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -287,7 +287,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -322,7 +322,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSLiteResource.cs b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSLiteResource.cs index 439d1cf..6463bec 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSLiteResource.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSLiteResource.cs @@ -45,11 +45,11 @@ namespace Tizen.IoTConnectivityServer.Tests { 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) { @@ -64,7 +64,7 @@ namespace Tizen.IoTConnectivityServer.Tests } [SetUp] - public static void Init() + public void Init() { Log.Info(LOGTAG, "LiteResourceTest Init"); Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported); @@ -72,7 +72,7 @@ namespace Tizen.IoTConnectivityServer.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(LOGTAG, "LiteResourceTest Destroy"); } @@ -84,7 +84,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -129,7 +129,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -190,7 +190,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSRequest.cs b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSRequest.cs index 514be28..fb86f61 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSRequest.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSRequest.cs @@ -136,15 +136,15 @@ namespace Tizen.IoTConnectivityServer.Tests 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) { @@ -159,7 +159,7 @@ namespace Tizen.IoTConnectivityServer.Tests } [SetUp] - public static void Init() + public void Init() { Log.Info(LOGTAG, "RequestTests Init"); Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported); @@ -180,12 +180,12 @@ namespace Tizen.IoTConnectivityServer.Tests } [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"); @@ -206,7 +206,7 @@ namespace Tizen.IoTConnectivityServer.Tests await waitFlag(10); } - private static async Task LaunchClientApp(string mode) + private async Task LaunchClientApp(string mode) { if (!isSupported) throw new NotSupportedException("Not supported"); @@ -224,7 +224,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -263,7 +263,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -302,7 +302,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -343,7 +343,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResource.cs b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResource.cs index 8a1bd42..3a37ffc 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResource.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResource.cs @@ -12,7 +12,7 @@ namespace Tizen.IoTConnectivityServer.Tests { 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; @@ -134,16 +134,16 @@ namespace Tizen.IoTConnectivityServer.Tests 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) { @@ -158,7 +158,7 @@ namespace Tizen.IoTConnectivityServer.Tests } [SetUp] - public static void Init() + public void Init() { Log.Info(LOGTAG, "ResourceTests Init"); Information.TryGetValue("http://tizen.org/feature/iot.ocf", out isSupported); @@ -182,7 +182,7 @@ namespace Tizen.IoTConnectivityServer.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(LOGTAG, "ResourceTests Destroy"); } @@ -194,7 +194,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -227,7 +227,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -264,7 +264,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -300,7 +300,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -336,7 +336,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -372,7 +372,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -426,7 +426,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -461,7 +461,7 @@ namespace Tizen.IoTConnectivityServer.Tests } } - private static async Task LaunchClientApp() + private async Task LaunchClientApp() { if (!isSupported) throw new NotSupportedException("Not supported"); @@ -482,7 +482,7 @@ namespace Tizen.IoTConnectivityServer.Tests await waitFlag(10); } - private static async Task LaunchClientApp(string mode) + private async Task LaunchClientApp(string mode) { if (!isSupported) throw new NotSupportedException("Not supported"); @@ -500,7 +500,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -536,7 +536,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -572,7 +572,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -608,7 +608,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -644,7 +644,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -683,7 +683,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceInterfaces.cs b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceInterfaces.cs index cc36ad8..b8ebae3 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceInterfaces.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceInterfaces.cs @@ -14,17 +14,17 @@ namespace Tizen.IoTConnectivityServer.Tests { 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"); } @@ -36,7 +36,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -65,7 +65,7 @@ namespace Tizen.IoTConnectivityServer.Tests [Property("CRITERIA", "CONSTR")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.IEnumerable")] - public static void ResourceInterfaces_INIT_WITH_LIST() + public void ResourceInterfaces_INIT_WITH_LIST() { Log.Info(LOGTAG, "[TS Start] ResourceInterfaces_INIT_WITH_LIST"); try @@ -97,7 +97,7 @@ namespace Tizen.IoTConnectivityServer.Tests [Property("CRITERIA", "CONSTN, CONSTX")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.IEnumerable")] - 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 @@ -124,7 +124,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -158,7 +158,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -197,7 +197,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -230,7 +230,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -265,7 +265,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -297,7 +297,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -344,7 +344,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -370,7 +370,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -396,7 +396,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -422,7 +422,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -448,7 +448,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -474,7 +474,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceOptions.cs b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceOptions.cs index 325d4d0..16e3b13 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceOptions.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceOptions.cs @@ -14,17 +14,17 @@ namespace Tizen.IoTConnectivityServer.Tests { 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"); } @@ -36,7 +36,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -64,7 +64,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -102,7 +102,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -140,7 +140,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -175,7 +175,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -210,7 +210,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -249,7 +249,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -287,7 +287,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -321,7 +321,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -356,7 +356,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -389,7 +389,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -422,7 +422,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -455,7 +455,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -492,7 +492,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -529,7 +529,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -563,7 +563,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -600,7 +600,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -637,7 +637,7 @@ namespace Tizen.IoTConnectivityServer.Tests [Property("CRITERIA", "MCST")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.KeyValuePair")] - public static void Add_USAGE_WITH_PAIR() + public void Add_USAGE_WITH_PAIR() { Log.Info(LOGTAG, "[TS Start] Add_USAGE_WITH_PAIR"); try @@ -670,7 +670,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -707,7 +707,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -744,7 +744,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -780,7 +780,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -817,7 +817,7 @@ namespace Tizen.IoTConnectivityServer.Tests [Property("CRITERIA", "MCST")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.KeyValuePair")] - public static void Remove_USAGE_WITH_PAIR() + public void Remove_USAGE_WITH_PAIR() { Log.Info(LOGTAG, "[TS Start] Remove_USAGE_WITH_PAIR"); try @@ -854,7 +854,7 @@ namespace Tizen.IoTConnectivityServer.Tests [Property("CRITERIA", "MR")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.KeyValuePair")] - 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 @@ -890,7 +890,7 @@ namespace Tizen.IoTConnectivityServer.Tests [Property("CRITERIA", "MEX")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.KeyValuePair")] - 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 @@ -924,7 +924,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -975,7 +975,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceQuery.cs b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceQuery.cs index dda2490..3cd096a 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceQuery.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceQuery.cs @@ -14,17 +14,17 @@ namespace Tizen.IoTConnectivityServer.Tests { 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"); } @@ -36,7 +36,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -64,7 +64,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -99,7 +99,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -132,7 +132,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -166,7 +166,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -199,7 +199,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -237,7 +237,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -275,7 +275,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -310,7 +310,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -346,7 +346,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -385,7 +385,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -423,7 +423,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -457,7 +457,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -495,7 +495,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -532,7 +532,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -569,7 +569,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -603,7 +603,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -640,7 +640,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -677,7 +677,7 @@ namespace Tizen.IoTConnectivityServer.Tests [Property("CRITERIA", "MCST")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.KeyValuePair")] - public static void Add_USAGE_WITH_PAIR() + public void Add_USAGE_WITH_PAIR() { Log.Info(LOGTAG, "[TS Start] Add_USAGE_WITH_PAIR"); try @@ -710,7 +710,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -747,7 +747,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -784,7 +784,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -823,7 +823,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -863,7 +863,7 @@ namespace Tizen.IoTConnectivityServer.Tests [Property("CRITERIA", "MCST")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.KeyValuePair")] - public static void Remove_USAGE_WITH_PAIR() + public void Remove_USAGE_WITH_PAIR() { Log.Info(LOGTAG, "[TS Start] Remove_USAGE_WITH_PAIR"); try @@ -901,7 +901,7 @@ namespace Tizen.IoTConnectivityServer.Tests [Property("CRITERIA", "MR")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.KeyValuePair")] - 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 @@ -938,7 +938,7 @@ namespace Tizen.IoTConnectivityServer.Tests [Property("CRITERIA", "MEX")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.KeyValuePair")] - 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 @@ -972,7 +972,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -1023,7 +1023,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 diff --git a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceTypes.cs b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceTypes.cs index 2beca37..6cde114 100755 --- a/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceTypes.cs +++ b/tct-suite-vs/Tizen.IoTConnectivityServer.Tests/testcase/TSResourceTypes.cs @@ -14,17 +14,17 @@ namespace Tizen.IoTConnectivityServer.Tests { 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"); } @@ -36,7 +36,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -65,7 +65,7 @@ namespace Tizen.IoTConnectivityServer.Tests [Property("CRITERIA", "CONSTR")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.IEnumerable")] - public static void ResourceTypes_INIT_WITH_LIST() + public void ResourceTypes_INIT_WITH_LIST() { Log.Info(LOGTAG, "[TS Start] ResourceTypes_INIT_WITH_LIST"); try @@ -96,7 +96,7 @@ namespace Tizen.IoTConnectivityServer.Tests [Property("CRITERIA", "CONSTN, CONSTX")] [Property("AUTHOR", "Rajeev Ranjan, rajeev.ran@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.IEnumerable")] - 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 @@ -125,7 +125,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -158,7 +158,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -199,7 +199,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -234,7 +234,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -269,7 +269,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -304,7 +304,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -338,7 +338,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -370,7 +370,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -402,7 +402,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 @@ -449,7 +449,7 @@ namespace Tizen.IoTConnectivityServer.Tests [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 diff --git a/tct-suite-vs/Tizen.Location.Manual.Tests/testcase/TSLocator.cs b/tct-suite-vs/Tizen.Location.Manual.Tests/testcase/TSLocator.cs index 4b7d11c..01a245f 100755 --- a/tct-suite-vs/Tizen.Location.Manual.Tests/testcase/TSLocator.cs +++ b/tct-suite-vs/Tizen.Location.Manual.Tests/testcase/TSLocator.cs @@ -12,31 +12,31 @@ namespace Tizen.Location.Tests 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(feature, out ret)) @@ -45,7 +45,7 @@ namespace Tizen.Location.Tests 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."); @@ -63,7 +63,7 @@ namespace Tizen.Location.Tests [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 @@ -85,7 +85,7 @@ namespace Tizen.Location.Tests } } - 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."); @@ -103,7 +103,7 @@ namespace Tizen.Location.Tests [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 diff --git a/tct-suite-vs/Tizen.Location.Tests/testcase/TSCircleBoundary.cs b/tct-suite-vs/Tizen.Location.Tests/testcase/TSCircleBoundary.cs index 97ee7cc..d363a9b 100755 --- a/tct-suite-vs/Tizen.Location.Tests/testcase/TSCircleBoundary.cs +++ b/tct-suite-vs/Tizen.Location.Tests/testcase/TSCircleBoundary.cs @@ -8,18 +8,18 @@ namespace Tizen.Location.Tests [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) @@ -30,12 +30,12 @@ namespace Tizen.Location.Tests } [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(feature, out ret)) @@ -51,7 +51,7 @@ namespace Tizen.Location.Tests [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 @@ -80,7 +80,7 @@ namespace Tizen.Location.Tests [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) @@ -99,7 +99,7 @@ namespace Tizen.Location.Tests [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) @@ -119,7 +119,7 @@ namespace Tizen.Location.Tests [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) { diff --git a/tct-suite-vs/Tizen.Location.Tests/testcase/TSCoordinate.cs b/tct-suite-vs/Tizen.Location.Tests/testcase/TSCoordinate.cs index 45f7c7a..f1f6125 100755 --- a/tct-suite-vs/Tizen.Location.Tests/testcase/TSCoordinate.cs +++ b/tct-suite-vs/Tizen.Location.Tests/testcase/TSCoordinate.cs @@ -6,22 +6,22 @@ namespace Tizen.Location.Tests [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"); } @@ -33,7 +33,7 @@ namespace Tizen.Location.Tests [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; @@ -48,7 +48,7 @@ namespace Tizen.Location.Tests [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; diff --git a/tct-suite-vs/Tizen.Location.Tests/testcase/TSGpsSatellite.cs b/tct-suite-vs/Tizen.Location.Tests/testcase/TSGpsSatellite.cs index 217c8a2..ef2394c 100755 --- a/tct-suite-vs/Tizen.Location.Tests/testcase/TSGpsSatellite.cs +++ b/tct-suite-vs/Tizen.Location.Tests/testcase/TSGpsSatellite.cs @@ -11,29 +11,29 @@ namespace Tizen.Location.Tests [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 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 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(feature, out ret)) @@ -43,7 +43,7 @@ namespace Tizen.Location.Tests } [SetUp] - public static void Init() + public void Init() { Tizen.Log.Info(Globals.LogTag, "GpsSatelliteTests ## init"); if (!capabilityFlag) @@ -70,7 +70,7 @@ namespace Tizen.Location.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(Globals.LogTag, "GpsSatelliteTests ## destroy"); if (satellite_supported) @@ -93,7 +93,7 @@ namespace Tizen.Location.Tests [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) { @@ -123,7 +123,7 @@ namespace Tizen.Location.Tests [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) { @@ -139,7 +139,7 @@ namespace Tizen.Location.Tests [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) @@ -164,7 +164,7 @@ namespace Tizen.Location.Tests [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) @@ -180,7 +180,7 @@ namespace Tizen.Location.Tests [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) @@ -189,7 +189,7 @@ namespace Tizen.Location.Tests } } - public static async Task waitsatelliteStatusFlag() + public async Task waitsatelliteStatusFlag() { Tizen.Log.Info(Globals.LogTag, "Checking Satellite status Changed Callback"); int count = 0; @@ -204,7 +204,7 @@ namespace Tizen.Location.Tests } } - public static async Task waitsatelliteActiveFlag() + public async Task waitsatelliteActiveFlag() { Tizen.Log.Info(Globals.LogTag, "Checking Satellite status Changed Callback"); int count = 0; @@ -219,7 +219,7 @@ namespace Tizen.Location.Tests } } - public static void SatelliteStatusChangedHandler(Object sender, SatelliteStatusChangedEventArgs e) + public void SatelliteStatusChangedHandler(Object sender, SatelliteStatusChangedEventArgs e) { Tizen.Log.Info(Globals.LogTag, "Inside SatelliteStatusChangedHandler"); satelliteStatusFlag = true; @@ -234,7 +234,7 @@ namespace Tizen.Location.Tests [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) @@ -264,7 +264,7 @@ namespace Tizen.Location.Tests [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) @@ -294,7 +294,7 @@ namespace Tizen.Location.Tests } } - 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++; @@ -331,7 +331,7 @@ namespace Tizen.Location.Tests [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) @@ -365,7 +365,7 @@ namespace Tizen.Location.Tests [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) @@ -398,7 +398,7 @@ namespace Tizen.Location.Tests [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) @@ -430,7 +430,7 @@ namespace Tizen.Location.Tests [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) @@ -462,7 +462,7 @@ namespace Tizen.Location.Tests [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) diff --git a/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocation.cs b/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocation.cs index e481221..fdc66b3 100755 --- a/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocation.cs +++ b/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocation.cs @@ -8,22 +8,22 @@ namespace Tizen.Location.Tests [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) @@ -34,12 +34,12 @@ namespace Tizen.Location.Tests } [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(feature, out ret)) @@ -55,7 +55,7 @@ namespace Tizen.Location.Tests [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 { @@ -82,7 +82,7 @@ namespace Tizen.Location.Tests [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 @@ -115,7 +115,7 @@ namespace Tizen.Location.Tests [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) @@ -133,7 +133,7 @@ namespace Tizen.Location.Tests [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) @@ -151,7 +151,7 @@ namespace Tizen.Location.Tests [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) @@ -167,7 +167,7 @@ namespace Tizen.Location.Tests [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) @@ -183,7 +183,7 @@ namespace Tizen.Location.Tests [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) @@ -201,7 +201,7 @@ namespace Tizen.Location.Tests [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) @@ -217,7 +217,7 @@ namespace Tizen.Location.Tests [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) @@ -233,7 +233,7 @@ namespace Tizen.Location.Tests [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) @@ -251,7 +251,7 @@ namespace Tizen.Location.Tests [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) @@ -269,7 +269,7 @@ namespace Tizen.Location.Tests [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) @@ -287,7 +287,7 @@ namespace Tizen.Location.Tests [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) @@ -303,7 +303,7 @@ namespace Tizen.Location.Tests [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 @@ -332,7 +332,7 @@ namespace Tizen.Location.Tests [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) @@ -352,7 +352,7 @@ namespace Tizen.Location.Tests [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) diff --git a/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocationBoundary.cs b/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocationBoundary.cs index 7bd4b70..77efda1 100755 --- a/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocationBoundary.cs +++ b/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocationBoundary.cs @@ -9,21 +9,21 @@ namespace Tizen.Location.Tests [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 list = new List(); - 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 list = new List(); + 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) @@ -67,7 +67,7 @@ namespace Tizen.Location.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(Globals.LogTag, "LocationBoundaryTests ## destroy"); @@ -79,7 +79,7 @@ namespace Tizen.Location.Tests } } - private static bool CheckCapability(string feature) + private bool CheckCapability(string feature) { bool ret = false; if (Information.TryGetValue(feature, out ret)) @@ -95,7 +95,7 @@ namespace Tizen.Location.Tests [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) { @@ -111,7 +111,7 @@ namespace Tizen.Location.Tests [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) { @@ -127,7 +127,7 @@ namespace Tizen.Location.Tests [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) { @@ -143,7 +143,7 @@ namespace Tizen.Location.Tests [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) { @@ -163,7 +163,7 @@ namespace Tizen.Location.Tests [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) { @@ -183,7 +183,7 @@ namespace Tizen.Location.Tests [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) { diff --git a/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocationChangedEventArgs.cs b/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocationChangedEventArgs.cs index a39d077..973fc7e 100755 --- a/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocationChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocationChangedEventArgs.cs @@ -8,29 +8,29 @@ namespace Tizen.Location.Tests [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(feature, out ret)) @@ -46,7 +46,7 @@ namespace Tizen.Location.Tests [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 @@ -72,7 +72,7 @@ namespace Tizen.Location.Tests [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) diff --git a/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocator.cs b/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocator.cs index dd86a1e..0299ca9 100755 --- a/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocator.cs +++ b/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocator.cs @@ -10,44 +10,44 @@ namespace Tizen.Location.Tests [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; @@ -72,7 +72,7 @@ namespace Tizen.Location.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(Globals.LogTag, "LocatorTests ## destroy"); if (locator != null) @@ -89,7 +89,7 @@ namespace Tizen.Location.Tests } } - private static bool CheckCapability(string feature) + private bool CheckCapability(string feature) { bool ret = false; if (Information.TryGetValue(feature, out ret)) @@ -98,7 +98,7 @@ namespace Tizen.Location.Tests return false; } - public static async Task waitLocationFlag() + public async Task waitLocationFlag() { Tizen.Log.Info(Globals.LogTag, "Inside waitLocationFlag"); int count = 0; @@ -113,7 +113,7 @@ namespace Tizen.Location.Tests } } - public static async Task waitLocationPassiveFlag() + public async Task waitLocationPassiveFlag() { Tizen.Log.Info(Globals.LogTag, "Inside waitLocationPassiveFlag"); int count = 0; @@ -128,7 +128,7 @@ namespace Tizen.Location.Tests } } - 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) @@ -143,7 +143,7 @@ namespace Tizen.Location.Tests } } - 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++; @@ -171,7 +171,7 @@ namespace Tizen.Location.Tests } } - public static void LocationBatchChangedHandler(Object sender, LocationChangedEventArgs e) + public void LocationBatchChangedHandler(Object sender, LocationChangedEventArgs e) { invokedCount++; if (invokedCount == (batchPeriod/batchInterval)) @@ -185,26 +185,26 @@ namespace Tizen.Location.Tests } } - 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; @@ -218,7 +218,7 @@ namespace Tizen.Location.Tests [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) { @@ -252,7 +252,7 @@ namespace Tizen.Location.Tests [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) { @@ -272,7 +272,7 @@ namespace Tizen.Location.Tests [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) @@ -320,7 +320,7 @@ namespace Tizen.Location.Tests [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) { @@ -343,7 +343,7 @@ namespace Tizen.Location.Tests [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) @@ -389,7 +389,7 @@ namespace Tizen.Location.Tests [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) @@ -418,7 +418,7 @@ namespace Tizen.Location.Tests [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) @@ -450,7 +450,7 @@ namespace Tizen.Location.Tests [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) @@ -481,7 +481,7 @@ namespace Tizen.Location.Tests [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) @@ -510,7 +510,7 @@ namespace Tizen.Location.Tests [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) @@ -541,7 +541,7 @@ namespace Tizen.Location.Tests [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) @@ -572,7 +572,7 @@ namespace Tizen.Location.Tests [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) @@ -602,7 +602,7 @@ namespace Tizen.Location.Tests [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) @@ -634,7 +634,7 @@ namespace Tizen.Location.Tests [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) @@ -664,7 +664,7 @@ namespace Tizen.Location.Tests [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) @@ -689,7 +689,7 @@ namespace Tizen.Location.Tests [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) { @@ -705,7 +705,7 @@ namespace Tizen.Location.Tests [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 @@ -748,7 +748,7 @@ namespace Tizen.Location.Tests [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 @@ -789,7 +789,7 @@ namespace Tizen.Location.Tests [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 @@ -840,7 +840,7 @@ namespace Tizen.Location.Tests [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) @@ -875,7 +875,7 @@ namespace Tizen.Location.Tests [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) @@ -905,7 +905,7 @@ namespace Tizen.Location.Tests [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) { @@ -922,7 +922,7 @@ namespace Tizen.Location.Tests [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) { @@ -939,7 +939,7 @@ namespace Tizen.Location.Tests [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) { @@ -956,7 +956,7 @@ namespace Tizen.Location.Tests [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) { @@ -972,7 +972,7 @@ namespace Tizen.Location.Tests [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) { @@ -988,7 +988,7 @@ namespace Tizen.Location.Tests [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) { @@ -1005,7 +1005,7 @@ namespace Tizen.Location.Tests [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) { @@ -1022,7 +1022,7 @@ namespace Tizen.Location.Tests [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) { @@ -1039,7 +1039,7 @@ namespace Tizen.Location.Tests [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) { @@ -1055,7 +1055,7 @@ namespace Tizen.Location.Tests [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) { @@ -1071,7 +1071,7 @@ namespace Tizen.Location.Tests [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) { @@ -1088,7 +1088,7 @@ namespace Tizen.Location.Tests [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) { @@ -1105,7 +1105,7 @@ namespace Tizen.Location.Tests [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) { @@ -1122,7 +1122,7 @@ namespace Tizen.Location.Tests [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) { @@ -1138,7 +1138,7 @@ namespace Tizen.Location.Tests [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) { @@ -1154,7 +1154,7 @@ namespace Tizen.Location.Tests [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) { @@ -1171,7 +1171,7 @@ namespace Tizen.Location.Tests [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) { @@ -1188,7 +1188,7 @@ namespace Tizen.Location.Tests [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) { @@ -1205,7 +1205,7 @@ namespace Tizen.Location.Tests [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) { @@ -1221,7 +1221,7 @@ namespace Tizen.Location.Tests [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) { @@ -1237,7 +1237,7 @@ namespace Tizen.Location.Tests [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) { @@ -1254,7 +1254,7 @@ namespace Tizen.Location.Tests [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) { @@ -1278,7 +1278,7 @@ namespace Tizen.Location.Tests [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) { @@ -1294,7 +1294,7 @@ namespace Tizen.Location.Tests [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) { @@ -1311,7 +1311,7 @@ namespace Tizen.Location.Tests [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) { @@ -1328,7 +1328,7 @@ namespace Tizen.Location.Tests [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) @@ -1356,7 +1356,7 @@ namespace Tizen.Location.Tests [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) @@ -1383,7 +1383,7 @@ namespace Tizen.Location.Tests [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) @@ -1410,7 +1410,7 @@ namespace Tizen.Location.Tests [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) { diff --git a/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocatorHelper.cs b/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocatorHelper.cs index 4d9dfee..53b36a1 100755 --- a/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocatorHelper.cs +++ b/tct-suite-vs/Tizen.Location.Tests/testcase/TSLocatorHelper.cs @@ -8,21 +8,21 @@ namespace Tizen.Location.Tests [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) @@ -35,12 +35,12 @@ namespace Tizen.Location.Tests } [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(feature, out ret)) @@ -56,7 +56,7 @@ namespace Tizen.Location.Tests [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 @@ -84,7 +84,7 @@ namespace Tizen.Location.Tests [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 @@ -112,7 +112,7 @@ namespace Tizen.Location.Tests [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 @@ -140,7 +140,7 @@ namespace Tizen.Location.Tests [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 @@ -169,7 +169,7 @@ namespace Tizen.Location.Tests [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 @@ -198,7 +198,7 @@ namespace Tizen.Location.Tests [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 diff --git a/tct-suite-vs/Tizen.Location.Tests/testcase/TSPolygonBoundary.cs b/tct-suite-vs/Tizen.Location.Tests/testcase/TSPolygonBoundary.cs index de29f6d..123f3c6 100755 --- a/tct-suite-vs/Tizen.Location.Tests/testcase/TSPolygonBoundary.cs +++ b/tct-suite-vs/Tizen.Location.Tests/testcase/TSPolygonBoundary.cs @@ -9,18 +9,18 @@ namespace Tizen.Location.Tests [Description("Tizen.Location.Tests.PolygonBoundaryTests class for testing a Polygonal geographical boundary")] public class PolygonBoundaryTests { - private static List list = new List(); - private static PolygonBoundary polygon; - private static bool location_supported = false; - private static bool capabilityFlag = false; + private List list = new List(); + 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) @@ -31,12 +31,12 @@ namespace Tizen.Location.Tests } [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(feature, out ret)) @@ -52,7 +52,7 @@ namespace Tizen.Location.Tests [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 @@ -88,7 +88,7 @@ namespace Tizen.Location.Tests [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) @@ -104,7 +104,7 @@ namespace Tizen.Location.Tests [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) { diff --git a/tct-suite-vs/Tizen.Location.Tests/testcase/TSRectangleBoundary.cs b/tct-suite-vs/Tizen.Location.Tests/testcase/TSRectangleBoundary.cs index ea558ad..29862f0 100755 --- a/tct-suite-vs/Tizen.Location.Tests/testcase/TSRectangleBoundary.cs +++ b/tct-suite-vs/Tizen.Location.Tests/testcase/TSRectangleBoundary.cs @@ -8,18 +8,18 @@ namespace Tizen.Location.Tests [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) @@ -30,12 +30,12 @@ namespace Tizen.Location.Tests } [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(feature, out ret)) @@ -51,7 +51,7 @@ namespace Tizen.Location.Tests [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 @@ -81,7 +81,7 @@ namespace Tizen.Location.Tests [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) { @@ -101,7 +101,7 @@ namespace Tizen.Location.Tests [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) { diff --git a/tct-suite-vs/Tizen.Location.Tests/testcase/TSSatelliteInformation.cs b/tct-suite-vs/Tizen.Location.Tests/testcase/TSSatelliteInformation.cs index 4d7de01..2a3f845 100755 --- a/tct-suite-vs/Tizen.Location.Tests/testcase/TSSatelliteInformation.cs +++ b/tct-suite-vs/Tizen.Location.Tests/testcase/TSSatelliteInformation.cs @@ -8,21 +8,21 @@ namespace Tizen.Location.Tests [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"); @@ -34,13 +34,13 @@ namespace Tizen.Location.Tests } [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(feature, out ret)) @@ -56,7 +56,7 @@ namespace Tizen.Location.Tests [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) @@ -72,7 +72,7 @@ namespace Tizen.Location.Tests [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) @@ -88,7 +88,7 @@ namespace Tizen.Location.Tests [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) @@ -104,7 +104,7 @@ namespace Tizen.Location.Tests [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) @@ -120,7 +120,7 @@ namespace Tizen.Location.Tests [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) @@ -136,7 +136,7 @@ namespace Tizen.Location.Tests [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) diff --git a/tct-suite-vs/Tizen.Location.Tests/testcase/TSSatelliteStatusChangedEventArgs.cs b/tct-suite-vs/Tizen.Location.Tests/testcase/TSSatelliteStatusChangedEventArgs.cs index 2f7ba8a..202382c 100755 --- a/tct-suite-vs/Tizen.Location.Tests/testcase/TSSatelliteStatusChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Location.Tests/testcase/TSSatelliteStatusChangedEventArgs.cs @@ -8,19 +8,19 @@ namespace Tizen.Location.Tests [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"); @@ -33,13 +33,13 @@ namespace Tizen.Location.Tests } [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(feature, out ret)) @@ -55,7 +55,7 @@ namespace Tizen.Location.Tests [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) @@ -71,7 +71,7 @@ namespace Tizen.Location.Tests [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) @@ -87,7 +87,7 @@ namespace Tizen.Location.Tests [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) @@ -103,7 +103,7 @@ namespace Tizen.Location.Tests [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) diff --git a/tct-suite-vs/Tizen.Location.Tests/testcase/TSServiceStateChangedEventArgs.cs b/tct-suite-vs/Tizen.Location.Tests/testcase/TSServiceStateChangedEventArgs.cs index 6111668..1c88f35 100755 --- a/tct-suite-vs/Tizen.Location.Tests/testcase/TSServiceStateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Location.Tests/testcase/TSServiceStateChangedEventArgs.cs @@ -8,29 +8,29 @@ namespace Tizen.Location.Tests [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(feature, out ret)) @@ -46,7 +46,7 @@ namespace Tizen.Location.Tests [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 @@ -72,7 +72,7 @@ namespace Tizen.Location.Tests [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 @@ -98,7 +98,7 @@ namespace Tizen.Location.Tests [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 @@ -123,7 +123,7 @@ namespace Tizen.Location.Tests [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 diff --git a/tct-suite-vs/Tizen.Location.Tests/testcase/TSSettingChangedEventArgs.cs b/tct-suite-vs/Tizen.Location.Tests/testcase/TSSettingChangedEventArgs.cs index 1216f16..b73487b 100755 --- a/tct-suite-vs/Tizen.Location.Tests/testcase/TSSettingChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Location.Tests/testcase/TSSettingChangedEventArgs.cs @@ -8,17 +8,17 @@ namespace Tizen.Location.Tests [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"); @@ -43,13 +43,13 @@ namespace Tizen.Location.Tests } [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(feature, out ret)) @@ -65,7 +65,7 @@ namespace Tizen.Location.Tests [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) @@ -81,7 +81,7 @@ namespace Tizen.Location.Tests [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) @@ -97,7 +97,7 @@ namespace Tizen.Location.Tests [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) diff --git a/tct-suite-vs/Tizen.Location.Tests/testcase/TSZoneChangedEventArgs.cs b/tct-suite-vs/Tizen.Location.Tests/testcase/TSZoneChangedEventArgs.cs index 5e9111b..ee293e4 100755 --- a/tct-suite-vs/Tizen.Location.Tests/testcase/TSZoneChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Location.Tests/testcase/TSZoneChangedEventArgs.cs @@ -8,21 +8,21 @@ namespace Tizen.Location.Tests [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"); @@ -48,13 +48,13 @@ namespace Tizen.Location.Tests } [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(feature, out ret)) @@ -70,7 +70,7 @@ namespace Tizen.Location.Tests [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(); @@ -84,7 +84,7 @@ namespace Tizen.Location.Tests [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(); @@ -98,7 +98,7 @@ namespace Tizen.Location.Tests [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(); @@ -112,7 +112,7 @@ namespace Tizen.Location.Tests [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(); @@ -126,7 +126,7 @@ namespace Tizen.Location.Tests [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(); @@ -140,7 +140,7 @@ namespace Tizen.Location.Tests [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(); diff --git a/tct-suite-vs/Tizen.Log.Manual.Tests/testcase/TSLog.cs b/tct-suite-vs/Tizen.Log.Manual.Tests/testcase/TSLog.cs index e85cf96..128d297 100755 --- a/tct-suite-vs/Tizen.Log.Manual.Tests/testcase/TSLog.cs +++ b/tct-suite-vs/Tizen.Log.Manual.Tests/testcase/TSLog.cs @@ -26,16 +26,16 @@ namespace Tizen.Tests [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"); } @@ -54,7 +54,7 @@ namespace Tizen.Tests [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"); diff --git a/tct-suite-vs/Tizen.Log.Tests/testcase/TSLog.cs b/tct-suite-vs/Tizen.Log.Tests/testcase/TSLog.cs index b055f2a..fff843d 100755 --- a/tct-suite-vs/Tizen.Log.Tests/testcase/TSLog.cs +++ b/tct-suite-vs/Tizen.Log.Tests/testcase/TSLog.cs @@ -25,16 +25,16 @@ namespace Tizen.Tests [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"); } @@ -46,7 +46,7 @@ namespace Tizen.Tests [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"); } @@ -58,7 +58,7 @@ namespace Tizen.Tests [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"); } @@ -70,7 +70,7 @@ namespace Tizen.Tests [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"); } @@ -82,7 +82,7 @@ namespace Tizen.Tests [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"); } @@ -94,7 +94,7 @@ namespace Tizen.Tests [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"); } @@ -106,7 +106,7 @@ namespace Tizen.Tests [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"); } diff --git a/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSMapGestureEventArgs.cs b/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSMapGestureEventArgs.cs index 62378b3..f44a085 100755 --- a/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSMapGestureEventArgs.cs +++ b/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSMapGestureEventArgs.cs @@ -26,12 +26,12 @@ namespace Tizen.Maps.Tests [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 s_eventArgsList = new List(); - private static EventHandler s_handler; + private List s_eventArgsList = new List(); + private EventHandler s_handler; - private static async Task TestMapViewEvent(string eventName, TestStep addHandler, TestStep removeHandler) + private async Task TestMapViewEvent(string eventName, TestStep addHandler, TestStep removeHandler) { // PRECONDITION s_mapview = MapViewHelper.GetMapViewTestPage($"1. Please do {eventName} gesture on the Map."); @@ -72,7 +72,7 @@ namespace Tizen.Maps.Tests [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); @@ -92,7 +92,7 @@ namespace Tizen.Maps.Tests [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); @@ -112,7 +112,7 @@ namespace Tizen.Maps.Tests [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); @@ -132,7 +132,7 @@ namespace Tizen.Maps.Tests [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); @@ -153,7 +153,7 @@ namespace Tizen.Maps.Tests [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); @@ -173,7 +173,7 @@ namespace Tizen.Maps.Tests [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); @@ -193,7 +193,7 @@ namespace Tizen.Maps.Tests [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); @@ -213,7 +213,7 @@ namespace Tizen.Maps.Tests [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); @@ -234,7 +234,7 @@ namespace Tizen.Maps.Tests [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); @@ -254,7 +254,7 @@ namespace Tizen.Maps.Tests [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); @@ -274,7 +274,7 @@ namespace Tizen.Maps.Tests [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); @@ -294,7 +294,7 @@ namespace Tizen.Maps.Tests [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); diff --git a/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSMapView.cs b/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSMapView.cs index 68bd802..acbff87 100755 --- a/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSMapView.cs +++ b/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSMapView.cs @@ -25,9 +25,9 @@ namespace Tizen.Maps.Tests [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($"1. Please do {type} gesture on the Map."); @@ -88,7 +88,7 @@ namespace Tizen.Maps.Tests [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); @@ -106,7 +106,7 @@ namespace Tizen.Maps.Tests [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); @@ -124,7 +124,7 @@ namespace Tizen.Maps.Tests [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); @@ -142,7 +142,7 @@ namespace Tizen.Maps.Tests [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); @@ -160,7 +160,7 @@ namespace Tizen.Maps.Tests [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); @@ -179,7 +179,7 @@ namespace Tizen.Maps.Tests [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); @@ -197,7 +197,7 @@ namespace Tizen.Maps.Tests [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); @@ -214,7 +214,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSMarker.cs b/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSMarker.cs index 4554635..a5adae4 100755 --- a/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSMarker.cs +++ b/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSMarker.cs @@ -26,9 +26,9 @@ namespace Tizen.Maps.Tests [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")] @@ -42,7 +42,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSPolygon.cs b/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSPolygon.cs index cadf4d1..dc0d806 100755 --- a/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSPolygon.cs +++ b/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSPolygon.cs @@ -28,8 +28,8 @@ namespace Tizen.Maps.Tests [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")] @@ -43,7 +43,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSPolyline.cs b/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSPolyline.cs index fb5e65c..6df431f 100755 --- a/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSPolyline.cs +++ b/tct-suite-vs/Tizen.Maps.Manual.Tests/testcase/TSPolyline.cs @@ -28,8 +28,8 @@ namespace Tizen.Maps.Tests [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")] @@ -43,7 +43,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSArea.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSArea.cs index 2f119ed..7f80d83 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSArea.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSArea.cs @@ -31,7 +31,7 @@ namespace Tizen.Maps.Tests [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 @@ -56,7 +56,7 @@ namespace Tizen.Maps.Tests [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 @@ -81,7 +81,7 @@ namespace Tizen.Maps.Tests [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 @@ -121,7 +121,7 @@ namespace Tizen.Maps.Tests [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 diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSBoxOverlay.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSBoxOverlay.cs index 7adccc3..5876ac0 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSBoxOverlay.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSBoxOverlay.cs @@ -26,7 +26,7 @@ namespace Tizen.Maps.Tests [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")] @@ -35,7 +35,7 @@ namespace Tizen.Maps.Tests [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 @@ -60,7 +60,7 @@ namespace Tizen.Maps.Tests [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 diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSBubbleOverlay.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSBubbleOverlay.cs index 4e8b5ae..4f9a779 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSBubbleOverlay.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSBubbleOverlay.cs @@ -26,7 +26,7 @@ namespace Tizen.Maps.Tests [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")] @@ -35,7 +35,7 @@ namespace Tizen.Maps.Tests [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 @@ -59,7 +59,7 @@ namespace Tizen.Maps.Tests [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 diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSGeocoordinates.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSGeocoordinates.cs index d93e591..701469f 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSGeocoordinates.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSGeocoordinates.cs @@ -30,10 +30,10 @@ namespace Tizen.Maps.Tests public double Longitude; } - private static Dictionary s_testdata; + private Dictionary s_testdata; [SetUp] - public static void FixtureInit() + public void FixtureInit() { try { @@ -52,7 +52,7 @@ namespace Tizen.Maps.Tests } [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_testdata?.Clear(); } @@ -64,7 +64,7 @@ namespace Tizen.Maps.Tests [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 @@ -104,7 +104,7 @@ namespace Tizen.Maps.Tests [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 @@ -167,7 +167,7 @@ namespace Tizen.Maps.Tests [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; @@ -189,7 +189,7 @@ namespace Tizen.Maps.Tests [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; @@ -211,7 +211,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSIGeocodePreference.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSIGeocodePreference.cs index c9583e4..147a4c7 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSIGeocodePreference.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSIGeocodePreference.cs @@ -25,10 +25,10 @@ namespace Tizen.Maps.Tests [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 { @@ -41,7 +41,7 @@ namespace Tizen.Maps.Tests } [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { ((SearchPreference)s_preference)?.Dispose(); } @@ -53,7 +53,7 @@ namespace Tizen.Maps.Tests [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; @@ -73,7 +73,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSIPlaceSearchPreference.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSIPlaceSearchPreference.cs index 01a3bbc..bd4d1aa 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSIPlaceSearchPreference.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSIPlaceSearchPreference.cs @@ -25,10 +25,10 @@ namespace Tizen.Maps.Tests [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 { @@ -41,7 +41,7 @@ namespace Tizen.Maps.Tests } [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { ((SearchPreference)s_preference)?.Dispose(); } @@ -53,7 +53,7 @@ namespace Tizen.Maps.Tests [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; @@ -73,7 +73,7 @@ namespace Tizen.Maps.Tests [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; @@ -93,7 +93,7 @@ namespace Tizen.Maps.Tests [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; @@ -113,7 +113,7 @@ namespace Tizen.Maps.Tests [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; @@ -133,7 +133,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSIRouteSearchPreference.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSIRouteSearchPreference.cs index 72a5e32..c1e8eeb 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSIRouteSearchPreference.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSIRouteSearchPreference.cs @@ -25,10 +25,10 @@ namespace Tizen.Maps.Tests [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 { @@ -41,7 +41,7 @@ namespace Tizen.Maps.Tests } [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { ((SearchPreference)s_preference)?.Dispose(); } @@ -53,7 +53,7 @@ namespace Tizen.Maps.Tests [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; @@ -73,7 +73,7 @@ namespace Tizen.Maps.Tests [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; @@ -93,7 +93,7 @@ namespace Tizen.Maps.Tests [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; @@ -113,7 +113,7 @@ namespace Tizen.Maps.Tests [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; @@ -133,7 +133,7 @@ namespace Tizen.Maps.Tests [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; @@ -153,7 +153,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapObject.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapObject.cs index 12d0dc1..554c97f 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapObject.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapObject.cs @@ -27,12 +27,12 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.MapObject test class")] public class MapObjectTests { - private static List 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 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 { @@ -54,7 +54,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapService.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapService.cs index bbbabdc..774a6ba 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapService.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapService.cs @@ -26,12 +26,12 @@ namespace Tizen.Maps.Tests [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 s_testMapServices; + private string s_serviceProvider = "DEFAULT"; + private string s_serviceProviderKey = "Provider/Key"; + private List s_testMapServices; [SetUp] - public static void FixtureInit() + public void FixtureInit() { try { @@ -46,7 +46,7 @@ namespace Tizen.Maps.Tests } [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_testMapServices?.Clear(); } @@ -58,7 +58,7 @@ namespace Tizen.Maps.Tests [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 @@ -85,7 +85,7 @@ namespace Tizen.Maps.Tests [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 @@ -109,7 +109,7 @@ namespace Tizen.Maps.Tests [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 @@ -138,7 +138,7 @@ namespace Tizen.Maps.Tests [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; @@ -167,7 +167,7 @@ namespace Tizen.Maps.Tests [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; @@ -200,7 +200,7 @@ namespace Tizen.Maps.Tests [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; @@ -232,7 +232,7 @@ namespace Tizen.Maps.Tests [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; @@ -262,7 +262,7 @@ namespace Tizen.Maps.Tests [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; @@ -292,7 +292,7 @@ namespace Tizen.Maps.Tests [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; @@ -321,7 +321,7 @@ namespace Tizen.Maps.Tests [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; @@ -350,7 +350,7 @@ namespace Tizen.Maps.Tests [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; @@ -379,7 +379,7 @@ namespace Tizen.Maps.Tests [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; @@ -409,7 +409,7 @@ namespace Tizen.Maps.Tests [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; @@ -439,7 +439,7 @@ namespace Tizen.Maps.Tests [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; @@ -469,7 +469,7 @@ namespace Tizen.Maps.Tests [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; @@ -498,7 +498,7 @@ namespace Tizen.Maps.Tests [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; @@ -526,7 +526,7 @@ namespace Tizen.Maps.Tests [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; @@ -554,7 +554,7 @@ namespace Tizen.Maps.Tests [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; @@ -592,7 +592,7 @@ namespace Tizen.Maps.Tests [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; @@ -623,7 +623,7 @@ namespace Tizen.Maps.Tests [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; @@ -655,7 +655,7 @@ namespace Tizen.Maps.Tests [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; @@ -687,7 +687,7 @@ namespace Tizen.Maps.Tests [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; @@ -719,7 +719,7 @@ namespace Tizen.Maps.Tests [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; @@ -751,7 +751,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapServiceRequestTemplate.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapServiceRequestTemplate.cs index 4aa840a..da0eaae 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapServiceRequestTemplate.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapServiceRequestTemplate.cs @@ -20,10 +20,10 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.MapServiceRequest test class")] public class MapServiceRequestTemplateTests { - private static List s_testMapServices; + private List s_testMapServices; [SetUp] - public static void FixtureInit() + public void FixtureInit() { try { @@ -38,7 +38,7 @@ namespace Tizen.Maps.Tests } [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_testMapServices?.Clear(); } @@ -50,7 +50,7 @@ namespace Tizen.Maps.Tests [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; @@ -85,7 +85,7 @@ namespace Tizen.Maps.Tests [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; @@ -120,7 +120,7 @@ namespace Tizen.Maps.Tests [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; @@ -155,7 +155,7 @@ namespace Tizen.Maps.Tests [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; @@ -195,7 +195,7 @@ namespace Tizen.Maps.Tests [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; @@ -230,7 +230,7 @@ namespace Tizen.Maps.Tests [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; @@ -265,7 +265,7 @@ namespace Tizen.Maps.Tests [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; @@ -300,7 +300,7 @@ namespace Tizen.Maps.Tests [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; @@ -340,7 +340,7 @@ namespace Tizen.Maps.Tests [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; @@ -375,7 +375,7 @@ namespace Tizen.Maps.Tests [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; @@ -413,7 +413,7 @@ namespace Tizen.Maps.Tests [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; @@ -448,7 +448,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapView.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapView.cs index 9ca0ab7..677a516 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapView.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMapView.cs @@ -29,16 +29,16 @@ namespace Tizen.Maps.Tests [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 testObjects = new List(); + private string s_validImagePath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "picture.png"); + private List testObjects = new List(); [SetUp] - public static void Init() + public void Init() { Elementary.Initialize(); EcoreSynchronizationContext.Initialize(); @@ -71,7 +71,7 @@ namespace Tizen.Maps.Tests } } [TearDown] - public static void Destroy() + public void Destroy() { s_mapview?.Dispose(); testObjects.Clear(); @@ -84,7 +84,7 @@ namespace Tizen.Maps.Tests [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; @@ -103,7 +103,7 @@ namespace Tizen.Maps.Tests [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; @@ -121,7 +121,7 @@ namespace Tizen.Maps.Tests [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; @@ -139,7 +139,7 @@ namespace Tizen.Maps.Tests [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; @@ -169,7 +169,7 @@ namespace Tizen.Maps.Tests [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; @@ -199,7 +199,7 @@ namespace Tizen.Maps.Tests [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; @@ -219,7 +219,7 @@ namespace Tizen.Maps.Tests [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; @@ -244,7 +244,7 @@ namespace Tizen.Maps.Tests [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; @@ -269,7 +269,7 @@ namespace Tizen.Maps.Tests [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; @@ -295,7 +295,7 @@ namespace Tizen.Maps.Tests [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; @@ -319,7 +319,7 @@ namespace Tizen.Maps.Tests [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; @@ -345,7 +345,7 @@ namespace Tizen.Maps.Tests [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; @@ -374,7 +374,7 @@ namespace Tizen.Maps.Tests [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; @@ -403,7 +403,7 @@ namespace Tizen.Maps.Tests [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; @@ -428,7 +428,7 @@ namespace Tizen.Maps.Tests [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; @@ -453,7 +453,7 @@ namespace Tizen.Maps.Tests [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; @@ -478,7 +478,7 @@ namespace Tizen.Maps.Tests [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; @@ -503,7 +503,7 @@ namespace Tizen.Maps.Tests [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; @@ -536,7 +536,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMarker.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMarker.cs index a7bab32..6f00b5c 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMarker.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSMarker.cs @@ -27,11 +27,11 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.Marker test class")] public class MarkerTests { - private static List s_testData; - private static string s_imagePath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "picture.png"); + private List s_testData; + private string s_imagePath = Path.Combine(Application.Current.DirectoryInfo.SharedResource, "picture.png"); [SetUp] - public static void FixtureInit() + public void FixtureInit() { try { @@ -53,7 +53,7 @@ namespace Tizen.Maps.Tests [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; @@ -76,7 +76,7 @@ namespace Tizen.Maps.Tests [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; @@ -99,7 +99,7 @@ namespace Tizen.Maps.Tests [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; @@ -122,7 +122,7 @@ namespace Tizen.Maps.Tests [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; @@ -145,7 +145,7 @@ namespace Tizen.Maps.Tests [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; @@ -168,7 +168,7 @@ namespace Tizen.Maps.Tests [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; @@ -191,7 +191,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSOverlay.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSOverlay.cs index ff17bdf..96740a0 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSOverlay.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSOverlay.cs @@ -27,11 +27,11 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.Overlay test class")] public class OverlayTests { - private static List s_testData; - private static EvasObject s_evasObj = new Window("MapView Test Window"); + private List s_testData; + private EvasObject s_evasObj = new Window("MapView Test Window"); [SetUp] - public static void FixtureInit() + public void FixtureInit() { try { @@ -54,7 +54,7 @@ namespace Tizen.Maps.Tests [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 @@ -78,7 +78,7 @@ namespace Tizen.Maps.Tests [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 @@ -102,7 +102,7 @@ namespace Tizen.Maps.Tests [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; @@ -125,7 +125,7 @@ namespace Tizen.Maps.Tests [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; @@ -157,7 +157,7 @@ namespace Tizen.Maps.Tests [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; @@ -189,7 +189,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPin.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPin.cs index ae25b6b..93c2d69 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPin.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPin.cs @@ -25,7 +25,7 @@ namespace Tizen.Maps.Tests [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")] @@ -35,7 +35,7 @@ namespace Tizen.Maps.Tests [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 @@ -70,7 +70,7 @@ namespace Tizen.Maps.Tests [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 @@ -104,7 +104,7 @@ namespace Tizen.Maps.Tests [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 @@ -133,7 +133,7 @@ namespace Tizen.Maps.Tests [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 diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlace.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlace.cs index 040109b..cb6cdca 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlace.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlace.cs @@ -26,15 +26,15 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.Place test class")] public class PlaceTests { - private static IDictionary s_testPlaces; + private IDictionary s_testPlaces; [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_testPlaces?.Clear(); } - public static async Task> GetTestPlaces() + public async Task> GetTestPlaces() { return s_testPlaces = await PlaceHelper.GetTestPlaces(); } @@ -46,7 +46,7 @@ namespace Tizen.Maps.Tests [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; @@ -66,7 +66,7 @@ namespace Tizen.Maps.Tests [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; @@ -86,7 +86,7 @@ namespace Tizen.Maps.Tests [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; @@ -106,7 +106,7 @@ namespace Tizen.Maps.Tests [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; @@ -126,7 +126,7 @@ namespace Tizen.Maps.Tests [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; @@ -146,7 +146,7 @@ namespace Tizen.Maps.Tests [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; @@ -166,7 +166,7 @@ namespace Tizen.Maps.Tests [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; @@ -186,7 +186,7 @@ namespace Tizen.Maps.Tests [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; @@ -206,7 +206,7 @@ namespace Tizen.Maps.Tests [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; @@ -226,7 +226,7 @@ namespace Tizen.Maps.Tests [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; @@ -246,7 +246,7 @@ namespace Tizen.Maps.Tests [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; @@ -266,7 +266,7 @@ namespace Tizen.Maps.Tests [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; @@ -286,7 +286,7 @@ namespace Tizen.Maps.Tests [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; @@ -306,7 +306,7 @@ namespace Tizen.Maps.Tests [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; @@ -326,7 +326,7 @@ namespace Tizen.Maps.Tests [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; @@ -346,7 +346,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceAddress.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceAddress.cs index 91f6df9..65d0278 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceAddress.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceAddress.cs @@ -15,10 +15,10 @@ namespace Tizen.Maps.Tests [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 { @@ -31,7 +31,7 @@ namespace Tizen.Maps.Tests } [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_address.Dispose(); } @@ -43,7 +43,7 @@ namespace Tizen.Maps.Tests [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 @@ -64,7 +64,7 @@ namespace Tizen.Maps.Tests [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; @@ -89,7 +89,7 @@ namespace Tizen.Maps.Tests [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; @@ -114,7 +114,7 @@ namespace Tizen.Maps.Tests [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; @@ -139,7 +139,7 @@ namespace Tizen.Maps.Tests [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; @@ -164,7 +164,7 @@ namespace Tizen.Maps.Tests [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; @@ -189,7 +189,7 @@ namespace Tizen.Maps.Tests [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; @@ -214,7 +214,7 @@ namespace Tizen.Maps.Tests [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; @@ -239,7 +239,7 @@ namespace Tizen.Maps.Tests [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; @@ -264,7 +264,7 @@ namespace Tizen.Maps.Tests [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; @@ -289,7 +289,7 @@ namespace Tizen.Maps.Tests [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; @@ -314,7 +314,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceAttribute.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceAttribute.cs index e8a1b99..72ee7b0 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceAttribute.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceAttribute.cs @@ -25,15 +25,15 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.PlaceAttribute test class")] public class PlaceAttributeTests { - private static Dictionary s_testdata; + private Dictionary s_testdata; [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_testdata?.Clear(); } - public static async Task> GetTestAttributes() + public async Task> GetTestAttributes() { return s_testdata = await PlaceHelper.GetTestAttributes(); } @@ -45,7 +45,7 @@ namespace Tizen.Maps.Tests [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; @@ -65,7 +65,7 @@ namespace Tizen.Maps.Tests [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; @@ -85,7 +85,7 @@ namespace Tizen.Maps.Tests [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; @@ -105,7 +105,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceCategory.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceCategory.cs index e31d331..be27367 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceCategory.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceCategory.cs @@ -23,10 +23,10 @@ namespace Tizen.Maps.Tests [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 { @@ -39,7 +39,7 @@ namespace Tizen.Maps.Tests } [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_category.Dispose(); } @@ -51,7 +51,7 @@ namespace Tizen.Maps.Tests [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 @@ -72,7 +72,7 @@ namespace Tizen.Maps.Tests [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; @@ -97,7 +97,7 @@ namespace Tizen.Maps.Tests [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; @@ -122,7 +122,7 @@ namespace Tizen.Maps.Tests [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; @@ -147,7 +147,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceContact.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceContact.cs index 0aab9e5..70c3ce6 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceContact.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceContact.cs @@ -25,15 +25,15 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.PlaceContact test class")] public class PlaceContactTests { - private static Dictionary s_testdata; + private Dictionary s_testdata; [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_testdata?.Clear(); } - public static async Task> GetTestContacts() + public async Task> GetTestContacts() { return s_testdata = await PlaceHelper.GetTestContacts(); } @@ -45,7 +45,7 @@ namespace Tizen.Maps.Tests [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; @@ -65,7 +65,7 @@ namespace Tizen.Maps.Tests [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; @@ -85,7 +85,7 @@ namespace Tizen.Maps.Tests [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; @@ -105,7 +105,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceEditorial.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceEditorial.cs index 17a9301..8d99a30 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceEditorial.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceEditorial.cs @@ -25,15 +25,15 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.PlaceEditorial test class")] public class PlaceEditorialTests { - private static Dictionary s_testdata; + private Dictionary s_testdata; [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_testdata?.Clear(); } - public static async Task> GetTestEditorials() + public async Task> GetTestEditorials() { return s_testdata = await PlaceHelper.GetTestEditorials(); } @@ -45,7 +45,7 @@ namespace Tizen.Maps.Tests [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; @@ -65,7 +65,7 @@ namespace Tizen.Maps.Tests [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; @@ -85,7 +85,7 @@ namespace Tizen.Maps.Tests [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; @@ -105,7 +105,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceFilter.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceFilter.cs index 3063cec..e3e5d89 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceFilter.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceFilter.cs @@ -23,10 +23,10 @@ namespace Tizen.Maps.Tests [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 { @@ -39,7 +39,7 @@ namespace Tizen.Maps.Tests } [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_filter?.Dispose(); } @@ -51,7 +51,7 @@ namespace Tizen.Maps.Tests [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 @@ -72,7 +72,7 @@ namespace Tizen.Maps.Tests [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; @@ -97,7 +97,7 @@ namespace Tizen.Maps.Tests [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; @@ -125,7 +125,7 @@ namespace Tizen.Maps.Tests [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; @@ -150,7 +150,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceImage.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceImage.cs index b101268..cab31ed 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceImage.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceImage.cs @@ -24,15 +24,15 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.PlaceImage test class")] public class PlaceImageTests { - private static Dictionary s_testdata; + private Dictionary s_testdata; - public static async Task> GetTestImages() + public async Task> GetTestImages() { return s_testdata = await PlaceHelper.GetTestImages(); } [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_testdata?.Clear(); } @@ -44,7 +44,7 @@ namespace Tizen.Maps.Tests [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; @@ -64,7 +64,7 @@ namespace Tizen.Maps.Tests [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; @@ -84,7 +84,7 @@ namespace Tizen.Maps.Tests [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; @@ -104,7 +104,7 @@ namespace Tizen.Maps.Tests [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; @@ -124,7 +124,7 @@ namespace Tizen.Maps.Tests [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; @@ -144,7 +144,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceLink.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceLink.cs index 7b4662e..62daabb 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceLink.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceLink.cs @@ -25,15 +25,15 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.PlaceLink test class")] public class PlaceLinkTests { - private static Dictionary s_testdata; + private Dictionary s_testdata; [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_testdata?.Clear(); } - public static async Task> GetTestLinks() + public async Task> GetTestLinks() { return s_testdata = await PlaceHelper.GetTestLinks(); } @@ -45,7 +45,7 @@ namespace Tizen.Maps.Tests [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; @@ -65,7 +65,7 @@ namespace Tizen.Maps.Tests [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; @@ -85,7 +85,7 @@ namespace Tizen.Maps.Tests [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; @@ -105,7 +105,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceMedia.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceMedia.cs index b213b29..a91e350 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceMedia.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceMedia.cs @@ -25,15 +25,15 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.PlaceMedia test class")] public class PlaceMediaTests { - private static Dictionary s_testdata; + private Dictionary s_testdata; [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_testdata?.Clear(); } - public static async Task> GetTestMedia() + public async Task> GetTestMedia() { return s_testdata = await PlaceHelper.GetTestMedia(); } @@ -45,7 +45,7 @@ namespace Tizen.Maps.Tests [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; @@ -65,7 +65,7 @@ namespace Tizen.Maps.Tests [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; @@ -85,7 +85,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceRating.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceRating.cs index 9816b08..94fa8d9 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceRating.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceRating.cs @@ -25,15 +25,15 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.PlaceRating test class")] public class PlaceRatingTests { - private static Dictionary s_testdata; + private Dictionary s_testdata; [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_testdata?.Clear(); } - public static async Task> GetTestRatings() + public async Task> GetTestRatings() { return s_testdata = await PlaceHelper.GetTestRatings(); } @@ -45,7 +45,7 @@ namespace Tizen.Maps.Tests [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; @@ -65,7 +65,7 @@ namespace Tizen.Maps.Tests [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; @@ -85,7 +85,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceReview.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceReview.cs index 7216ca0..3955d6e 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceReview.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPlaceReview.cs @@ -25,15 +25,15 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.PlaceReview test class")] public class PlaceReviewTests { - private static Dictionary s_testdata; + private Dictionary s_testdata; [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_testdata?.Clear(); } - public static async Task> GetTestReviews() + public async Task> GetTestReviews() { return s_testdata = await PlaceHelper.GetTestReviews(); } @@ -45,7 +45,7 @@ namespace Tizen.Maps.Tests [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; @@ -65,7 +65,7 @@ namespace Tizen.Maps.Tests [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; @@ -85,7 +85,7 @@ namespace Tizen.Maps.Tests [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; @@ -105,7 +105,7 @@ namespace Tizen.Maps.Tests [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; @@ -125,7 +125,7 @@ namespace Tizen.Maps.Tests [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; @@ -145,7 +145,7 @@ namespace Tizen.Maps.Tests [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; @@ -165,7 +165,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPolygon.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPolygon.cs index dae32dc..d3c3c80 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPolygon.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPolygon.cs @@ -26,10 +26,10 @@ namespace Tizen.Maps.Tests [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 { @@ -43,7 +43,7 @@ namespace Tizen.Maps.Tests } [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_polygon?.Dispose(); } @@ -55,7 +55,7 @@ namespace Tizen.Maps.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "CONSTR")] [Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")] - public static void Polygon_INIT() + public void Polygon_INIT() { try { @@ -82,7 +82,7 @@ namespace Tizen.Maps.Tests [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 { @@ -114,7 +114,7 @@ namespace Tizen.Maps.Tests [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."); @@ -134,7 +134,7 @@ namespace Tizen.Maps.Tests [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; @@ -154,7 +154,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPolyline.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPolyline.cs index 0b3af8f..edd316f 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPolyline.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSPolyline.cs @@ -26,10 +26,10 @@ namespace Tizen.Maps.Tests [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 { @@ -43,7 +43,7 @@ namespace Tizen.Maps.Tests } [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_polyline?.Dispose(); } @@ -55,7 +55,7 @@ namespace Tizen.Maps.Tests [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 @@ -86,7 +86,7 @@ namespace Tizen.Maps.Tests [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 @@ -120,7 +120,7 @@ namespace Tizen.Maps.Tests [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; @@ -140,7 +140,7 @@ namespace Tizen.Maps.Tests [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; @@ -160,7 +160,7 @@ namespace Tizen.Maps.Tests [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; @@ -180,7 +180,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRoute.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRoute.cs index 5c6a34c..ae4eb3d 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRoute.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRoute.cs @@ -26,15 +26,15 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.Route test class")] public class RouteTests { - private static IDictionary s_testRoutes; + private IDictionary s_testRoutes; [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_testRoutes?.Clear(); } - public static async Task> GetTestRoutes() + public async Task> GetTestRoutes() { return s_testRoutes = await RouteHelper.GetTestRoutes(); } @@ -46,7 +46,7 @@ namespace Tizen.Maps.Tests [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; @@ -66,7 +66,7 @@ namespace Tizen.Maps.Tests [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; @@ -86,7 +86,7 @@ namespace Tizen.Maps.Tests [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; @@ -106,7 +106,7 @@ namespace Tizen.Maps.Tests [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; @@ -126,7 +126,7 @@ namespace Tizen.Maps.Tests [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; @@ -147,7 +147,7 @@ namespace Tizen.Maps.Tests [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; @@ -167,7 +167,7 @@ namespace Tizen.Maps.Tests [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; @@ -188,7 +188,7 @@ namespace Tizen.Maps.Tests [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; @@ -209,7 +209,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRouteManeuver.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRouteManeuver.cs index 384a99e..2749dfd 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRouteManeuver.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRouteManeuver.cs @@ -25,15 +25,15 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.RouteManeuver test class")] public class RouteManeuverTests { - private static IDictionary s_testManeuver; + private IDictionary s_testManeuver; [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_testManeuver?.Clear(); } - public static async Task> GetTestManeuvers() + public async Task> GetTestManeuvers() { return s_testManeuver = await RouteHelper.GetTestManeuvers(); } @@ -45,7 +45,7 @@ namespace Tizen.Maps.Tests [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; @@ -66,7 +66,7 @@ namespace Tizen.Maps.Tests [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; @@ -87,7 +87,7 @@ namespace Tizen.Maps.Tests [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; @@ -110,7 +110,7 @@ namespace Tizen.Maps.Tests [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; @@ -130,7 +130,7 @@ namespace Tizen.Maps.Tests [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; @@ -150,7 +150,7 @@ namespace Tizen.Maps.Tests [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; @@ -170,7 +170,7 @@ namespace Tizen.Maps.Tests [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; @@ -190,7 +190,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRouteSearchRequest.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRouteSearchRequest.cs index 8718753..9d42bea 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRouteSearchRequest.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRouteSearchRequest.cs @@ -28,10 +28,10 @@ namespace Tizen.Maps.Tests [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 { @@ -50,7 +50,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRouteSegment.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRouteSegment.cs index f855529..b9aa297 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRouteSegment.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSRouteSegment.cs @@ -26,15 +26,15 @@ namespace Tizen.Maps.Tests [Description("Tizen.Maps.RouteSegment test class")] public class RouteSegmentTests { - private static IDictionary s_testSegments; + private IDictionary s_testSegments; [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_testSegments?.Clear(); } - public static async Task> GetTestSegments() + public async Task> GetTestSegments() { return s_testSegments = await RouteHelper.GetTestSegments(); } @@ -46,7 +46,7 @@ namespace Tizen.Maps.Tests [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; @@ -66,7 +66,7 @@ namespace Tizen.Maps.Tests [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; @@ -86,7 +86,7 @@ namespace Tizen.Maps.Tests [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; @@ -106,7 +106,7 @@ namespace Tizen.Maps.Tests [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; @@ -126,7 +126,7 @@ namespace Tizen.Maps.Tests [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; @@ -147,7 +147,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSSearchPreference.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSSearchPreference.cs index 20c03f9..0a80c42 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSSearchPreference.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSSearchPreference.cs @@ -25,10 +25,10 @@ namespace Tizen.Maps.Tests [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 { @@ -41,7 +41,7 @@ namespace Tizen.Maps.Tests } [TearDown] - public static void FixtureDestroy() + public void FixtureDestroy() { s_preference?.Dispose(); } @@ -53,7 +53,7 @@ namespace Tizen.Maps.Tests [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 @@ -74,7 +74,7 @@ namespace Tizen.Maps.Tests [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; @@ -96,7 +96,7 @@ namespace Tizen.Maps.Tests [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; @@ -121,7 +121,7 @@ namespace Tizen.Maps.Tests [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; @@ -146,7 +146,7 @@ namespace Tizen.Maps.Tests [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; @@ -166,7 +166,7 @@ namespace Tizen.Maps.Tests [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; @@ -187,7 +187,7 @@ namespace Tizen.Maps.Tests [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; @@ -212,7 +212,7 @@ namespace Tizen.Maps.Tests [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; @@ -243,7 +243,7 @@ namespace Tizen.Maps.Tests [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; @@ -265,7 +265,7 @@ namespace Tizen.Maps.Tests [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; @@ -287,7 +287,7 @@ namespace Tizen.Maps.Tests [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; @@ -309,7 +309,7 @@ namespace Tizen.Maps.Tests [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; @@ -331,7 +331,7 @@ namespace Tizen.Maps.Tests [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; diff --git a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSSticker.cs b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSSticker.cs index 18a09b2..78f4ca8 100755 --- a/tct-suite-vs/Tizen.Maps.Tests/testcase/TSSticker.cs +++ b/tct-suite-vs/Tizen.Maps.Tests/testcase/TSSticker.cs @@ -25,7 +25,7 @@ namespace Tizen.Maps.Tests [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")] @@ -35,7 +35,7 @@ namespace Tizen.Maps.Tests [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 @@ -72,7 +72,7 @@ namespace Tizen.Maps.Tests [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 @@ -106,7 +106,7 @@ namespace Tizen.Maps.Tests [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 @@ -136,7 +136,7 @@ namespace Tizen.Maps.Tests [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 diff --git a/tct-suite-vs/Tizen.MediaCodec.Tests/testcase/TSInputProcessedEventArgs.cs b/tct-suite-vs/Tizen.MediaCodec.Tests/testcase/TSInputProcessedEventArgs.cs index 3219f83..da171c9 100755 --- a/tct-suite-vs/Tizen.MediaCodec.Tests/testcase/TSInputProcessedEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaCodec.Tests/testcase/TSInputProcessedEventArgs.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.MediaCodec.Tests [TestFixture] [Description("Tizen.Multimedia.MediaCodec.InputProcessedEventArgs Tests")] - public static class InputProcessedEventArgsTests + public class InputProcessedEventArgsTests { [Test] [Category("P1")] @@ -14,7 +14,7 @@ namespace Tizen.Multimedia.MediaCodec.Tests [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) { diff --git a/tct-suite-vs/Tizen.MediaCodec.Tests/testcase/TSMediaCodec.cs b/tct-suite-vs/Tizen.MediaCodec.Tests/testcase/TSMediaCodec.cs index 95ca48e..53082a0 100755 --- a/tct-suite-vs/Tizen.MediaCodec.Tests/testcase/TSMediaCodec.cs +++ b/tct-suite-vs/Tizen.MediaCodec.Tests/testcase/TSMediaCodec.cs @@ -11,7 +11,7 @@ namespace Tizen.Multimedia.MediaCodec.Tests { 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; diff --git a/tct-suite-vs/Tizen.MediaCodec.Tests/testcase/TSOutputAvailableEventArgs.cs b/tct-suite-vs/Tizen.MediaCodec.Tests/testcase/TSOutputAvailableEventArgs.cs index 27ac4a2..8d05eba 100755 --- a/tct-suite-vs/Tizen.MediaCodec.Tests/testcase/TSOutputAvailableEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaCodec.Tests/testcase/TSOutputAvailableEventArgs.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.MediaCodec.Tests [TestFixture] [Description("Tizen.Multimedia.MediaCodec.OutputAvailableEventArgs Tests")] - public static class OutputAvailableEventArgsTests + public class OutputAvailableEventArgsTests { [Test] [Category("P1")] @@ -14,7 +14,7 @@ namespace Tizen.Multimedia.MediaCodec.Tests [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) { diff --git a/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKey.cs b/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKey.cs index a1773e8..b0d9dc8 100755 --- a/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKey.cs +++ b/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKey.cs @@ -10,23 +10,23 @@ namespace Tizen.System.Tests [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"); } @@ -50,7 +50,7 @@ namespace Tizen.System.Tests [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 { diff --git a/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKeyEventArgs.cs b/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKeyEventArgs.cs index f04d908..98f0a42 100755 --- a/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKeyEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaKey.Manual.Tests/testcase/TSMediaKeyEventArgs.cs @@ -10,22 +10,22 @@ namespace Tizen.System.Tests [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; @@ -33,7 +33,7 @@ namespace Tizen.System.Tests 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; @@ -66,7 +66,7 @@ namespace Tizen.System.Tests [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 { @@ -101,7 +101,7 @@ namespace Tizen.System.Tests [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 { diff --git a/tct-suite-vs/Tizen.MediaKey.Tests/testcase/TSMediaKey.cs b/tct-suite-vs/Tizen.MediaKey.Tests/testcase/TSMediaKey.cs index e66541d..c6bfbe2 100755 --- a/tct-suite-vs/Tizen.MediaKey.Tests/testcase/TSMediaKey.cs +++ b/tct-suite-vs/Tizen.MediaKey.Tests/testcase/TSMediaKey.cs @@ -6,21 +6,21 @@ namespace Tizen.System.Tests { [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) { } @@ -31,7 +31,7 @@ namespace Tizen.System.Tests [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 { diff --git a/tct-suite-vs/Tizen.MediaKey.Tests/testcase/TSMediaKeyEventArgs.cs b/tct-suite-vs/Tizen.MediaKey.Tests/testcase/TSMediaKeyEventArgs.cs index 878c909..30ea526 100755 --- a/tct-suite-vs/Tizen.MediaKey.Tests/testcase/TSMediaKeyEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaKey.Tests/testcase/TSMediaKeyEventArgs.cs @@ -6,19 +6,19 @@ namespace Tizen.System.Tests { [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) { } @@ -29,7 +29,7 @@ namespace Tizen.System.Tests [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(myMediaKeyEventArgs); diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSAdaptiveVariants.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSAdaptiveVariants.cs index 6e93c7c..2ae62cd 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSAdaptiveVariants.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSAdaptiveVariants.cs @@ -11,11 +11,11 @@ namespace Tizen.Multimedia.Tests 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")] diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSAudioStreamProperties.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSAudioStreamProperties.cs index 3f2d42d..221482f 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSAudioStreamProperties.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSAudioStreamProperties.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.AudioStreamProperties tests")] - public static class AudioStreamPropertiesTests + public class AudioStreamPropertiesTests { public const string LogTag = "TizenTest.Multimedia.Player"; @@ -16,7 +16,7 @@ namespace Tizen.Multimedia.Tests [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)); @@ -29,7 +29,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(AudioStreamProperties.SampleRate)); @@ -42,7 +42,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(AudioStreamProperties.Channels)); @@ -55,7 +55,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(AudioStreamProperties.BitRate)); diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSBufferingProgressChangedEventArgs.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSBufferingProgressChangedEventArgs.cs index fd2571b..421aa9a 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSBufferingProgressChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSBufferingProgressChangedEventArgs.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.BufferingProgressChangedEventArgs Tests")] - public static class BufferingProgressChangedEventArgsTests + public class BufferingProgressChangedEventArgsTests { public const string LogTag = "TizenTest.Multimedia.Player"; @@ -16,7 +16,7 @@ namespace Tizen.Multimedia.Tests [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); @@ -29,7 +29,7 @@ namespace Tizen.Multimedia.Tests [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"); diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSCapturedFrame.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSCapturedFrame.cs index cc7f502..47a1e73 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSCapturedFrame.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSCapturedFrame.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.CapturedFrame Tests")] - public static class CapturedFrameTests + public class CapturedFrameTests { public const string LogTag = "TizenTest.Multimedia.Player"; @@ -16,7 +16,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(CapturedFrame.Buffer)); @@ -29,7 +29,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(CapturedFrame.Size)); diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSDirectionOfView.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSDirectionOfView.cs index 53590f5..38ec15d 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSDirectionOfView.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSDirectionOfView.cs @@ -4,7 +4,7 @@ namespace Tizen.Multimedia.Tests { [TestFixture] [Description("Tizen.Multimedia.DirectionOfView tests")] - public static class DirectionOfViewTests + public class DirectionOfViewTests { [Test] [Category("P1")] @@ -13,7 +13,7 @@ namespace Tizen.Multimedia.Tests [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)); } @@ -25,7 +25,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(DirectionOfView.Yaw)); } @@ -37,7 +37,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(DirectionOfView.Pitch)); } diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSDownloadProgress.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSDownloadProgress.cs index 8a35ea3..7633bb6 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSDownloadProgress.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSDownloadProgress.cs @@ -9,11 +9,11 @@ namespace Tizen.Multimedia.Tests 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")] diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSFieldOfView.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSFieldOfView.cs index 3458f70..8ed57f0 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSFieldOfView.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSFieldOfView.cs @@ -4,7 +4,7 @@ namespace Tizen.Multimedia.Tests { [TestFixture] [Description("Tizen.Multimedia.FieldOfView tests")] - public static class FieldOfViewTests + public class FieldOfViewTests { [Test] [Category("P1")] @@ -13,7 +13,7 @@ namespace Tizen.Multimedia.Tests [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)); } @@ -25,7 +25,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(FieldOfView.HorizontalDegrees)); } @@ -37,7 +37,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(FieldOfView.VerticalDegrees)); } diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaBufferSource.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaBufferSource.cs index 26c12ee..263046f 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaBufferSource.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaBufferSource.cs @@ -6,7 +6,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.MediaBufferSource Tests")] - public static class MediaBufferSourceTests + public class MediaBufferSourceTests { public const string LogTag = "TizenTest.Multimedia.Player"; @@ -18,7 +18,7 @@ namespace Tizen.Multimedia.Tests [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; @@ -35,7 +35,7 @@ namespace Tizen.Multimedia.Tests [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"); @@ -52,7 +52,7 @@ namespace Tizen.Multimedia.Tests [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 }; @@ -70,7 +70,7 @@ namespace Tizen.Multimedia.Tests [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"); @@ -89,7 +89,7 @@ namespace Tizen.Multimedia.Tests [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 }; @@ -109,7 +109,7 @@ namespace Tizen.Multimedia.Tests [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; @@ -130,7 +130,7 @@ namespace Tizen.Multimedia.Tests [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; @@ -146,7 +146,7 @@ namespace Tizen.Multimedia.Tests [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 }; @@ -162,7 +162,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(MediaBufferSource.Buffer)); diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaStreamBufferStatusChangedEventArgs.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaStreamBufferStatusChangedEventArgs.cs index 3116d87..b3b7fdc 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaStreamBufferStatusChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaStreamBufferStatusChangedEventArgs.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.MediaStreamBufferStatusChangedEventArgs Tests")] - public static class MediaStreamBufferStatusChangedEventArgsTests + public class MediaStreamBufferStatusChangedEventArgsTests { public const string LogTag = "TizenTest.Multimedia.Player"; @@ -16,7 +16,7 @@ namespace Tizen.Multimedia.Tests [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); @@ -29,7 +29,7 @@ namespace Tizen.Multimedia.Tests [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; diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaStreamSeekingOccurredEventArgs.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaStreamSeekingOccurredEventArgs.cs index 9c07f34..37f79b4 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaStreamSeekingOccurredEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaStreamSeekingOccurredEventArgs.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.MediaStreamSeekingOccurredEventArgs Tests")] - public static class MediaStreamSeekingOccurredEventArgsTests + public class MediaStreamSeekingOccurredEventArgsTests { public const string LogTag = "TizenTest.Multimedia.Player"; @@ -16,7 +16,7 @@ namespace Tizen.Multimedia.Tests [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)); @@ -29,7 +29,7 @@ namespace Tizen.Multimedia.Tests [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; diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaUriSource.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaUriSource.cs index a5833e8..551ccd5 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaUriSource.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSMediaUriSource.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.MediaUriSource tests")] - public static class MediaUriSourceTests + public class MediaUriSourceTests { public const string LogTag = "TizenTest.Multimedia.Player"; @@ -16,7 +16,7 @@ namespace Tizen.Multimedia.Tests [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(""); @@ -29,7 +29,7 @@ namespace Tizen.Multimedia.Tests [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"; diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSNoBufferSpaceException.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSNoBufferSpaceException.cs index bb455c5..fbe3ea5 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSNoBufferSpaceException.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSNoBufferSpaceException.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.NoBufferSpaceException Tests")] - public static class NoBufferSpaceExceptionTests + public class NoBufferSpaceExceptionTests { [Test] [Category("P1")] @@ -13,7 +13,7 @@ namespace Tizen.Multimedia.Tests [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")); } diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlaybackInterruptedEventArgs.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlaybackInterruptedEventArgs.cs index 5aaf274..01a5384 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlaybackInterruptedEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlaybackInterruptedEventArgs.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.PlaybackInterruptedEventArgs Tests")] - public static class PlaybackInterruptedEventArgsTests + public class PlaybackInterruptedEventArgsTests { public const string LogTag = "TizenTest.Multimedia.Player"; @@ -16,7 +16,7 @@ namespace Tizen.Multimedia.Tests [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(() => @@ -30,7 +30,7 @@ namespace Tizen.Multimedia.Tests [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; diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayer.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayer.cs index 6049139..280b146 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayer.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayer.cs @@ -12,14 +12,14 @@ namespace Tizen.Multimedia.Tests 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")] diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayerBufferingTime.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayerBufferingTime.cs index e2d0530..1549f8a 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayerBufferingTime.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayerBufferingTime.cs @@ -4,7 +4,7 @@ namespace Tizen.Multimedia.Tests { [TestFixture] [Description("Tizen.Multimedia.PlayerBufferingTime tests")] - public static class PlayerBufferingTimeTests + public class PlayerBufferingTimeTests { [Test] [Category("P1")] @@ -13,7 +13,7 @@ namespace Tizen.Multimedia.Tests [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)); } @@ -25,7 +25,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(PlayerBufferingTime.PreBufferMillisecond)); } @@ -37,7 +37,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(PlayerBufferingTime.ReBufferMillisecond)); } diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayerDisplaySettings.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayerDisplaySettings.cs index a3d9f5c..1eb616d 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayerDisplaySettings.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayerDisplaySettings.cs @@ -6,7 +6,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.PlayerDisplaySettings tests")] - public static class PlayerDisplaySettingsTests + public class PlayerDisplaySettingsTests { [Test] [Category("P1")] @@ -15,7 +15,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(PlayerDisplaySettings.IsVisible)); } @@ -27,7 +27,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(PlayerDisplaySettings.Mode)); } @@ -39,7 +39,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(PlayerDisplaySettings.Rotation)); } @@ -51,7 +51,7 @@ namespace Tizen.Multimedia.Tests [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; @@ -66,7 +66,7 @@ namespace Tizen.Multimedia.Tests [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)); @@ -81,7 +81,7 @@ namespace Tizen.Multimedia.Tests [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; @@ -106,7 +106,7 @@ namespace Tizen.Multimedia.Tests [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); @@ -119,7 +119,7 @@ namespace Tizen.Multimedia.Tests [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)); diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayerErrorOccurredEventArgs.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayerErrorOccurredEventArgs.cs index 49d73ef..988090b 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayerErrorOccurredEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSPlayerErrorOccurredEventArgs.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.PlayerErrorOccurredEventArgs Tests")] - public static class PlayerErrorOccurredEventArgsTests + public class PlayerErrorOccurredEventArgsTests { public const string LogTag = "TizenTest.Multimedia.Player"; @@ -16,7 +16,7 @@ namespace Tizen.Multimedia.Tests [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(() => @@ -30,7 +30,7 @@ namespace Tizen.Multimedia.Tests [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; diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSResourceLimitException.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSResourceLimitException.cs index 399ae6d..097d1f1 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSResourceLimitException.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSResourceLimitException.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.ResourceLimitException Tests")] - public static class ResourceLimitExceptionTests + public class ResourceLimitExceptionTests { [Test] [Category("P1")] @@ -13,7 +13,7 @@ namespace Tizen.Multimedia.Tests [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")); } diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSScaleRectangle.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSScaleRectangle.cs index aef88c7..7ba4887 100644 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSScaleRectangle.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSScaleRectangle.cs @@ -16,7 +16,7 @@ namespace Tizen.Multimedia.Tests [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)); } @@ -28,7 +28,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(ScaleRectangle.ScaleX)); } @@ -40,7 +40,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(ScaleRectangle.ScaleY)); } @@ -52,7 +52,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(ScaleRectangle.ScaleWidth)); } @@ -64,7 +64,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(ScaleRectangle.ScaleHeight)); } diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSSphericalVideo.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSSphericalVideo.cs index ab29801..5dd3fff 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSSphericalVideo.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSSphericalVideo.cs @@ -19,7 +19,7 @@ namespace Tizen.Multimedia.Tests } } - private static class DefaultValues + private class DefaultValues { public const float Yaw = 0.0f; public const float Pitch = 0.0f; @@ -100,7 +100,7 @@ namespace Tizen.Multimedia.Tests [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(); @@ -130,7 +130,7 @@ namespace Tizen.Multimedia.Tests [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(); @@ -150,7 +150,7 @@ namespace Tizen.Multimedia.Tests [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(); @@ -184,7 +184,7 @@ namespace Tizen.Multimedia.Tests [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(); @@ -213,7 +213,7 @@ namespace Tizen.Multimedia.Tests [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(); @@ -230,7 +230,7 @@ namespace Tizen.Multimedia.Tests [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(); @@ -264,7 +264,7 @@ namespace Tizen.Multimedia.Tests [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(); @@ -294,7 +294,7 @@ namespace Tizen.Multimedia.Tests [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(); @@ -311,7 +311,7 @@ namespace Tizen.Multimedia.Tests [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(); @@ -345,7 +345,7 @@ namespace Tizen.Multimedia.Tests [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(); @@ -364,7 +364,7 @@ namespace Tizen.Multimedia.Tests [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(); diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSStreamInfo.Audio.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSStreamInfo.Audio.cs index d8d5897..2426364 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSStreamInfo.Audio.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSStreamInfo.Audio.cs @@ -8,7 +8,7 @@ namespace Tizen.Multimedia.Tests [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; diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSStreamInfo.Video.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSStreamInfo.Video.cs index e5abb66..9abb24b 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSStreamInfo.Video.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSStreamInfo.Video.cs @@ -8,7 +8,7 @@ namespace Tizen.Multimedia.Tests [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; diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSSubtitleUpdatedEventArgs.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSSubtitleUpdatedEventArgs.cs index 5bb7ba2..8879d4c 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSSubtitleUpdatedEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSSubtitleUpdatedEventArgs.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.SubtitleUpdatedEventArgs Tests")] - public static class SubtitleUpdatedEventArgsTests + public class SubtitleUpdatedEventArgsTests { public const string LogTag = "TizenTest.Multimedia.Player"; @@ -16,7 +16,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(SubtitleUpdatedEventArgs.Duration)); @@ -29,7 +29,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(SubtitleUpdatedEventArgs.Text)); diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVariantInfo.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVariantInfo.cs index be98582..d783beb 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVariantInfo.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVariantInfo.cs @@ -4,7 +4,7 @@ namespace Tizen.Multimedia.Tests { [TestFixture] [Description("Tizen.Multimedia.VariantInfo tests")] - public static class VariantInfoTests + public class VariantInfoTests { [Test] [Category("P1")] @@ -13,7 +13,7 @@ namespace Tizen.Multimedia.Tests [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); @@ -29,7 +29,7 @@ namespace Tizen.Multimedia.Tests [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)); } @@ -41,7 +41,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(VariantInfo.Bandwidth)); } @@ -53,7 +53,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(VariantInfo.Width)); } @@ -65,7 +65,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(VariantInfo.Height)); } diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVideoFrameDecodedEventArgs.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVideoFrameDecodedEventArgs.cs index ddc4db6..9db6262 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVideoFrameDecodedEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVideoFrameDecodedEventArgs.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.VideoFrameDecodedEventArgs Tests")] - public static class VideoFrameDecodedEventArgsTests + public class VideoFrameDecodedEventArgsTests { public const string LogTag = "TizenTest.Multimedia.Player"; @@ -16,7 +16,7 @@ namespace Tizen.Multimedia.Tests [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( diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVideoStreamChangedEventArgs.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVideoStreamChangedEventArgs.cs index c492ba9..c5ad820 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVideoStreamChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVideoStreamChangedEventArgs.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.VideoStreamChangedEventArgs Tests")] - public static class VideoStreamChangedEventArgsTests + public class VideoStreamChangedEventArgsTests { public const string LogTag = "TizenTest.Multimedia.Player"; @@ -16,7 +16,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(VideoStreamChangedEventArgs.Size)); @@ -29,7 +29,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(VideoStreamChangedEventArgs.Fps)); @@ -43,7 +43,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(VideoStreamChangedEventArgs.Fps)); diff --git a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVideoStreamProperties.cs b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVideoStreamProperties.cs index 7241414..e533273 100755 --- a/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVideoStreamProperties.cs +++ b/tct-suite-vs/Tizen.MediaPlayer.Tests/testcase/TSVideoStreamProperties.cs @@ -5,7 +5,7 @@ namespace Tizen.Multimedia.Tests [TestFixture] [Description("Tizen.Multimedia.VideoStreamProperties tests")] - public static class VideoStreamPropertiesTests + public class VideoStreamPropertiesTests { public const string LogTag = "TizenTest.Multimedia.Player"; @@ -17,7 +17,7 @@ namespace Tizen.Multimedia.Tests [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))); @@ -31,7 +31,7 @@ namespace Tizen.Multimedia.Tests [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)); } @@ -43,7 +43,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(VideoStreamProperties.Fps)); @@ -56,7 +56,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(VideoStreamProperties.Size)); @@ -69,7 +69,7 @@ namespace Tizen.Multimedia.Tests [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(nameof(VideoStreamProperties.BitRate)); diff --git a/tct-suite-vs/Tizen.MediaVision.Manual.Tests/testcase/TSBarcodeGenerator.cs b/tct-suite-vs/Tizen.MediaVision.Manual.Tests/testcase/TSBarcodeGenerator.cs index 4bef5b5..2be9014 100755 --- a/tct-suite-vs/Tizen.MediaVision.Manual.Tests/testcase/TSBarcodeGenerator.cs +++ b/tct-suite-vs/Tizen.MediaVision.Manual.Tests/testcase/TSBarcodeGenerator.cs @@ -10,26 +10,26 @@ namespace Tizen.Multimedia.Vision.Tests [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() { @@ -90,7 +90,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"; @@ -127,7 +127,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"; @@ -169,7 +169,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"; @@ -207,7 +207,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"; diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcode.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcode.cs index e073473..ee170b9 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcode.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcode.cs @@ -16,9 +16,9 @@ namespace Tizen.Multimedia.Vision.Tests { 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), @@ -27,7 +27,7 @@ namespace Tizen.Multimedia.Vision.Tests ); [SetUp] - public static void Init() + public void Init() { _barcode = new Barcode(_region, _message, _barcodeType); } @@ -39,7 +39,7 @@ namespace Tizen.Multimedia.Vision.Tests [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, "Should be of type Barcode"); } @@ -51,7 +51,7 @@ namespace Tizen.Multimedia.Vision.Tests [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()); } @@ -63,7 +63,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); } @@ -75,7 +75,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); } diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeDetectionConfiguration.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeDetectionConfiguration.cs index 720f5ff..8832c79 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeDetectionConfiguration.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeDetectionConfiguration.cs @@ -15,10 +15,10 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -31,7 +31,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -43,7 +43,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(_config, "Should be of type BarcodeDetectionConfiguration"); Assert.IsNotNull(_config, "BarcodeDetectionConfiguration should not be null after calling constructor."); @@ -56,7 +56,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -69,7 +69,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -82,7 +82,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -95,7 +95,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.Target = BarcodeDetectionTarget.Barcode2D + 1); } diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeDetector.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeDetector.cs index 1ce54f7..7bcc370 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeDetector.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeDetector.cs @@ -16,10 +16,10 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -32,7 +32,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -45,7 +45,7 @@ namespace Tizen.Multimedia.Vision.Tests [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")) { @@ -68,7 +68,7 @@ namespace Tizen.Multimedia.Vision.Tests [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")) { @@ -93,7 +93,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => BarcodeDetector.DetectAsync(null, roi)); @@ -107,7 +107,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeGenerationConfiguration.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeGenerationConfiguration.cs index f58ee98..0c092a4 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeGenerationConfiguration.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeGenerationConfiguration.cs @@ -16,10 +16,10 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -32,7 +32,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -44,7 +44,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(_config, "Should be of type BarcodeGenerationConfiguration"); Assert.IsNotNull(_config, "BarcodeGenerationConfiguration should not be null after calling constructor."); @@ -57,7 +57,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -70,7 +70,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.TextVisibility = Visibility.Visible + 1); } @@ -82,7 +82,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -95,7 +95,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -108,7 +108,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeGenerator.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeGenerator.cs index db5df77..d4276be 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeGenerator.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeGenerator.cs @@ -16,11 +16,11 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -33,7 +33,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -46,7 +46,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -71,7 +71,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => BarcodeGenerator.GenerateSource("0123455", null)); } @@ -84,7 +84,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => BarcodeGenerator.GenerateSource("abcdef", qrConfig)); @@ -98,7 +98,7 @@ namespace Tizen.Multimedia.Vision.Tests [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; @@ -122,7 +122,7 @@ namespace Tizen.Multimedia.Vision.Tests [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; @@ -139,7 +139,7 @@ namespace Tizen.Multimedia.Vision.Tests [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; @@ -158,7 +158,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)) { @@ -177,7 +177,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => BarcodeGenerator.GenerateSource(null, BarcodeType.Code128)); } @@ -190,7 +190,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => BarcodeGenerator.GenerateSource("0123455", BarcodeType.QR)); } @@ -203,7 +203,7 @@ namespace Tizen.Multimedia.Vision.Tests [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; @@ -226,7 +226,7 @@ namespace Tizen.Multimedia.Vision.Tests [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; @@ -243,7 +243,7 @@ namespace Tizen.Multimedia.Vision.Tests [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; @@ -260,7 +260,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -275,7 +275,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -292,7 +292,7 @@ namespace Tizen.Multimedia.Vision.Tests [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; @@ -311,7 +311,7 @@ namespace Tizen.Multimedia.Vision.Tests [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; @@ -331,7 +331,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -346,7 +346,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -361,7 +361,7 @@ namespace Tizen.Multimedia.Vision.Tests [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; @@ -380,7 +380,7 @@ namespace Tizen.Multimedia.Vision.Tests [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; diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeImageConfiguration.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeImageConfiguration.cs index 7b3af9b..84a87b7 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeImageConfiguration.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSBarcodeImageConfiguration.cs @@ -25,7 +25,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(obj, "Should be of type BarcodeImageConfiguration"); @@ -40,7 +40,7 @@ namespace Tizen.Multimedia.Vision.Tests [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( () => new BarcodeImageConfiguration(500, 400, null, BarcodeImageFormat.Jpeg)); @@ -54,7 +54,7 @@ namespace Tizen.Multimedia.Vision.Tests [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( () => new BarcodeImageConfiguration(0, 0, _mediaPath, BarcodeImageFormat.Jpeg)); @@ -68,7 +68,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(obj, "Should be of type BarcodeImageConfiguration"); @@ -83,7 +83,7 @@ namespace Tizen.Multimedia.Vision.Tests [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( () => new BarcodeImageConfiguration(new Size(500, 400), null, BarcodeImageFormat.Jpeg)); @@ -97,7 +97,7 @@ namespace Tizen.Multimedia.Vision.Tests [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( () => new BarcodeImageConfiguration(new Size(-1, -1), _mediaPath, BarcodeImageFormat.Jpeg)); @@ -110,7 +110,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -123,7 +123,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -136,7 +136,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -150,7 +150,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -163,7 +163,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -176,7 +176,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -189,7 +189,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceDetectionConfiguration.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceDetectionConfiguration.cs index 2555767..5be4fa8 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceDetectionConfiguration.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceDetectionConfiguration.cs @@ -15,10 +15,10 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -31,7 +31,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -43,7 +43,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(_config, "Should be of type FaceDetectionConfiguration"); Assert.IsNotNull(_config, "FaceDetectionConfiguration should not be null after calling constructor."); @@ -56,7 +56,7 @@ namespace Tizen.Multimedia.Vision.Tests [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; @@ -70,7 +70,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.ModelFilePath = null); } @@ -82,7 +82,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -94,7 +94,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -107,7 +107,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.MinHeight = -1); } @@ -119,7 +119,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -131,7 +131,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -144,7 +144,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.MinWidth = -1); } @@ -156,7 +156,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -168,7 +168,7 @@ namespace Tizen.Multimedia.Vision.Tests [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; @@ -182,7 +182,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.Roi = new Rectangle(-1, -1, -1, -1)); } diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceDetector.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceDetector.cs index 261af6c..e1d072d 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceDetector.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceDetector.cs @@ -17,10 +17,10 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -33,7 +33,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -46,7 +46,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -71,7 +71,7 @@ namespace Tizen.Multimedia.Vision.Tests [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) @@ -99,7 +99,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => FaceDetector.DetectAsync(null)); } @@ -112,7 +112,7 @@ namespace Tizen.Multimedia.Vision.Tests [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; diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognitionConfiguration.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognitionConfiguration.cs index 7691383..7d5abb5 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognitionConfiguration.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognitionConfiguration.cs @@ -15,10 +15,10 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -31,7 +31,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -43,7 +43,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(_config, "Should be of type FaceRecognitionConfiguration"); Assert.IsNotNull(_config, "FaceRecognitionConfiguration should not be null after calling constructor."); @@ -56,7 +56,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -68,7 +68,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -81,7 +81,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -94,7 +94,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -107,7 +107,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.ModelType = FaceRecognitionModelType.Lbph + 1); } diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognitionModel.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognitionModel.cs index 95d877c..2bcbf81 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognitionModel.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognitionModel.cs @@ -17,18 +17,18 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -44,7 +44,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _model?.Dispose(); _source1?.Dispose(); @@ -58,7 +58,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(_model, "Should be of type FaceRecognitionModel"); Assert.IsNotNull(_model, "FaceRecognitionModel should not be null after calling constructor."); @@ -72,7 +72,7 @@ namespace Tizen.Multimedia.Vision.Tests [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")) { @@ -88,7 +88,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => new FaceRecognitionModel(null)); } @@ -100,7 +100,7 @@ namespace Tizen.Multimedia.Vision.Tests [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( () => new FaceRecognitionModel("/tmp/fake")); } @@ -112,7 +112,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"; @@ -131,7 +131,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _model.Save(null)); } @@ -143,7 +143,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"; @@ -164,7 +164,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"; @@ -183,7 +183,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -200,7 +200,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _model.Add(null, 1)); } @@ -213,7 +213,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); @@ -235,7 +235,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); @@ -249,7 +249,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -267,7 +267,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -287,7 +287,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -303,7 +303,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _model.Learn()); } @@ -316,7 +316,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -337,7 +337,7 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -354,7 +354,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognitionResult.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognitionResult.cs index 08df33c..6cf6601 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognitionResult.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognitionResult.cs @@ -16,10 +16,10 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -30,7 +30,7 @@ namespace Tizen.Multimedia.Vision.Tests } [SetUp] - public static void Init() + public void Init() { try { @@ -46,7 +46,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _model?.Dispose(); _source?.Dispose(); @@ -59,7 +59,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -73,7 +73,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -88,7 +88,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -103,7 +103,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognizer.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognizer.cs index bf3746b..b05f854 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognizer.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceRecognizer.cs @@ -16,11 +16,11 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -31,7 +31,7 @@ namespace Tizen.Multimedia.Vision.Tests } [SetUp] - public static void Init() + public void Init() { try { @@ -49,7 +49,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _model?.Dispose(); _engineConfig?.Dispose(); @@ -64,7 +64,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -79,7 +79,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => FaceRecognizer.RecognizeAsync(null, null)); } @@ -92,7 +92,7 @@ namespace Tizen.Multimedia.Vision.Tests [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()) { @@ -108,7 +108,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -124,7 +124,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); @@ -139,7 +139,7 @@ namespace Tizen.Multimedia.Vision.Tests [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()) { @@ -156,7 +156,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -170,7 +170,7 @@ namespace Tizen.Multimedia.Vision.Tests [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( () => FaceRecognizer.RecognizeAsync(null, null, _engineConfig)); @@ -184,7 +184,7 @@ namespace Tizen.Multimedia.Vision.Tests [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()) { @@ -200,7 +200,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -217,7 +217,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); @@ -232,7 +232,7 @@ namespace Tizen.Multimedia.Vision.Tests [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()) { @@ -250,7 +250,7 @@ namespace Tizen.Multimedia.Vision.Tests [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) @@ -279,7 +279,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => FaceRecognizer.RecognizeEyeConditionAsync(null, new Rectangle(0, 0, 100, 100))); @@ -293,7 +293,7 @@ namespace Tizen.Multimedia.Vision.Tests [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")); @@ -323,7 +323,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); @@ -338,7 +338,7 @@ namespace Tizen.Multimedia.Vision.Tests [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) @@ -364,7 +364,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => FaceRecognizer.RecognizeFacialExpressionAsync(null, new Rectangle(0, 0, 100, 100))); } @@ -377,7 +377,7 @@ namespace Tizen.Multimedia.Vision.Tests [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) @@ -404,7 +404,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceTracker.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceTracker.cs index 4ca0ace..7c97b20 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceTracker.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceTracker.cs @@ -17,16 +17,16 @@ namespace Tizen.Multimedia.Vision.Tests [Description("Tizen.Multimedia.Vision.FaceTracker test class")] public class FaceTrackerTests { - private static FaceTrackingModel _model = null; - private static List _sources = null; + private FaceTrackingModel _model = null; + private List _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 { @@ -42,7 +42,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _model?.Dispose(); @@ -62,7 +62,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -93,7 +93,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => FaceTracker.TrackAsync(null, null, false)); } @@ -105,7 +105,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceTrackingModel.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceTrackingModel.cs index bc12e02..406c724 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceTrackingModel.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceTrackingModel.cs @@ -17,9 +17,9 @@ namespace Tizen.Multimedia.Vision.Tests [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), @@ -28,13 +28,13 @@ namespace Tizen.Multimedia.Vision.Tests 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 { @@ -49,7 +49,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void TearDown() + public void TearDown() { _model?.Dispose(); _source?.Dispose(); @@ -62,7 +62,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(_model, "Should be of type FaceTrackingModel"); Assert.IsNotNull(_model, "FaceTrackingModel should not be null after calling constructor."); @@ -76,7 +76,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -92,7 +92,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => new FaceTrackingModel(null)); } @@ -105,7 +105,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => new FaceTrackingModel("/tmp/fake")); } @@ -117,7 +117,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); } @@ -129,7 +129,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _model.Prepare(null, _faceLocation)); } @@ -141,7 +141,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"; @@ -158,7 +158,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _model.Save(null)); } @@ -170,7 +170,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"; @@ -186,7 +186,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"; diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceTrackingResult.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceTrackingResult.cs index c03a451..a9e0c9c 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceTrackingResult.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSFaceTrackingResult.cs @@ -17,10 +17,10 @@ namespace Tizen.Multimedia.Vision.Tests [Description("Tizen.Multimedia.Vision.FaceTrackingResult test class")] public class FaceTrackingResultTests { - private static FaceTrackingModel _model = null; - private static List _sources = null; + private FaceTrackingModel _model = null; + private List _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"); @@ -37,7 +37,7 @@ namespace Tizen.Multimedia.Vision.Tests } [SetUp] - public static void SetUp() + public void SetUp() { try { @@ -54,7 +54,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void TearDown() + public void TearDown() { _model?.Dispose(); @@ -74,7 +74,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -95,7 +95,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -118,7 +118,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageFillConfiguration.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageFillConfiguration.cs index e9b5217..7fc8bda 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageFillConfiguration.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageFillConfiguration.cs @@ -16,10 +16,10 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -32,7 +32,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -44,7 +44,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -56,7 +56,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -68,7 +68,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -80,7 +80,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -92,7 +92,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -105,7 +105,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -117,7 +117,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageObject.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageObject.cs index 1d3c2fb..3277b98 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageObject.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageObject.cs @@ -18,16 +18,16 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -49,7 +49,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _imageObject?.Dispose(); _engineCfg?.Dispose(); @@ -63,7 +63,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -76,7 +76,7 @@ namespace Tizen.Multimedia.Vision.Tests [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")) { @@ -92,7 +92,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => new ImageObject(null)); } @@ -105,7 +105,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => new ImageObject("/tmp/fake_object")); } @@ -117,7 +117,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -133,7 +133,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -147,7 +147,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -165,7 +165,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); } @@ -178,7 +178,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _imageObject.Fill(null)); } @@ -191,7 +191,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); @@ -206,7 +206,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); @@ -221,7 +221,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); } @@ -234,7 +234,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _imageObject.Fill(null, _engineCfg)); } @@ -248,7 +248,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); @@ -263,7 +263,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); @@ -277,7 +277,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"; @@ -295,7 +295,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _imageObject.Save(null)); } @@ -307,7 +307,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"; @@ -324,7 +324,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageRecognitionConfiguration.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageRecognitionConfiguration.cs index cd3d374..8aab360 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageRecognitionConfiguration.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageRecognitionConfiguration.cs @@ -15,10 +15,10 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -31,7 +31,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -43,7 +43,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -55,7 +55,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -67,7 +67,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -80,7 +80,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -92,7 +92,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -104,7 +104,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -116,7 +116,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -128,7 +128,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -140,7 +140,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -152,7 +152,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -165,7 +165,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.SceneMaxKeyPoints = -1); } @@ -177,7 +177,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -189,7 +189,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -203,7 +203,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.MinKeyPointMatches = -1); } @@ -215,7 +215,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -227,7 +227,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -240,7 +240,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.RequiredMatchingPart = 2.3); } @@ -252,7 +252,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.RequiredMatchingPart = -1.2); } @@ -264,7 +264,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -276,7 +276,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -289,7 +289,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.TolerantPartMatchError = 2.3); } @@ -301,7 +301,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.TolerantPartMatchError = -1.2); } diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageRecognitionResult.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageRecognitionResult.cs index 0adf501..2f31ca9 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageRecognitionResult.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageRecognitionResult.cs @@ -17,10 +17,10 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -33,7 +33,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _imageObject?.Dispose(); } @@ -45,7 +45,7 @@ namespace Tizen.Multimedia.Vision.Tests [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")) @@ -72,7 +72,7 @@ namespace Tizen.Multimedia.Vision.Tests [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")) diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageRecognizer.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageRecognizer.cs index 0e4cce0..1d5ee39 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageRecognizer.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageRecognizer.cs @@ -16,10 +16,10 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -32,7 +32,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _imageObject?.Dispose(); } @@ -45,7 +45,7 @@ namespace Tizen.Multimedia.Vision.Tests [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")) @@ -67,7 +67,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => ImageRecognizer.RecognizeAsync(null, null)); } @@ -80,7 +80,7 @@ namespace Tizen.Multimedia.Vision.Tests [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")) { @@ -97,7 +97,7 @@ namespace Tizen.Multimedia.Vision.Tests [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")) @@ -124,7 +124,7 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -142,7 +142,7 @@ namespace Tizen.Multimedia.Vision.Tests [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")) { diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageTracker.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageTracker.cs index 7bed421..40ebc5d 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageTracker.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageTracker.cs @@ -17,16 +17,16 @@ namespace Tizen.Multimedia.Vision.Tests [Description("Tizen.Multimedia.Vision.ImageTracker test class")] public class ImageTrackerTests { - private static ImageTrackingModel _model = null; - private static List _sources = null; + private ImageTrackingModel _model = null; + private List _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 { @@ -42,7 +42,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _model?.Dispose(); @@ -63,7 +63,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -90,7 +90,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => ImageTracker.TrackAsync(null, null)); } @@ -103,7 +103,7 @@ namespace Tizen.Multimedia.Vision.Tests [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")) { @@ -119,7 +119,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -152,7 +152,7 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -170,7 +170,7 @@ namespace Tizen.Multimedia.Vision.Tests [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")) { diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageTrackingConfiguration.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageTrackingConfiguration.cs index 43182c4..bac0599 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageTrackingConfiguration.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageTrackingConfiguration.cs @@ -15,10 +15,10 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -31,7 +31,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -43,7 +43,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -55,7 +55,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -67,7 +67,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -79,7 +79,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -91,7 +91,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -103,7 +103,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -115,7 +115,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -127,7 +127,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -139,7 +139,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -152,7 +152,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.HistoryAmount = -1); } @@ -164,7 +164,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -176,7 +176,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -189,7 +189,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -201,7 +201,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -214,7 +214,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.StabilizationAcceleration = 2.3); } @@ -226,7 +226,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.StabilizationAcceleration = -1.2); } @@ -238,7 +238,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -250,7 +250,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -263,7 +263,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -275,7 +275,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -288,7 +288,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -300,7 +300,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageTrackingModel.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageTrackingModel.cs index d7da951..9009b1e 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageTrackingModel.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSImageTrackingModel.cs @@ -17,16 +17,16 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -42,7 +42,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _model?.Dispose(); } @@ -54,7 +54,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -67,7 +67,7 @@ namespace Tizen.Multimedia.Vision.Tests [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")) { @@ -83,7 +83,7 @@ namespace Tizen.Multimedia.Vision.Tests [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( () => new ImageTrackingModel(null)); } @@ -96,7 +96,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() =>new ImageTrackingModel("/tmp/fake/fake_model")); } @@ -108,7 +108,7 @@ namespace Tizen.Multimedia.Vision.Tests [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()) { @@ -125,7 +125,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _model.SetTarget(null)); } @@ -137,7 +137,7 @@ namespace Tizen.Multimedia.Vision.Tests [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()) { @@ -156,7 +156,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"; @@ -178,7 +178,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _model.Save(null)); } @@ -190,7 +190,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _model.Save(restrictedPath)); @@ -203,7 +203,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _model.Save(restrictedPath)); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMediaVisionSource.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMediaVisionSource.cs index 7e79ec9..92d90d2 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMediaVisionSource.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMediaVisionSource.cs @@ -17,11 +17,11 @@ namespace Tizen.Multimedia.Vision.Tests [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) { @@ -38,7 +38,7 @@ namespace Tizen.Multimedia.Vision.Tests } [SetUp] - public static void Init() + public void Init() { bool isMediaVisionSupported = FeatureChecker.IsSupported(Features.BarcodeDetection) || FeatureChecker.IsSupported(Features.BarcodeGeneration) @@ -62,7 +62,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _packetSource?.Dispose(); _bufferSource?.Dispose(); @@ -77,7 +77,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -90,7 +90,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => new MediaVisionSource(null, 100, 100, ColorSpace.Rgb888)); } @@ -103,7 +103,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => new MediaVisionSource(new byte[0], 100, 100, ColorSpace.Rgb888)); } @@ -116,7 +116,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -129,7 +129,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => new MediaVisionSource(null)); } @@ -141,7 +141,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -153,7 +153,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -165,7 +165,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -177,7 +177,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -189,7 +189,7 @@ namespace Tizen.Multimedia.Vision.Tests [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))) { @@ -211,7 +211,7 @@ namespace Tizen.Multimedia.Vision.Tests [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 supportedColorSpaces = MediaVisionSource.SupportedColorSpaces.ToList(); Assert.AreEqual(supportedColorSpaces.Count(), 11, "It should be 11 colorspaces"); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMovementDetectedEventArgs.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMovementDetectedEventArgs.cs index f797950..2657d45 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMovementDetectedEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMovementDetectedEventArgs.cs @@ -15,10 +15,10 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -34,7 +34,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -46,7 +46,7 @@ namespace Tizen.Multimedia.Vision.Tests [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) @@ -62,7 +62,7 @@ namespace Tizen.Multimedia.Vision.Tests [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) diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMovementDetectionConfiguration.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMovementDetectionConfiguration.cs index 520e198..b447ace 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMovementDetectionConfiguration.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMovementDetectionConfiguration.cs @@ -16,10 +16,10 @@ namespace Tizen.Multimedia.Vision.Tests 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); @@ -35,7 +35,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -47,7 +47,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -59,7 +59,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -71,7 +71,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -83,7 +83,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -96,7 +96,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.Threshold = 256); } @@ -108,7 +108,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.Threshold = -1); } diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMovementDetector.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMovementDetector.cs index f9232e0..1e299ba 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMovementDetector.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSMovementDetector.cs @@ -16,18 +16,18 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -45,7 +45,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _detector?.Dispose(); _source1?.Dispose(); @@ -59,7 +59,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -72,7 +72,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); @@ -89,7 +89,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _detector.AddSource(null)); } @@ -102,7 +102,7 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -124,7 +124,7 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -141,7 +141,7 @@ namespace Tizen.Multimedia.Vision.Tests [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()) { diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonAppearanceDetectedEventArgs.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonAppearanceDetectedEventArgs.cs index 41fbe0d..d166abd 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonAppearanceDetectedEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonAppearanceDetectedEventArgs.cs @@ -15,14 +15,14 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -38,7 +38,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -50,7 +50,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -62,7 +62,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); } @@ -74,7 +74,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); } @@ -86,7 +86,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); } diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonAppearanceDetectionConfiguration.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonAppearanceDetectionConfiguration.cs index b9521f9..ac631cb 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonAppearanceDetectionConfiguration.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonAppearanceDetectionConfiguration.cs @@ -16,10 +16,10 @@ namespace Tizen.Multimedia.Vision.Tests 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); @@ -35,7 +35,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -47,7 +47,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -59,7 +59,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -71,7 +71,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -83,7 +83,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -96,7 +96,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); } diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonAppearanceDetector.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonAppearanceDetector.cs index fa2d760..1e7da86 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonAppearanceDetector.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonAppearanceDetector.cs @@ -16,18 +16,18 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -45,7 +45,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _detector?.Dispose(); _source1?.Dispose(); @@ -59,7 +59,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -72,7 +72,7 @@ namespace Tizen.Multimedia.Vision.Tests [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)); @@ -89,7 +89,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _detector.AddSource(null)); } @@ -102,7 +102,7 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -124,7 +124,7 @@ namespace Tizen.Multimedia.Vision.Tests [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 { @@ -141,7 +141,7 @@ namespace Tizen.Multimedia.Vision.Tests [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.Create()) { diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognitionConfiguration.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognitionConfiguration.cs index 34c5753..fc66ec5 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognitionConfiguration.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognitionConfiguration.cs @@ -16,11 +16,11 @@ namespace Tizen.Multimedia.Vision.Tests 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); @@ -36,7 +36,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -48,7 +48,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -60,7 +60,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => new PersonRecognitionConfiguration(null)); } @@ -72,7 +72,7 @@ namespace Tizen.Multimedia.Vision.Tests [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; @@ -86,7 +86,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _config.FaceRecognitionModelPath = null); } diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognitionInfo.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognitionInfo.cs index b4150ec..ad00cbf 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognitionInfo.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognitionInfo.cs @@ -14,9 +14,9 @@ namespace Tizen.Multimedia.Vision.Tests [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")] @@ -25,7 +25,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); } @@ -37,7 +37,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); } @@ -49,7 +49,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); } @@ -61,7 +61,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); } diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognizedEventArgs.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognizedEventArgs.cs index e34ab24..0e8a75e 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognizedEventArgs.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognizedEventArgs.cs @@ -15,16 +15,16 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -40,7 +40,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _config?.Dispose(); } @@ -52,7 +52,7 @@ namespace Tizen.Multimedia.Vision.Tests [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) }; @@ -66,7 +66,7 @@ namespace Tizen.Multimedia.Vision.Tests [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) }; diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognizer.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognizer.cs index 7e93889..ede40d1 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognizer.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPersonRecognizer.cs @@ -16,12 +16,12 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -38,7 +38,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _recognizer?.Dispose(); _config?.Dispose(); @@ -51,7 +51,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -63,7 +63,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(); @@ -80,7 +80,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => _recognizer.AddSource(null, null)); } @@ -92,7 +92,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -108,7 +108,7 @@ namespace Tizen.Multimedia.Vision.Tests [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.Create()) using (var source = await TestHelper.GetMediaSourceFromImage(TestHelper.ResourcePath + "surv/p1_09.jpg")) diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPoint.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPoint.cs index bd9d2e8..582dcc4 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPoint.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSPoint.cs @@ -21,7 +21,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -33,7 +33,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -46,7 +46,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSQrConfiguration.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSQrConfiguration.cs index d862bf5..713bb83 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSQrConfiguration.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSQrConfiguration.cs @@ -22,7 +22,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -34,7 +34,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => new QrConfiguration(QrMode.Numeric, ErrorCorrectionLevel.Medium, 50)); } @@ -46,7 +46,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => new QrConfiguration(QrMode.Numeric, ErrorCorrectionLevel.Medium, 0)); } @@ -59,7 +59,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => new QrConfiguration(QrMode.Utf8 + 1, ErrorCorrectionLevel.Medium, 20)); } @@ -71,7 +71,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -84,7 +84,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -97,7 +97,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -110,7 +110,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -123,7 +123,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -136,7 +136,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -149,7 +149,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -162,7 +162,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -175,7 +175,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSQuadrangle.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSQuadrangle.cs index 1bc17a6..6fbd21f 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSQuadrangle.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSQuadrangle.cs @@ -22,7 +22,7 @@ namespace Tizen.Multimedia.Vision.Tests [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] { @@ -42,7 +42,7 @@ namespace Tizen.Multimedia.Vision.Tests [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] { @@ -61,7 +61,7 @@ namespace Tizen.Multimedia.Vision.Tests [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] diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSRectangle.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSRectangle.cs index 7c295dc..0dde5c1 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSRectangle.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSRectangle.cs @@ -22,7 +22,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -35,7 +35,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); @@ -48,7 +48,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -61,7 +61,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -74,7 +74,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -87,7 +87,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -100,7 +100,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -114,7 +114,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSSize.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSSize.cs index 089c4ab..da65a49 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSSize.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSSize.cs @@ -22,7 +22,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -34,7 +34,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); @@ -47,7 +47,7 @@ namespace Tizen.Multimedia.Vision.Tests [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"); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSSurveillanceEngine.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSSurveillanceEngine.cs index 8a0afb9..2611826 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSSurveillanceEngine.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSSurveillanceEngine.cs @@ -18,10 +18,10 @@ namespace Tizen.Multimedia.Vision.Tests 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); @@ -37,7 +37,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _detector?.Dispose(); } @@ -49,7 +49,7 @@ namespace Tizen.Multimedia.Vision.Tests [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), @@ -66,7 +66,7 @@ namespace Tizen.Multimedia.Vision.Tests 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"); } @@ -78,7 +78,7 @@ namespace Tizen.Multimedia.Vision.Tests [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.Create()) @@ -104,7 +104,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => SubClass.RemoveSource(null)); @@ -117,7 +117,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(); diff --git a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSSurveillanceSource.cs b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSSurveillanceSource.cs index 59d57bb..8839a4f 100755 --- a/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSSurveillanceSource.cs +++ b/tct-suite-vs/Tizen.MediaVision.Tests/testcase/TSSurveillanceSource.cs @@ -19,15 +19,15 @@ namespace Tizen.Multimedia.Vision.Tests 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); @@ -45,7 +45,7 @@ namespace Tizen.Multimedia.Vision.Tests } [TearDown] - public static void Destroy() + public void Destroy() { if (_detector != null) { @@ -61,7 +61,7 @@ namespace Tizen.Multimedia.Vision.Tests [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."); } @@ -73,7 +73,7 @@ namespace Tizen.Multimedia.Vision.Tests [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); @@ -95,7 +95,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(() => detectorSource.Push(null)); @@ -108,7 +108,7 @@ namespace Tizen.Multimedia.Vision.Tests [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(); diff --git a/tct-suite-vs/Tizen.Mediacontent.Manual.Tests/testcase/TSMediaInfo.cs b/tct-suite-vs/Tizen.Mediacontent.Manual.Tests/testcase/TSMediaInfo.cs index a2c1fbd..42f7aef 100755 --- a/tct-suite-vs/Tizen.Mediacontent.Manual.Tests/testcase/TSMediaInfo.cs +++ b/tct-suite-vs/Tizen.Mediacontent.Manual.Tests/testcase/TSMediaInfo.cs @@ -11,13 +11,13 @@ namespace Tizen.Content.MediaContent.Tests [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() { @@ -67,7 +67,7 @@ namespace Tizen.Content.MediaContent.Tests [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; diff --git a/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaCommand.cs b/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaCommand.cs index eb36d66..8667870 100755 --- a/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaCommand.cs +++ b/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaCommand.cs @@ -6,7 +6,7 @@ namespace Tizen.Content.MediaContent.Tests [Description("Tizen.Content.MediaContent.MediaCommand Tests")] class MediaCommandTests { - private static MediaDatabase _database; + private MediaDatabase _database; [SetUp] public void SetUp() diff --git a/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaDatabase.cs b/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaDatabase.cs index fd33551..ade8eef 100755 --- a/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaDatabase.cs +++ b/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaDatabase.cs @@ -10,7 +10,7 @@ namespace Tizen.Content.MediaContent.Tests [Description("Tizen.Content.MediaContent.MediaDatabase Tests")] public class MediaDatabaseTests : TestBase { - private static CancellationTokenSource cts; + private CancellationTokenSource cts; [TearDown] public void Destroy() @@ -294,7 +294,7 @@ namespace Tizen.Content.MediaContent.Tests 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; diff --git a/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaInfoCommand.cs b/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaInfoCommand.cs index 04ea678..64762e1 100755 --- a/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaInfoCommand.cs +++ b/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaInfoCommand.cs @@ -11,7 +11,7 @@ namespace Tizen.Content.MediaContent.Tests [Description("Tizen.Content.MediaContent.MediaInfoCommand Tests")] public class MediaInfoCommandTests : MediaInfoCommandTestBase { - private static CancellationTokenSource cts; + private CancellationTokenSource cts; [TearDown] public void Destroy() diff --git a/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaInfoCommand_DetectFace.cs b/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaInfoCommand_DetectFace.cs index 6b208a7..e58f058 100755 --- a/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaInfoCommand_DetectFace.cs +++ b/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSMediaInfoCommand_DetectFace.cs @@ -10,7 +10,7 @@ namespace Tizen.Content.MediaContent.Tests [Description("Tizen.Content.MediaContent.MediaInfoCommand Tests regarding DetectFace")] public class MediaInfoCommandDetectFaceTests : MediaInfoCommandTestBase { - private static CancellationTokenSource cts; + private CancellationTokenSource cts; [SetUp] public void SetUp() diff --git a/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSPlayList.cs b/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSPlayList.cs index 663ab3d..99f5be2 100755 --- a/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSPlayList.cs +++ b/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSPlayList.cs @@ -7,7 +7,7 @@ namespace Tizen.Content.MediaContent.Tests 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; diff --git a/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSPlaylistCommand.cs b/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSPlaylistCommand.cs index 5d71ada..d83753e 100755 --- a/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSPlaylistCommand.cs +++ b/tct-suite-vs/Tizen.Mediacontent.Tests/testcase/TSPlaylistCommand.cs @@ -10,7 +10,7 @@ namespace Tizen.Content.MediaContent.Tests { 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; diff --git a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessage.cs b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessage.cs index ec07d5a..fa263f2 100755 --- a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessage.cs +++ b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessage.cs @@ -11,7 +11,7 @@ namespace Tizen.Messaging.Messages.Tests [Description("Tizen.Messaging.Messages.Message Tests")] public class MessageTests { - static bool isSmsSupported = false; + bool isSmsSupported = false; [OneTimeSetUp] public void GetFeature() diff --git a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessageReceivedEventArgs.cs b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessageReceivedEventArgs.cs index 593691d..81c7700 100755 --- a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessageReceivedEventArgs.cs +++ b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessageReceivedEventArgs.cs @@ -14,9 +14,9 @@ namespace Tizen.Messaging.Messages.Tests [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() diff --git a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesAddress.cs b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesAddress.cs index 921efea..7b52ff5 100755 --- a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesAddress.cs +++ b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesAddress.cs @@ -10,7 +10,7 @@ namespace Tizen.Messaging.Messages.Tests [Description("Tizen.Messaging.Messages.MessagesAddress Tests")] public class MessagesAddressTests { - static bool isSmsSupported = false; + bool isSmsSupported = false; [OneTimeSetUp] public void OneTimeInit() diff --git a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesAttachment.cs b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesAttachment.cs index 08a4853..9b3fb73 100755 --- a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesAttachment.cs +++ b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesAttachment.cs @@ -10,11 +10,11 @@ namespace Tizen.Messaging.Messages.Tests [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() diff --git a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesManager.cs b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesManager.cs index 8e22c19..7245e53 100755 --- a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesManager.cs +++ b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesManager.cs @@ -14,14 +14,14 @@ namespace Tizen.Messaging.Messages.Tests [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() @@ -343,7 +343,7 @@ namespace Tizen.Messaging.Messages.Tests } } - public static void EventHandlerMessageReceived(object sender, EventArgs e) + public void EventHandlerMessageReceived(object sender, EventArgs e) { _flag = true; } diff --git a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesSearchFilter.cs b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesSearchFilter.cs index bbffa43..c32a2f1 100755 --- a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesSearchFilter.cs +++ b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMessagesSearchFilter.cs @@ -10,7 +10,7 @@ namespace Tizen.Messaging.Messages.Tests [Description("Tizen.Messaging.Messages.MessagesSearchFilter Tests")] public class MessagesSearchFilterTests { - static bool isSmsSupported = false; + bool isSmsSupported = false; [OneTimeSetUp] public void OneTimeInit() diff --git a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMmsMessage.cs b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMmsMessage.cs index 52129ff..8e47da6 100755 --- a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMmsMessage.cs +++ b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSMmsMessage.cs @@ -12,8 +12,8 @@ namespace Tizen.Messaging.Messages.Tests public class MmsMessageTests { - static bool isSmsSupported = false; - static bool isMmsSupported = false; + bool isSmsSupported = false; + bool isMmsSupported = false; [OneTimeSetUp] public void GetFeature() diff --git a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSSmsMessage.cs b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSSmsMessage.cs index 1eb16e6..7a84eb6 100755 --- a/tct-suite-vs/Tizen.Messages.Tests/testcase/TSSmsMessage.cs +++ b/tct-suite-vs/Tizen.Messages.Tests/testcase/TSSmsMessage.cs @@ -11,7 +11,7 @@ namespace Tizen.Messaging.Messages.Tests [Description("Tizen.Messaging.Messages.SmsMessage Tests")] public class SmsMessageTests { - static bool isSmsSupported = false; + bool isSmsSupported = false; [OneTimeSetUp] public void GetFeature() diff --git a/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataEditor/TSMetadataEditor.cs b/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataEditor/TSMetadataEditor.cs index b8675a1..2844799 100755 --- a/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataEditor/TSMetadataEditor.cs +++ b/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataEditor/TSMetadataEditor.cs @@ -11,7 +11,7 @@ namespace Tizen.Multimedia.Tests 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() diff --git a/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSArtwork.cs b/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSArtwork.cs index 17cd3be..b57cee7 100755 --- a/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSArtwork.cs +++ b/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSArtwork.cs @@ -4,7 +4,7 @@ namespace Tizen.Multimedia.Tests { [TestFixture] [Description("Testing Tizen.Multimedia.Artwork class")] - public static class ArtworkTests + public class ArtworkTests { [Test] [Category("P1")] @@ -12,7 +12,7 @@ namespace Tizen.Multimedia.Tests [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); } @@ -24,7 +24,7 @@ namespace Tizen.Multimedia.Tests [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 }; @@ -38,7 +38,7 @@ namespace Tizen.Multimedia.Tests [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"; diff --git a/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSAudioMetadata.cs b/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSAudioMetadata.cs index 1166659..0de70dc 100755 --- a/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSAudioMetadata.cs +++ b/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSAudioMetadata.cs @@ -4,21 +4,21 @@ namespace Tizen.Multimedia.Tests { [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(); } @@ -30,7 +30,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -42,7 +42,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -54,7 +54,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -66,7 +66,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -78,7 +78,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -90,7 +90,7 @@ namespace Tizen.Multimedia.Tests [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"); } diff --git a/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSMetadata.cs b/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSMetadata.cs index d9be028..445a3c9 100755 --- a/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSMetadata.cs +++ b/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSMetadata.cs @@ -4,21 +4,21 @@ namespace Tizen.Multimedia.Tests { [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(); } @@ -30,7 +30,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -42,7 +42,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -54,7 +54,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -66,7 +66,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -78,7 +78,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -90,7 +90,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -102,7 +102,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -114,7 +114,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -126,7 +126,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -138,7 +138,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -150,7 +150,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -162,7 +162,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -174,7 +174,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -186,7 +186,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -198,7 +198,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -210,7 +210,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -222,7 +222,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -234,7 +234,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -246,7 +246,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -258,7 +258,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -269,7 +269,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -280,7 +280,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -292,7 +292,7 @@ namespace Tizen.Multimedia.Tests [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); } @@ -303,7 +303,7 @@ namespace Tizen.Multimedia.Tests [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); } @@ -314,7 +314,7 @@ namespace Tizen.Multimedia.Tests [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); } diff --git a/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSMetadataExtractor.cs b/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSMetadataExtractor.cs index 510f053..c8785fb 100755 --- a/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSMetadataExtractor.cs +++ b/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSMetadataExtractor.cs @@ -6,18 +6,18 @@ namespace Tizen.Multimedia.Tests { [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); @@ -25,7 +25,7 @@ namespace Tizen.Multimedia.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(LogTag, "MetadataExtractor Test Destroy"); _metadataExtractorForArtwork?.Dispose(); @@ -40,7 +40,7 @@ namespace Tizen.Multimedia.Tests [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)); } @@ -53,7 +53,7 @@ namespace Tizen.Multimedia.Tests [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(() => new MetadataExtractor(null_path)); @@ -67,7 +67,7 @@ namespace Tizen.Multimedia.Tests [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(() => new MetadataExtractor("/opt/usr/home/owner/share/res/no_exists.mp4")); } @@ -80,7 +80,7 @@ namespace Tizen.Multimedia.Tests [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; @@ -100,7 +100,7 @@ namespace Tizen.Multimedia.Tests [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()); } @@ -112,7 +112,7 @@ namespace Tizen.Multimedia.Tests [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"); @@ -127,7 +127,7 @@ namespace Tizen.Multimedia.Tests [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"); @@ -142,7 +142,7 @@ namespace Tizen.Multimedia.Tests [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"); @@ -157,7 +157,7 @@ namespace Tizen.Multimedia.Tests [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"); diff --git a/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSSynclyrics.cs b/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSSynclyrics.cs index c513cb8..5a97be6 100755 --- a/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSSynclyrics.cs +++ b/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSSynclyrics.cs @@ -4,7 +4,7 @@ namespace Tizen.Multimedia.Tests { [TestFixture] [Description("Testing Tizen.Multimedia.SyncLyrics class")] - public static class SyncLyricsTests + public class SyncLyricsTests { [Test] [Category("P1")] @@ -12,7 +12,7 @@ namespace Tizen.Multimedia.Tests [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)); } @@ -24,7 +24,7 @@ namespace Tizen.Multimedia.Tests [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"; @@ -38,7 +38,7 @@ namespace Tizen.Multimedia.Tests [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; diff --git a/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSVideoMetadata.cs b/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSVideoMetadata.cs index fd8dc13..1a1abda 100755 --- a/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSVideoMetadata.cs +++ b/tct-suite-vs/Tizen.Metadata.Tests/testcase/MetadataExtractor/TSVideoMetadata.cs @@ -4,21 +4,21 @@ namespace Tizen.Multimedia.Tests { [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(); } @@ -30,7 +30,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -42,7 +42,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -54,7 +54,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -66,7 +66,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -78,7 +78,7 @@ namespace Tizen.Multimedia.Tests [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"); } @@ -90,7 +90,7 @@ namespace Tizen.Multimedia.Tests [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"); } diff --git a/tct-suite-vs/Tizen.Mime.Tests/testcase/TSMimeUtil.cs b/tct-suite-vs/Tizen.Mime.Tests/testcase/TSMimeUtil.cs index 4635cfd..2168680 100755 --- a/tct-suite-vs/Tizen.Mime.Tests/testcase/TSMimeUtil.cs +++ b/tct-suite-vs/Tizen.Mime.Tests/testcase/TSMimeUtil.cs @@ -10,16 +10,16 @@ namespace Tizen.Content.MimeType.Tests [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"); } @@ -30,7 +30,7 @@ namespace Tizen.Content.MimeType.Tests [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 { @@ -56,7 +56,7 @@ namespace Tizen.Content.MimeType.Tests [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 { @@ -80,7 +80,7 @@ namespace Tizen.Content.MimeType.Tests [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"); @@ -103,7 +103,7 @@ namespace Tizen.Content.MimeType.Tests [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 diff --git a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/Camera/TSCamera.cs b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/Camera/TSCamera.cs index 2b94375..b3e9954 100755 --- a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/Camera/TSCamera.cs +++ b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/Camera/TSCamera.cs @@ -9,7 +9,7 @@ namespace Tizen.Multimedia.Tests [Description("Testing Camera class")] public class CameraTests : CameraTestBase { - private static CancellationTokenSource tokenSource = null; + private CancellationTokenSource tokenSource = null; [Test] [Category("P1")] diff --git a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSAudioDevice.cs b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSAudioDevice.cs index 5f158a4..0289466 100755 --- a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSAudioDevice.cs +++ b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSAudioDevice.cs @@ -10,7 +10,7 @@ namespace Tizen.Multimedia.Tests public class AudioDeviceTests : AudioManagerTestBase { public const string LogTag = "TizenTest.Multimedia.AudioDevice"; - private static bool _isBluetoothAvailable = true; + private bool _isBluetoothAvailable = true; [OneTimeSetUp] public void OneTimeSetUp() @@ -22,7 +22,7 @@ namespace Tizen.Multimedia.Tests Log.Info(LogTag, "Bluetooth available : " + _isBluetoothAvailable); } - private static void AssertDevice(Func deviceCheckFunc) + private void AssertDevice(Func deviceCheckFunc) { TestPage.GetInstance().UnlockUIButton(); diff --git a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSAudioDeviceConnectionChangedEventArgs.cs b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSAudioDeviceConnectionChangedEventArgs.cs index d96621e..f40de8c 100755 --- a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSAudioDeviceConnectionChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSAudioDeviceConnectionChangedEventArgs.cs @@ -18,7 +18,7 @@ namespace Tizen.Multimedia.Tests [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) { @@ -50,7 +50,7 @@ namespace Tizen.Multimedia.Tests [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) { diff --git a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSDisplay.cs b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSDisplay.cs index 9afc205..7757490 100755 --- a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSDisplay.cs +++ b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSDisplay.cs @@ -5,18 +5,18 @@ namespace Tizen.Multimedia.Tests { [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"); } @@ -31,7 +31,7 @@ namespace Tizen.Multimedia.Tests [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."); } @@ -46,7 +46,7 @@ namespace Tizen.Multimedia.Tests [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."); } @@ -61,7 +61,7 @@ namespace Tizen.Multimedia.Tests [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."); } diff --git a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSMultimediaHelper.cs b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSMultimediaHelper.cs index b2162f2..121477f 100755 --- a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSMultimediaHelper.cs +++ b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSMultimediaHelper.cs @@ -3,7 +3,7 @@ using Xamarin.Forms; 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(); diff --git a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSPlayer.cs b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSPlayer.cs index e02cce2..6564e80 100755 --- a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSPlayer.cs +++ b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSPlayer.cs @@ -6,16 +6,16 @@ namespace Tizen.Multimedia.Tests { [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 { @@ -28,19 +28,19 @@ namespace Tizen.Multimedia.Tests } [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 @@ -60,7 +60,7 @@ namespace Tizen.Multimedia.Tests } } - private static async Task PauseTest(int val) + private async Task PauseTest(int val) { /** * Step1 : click start player starts @@ -96,7 +96,7 @@ namespace Tizen.Multimedia.Tests } } - private static async Task StopTest(int val) + private async Task StopTest(int val) { /** * Step1 : click start player starts @@ -124,7 +124,7 @@ namespace Tizen.Multimedia.Tests } } - 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. @@ -153,7 +153,7 @@ namespace Tizen.Multimedia.Tests } } - private static async Task LoopTest(int val) + private async Task LoopTest(int val) { /** * Step1 : click start player starts and stops after 80 seconds @@ -182,7 +182,7 @@ namespace Tizen.Multimedia.Tests } } - private static async Task VolumeTest(int val) + private async Task VolumeTest(int val) { /** * Step1 : click start player starts and plays for 30 seconds @@ -219,7 +219,7 @@ namespace Tizen.Multimedia.Tests } } - private static async Task taskselect(int val) + private async Task taskselect(int val) { switch(_operation) { @@ -244,7 +244,7 @@ namespace Tizen.Multimedia.Tests } } - private static void CreateButton(string str1, string str2="", string str3="") + private void CreateButton(string str1, string str2="", string str3="") { Device.BeginInvokeOnMainThread(() => { @@ -311,7 +311,7 @@ namespace Tizen.Multimedia.Tests [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"); @@ -331,7 +331,7 @@ namespace Tizen.Multimedia.Tests [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"); @@ -351,7 +351,7 @@ namespace Tizen.Multimedia.Tests [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"); @@ -370,7 +370,7 @@ namespace Tizen.Multimedia.Tests [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"); @@ -390,7 +390,7 @@ namespace Tizen.Multimedia.Tests [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"); @@ -409,7 +409,7 @@ namespace Tizen.Multimedia.Tests [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-"); diff --git a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSSubtitle.cs b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSSubtitle.cs index 059420b..bad3c0f 100755 --- a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSSubtitle.cs +++ b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSSubtitle.cs @@ -6,18 +6,18 @@ namespace Tizen.Multimedia.Tests { [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"); } @@ -34,7 +34,7 @@ namespace Tizen.Multimedia.Tests [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."); } diff --git a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSTonePlayer.cs b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSTonePlayer.cs index 9230ed8..c48c902 100755 --- a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSTonePlayer.cs +++ b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSTonePlayer.cs @@ -8,25 +8,25 @@ namespace Tizen.Multimedia.Tests { [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(() => { @@ -93,7 +93,7 @@ namespace Tizen.Multimedia.Tests [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(); diff --git a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSWavPlayer.cs b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSWavPlayer.cs index 1c485b3..5ab2877 100755 --- a/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSWavPlayer.cs +++ b/tct-suite-vs/Tizen.Multimedia.Manual.Tests/testcase/TSWavPlayer.cs @@ -8,26 +8,26 @@ namespace Tizen.Multimedia.Tests { [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(() => { @@ -94,7 +94,7 @@ namespace Tizen.Multimedia.Tests [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(); diff --git a/tct-suite-vs/Tizen.Multimedia.Tests/testcase/AudioManager/TSAudioStreamPolicyFocusStateChangedEventArgs.cs b/tct-suite-vs/Tizen.Multimedia.Tests/testcase/AudioManager/TSAudioStreamPolicyFocusStateChangedEventArgs.cs index e57ea49..f649da2 100755 --- a/tct-suite-vs/Tizen.Multimedia.Tests/testcase/AudioManager/TSAudioStreamPolicyFocusStateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Multimedia.Tests/testcase/AudioManager/TSAudioStreamPolicyFocusStateChangedEventArgs.cs @@ -11,7 +11,7 @@ namespace Tizen.Multimedia.Tests private const AudioStreamBehaviors Behaviors = AudioStreamBehaviors.Fading; private const string ExtraInfo = "some string"; - private static async Task RaiseEvent() + private async Task RaiseEvent() { using (var eventAwaiter = EventAwaiter.Create()) using (AudioStreamPolicy toBeTested = new AudioStreamPolicy(AudioStreamType.Media), diff --git a/tct-suite-vs/Tizen.Multimedia.Tests/testcase/AudioManager/TSStreamFocusStateChangedEventArgs.cs b/tct-suite-vs/Tizen.Multimedia.Tests/testcase/AudioManager/TSStreamFocusStateChangedEventArgs.cs index e5c61a6..3ea248e 100755 --- a/tct-suite-vs/Tizen.Multimedia.Tests/testcase/AudioManager/TSStreamFocusStateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Multimedia.Tests/testcase/AudioManager/TSStreamFocusStateChangedEventArgs.cs @@ -10,7 +10,7 @@ namespace Tizen.Multimedia.Tests private const AudioStreamFocusOptions FocusOptions = AudioStreamFocusOptions.Playback; private const string ExtraInfo = "extra info string"; - private static async Task RaiseEvent( + private async Task RaiseEvent( AudioStreamType type = AudioStreamType.Media) { using (var eventAwaiter = EventAwaiter.Create()) diff --git a/tct-suite-vs/Tizen.Multimedia.Tests/testcase/AudioManager/TSVolumeChangedEventArgs.cs b/tct-suite-vs/Tizen.Multimedia.Tests/testcase/AudioManager/TSVolumeChangedEventArgs.cs index ff490e9..1cd9cc6 100755 --- a/tct-suite-vs/Tizen.Multimedia.Tests/testcase/AudioManager/TSVolumeChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Multimedia.Tests/testcase/AudioManager/TSVolumeChangedEventArgs.cs @@ -10,7 +10,7 @@ namespace Tizen.Multimedia.Tests private const AudioVolumeType VolumeType = AudioVolumeType.Ringtone; private const int NewVolume = 5; - private static async Task RaiseEvent() + private async Task RaiseEvent() { using (var eventAwaiter = EventAwaiter.Create()) { diff --git a/tct-suite-vs/Tizen.Multimedia.Tests/testcase/MediaTool/TSMediaPacket.cs b/tct-suite-vs/Tizen.Multimedia.Tests/testcase/MediaTool/TSMediaPacket.cs index d369b9b..4082481 100644 --- a/tct-suite-vs/Tizen.Multimedia.Tests/testcase/MediaTool/TSMediaPacket.cs +++ b/tct-suite-vs/Tizen.Multimedia.Tests/testcase/MediaTool/TSMediaPacket.cs @@ -7,11 +7,11 @@ namespace Tizen.Multimedia.Tests [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")] diff --git a/tct-suite-vs/Tizen.MultimediaUtil.Tests/testcase/ImageUtil/TSGifEncoder.cs b/tct-suite-vs/Tizen.MultimediaUtil.Tests/testcase/ImageUtil/TSGifEncoder.cs index f67eb1e..7534240 100755 --- a/tct-suite-vs/Tizen.MultimediaUtil.Tests/testcase/ImageUtil/TSGifEncoder.cs +++ b/tct-suite-vs/Tizen.MultimediaUtil.Tests/testcase/ImageUtil/TSGifEncoder.cs @@ -46,7 +46,7 @@ namespace Tizen.Multimedia.Util.Tests Assert.IsNotNull(_encoder, "Object should not be null after construction"); } - private static async Task> GetFramesAsync() + private async Task> GetFramesAsync() { using (var decoder = new GifDecoder()) { diff --git a/tct-suite-vs/Tizen.MultimediaUtil.Tests/testcase/ThumbnailExtractor/TSThumbnailExtractionResult.cs b/tct-suite-vs/Tizen.MultimediaUtil.Tests/testcase/ThumbnailExtractor/TSThumbnailExtractionResult.cs index 6716650..19e27b8 100755 --- a/tct-suite-vs/Tizen.MultimediaUtil.Tests/testcase/ThumbnailExtractor/TSThumbnailExtractionResult.cs +++ b/tct-suite-vs/Tizen.MultimediaUtil.Tests/testcase/ThumbnailExtractor/TSThumbnailExtractionResult.cs @@ -8,7 +8,7 @@ namespace Tizen.Multimedia.Util.Tests 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")] @@ -17,7 +17,7 @@ namespace Tizen.Multimedia.Util.Tests [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; @@ -31,7 +31,7 @@ namespace Tizen.Multimedia.Util.Tests [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)); } diff --git a/tct-suite-vs/Tizen.MultimediaUtil.Tests/testcase/ThumbnailExtractor/TSThumbnailExtractor.cs b/tct-suite-vs/Tizen.MultimediaUtil.Tests/testcase/ThumbnailExtractor/TSThumbnailExtractor.cs index 36bf834..199d3eb 100755 --- a/tct-suite-vs/Tizen.MultimediaUtil.Tests/testcase/ThumbnailExtractor/TSThumbnailExtractor.cs +++ b/tct-suite-vs/Tizen.MultimediaUtil.Tests/testcase/ThumbnailExtractor/TSThumbnailExtractor.cs @@ -15,7 +15,7 @@ namespace Tizen.Multimedia.Util.Tests 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() @@ -32,7 +32,7 @@ namespace Tizen.Multimedia.Util.Tests [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); } @@ -45,7 +45,7 @@ namespace Tizen.Multimedia.Util.Tests [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()); @@ -59,7 +59,7 @@ namespace Tizen.Multimedia.Util.Tests [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()); @@ -73,7 +73,7 @@ namespace Tizen.Multimedia.Util.Tests [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( () => ThumbnailExtractor.ExtractAsync(PathNotSupported)); @@ -87,7 +87,7 @@ namespace Tizen.Multimedia.Util.Tests [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); @@ -105,7 +105,7 @@ namespace Tizen.Multimedia.Util.Tests [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); @@ -121,7 +121,7 @@ namespace Tizen.Multimedia.Util.Tests [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)); @@ -136,7 +136,7 @@ namespace Tizen.Multimedia.Util.Tests [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(); @@ -155,7 +155,7 @@ namespace Tizen.Multimedia.Util.Tests [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(); diff --git a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSButton.cs b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSButton.cs index 6759e66..817fb07 100755 --- a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSButton.cs +++ b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSButton.cs @@ -28,13 +28,13 @@ namespace Tizen.NUI.Tests [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) @@ -54,12 +54,12 @@ namespace Tizen.NUI.Tests } [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)); @@ -74,7 +74,7 @@ namespace Tizen.NUI.Tests return map; } - private static void CreateButton(string buttonText) + private void CreateButton(string buttonText) { _button = new PushButton(); _button.Label = CreateTextMap(PointSize, buttonText); @@ -89,7 +89,7 @@ namespace Tizen.NUI.Tests } } - 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"); @@ -97,7 +97,7 @@ namespace Tizen.NUI.Tests 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"); @@ -105,7 +105,7 @@ namespace Tizen.NUI.Tests 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"); diff --git a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSFocusManager.cs b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSFocusManager.cs index b7590b1..ef0c8af 100755 --- a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSFocusManager.cs +++ b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSFocusManager.cs @@ -28,15 +28,15 @@ namespace Tizen.NUI.Tests [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; @@ -58,12 +58,12 @@ namespace Tizen.NUI.Tests } [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")); @@ -72,7 +72,7 @@ namespace Tizen.NUI.Tests return map; } - private static void CreateTestView(string information) + private void CreateTestView(string information) { _button1 = new PushButton(); _button1.Label = CreateTextMap(PointSize, information); @@ -80,7 +80,7 @@ namespace Tizen.NUI.Tests _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"); @@ -88,14 +88,14 @@ namespace Tizen.NUI.Tests 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"); diff --git a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSInputMethodContext.cs b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSInputMethodContext.cs index 60e6a18..56b927c 100755 --- a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSInputMethodContext.cs +++ b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSInputMethodContext.cs @@ -28,13 +28,13 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSPopup.cs b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSPopup.cs index cdfc130..b755979 100755 --- a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSPopup.cs +++ b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSPopup.cs @@ -28,13 +28,13 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSScrollBar.cs b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSScrollBar.cs index f7e149b..4d58975 100755 --- a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSScrollBar.cs +++ b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSScrollBar.cs @@ -28,12 +28,12 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSSlider.cs b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSSlider.cs index a1e0c77..33fa132 100755 --- a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSSlider.cs +++ b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSSlider.cs @@ -28,13 +28,13 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSTouch.cs b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSTouch.cs index 9509c92..567e9e7 100755 --- a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSTouch.cs +++ b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSTouch.cs @@ -28,12 +28,12 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSView.cs b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSView.cs index 5950d17..08b3aa7 100755 --- a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSView.cs +++ b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSView.cs @@ -28,14 +28,14 @@ namespace Tizen.NUI.Tests [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) @@ -56,12 +56,12 @@ namespace Tizen.NUI.Tests } [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")); @@ -70,7 +70,7 @@ namespace Tizen.NUI.Tests return map; } - private static void CreateView(string information) + private void CreateView(string information) { _button = new PushButton(); _button.Label = CreateTextMap(PointSize, information); @@ -79,7 +79,7 @@ namespace Tizen.NUI.Tests _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(); diff --git a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSWindow.cs b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSWindow.cs index ffc6bf1..191340f 100755 --- a/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSWindow.cs +++ b/tct-suite-vs/Tizen.NUI.Manual.Tests/testcase/TSWindow.cs @@ -28,15 +28,15 @@ namespace Tizen.NUI.Tests [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; @@ -57,13 +57,13 @@ namespace Tizen.NUI.Tests } [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")); @@ -72,7 +72,7 @@ namespace Tizen.NUI.Tests return map; } - private static void CreateView(string information) + private void CreateView(string information) { _button = new PushButton(); _button.Label = CreateTextMap(PointSize, information); @@ -80,7 +80,7 @@ namespace Tizen.NUI.Tests _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(); diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAdaptor.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAdaptor.cs index feaed50..fb45e89 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAdaptor.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAdaptor.cs @@ -11,7 +11,7 @@ namespace Tizen.NUI.Tests [Description("Tizen.NUI.Adaptor Tests")] public class AdaptorTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; [SetUp] public void Init() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAlphaFunction.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAlphaFunction.cs index d662155..b20f301 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAlphaFunction.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAlphaFunction.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,13 +22,13 @@ namespace Tizen.NUI.Tests } [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; } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimatable.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimatable.cs index a1ccb5b..4ebb6d9 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimatable.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimatable.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimatedImageVisual.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimatedImageVisual.cs index 21bb0cf..e2bda1a 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimatedImageVisual.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimatedImageVisual.cs @@ -11,8 +11,8 @@ namespace Tizen.NUI.Tests [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 { diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimation.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimation.cs index dc38adb..6eeb76d 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimation.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSAnimation.cs @@ -15,10 +15,10 @@ namespace Tizen.NUI.Tests [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"); @@ -26,7 +26,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBaseHandle.FocusRequestArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBaseHandle.FocusRequestArgs.cs index df264b6..f3bbee9 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBaseHandle.FocusRequestArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBaseHandle.FocusRequestArgs.cs @@ -9,7 +9,7 @@ namespace Tizen.NUI.Tests [Description("Tizen.NUI.BaseHandle.FocusRequestArgs Tests")] public class FocusRequestArgsTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; [SetUp] public void Init() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBaseHandle.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBaseHandle.cs index 3042998..08185d9 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBaseHandle.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBaseHandle.cs @@ -14,11 +14,11 @@ namespace Tizen.NUI.Tests [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"); @@ -26,7 +26,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBorderVisual.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBorderVisual.cs index 908238b..6b8a2b7 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBorderVisual.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSBorderVisual.cs @@ -10,7 +10,7 @@ namespace Tizen.NUI.Tests [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 { diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSButton.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSButton.cs index e95cfac..29669d0 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSButton.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSButton.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -26,7 +26,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSCheckBoxButton.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSCheckBoxButton.cs index 5c3b0ac..3a0bdbc 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSCheckBoxButton.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSCheckBoxButton.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, " Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSColor.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSColor.cs index 4e531a5..2b03fda 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSColor.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSColor.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, " Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSColorVisual.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSColorVisual.cs index 3386a1e..292a17b 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSColorVisual.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSColorVisual.cs @@ -10,7 +10,7 @@ namespace Tizen.NUI.Tests [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 { diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSContainer.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSContainer.cs index 55e207e..89b8b38 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSContainer.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSContainer.cs @@ -15,10 +15,10 @@ namespace Tizen.NUI.Tests 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"); @@ -26,7 +26,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSCustomView.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSCustomView.cs index 7dfb49d..9bfa875 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSCustomView.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSCustomView.cs @@ -16,7 +16,7 @@ namespace Tizen.NUI.Tests private static string TAG = "NUI"; [SetUp] - public static void Init() + public void Init() { Tizen.Log.Info(TAG, " Init() is called!"); App.MainTitleChangeText("CustomViewTests"); @@ -24,7 +24,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, " Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSCustomViewRegistry.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSCustomViewRegistry.cs index 03745ca..d3e3c07 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSCustomViewRegistry.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSCustomViewRegistry.cs @@ -15,7 +15,7 @@ namespace Tizen.NUI.Tests private static string TAG = "NUI"; [SetUp] - public static void Init() + public void Init() { Tizen.Log.Info(TAG, " Init() is called!"); App.MainTitleChangeText("CustomViewRegistryTests"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, " Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSDegree.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSDegree.cs index a8491ac..e6df9e3 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSDegree.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSDegree.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSExtents.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSExtents.cs index abdbb69..2b2cc0e 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSExtents.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSExtents.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFlexContainer.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFlexContainer.cs index e2fb6b2..3a3da15 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFlexContainer.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFlexContainer.cs @@ -12,17 +12,17 @@ namespace Tizen.NUI.Tests 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() { } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusChangedEventArgs.cs index cfbe131..dc88173 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusChangedEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusGroupChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusGroupChangedEventArgs.cs index 4d4a78e..005910d 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusGroupChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusGroupChangedEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusedViewActivatedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusedViewActivatedEventArgs.cs index b37eccd..9d2bd08 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusedViewActivatedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusedViewActivatedEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusedViewEnterKeyEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusedViewEnterKeyEventArgs.cs index 57af392..c743032 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusedViewEnterKeyEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.FocusedViewEnterKeyEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.PreFocusChangeEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.PreFocusChangeEventArgs.cs index e61010d..00bc460 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.PreFocusChangeEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.PreFocusChangeEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.cs index 57a3c8d..c1dc2b9 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFocusManager.cs @@ -12,7 +12,7 @@ namespace Tizen.NUI.Tests [Description("Tizen.NUI.FocusManager Tests")] public class FocusManagerTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; [SetUp] public void Init() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFontClient.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFontClient.cs index 5a03c6d..cecace2 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFontClient.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSFontClient.cs @@ -11,17 +11,17 @@ namespace Tizen.NUI.Tests [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!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGeometry.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGeometry.cs index 75f1ee1..8d71f7f 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGeometry.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGeometry.cs @@ -11,7 +11,7 @@ namespace Tizen.NUI.Tests public class GeometryTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; [Test] [Category("P1")] diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGetResourcesProvider.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGetResourcesProvider.cs index 65b8b4d..480780d 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGetResourcesProvider.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGetResourcesProvider.cs @@ -11,7 +11,7 @@ namespace Tizen.NUI.Tests [Description("Tizen.NUI.GetResourcesProvider Tests")] public class GetResourcesProviderTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; [SetUp] public void Init() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGradientVisual.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGradientVisual.cs index 2d22c01..604200b 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGradientVisual.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSGradientVisual.cs @@ -10,7 +10,7 @@ namespace Tizen.NUI.Tests [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 { diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSHover.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSHover.cs index f589c1e..4697134 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSHover.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSHover.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImageView.ResourceReadyEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImageView.ResourceReadyEventArgs.cs index 99cdff9..7e7c7e0 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImageView.ResourceReadyEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImageView.ResourceReadyEventArgs.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImageView.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImageView.cs index f1d9171..861760b 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImageView.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImageView.cs @@ -14,12 +14,12 @@ namespace Tizen.NUI.Tests [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"); @@ -27,7 +27,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } @@ -393,7 +393,7 @@ namespace Tizen.NUI.Tests [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(); diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImageVisual.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImageVisual.cs index 39780ac..8027d9a 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImageVisual.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImageVisual.cs @@ -10,8 +10,8 @@ namespace Tizen.NUI.Tests [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 { diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ActivatedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ActivatedEventArgs.cs index 96ef518..c3c338e 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ActivatedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ActivatedEventArgs.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.EventReceivedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.EventReceivedEventArgs.cs index 943b109..e5d09fe 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.EventReceivedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.EventReceivedEventArgs.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ImfCallbackData.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ImfCallbackData.cs index 174bc1e..3d18416 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ImfCallbackData.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ImfCallbackData.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ImfEventData.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ImfEventData.cs index 89af5d4..07e5a76 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ImfEventData.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ImfEventData.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.KeyboardTypeChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.KeyboardTypeChangedEventArgs.cs index c057601..662cc8c 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.KeyboardTypeChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.KeyboardTypeChangedEventArgs.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.LanguageChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.LanguageChangedEventArgs.cs index c54fe73..9067ad1 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.LanguageChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.LanguageChangedEventArgs.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ResizedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ResizedEventArgs.cs index 0e58f66..67c6650 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ResizedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.ResizedEventArgs.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.StatusChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.StatusChangedEventArgs.cs index 524b548..8ef0bbe 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.StatusChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.StatusChangedEventArgs.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.cs index 9099a7b..6bb2b8c 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSImfManager.cs @@ -14,9 +14,9 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethod.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethod.cs index 10e7ea7..be918e8 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethod.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethod.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.ActivatedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.ActivatedEventArgs.cs index 8e60568..bb08b24 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.ActivatedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.ActivatedEventArgs.cs @@ -13,8 +13,8 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.CallbackData.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.CallbackData.cs index 31c7f53..93c5337 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.CallbackData.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.CallbackData.cs @@ -13,8 +13,8 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.EventData.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.EventData.cs index 84e2d91..3080f09 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.EventData.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.EventData.cs @@ -13,8 +13,8 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.EventReceivedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.EventReceivedEventArgs.cs index f482df5..3f2ce65 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.EventReceivedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.EventReceivedEventArgs.cs @@ -13,8 +13,8 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.KeyboardTypeChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.KeyboardTypeChangedEventArgs.cs index 2f6200a..cfb50a4 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.KeyboardTypeChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.KeyboardTypeChangedEventArgs.cs @@ -13,8 +13,8 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.LanguageChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.LanguageChangedEventArgs.cs index cce8a63..9eff81b 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.LanguageChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.LanguageChangedEventArgs.cs @@ -13,8 +13,8 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.ResizedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.ResizedEventArgs.cs index 0248c3c..fa6a4fc 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.ResizedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.ResizedEventArgs.cs @@ -13,8 +13,8 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.StatusChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.StatusChangedEventArgs.cs index 09512e8..15f198c 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.StatusChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.StatusChangedEventArgs.cs @@ -13,8 +13,8 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.cs index 0c52c91..4dc65ea 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSInputMethodContext.cs @@ -13,9 +13,9 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSKey.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSKey.cs index 54cb310..9a30a88 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSKey.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSKey.cs @@ -10,10 +10,10 @@ namespace Tizen.NUI.Tests [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"); @@ -21,7 +21,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSKeyFrames.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSKeyFrames.cs index 787ba45..67db2af 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSKeyFrames.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSKeyFrames.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSKeyValue.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSKeyValue.cs index 3874327..8f0d7dc 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSKeyValue.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSKeyValue.cs @@ -10,10 +10,10 @@ namespace Tizen.NUI.Tests [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"); @@ -21,7 +21,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSLayer.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSLayer.cs index 91d0b35..7c6c437 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSLayer.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSLayer.cs @@ -14,10 +14,10 @@ namespace Tizen.NUI.Tests 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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSLongPressGesture.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSLongPressGesture.cs index 087f2a4..31a4390 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSLongPressGesture.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSLongPressGesture.cs @@ -11,7 +11,7 @@ namespace Tizen.NUI.Tests [Description("Tizen.NUI.LongPressGesture Tests")] public class LongPressGestureTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; [SetUp] public void Init() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSMeshVisual.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSMeshVisual.cs index 1039337..ff2619d 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSMeshVisual.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSMeshVisual.cs @@ -10,7 +10,7 @@ namespace Tizen.NUI.Tests [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 { diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSNPatchVisual.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSNPatchVisual.cs index e824772..d82557a 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSNPatchVisual.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSNPatchVisual.cs @@ -10,8 +10,8 @@ namespace Tizen.NUI.Tests [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 { diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSNUIApplication.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSNUIApplication.cs index f61d4d1..47039dc 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSNUIApplication.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSNUIApplication.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests 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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPaddingType.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPaddingType.cs index c7f8712..fd36e78 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPaddingType.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPaddingType.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPanGesture.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPanGesture.cs index 7d572fe..30c5a11 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPanGesture.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPanGesture.cs @@ -11,7 +11,7 @@ namespace Tizen.NUI.Tests [Description("Tizen.NUI.PanGesture Tests")] public class PanGestureTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; [SetUp] public void Init() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPath.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPath.cs index 15292b0..194f467 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPath.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPath.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPinchGesture.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPinchGesture.cs index 5e19753..14321f8 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPinchGesture.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPinchGesture.cs @@ -11,7 +11,7 @@ namespace Tizen.NUI.Tests [Description("Tizen.NUI.PinchGesture Tests")] public class PinchGestureTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; [SetUp] public void Init() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.HiddenEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.HiddenEventArgs.cs index 4f91f71..8c250aa 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.HiddenEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.HiddenEventArgs.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.HidingEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.HidingEventArgs.cs index f35d4da..ff7d8fe 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.HidingEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.HidingEventArgs.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.ShowingEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.ShowingEventArgs.cs index ecba95c..6988659 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.ShowingEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.ShowingEventArgs.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.ShownEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.ShownEventArgs.cs index ca7c478..22e6543 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.ShownEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.ShownEventArgs.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.TouchedOutsideEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.TouchedOutsideEventArgs.cs index 9a851b5..3d61c30 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.TouchedOutsideEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.TouchedOutsideEventArgs.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.cs index 5fce4f5..ba4959a 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPopup.cs @@ -13,8 +13,8 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPosition.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPosition.cs index 7197a5e..1b96491 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPosition.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPosition.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPosition2D.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPosition2D.cs index 9de9619..5c3d585 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPosition2D.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPosition2D.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPrimitiveVisual.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPrimitiveVisual.cs index f10bfe6..902f362 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPrimitiveVisual.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPrimitiveVisual.cs @@ -10,7 +10,7 @@ namespace Tizen.NUI.Tests [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 { diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSProgressBar.ValueChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSProgressBar.ValueChangedEventArgs.cs index a2355b2..4d0c82a 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSProgressBar.ValueChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSProgressBar.ValueChangedEventArgs.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSProgressBar.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSProgressBar.cs index 8429488..ddb71e1 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSProgressBar.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSProgressBar.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyArray.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyArray.cs index dba564a..9282198 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyArray.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyArray.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyBuffer.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyBuffer.cs index c1eeaf4..0b8c735 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyBuffer.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyBuffer.cs @@ -12,7 +12,7 @@ namespace Tizen.NUI.Tests public class PropertyBufferTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; private struct TexturedQuadVertex {public Vector2 position; public Vector2 textureCoordinates; }; [Test] diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyCondition.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyCondition.cs index 7258a47..86936b6 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyCondition.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyCondition.cs @@ -10,11 +10,11 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyKey.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyKey.cs index e670dac..9b6628f 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyKey.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyKey.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyMap.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyMap.cs index 93ebad4..235e10e 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyMap.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyMap.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyNotification.NotifyEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyNotification.NotifyEventArgs.cs index c720def..532c094 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyNotification.NotifyEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyNotification.NotifyEventArgs.cs @@ -14,11 +14,11 @@ namespace Tizen.NUI.Tests [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"); @@ -26,7 +26,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyNotification.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyNotification.cs index b41e9bb..603d8b9 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyNotification.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyNotification.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyValue.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyValue.cs index 21e0e6d..361e717 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyValue.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPropertyValue.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPushButton.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPushButton.cs index 492acd1..e8e8908 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPushButton.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSPushButton.cs @@ -11,11 +11,11 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRadian.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRadian.cs index 4c9826c..cee7025 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRadian.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRadian.cs @@ -10,10 +10,10 @@ namespace Tizen.NUI.Tests [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"); @@ -21,7 +21,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRadioButton.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRadioButton.cs index 8ca7ce2..8c78869 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRadioButton.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRadioButton.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "#################### Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRectangle.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRectangle.cs index 56f68c6..1cef911 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRectangle.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRectangle.cs @@ -10,10 +10,10 @@ namespace Tizen.NUI.Tests [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"); @@ -21,7 +21,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRelativeVector2.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRelativeVector2.cs index 7d044bb..38134a3 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRelativeVector2.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRelativeVector2.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRelativeVector3.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRelativeVector3.cs index b81bd16..511ff44 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRelativeVector3.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRelativeVector3.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRelativeVector4.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRelativeVector4.cs index a037d31..7ea82cb 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRelativeVector4.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRelativeVector4.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRenderer.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRenderer.cs index 1d0d159..5cb4e14 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRenderer.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRenderer.cs @@ -11,7 +11,7 @@ namespace Tizen.NUI.Tests 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" + diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRotation.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRotation.cs index 364e63c..8bb85f8 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRotation.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSRotation.cs @@ -10,22 +10,22 @@ namespace Tizen.NUI.Tests [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"); @@ -33,7 +33,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSVGVisual.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSVGVisual.cs index b7b4ad2..3c0b3f3 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSVGVisual.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSVGVisual.cs @@ -10,8 +10,8 @@ namespace Tizen.NUI.Tests [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 diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSampler.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSampler.cs index fecae0f..da87d73 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSampler.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSampler.cs @@ -11,7 +11,7 @@ namespace Tizen.NUI.Tests public class SamplerTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; [Test] [Category("P1")] diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollBar.PanFinishedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollBar.PanFinishedEventArgs.cs index 0521b77..11f0252 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollBar.PanFinishedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollBar.PanFinishedEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollBar.ScrollIntervalEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollBar.ScrollIntervalEventArgs.cs index 783203a..9a267c1 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollBar.ScrollIntervalEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollBar.ScrollIntervalEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollBar.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollBar.cs index e4d1f91..6102de7 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollBar.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollBar.cs @@ -13,8 +13,8 @@ namespace Tizen.NUI.Tests [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) { diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollView.SnapEvent.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollView.SnapEvent.cs index d685893..f3f4c41 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollView.SnapEvent.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollView.SnapEvent.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollView.SnapStartedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollView.SnapStartedEventArgs.cs index f60d714..2aad49d 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollView.SnapStartedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollView.SnapStartedEventArgs.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollView.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollView.cs index c63dfec..3ca1def 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollView.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollView.cs @@ -13,8 +13,8 @@ namespace Tizen.NUI.Tests [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) { diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollViewEffect.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollViewEffect.cs index 98e1255..fbfb3be 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollViewEffect.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollViewEffect.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.CompletedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.CompletedEventArgs.cs index e37b1d2..15a0729 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.CompletedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.CompletedEventArgs.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.StartedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.StartedEventArgs.cs index 52594a8..124694b 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.StartedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.StartedEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.UpdatedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.UpdatedEventArgs.cs index ead2072..7ce2366 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.UpdatedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.UpdatedEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.cs index d255066..dc3c25f 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSScrollable.cs @@ -13,10 +13,10 @@ namespace Tizen.NUI.Tests [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"); @@ -24,13 +24,13 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } - private static bool _flagScrollStarted, _flagScrollCompleted; + private bool _flagScrollStarted, _flagScrollCompleted; private void OnScrollStarted(object obj, EventArgs e) { _flagScrollStarted = true; diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSShader.Hint.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSShader.Hint.cs index 98b8ec4..6294469 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSShader.Hint.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSShader.Hint.cs @@ -13,10 +13,10 @@ namespace Tizen.NUI.Tests [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"); @@ -24,7 +24,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSShader.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSShader.cs index 94f2308..3e9c47a 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSShader.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSShader.cs @@ -7,7 +7,7 @@ namespace Tizen.NUI.Tests 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" + diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSize.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSize.cs index fa37f0d..9300614 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSize.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSize.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSize2D.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSize2D.cs index 663f3f1..45f5bc7 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSize2D.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSize2D.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.MarkReachedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.MarkReachedEventArgs.cs index 6844238..ccb6acf 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.MarkReachedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.MarkReachedEventArgs.cs @@ -12,13 +12,13 @@ namespace Tizen.NUI.Tests public class MarkReachedEventArgsTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.SlidingFinishedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.SlidingFinishedEventArgs.cs index fab7bd2..97ee6fe 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.SlidingFinishedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.SlidingFinishedEventArgs.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.ValueChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.ValueChangedEventArgs.cs index 83b17a4..fa7f684 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.ValueChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.ValueChangedEventArgs.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.cs index df43563..66b9daa 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSlider.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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; @@ -48,7 +48,7 @@ namespace Tizen.NUI.Tests 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; diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSpin.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSpin.cs index f73c636..b71ebca 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSpin.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSSpin.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.StyleChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.StyleChangedEventArgs.cs index 94043c2..feb9ed1 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.StyleChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.StyleChangedEventArgs.cs @@ -10,10 +10,10 @@ namespace Tizen.NUI.Tests [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"); @@ -21,7 +21,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.cs index e300614..d49676b 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSStyleManager.cs @@ -12,11 +12,11 @@ namespace NUIStyleManager.Tests [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"); @@ -24,7 +24,7 @@ namespace NUIStyleManager.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } @@ -189,8 +189,8 @@ namespace NUIStyleManager.Tests 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; } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTTSPlayer.StateChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTTSPlayer.StateChangedEventArgs.cs index fe540f5..f91289c 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTTSPlayer.StateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTTSPlayer.StateChangedEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTTSPlayer.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTTSPlayer.cs index 4560531..e49950b 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTTSPlayer.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTTSPlayer.cs @@ -13,11 +13,11 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTableView.CellPosition.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTableView.CellPosition.cs index ff7c71e..be32e6b 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTableView.CellPosition.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTableView.CellPosition.cs @@ -13,10 +13,10 @@ namespace Tizen.NUI.Tests { 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"); @@ -24,7 +24,7 @@ namespace Tizen.NUI.Tests { } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTableView.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTableView.cs index baf8baf..b893f51 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTableView.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTableView.cs @@ -14,10 +14,10 @@ namespace Tizen.NUI.Tests [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"); @@ -25,7 +25,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTapGesture.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTapGesture.cs index 260c2ce..172f552 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTapGesture.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTapGesture.cs @@ -11,7 +11,7 @@ namespace Tizen.NUI.Tests [Description("Tizen.NUI.TapGesture Tests")] public class TapGestureTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; [SetUp] public void Init() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextEditor.ScrollStateChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextEditor.ScrollStateChangedEventArgs.cs index cc156a3..3b8fd21 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextEditor.ScrollStateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextEditor.ScrollStateChangedEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextEditor.TextChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextEditor.TextChangedEventArgs.cs index b37d5ca..9c7c80b 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextEditor.TextChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextEditor.TextChangedEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextEditor.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextEditor.cs index 28eaa62..ba5812e 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextEditor.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextEditor.cs @@ -12,8 +12,8 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextField.MaxLengthReachedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextField.MaxLengthReachedEventArgs.cs index 5cbb803..6527c60 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextField.MaxLengthReachedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextField.MaxLengthReachedEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextField.TextChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextField.TextChangedEventArgs.cs index 96844e1..971fdb5 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextField.TextChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextField.TextChangedEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextField.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextField.cs index 8968bb8..0ca61af 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextField.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextField.cs @@ -11,8 +11,8 @@ namespace Tizen.NUI.Tests [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() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextLabel.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextLabel.cs index ee4867d..876f903 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextLabel.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextLabel.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextVisual.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextVisual.cs index f9462dd..ecd6ffe 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextVisual.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextVisual.cs @@ -10,7 +10,7 @@ namespace Tizen.NUI.Tests [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 diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTexture.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTexture.cs index ceaff07..4dbf607 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTexture.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTexture.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextureSet.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextureSet.cs index 985230b..60c5722 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextureSet.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTextureSet.cs @@ -10,10 +10,10 @@ namespace Tizen.NUI.Tests [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"); @@ -21,7 +21,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTimer.TickEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTimer.TickEventArgs.cs index 99226ae..c524a2f 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTimer.TickEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTimer.TickEventArgs.cs @@ -10,10 +10,10 @@ namespace Tizen.NUI.Tests [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"); @@ -21,7 +21,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTimer.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTimer.cs index 3e5cad7..911b210 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTimer.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTimer.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSToggleButton.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSToggleButton.cs index 7a0ef53..576944f 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSToggleButton.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSToggleButton.cs @@ -10,12 +10,12 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTouch.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTouch.cs index ab9449a..e22f1b9 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTouch.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTouch.cs @@ -11,7 +11,7 @@ namespace Tizen.NUI.Tests [Description("Tizen.NUI.Touch Tests")] public class TouchTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; [SetUp] public void Init() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTransitionData.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTransitionData.cs index 9650d51..77e8928 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTransitionData.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTransitionData.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTypeInfo.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTypeInfo.cs index 53a0995..a75be88 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTypeInfo.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSTypeInfo.cs @@ -10,7 +10,7 @@ namespace Tizen.NUI.Tests [Description("Tizen.NUI.TypeInfo Tests")] public class TypeInfoTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; [SetUp] public void Init() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector2.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector2.cs index 0f27421..3543fe2 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector2.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector2.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector3.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector3.cs index b120b75..f7fe265 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector3.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector3.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector4.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector4.cs index 9cff52d..98d9cfe 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector4.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVector4.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVideoView.FinishedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVideoView.FinishedEventArgs.cs index 75bf0fb..dc66f8d 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVideoView.FinishedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVideoView.FinishedEventArgs.cs @@ -12,10 +12,10 @@ namespace Tizen.NUI.Tests [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"); @@ -23,7 +23,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVideoView.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVideoView.cs index db964ad..4fefa96 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVideoView.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVideoView.cs @@ -15,9 +15,9 @@ namespace Tizen.NUI.Tests [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) { diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.ChildAddedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.ChildAddedEventArgs.cs index 26d9225..065e3f2 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.ChildAddedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.ChildAddedEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.ChildRemovedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.ChildRemovedEventArgs.cs index a35f1e0..e53bbfc 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.ChildRemovedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.ChildRemovedEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.HoverEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.HoverEventArgs.cs index c5406b6..3911b86 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.HoverEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.HoverEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.KeyEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.KeyEventArgs.cs index 51ecd6b..67794ec 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.KeyEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.KeyEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.LayoutDirectionChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.LayoutDirectionChangedEventArgs.cs index e71b3b5..15855a6 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.LayoutDirectionChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.LayoutDirectionChangedEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.TouchEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.TouchEventArgs.cs index 79cb4a6..a43302a 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.TouchEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.TouchEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.VisibilityChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.VisibilityChangedEventArgs.cs index a4dfbfc..ab316cc 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.VisibilityChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.VisibilityChangedEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.WheelEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.WheelEventArgs.cs index 93730c2..d4d3fb3 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.WheelEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.WheelEventArgs.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.cs index 95df983..347ceac 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSView.cs @@ -17,9 +17,9 @@ namespace Tizen.NUI.Tests [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" + diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualAnimator.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualAnimator.cs index 13071e9..b52e5d1 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualAnimator.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualAnimator.cs @@ -10,8 +10,8 @@ namespace Tizen.NUI.Tests [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; internal class MyVisualAnimator : VisualAnimator { diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualBase.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualBase.cs index 4026d54..adfb07b 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualBase.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualBase.cs @@ -11,10 +11,10 @@ namespace Tizen.NUI.Tests [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"); @@ -22,7 +22,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualFactory.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualFactory.cs index 0e2a761..293316b 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualFactory.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualFactory.cs @@ -10,9 +10,9 @@ namespace Tizen.NUI.Tests [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"); @@ -20,7 +20,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualMap.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualMap.cs index ac644e1..8437fe6 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualMap.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualMap.cs @@ -10,7 +10,7 @@ namespace Tizen.NUI.Tests [Description("Tizen.NUI.VisualMap Tests")] public class VisualMapTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; private static bool _flagComposingPropertyMap; internal class MyVisualMap : VisualMap { diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualView.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualView.cs index 458c71d..c92cc31 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualView.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSVisualView.cs @@ -12,11 +12,11 @@ namespace Tizen.NUI.Tests [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"); @@ -24,7 +24,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWatchTime.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWatchTime.cs index ebd405b..3fd3e1f 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWatchTime.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWatchTime.cs @@ -12,7 +12,7 @@ namespace Tizen.NUI.Tests [Description("Tizen.NUI.WatchTime Tests")] public class WatchTimeTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; private bool IsWearable() { diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWheel.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWheel.cs index ffa6cb4..7fe0f34 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWheel.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWheel.cs @@ -10,10 +10,10 @@ namespace Tizen.NUI.Tests [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"); @@ -21,7 +21,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.FocusChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.FocusChangedEventArgs.cs index 266b6ae..0df654c 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.FocusChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.FocusChangedEventArgs.cs @@ -10,10 +10,10 @@ namespace Tizen.NUI.Tests [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"); @@ -21,7 +21,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.KeyEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.KeyEventArgs.cs index a1c46ad..e49cd24 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.KeyEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.KeyEventArgs.cs @@ -10,10 +10,10 @@ namespace Tizen.NUI.Tests [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"); @@ -21,7 +21,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.ResizedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.ResizedEventArgs.cs index e967294..e3fc913 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.ResizedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.ResizedEventArgs.cs @@ -10,10 +10,10 @@ namespace Tizen.NUI.Tests [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"); @@ -21,7 +21,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.SafeNativeWindowHandle.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.SafeNativeWindowHandle.cs index 1721de9..1003a1d 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.SafeNativeWindowHandle.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.SafeNativeWindowHandle.cs @@ -9,7 +9,7 @@ namespace Tizen.NUI.Tests [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 { public bool MyReleaseHandle() @@ -19,13 +19,13 @@ namespace Tizen.NUI.Tests } [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!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.TouchEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.TouchEventArgs.cs index 0f46279..a0e188b 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.TouchEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.TouchEventArgs.cs @@ -10,10 +10,10 @@ namespace Tizen.NUI.Tests [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"); @@ -21,7 +21,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.WheelEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.WheelEventArgs.cs index 7b91524..10e6dab 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.WheelEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.WheelEventArgs.cs @@ -10,10 +10,10 @@ namespace Tizen.NUI.Tests [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"); @@ -21,7 +21,7 @@ namespace Tizen.NUI.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Tizen.Log.Info(TAG, "Destroy() is called!"); } diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.WindowFocusChangedEventArgs.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.WindowFocusChangedEventArgs.cs index fce7530..aadfad5 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.WindowFocusChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.WindowFocusChangedEventArgs.cs @@ -10,7 +10,7 @@ namespace Tizen.NUI.Tests [Description("Tizen.NUI.Window.WindowFocusChangedEventArgs Tests")] public class WindowWindowFocusChangedEventArgsTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; [SetUp] public void Init() diff --git a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.cs b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.cs index 09e4807..810173f 100755 --- a/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.cs +++ b/tct-suite-vs/Tizen.NUI.Tests/testcase/TSWindow.cs @@ -14,7 +14,7 @@ namespace Tizen.NUI.Tests [Description("Tizen.NUI.Window Tests")] public class WindowTests { - private static string TAG = "NUI"; + private string TAG = "NUI"; [SetUp] public void Init() diff --git a/tct-suite-vs/Tizen.Network.Manual.Tests/testcase/TSConnectionManager.cs b/tct-suite-vs/Tizen.Network.Manual.Tests/testcase/TSConnectionManager.cs index fbe0c5a..b570914 100755 --- a/tct-suite-vs/Tizen.Network.Manual.Tests/testcase/TSConnectionManager.cs +++ b/tct-suite-vs/Tizen.Network.Manual.Tests/testcase/TSConnectionManager.cs @@ -29,12 +29,12 @@ namespace Tizen.Network.Connection.Tests [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); @@ -44,7 +44,7 @@ namespace Tizen.Network.Connection.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); } @@ -62,7 +62,7 @@ namespace Tizen.Network.Connection.Tests [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) { @@ -88,7 +88,7 @@ namespace Tizen.Network.Connection.Tests } } - public static void EventHandlerEthernetCableStateChanged(object sender, EventArgs e) + public void EventHandlerEthernetCableStateChanged(object sender, EventArgs e) { _flag = true; } diff --git a/tct-suite-vs/Tizen.Network.Manual.Tests/testcase/TSEthernetCableStateEventArgs.cs b/tct-suite-vs/Tizen.Network.Manual.Tests/testcase/TSEthernetCableStateEventArgs.cs index 13715da..fb3c2f8 100755 --- a/tct-suite-vs/Tizen.Network.Manual.Tests/testcase/TSEthernetCableStateEventArgs.cs +++ b/tct-suite-vs/Tizen.Network.Manual.Tests/testcase/TSEthernetCableStateEventArgs.cs @@ -29,13 +29,13 @@ namespace Tizen.Network.Connection.Tests [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; @@ -46,12 +46,12 @@ namespace Tizen.Network.Connection.Tests } [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; @@ -70,7 +70,7 @@ namespace Tizen.Network.Connection.Tests [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) { diff --git a/tct-suite-vs/Tizen.Network.Manual.Tests/testcase/TSWiFiAP.cs b/tct-suite-vs/Tizen.Network.Manual.Tests/testcase/TSWiFiAP.cs index fe58664..0007b4e 100755 --- a/tct-suite-vs/Tizen.Network.Manual.Tests/testcase/TSWiFiAP.cs +++ b/tct-suite-vs/Tizen.Network.Manual.Tests/testcase/TSWiFiAP.cs @@ -29,11 +29,11 @@ namespace Tizen.Network.WiFi.Tests [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(); @@ -41,7 +41,7 @@ namespace Tizen.Network.WiFi.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Postconditions for each TEST"); } @@ -62,7 +62,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -125,7 +125,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -185,7 +185,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -228,7 +228,7 @@ namespace Tizen.Network.WiFi.Tests [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 { diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSAddressEventArgs.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSAddressEventArgs.cs index a519230..6e19839 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSAddressEventArgs.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSAddressEventArgs.cs @@ -10,18 +10,18 @@ namespace Tizen.Network.Connection.Tests [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); @@ -29,13 +29,13 @@ namespace Tizen.Network.Connection.Tests } [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); } @@ -47,7 +47,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -85,7 +85,7 @@ namespace Tizen.Network.Connection.Tests } } - 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; @@ -101,7 +101,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -140,7 +140,7 @@ namespace Tizen.Network.Connection.Tests } } - 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; diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSCellularAuthInformation.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSCellularAuthInformation.cs index 67f360a..f1bfcce 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSCellularAuthInformation.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSCellularAuthInformation.cs @@ -15,24 +15,24 @@ namespace Tizen.Network.Connection.Tests [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; @@ -45,7 +45,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -79,7 +79,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -123,7 +123,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -168,7 +168,7 @@ namespace Tizen.Network.Connection.Tests [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 { diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSCellularProfile.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSCellularProfile.cs index 4839f18..ed9b366 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSCellularProfile.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSCellularProfile.cs @@ -22,23 +22,23 @@ namespace Tizen.Network.Connection.Tests 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"); } @@ -50,7 +50,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -93,7 +93,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -137,7 +137,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -183,7 +183,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -226,7 +226,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -312,7 +312,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -361,7 +361,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -408,7 +408,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -451,7 +451,7 @@ namespace Tizen.Network.Connection.Tests [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 diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionItem.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionItem.cs index b0acec7..ef385fc 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionItem.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionItem.cs @@ -10,17 +10,17 @@ namespace Tizen.Network.Connection.Tests [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); @@ -28,7 +28,7 @@ namespace Tizen.Network.Connection.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(Globals.LogTag, "Postconditions for each TEST"); /* @@ -38,7 +38,7 @@ namespace Tizen.Network.Connection.Tests } /*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); @@ -51,7 +51,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -90,7 +90,7 @@ namespace Tizen.Network.Connection.Tests [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 { diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionManager.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionManager.cs index cd3c228..37dee48 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionManager.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionManager.cs @@ -22,22 +22,22 @@ namespace Tizen.Network.Connection.Tests [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; @@ -51,13 +51,13 @@ namespace Tizen.Network.Connection.Tests } [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); @@ -65,7 +65,7 @@ namespace Tizen.Network.Connection.Tests } /*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); @@ -73,7 +73,7 @@ namespace Tizen.Network.Connection.Tests await Task.Delay(1500); } - public static async Task tearDown() + public async Task tearDown() { _nameWiFi = null; await networkSetup.DeactivateWiFi(); @@ -87,7 +87,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -124,7 +124,7 @@ namespace Tizen.Network.Connection.Tests [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: @@ -166,7 +166,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -208,7 +208,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -261,7 +261,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -302,7 +302,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -335,7 +335,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -367,7 +367,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -405,7 +405,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -456,7 +456,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -504,7 +504,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -554,7 +554,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -608,7 +608,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -666,7 +666,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -710,7 +710,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -746,7 +746,7 @@ namespace Tizen.Network.Connection.Tests } } - public static void EventHandlerConnectionTypeChanged(object sender, EventArgs e) + public void EventHandlerConnectionTypeChanged(object sender, EventArgs e) { _flag = true; } @@ -758,7 +758,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -803,7 +803,7 @@ namespace Tizen.Network.Connection.Tests } } - 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; @@ -816,7 +816,7 @@ namespace Tizen.Network.Connection.Tests [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; @@ -858,7 +858,7 @@ namespace Tizen.Network.Connection.Tests } } - 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; @@ -871,7 +871,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -912,7 +912,7 @@ namespace Tizen.Network.Connection.Tests [Property("SPEC", "Tizen.Network.Connection.ConnectionManager.CreateCellularProfile M")] [Property("SPEC_URL", "-")] [Property("CRITERIA", "MR")] - public static void CreateCellularProfile_CELLULAR() + public void CreateCellularProfile_CELLULAR() { try { @@ -948,7 +948,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -981,7 +981,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -1016,7 +1016,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -1050,7 +1050,7 @@ namespace Tizen.Network.Connection.Tests [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 { diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionProfile.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionProfile.cs index 59d20fe..512eae1 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionProfile.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionProfile.cs @@ -11,18 +11,18 @@ namespace Tizen.Network.Connection.Tests [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; @@ -31,13 +31,13 @@ namespace Tizen.Network.Connection.Tests } [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); @@ -50,7 +50,7 @@ namespace Tizen.Network.Connection.Tests [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; @@ -94,7 +94,7 @@ namespace Tizen.Network.Connection.Tests [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; @@ -138,7 +138,7 @@ namespace Tizen.Network.Connection.Tests [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; @@ -182,7 +182,7 @@ namespace Tizen.Network.Connection.Tests [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; @@ -226,7 +226,7 @@ namespace Tizen.Network.Connection.Tests [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; @@ -279,7 +279,7 @@ namespace Tizen.Network.Connection.Tests [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; @@ -332,7 +332,7 @@ namespace Tizen.Network.Connection.Tests [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; @@ -397,7 +397,7 @@ namespace Tizen.Network.Connection.Tests [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; @@ -466,7 +466,7 @@ namespace Tizen.Network.Connection.Tests [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; @@ -516,7 +516,7 @@ namespace Tizen.Network.Connection.Tests [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; @@ -560,7 +560,7 @@ namespace Tizen.Network.Connection.Tests } } - 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); @@ -573,7 +573,7 @@ namespace Tizen.Network.Connection.Tests [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; diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionProfileManager.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionProfileManager.cs index 616d243..dcac0a7 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionProfileManager.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionProfileManager.cs @@ -23,21 +23,21 @@ namespace Tizen.Network.Tests [Description("Tizen.Network.ConnectionProfileManager Tests")] public class ConnectionProfileManagerTests { - static IEnumerable _list; - private static int _numTask; - static bool isWiFiSupported = false; - static bool isTelephonySupported = false; - static bool isBTTetheringSupported = false; - static bool isEthernetSupported = false; + IEnumerable _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"); @@ -48,19 +48,19 @@ namespace Tizen.Network.Tests } [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); @@ -73,7 +73,7 @@ namespace Tizen.Network.Tests [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 { @@ -108,7 +108,7 @@ namespace Tizen.Network.Tests [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 { @@ -150,7 +150,7 @@ namespace Tizen.Network.Tests [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 { @@ -189,7 +189,7 @@ namespace Tizen.Network.Tests [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; @@ -239,7 +239,7 @@ namespace Tizen.Network.Tests [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 { @@ -287,7 +287,7 @@ namespace Tizen.Network.Tests [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 { @@ -332,7 +332,7 @@ namespace Tizen.Network.Tests [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 { @@ -381,7 +381,7 @@ namespace Tizen.Network.Tests [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; @@ -449,7 +449,7 @@ namespace Tizen.Network.Tests [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; @@ -527,7 +527,7 @@ namespace Tizen.Network.Tests [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 { @@ -613,7 +613,7 @@ namespace Tizen.Network.Tests [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 @@ -681,7 +681,7 @@ namespace Tizen.Network.Tests [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; @@ -767,7 +767,7 @@ namespace Tizen.Network.Tests [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 @@ -830,7 +830,7 @@ namespace Tizen.Network.Tests [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 { @@ -890,7 +890,7 @@ namespace Tizen.Network.Tests [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 { @@ -941,7 +941,7 @@ namespace Tizen.Network.Tests [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 { diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionProfileStateEventArgs.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionProfileStateEventArgs.cs index 804068a..beaa467 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionProfileStateEventArgs.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionProfileStateEventArgs.cs @@ -10,34 +10,34 @@ namespace Tizen.Network.Connection.Tests [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; } @@ -49,7 +49,7 @@ namespace Tizen.Network.Connection.Tests [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; diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionStateChangedEventArgs.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionStateChangedEventArgs.cs index bc89e5a..179ce3d 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionStateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionStateChangedEventArgs.cs @@ -10,17 +10,17 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -28,23 +28,23 @@ namespace Tizen.Network.WiFi.Tests } [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; } @@ -56,7 +56,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -104,7 +104,7 @@ namespace Tizen.Network.WiFi.Tests [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; diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionTypeEventArgs.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionTypeEventArgs.cs index 252ab73..20cf569 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionTypeEventArgs.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSConnectionTypeEventArgs.cs @@ -10,18 +10,18 @@ namespace Tizen.Network.Connection.Tests [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; @@ -30,13 +30,13 @@ namespace Tizen.Network.Connection.Tests } [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); @@ -49,7 +49,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -94,7 +94,7 @@ namespace Tizen.Network.Connection.Tests } } - public static void ConnectionTypeChangedCB(object sender, EventArgs e) + public void ConnectionTypeChangedCB(object sender, EventArgs e) { _flag = true; } diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSDeviceStateChangedEventArgs.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSDeviceStateChangedEventArgs.cs index 62452f8..b246eef 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSDeviceStateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSDeviceStateChangedEventArgs.cs @@ -10,17 +10,17 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -28,22 +28,22 @@ namespace Tizen.Network.WiFi.Tests } [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; } @@ -55,7 +55,7 @@ namespace Tizen.Network.WiFi.Tests [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 { diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSIAddressInformation.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSIAddressInformation.cs index 1d6080f..e286e0e 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSIAddressInformation.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSIAddressInformation.cs @@ -11,28 +11,28 @@ namespace Tizen.Network.Connection.Tests [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); @@ -45,7 +45,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -94,7 +94,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -143,7 +143,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -192,7 +192,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -243,7 +243,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -292,7 +292,7 @@ namespace Tizen.Network.Connection.Tests [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 @@ -315,7 +315,7 @@ namespace Tizen.Network.Connection.Tests 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; @@ -349,7 +349,7 @@ namespace Tizen.Network.Connection.Tests [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; @@ -397,7 +397,7 @@ namespace Tizen.Network.Connection.Tests [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; @@ -445,7 +445,7 @@ namespace Tizen.Network.Connection.Tests [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; @@ -493,7 +493,7 @@ namespace Tizen.Network.Connection.Tests [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; diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSProfileStateEventArgs.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSProfileStateEventArgs.cs index 252d91e..398f5ae 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSProfileStateEventArgs.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSProfileStateEventArgs.cs @@ -10,17 +10,17 @@ namespace Tizen.Network.Connection.Tests [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; @@ -28,18 +28,18 @@ namespace Tizen.Network.Connection.Tests } [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; } @@ -51,7 +51,7 @@ namespace Tizen.Network.Connection.Tests [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 diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSRssiLevelChangedEventArgs.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSRssiLevelChangedEventArgs.cs index 899ea12..2ec4949 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSRssiLevelChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSRssiLevelChangedEventArgs.cs @@ -10,17 +10,17 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -28,18 +28,18 @@ namespace Tizen.Network.WiFi.Tests } [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; } @@ -51,7 +51,7 @@ namespace Tizen.Network.WiFi.Tests [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 { diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSScanStateChangedEventArgs.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSScanStateChangedEventArgs.cs index 23bd1b8..153d841 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSScanStateChangedEventArgs.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSScanStateChangedEventArgs.cs @@ -10,17 +10,17 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -28,17 +28,17 @@ namespace Tizen.Network.WiFi.Tests } [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)) { diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiAP.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiAP.cs index dd7e8b2..c3f4a67 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiAP.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiAP.cs @@ -23,35 +23,35 @@ namespace Tizen.Network.WiFi.Tests [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(); } @@ -64,7 +64,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -101,7 +101,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -138,7 +138,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -175,7 +175,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -226,7 +226,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -295,7 +295,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -345,7 +345,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -385,7 +385,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -424,7 +424,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -476,7 +476,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -524,7 +524,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -571,7 +571,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -619,7 +619,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -672,7 +672,7 @@ namespace Tizen.Network.WiFi.Tests [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"); @@ -709,7 +709,7 @@ namespace Tizen.Network.WiFi.Tests [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"); diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiConfiguration.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiConfiguration.cs index d023fdc..cb8d5df 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiConfiguration.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiConfiguration.cs @@ -11,17 +11,17 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -29,12 +29,12 @@ namespace Tizen.Network.WiFi.Tests } [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); @@ -48,7 +48,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -105,7 +105,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -162,7 +162,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -219,7 +219,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -276,7 +276,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -333,7 +333,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -388,7 +388,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -443,7 +443,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -500,7 +500,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -557,7 +557,7 @@ namespace Tizen.Network.WiFi.Tests [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; diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiEap.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiEap.cs index b4c882f..1a5439f 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiEap.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiEap.cs @@ -22,30 +22,30 @@ namespace Tizen.Network.WiFi.Tests [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"); @@ -63,7 +63,7 @@ namespace Tizen.Network.WiFi.Tests } } - public static void setUp() + public void setUp() { //Console.WriteLine("HYUKIN Preconditions for each TEST"); //LogUtils.Write(LogUtils.INFO, LogUtils.TAG, "Preconditions for each TEST"); @@ -85,7 +85,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -122,7 +122,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -158,7 +158,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -197,7 +197,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -234,7 +234,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -271,7 +271,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -308,7 +308,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -344,7 +344,7 @@ namespace Tizen.Network.WiFi.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "MCST")] [Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")] - public static void IsPasswordSet_RETURN() + public void IsPasswordSet_RETURN() { try { @@ -387,7 +387,7 @@ namespace Tizen.Network.WiFi.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "PRW")] [Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")] - public static void EapType_PROPERTY() + public void EapType_PROPERTY() { try { @@ -423,7 +423,7 @@ namespace Tizen.Network.WiFi.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "PRW")] [Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")] - public static void AuthenticationType_PROPERTY() + public void AuthenticationType_PROPERTY() { try { @@ -459,7 +459,7 @@ namespace Tizen.Network.WiFi.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "PRW")] [Property("AUTHOR", "Nhu Anh, anh.vn@samsung.com")] - public static void CaCertificationFile_PROPERTY() + public void CaCertificationFile_PROPERTY() { try { diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiEapConfiguration.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiEapConfiguration.cs index 9f04f7f..62fea24 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiEapConfiguration.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiEapConfiguration.cs @@ -18,22 +18,22 @@ namespace Tizen.Network.WiFi.Tests 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"; @@ -42,14 +42,14 @@ namespace Tizen.Network.WiFi.Tests } [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(); @@ -66,7 +66,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -115,7 +115,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -163,7 +163,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -212,7 +212,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -260,7 +260,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -309,7 +309,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -357,7 +357,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -406,7 +406,7 @@ namespace Tizen.Network.WiFi.Tests [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 { diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiManager.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiManager.cs index 63340ac..7623d21 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiManager.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiManager.cs @@ -26,42 +26,42 @@ namespace Tizen.Network.WiFi.Tests [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) @@ -69,7 +69,7 @@ namespace Tizen.Network.WiFi.Tests 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; @@ -82,7 +82,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -122,7 +122,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -162,7 +162,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -203,7 +203,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -241,7 +241,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -286,7 +286,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -328,7 +328,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -367,7 +367,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -437,7 +437,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -487,7 +487,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -528,7 +528,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -568,7 +568,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -604,7 +604,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -638,7 +638,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -674,7 +674,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -716,7 +716,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -758,7 +758,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -802,7 +802,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -850,7 +850,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -889,7 +889,7 @@ namespace Tizen.Network.WiFi.Tests } } - public static void BackgroundScanFinished(object sender, EventArgs e) + public void BackgroundScanFinished(object sender, EventArgs e) { _flag = true; } @@ -901,7 +901,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -937,7 +937,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -966,7 +966,7 @@ namespace Tizen.Network.WiFi.Tests } } - public static void EventHandlerScanState(object sender, ScanStateChangedEventArgs State) + public void EventHandlerScanState(object sender, ScanStateChangedEventArgs State) { if (State.State == WiFiScanState.Scanning) _flag = true; diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiNetwork.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiNetwork.cs index 18e2d36..076eb9d 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiNetwork.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiNetwork.cs @@ -13,28 +13,28 @@ namespace Tizen.Network.WiFi.Tests [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); } @@ -46,7 +46,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -98,7 +98,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -152,7 +152,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -204,7 +204,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -251,7 +251,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -307,7 +307,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -358,7 +358,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -410,7 +410,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -461,7 +461,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -513,7 +513,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -565,7 +565,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -618,7 +618,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -671,7 +671,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -726,7 +726,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -780,7 +780,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -857,7 +857,7 @@ namespace Tizen.Network.WiFi.Tests [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; @@ -932,7 +932,7 @@ namespace Tizen.Network.WiFi.Tests [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 diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiProfile.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiProfile.cs index b3e981e..bbdf635 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiProfile.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiProfile.cs @@ -11,21 +11,21 @@ namespace Tizen.Network.Connection.Tests [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; @@ -37,7 +37,7 @@ namespace Tizen.Network.Connection.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Info(Globals.LogTag, "Preconditions for each TEST"); @@ -48,7 +48,7 @@ namespace Tizen.Network.Connection.Tests _wiFiProfile = null; } - public static async Task setUp() + public async Task setUp() { await networkSetup.ConnectWiFi(networkParameter.wnPRIVATE, networkParameter.wType.wPrivate, networkParameter.wPASS); _wiFiAp = WiFiManager.GetConnectedAP(); @@ -71,7 +71,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -123,7 +123,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -174,7 +174,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -228,7 +228,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -279,7 +279,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -332,7 +332,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -383,7 +383,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -434,7 +434,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -485,7 +485,7 @@ namespace Tizen.Network.Connection.Tests [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 { @@ -536,7 +536,7 @@ namespace Tizen.Network.Connection.Tests [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 { diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiSecurity.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiSecurity.cs index 457d5bb..9511e32 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiSecurity.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWiFiSecurity.cs @@ -9,39 +9,39 @@ namespace Tizen.Network.WiFi.Tests { [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); } @@ -53,7 +53,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -119,7 +119,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -183,7 +183,7 @@ namespace Tizen.Network.WiFi.Tests [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 { @@ -220,7 +220,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -273,7 +273,7 @@ namespace Tizen.Network.WiFi.Tests [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 @@ -321,7 +321,7 @@ namespace Tizen.Network.WiFi.Tests [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 diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWpsInfo.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWpsInfo.cs index 1f93595..2c2cc5a 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWpsInfo.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWpsInfo.cs @@ -8,18 +8,18 @@ namespace Tizen.Network.WiFi.Tests 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"); } @@ -31,7 +31,7 @@ namespace Tizen.Network.WiFi.Tests [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(info, "Creating WpsInfo is failed"); diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWpsPbcInfo.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWpsPbcInfo.cs index 9bffd6e..f3a44d0 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWpsPbcInfo.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWpsPbcInfo.cs @@ -8,18 +8,18 @@ namespace Tizen.Network.WiFi.Tests 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"); } @@ -31,7 +31,7 @@ namespace Tizen.Network.WiFi.Tests [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(info, "Creating WpsPbcInfo is failed"); diff --git a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWpsPinInfo.cs b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWpsPinInfo.cs index f0c0ba2..f384fec 100755 --- a/tct-suite-vs/Tizen.Network.Tests/testcase/TSWpsPinInfo.cs +++ b/tct-suite-vs/Tizen.Network.Tests/testcase/TSWpsPinInfo.cs @@ -8,18 +8,18 @@ namespace Tizen.Network.WiFi.Tests 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"); } @@ -32,7 +32,7 @@ namespace Tizen.Network.WiFi.Tests [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(info, "Creating WpsPinInfo is failed"); diff --git a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSHostCardEmulationEventArgs.cs b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSHostCardEmulationEventArgs.cs index c2a9cad..acf492c 100755 --- a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSHostCardEmulationEventArgs.cs +++ b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSHostCardEmulationEventArgs.cs @@ -26,19 +26,19 @@ namespace Tizen.Network.Nfc.Tests [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; @@ -56,7 +56,7 @@ namespace Tizen.Network.Nfc.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); @@ -66,7 +66,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -84,7 +84,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -132,7 +132,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -180,7 +180,7 @@ namespace Tizen.Network.Nfc.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNdefMessageDiscoveredEventArgs.cs b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNdefMessageDiscoveredEventArgs.cs index 9f56108..7b446dc 100755 --- a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNdefMessageDiscoveredEventArgs.cs +++ b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNdefMessageDiscoveredEventArgs.cs @@ -26,17 +26,17 @@ namespace Tizen.Network.Nfc.Tests [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; @@ -54,7 +54,7 @@ namespace Tizen.Network.Nfc.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); @@ -64,7 +64,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -81,7 +81,7 @@ namespace Tizen.Network.Nfc.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcCardEmulationAdapter.cs b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcCardEmulationAdapter.cs index 741ac15..c620145 100755 --- a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcCardEmulationAdapter.cs +++ b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcCardEmulationAdapter.cs @@ -27,26 +27,26 @@ namespace Tizen.Network.Nfc.Tests [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; @@ -67,7 +67,7 @@ namespace Tizen.Network.Nfc.Tests } } } - public static async Task WaitHceEventDeactivated() + public async Task WaitHceEventDeactivated() { int count = 0; _hceEventArgs = null; @@ -88,7 +88,7 @@ namespace Tizen.Network.Nfc.Tests } } } - public static async Task WaitHceEventApduReceived() + public async Task WaitHceEventApduReceived() { int count = 0; _hceEventArgs = null; @@ -110,7 +110,7 @@ namespace Tizen.Network.Nfc.Tests } } - public static async Task WaitSeEvent() + public async Task WaitSeEvent() { int count = 0; _hceEventArgs = null; @@ -128,7 +128,7 @@ namespace Tizen.Network.Nfc.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); @@ -138,7 +138,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -156,7 +156,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -207,7 +207,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -258,7 +258,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -308,7 +308,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -356,7 +356,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -413,7 +413,7 @@ namespace Tizen.Network.Nfc.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcManager.cs b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcManager.cs index f243974..3fefe7d 100755 --- a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcManager.cs +++ b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcManager.cs @@ -26,18 +26,18 @@ namespace Tizen.Network.Nfc.Tests [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; @@ -54,7 +54,7 @@ namespace Tizen.Network.Nfc.Tests } } - public static async Task WaitNdefMessageDiscovered() + public async Task WaitNdefMessageDiscovered() { int count = 0; _eventArgs = null; @@ -72,7 +72,7 @@ namespace Tizen.Network.Nfc.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); @@ -82,7 +82,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -99,7 +99,7 @@ namespace Tizen.Network.Nfc.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcP2p.cs b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcP2p.cs index b000578..dfffa25 100755 --- a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcP2p.cs +++ b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcP2p.cs @@ -26,24 +26,24 @@ namespace Tizen.Network.Nfc.Tests [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; @@ -60,7 +60,7 @@ namespace Tizen.Network.Nfc.Tests } } - public static async Task WaitDataReceived() + public async Task WaitDataReceived() { int count = 0; _p2pDataReceivedEventArgs = null; @@ -78,7 +78,7 @@ namespace Tizen.Network.Nfc.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); @@ -87,7 +87,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -104,7 +104,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -161,7 +161,7 @@ namespace Tizen.Network.Nfc.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcP2pAdapter.cs b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcP2pAdapter.cs index 6705fb9..725591c 100755 --- a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcP2pAdapter.cs +++ b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcP2pAdapter.cs @@ -26,17 +26,17 @@ namespace Tizen.Network.Nfc.Tests [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; @@ -54,7 +54,7 @@ namespace Tizen.Network.Nfc.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); @@ -63,7 +63,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -80,7 +80,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -129,7 +129,7 @@ namespace Tizen.Network.Nfc.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcSecureElement.cs b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcSecureElement.cs index b092cc1..c4cb871 100755 --- a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcSecureElement.cs +++ b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcSecureElement.cs @@ -26,18 +26,18 @@ namespace Tizen.Network.Nfc.Tests [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; @@ -55,7 +55,7 @@ namespace Tizen.Network.Nfc.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); @@ -65,7 +65,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -83,7 +83,7 @@ namespace Tizen.Network.Nfc.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcTag.cs b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcTag.cs index 8b5e98f..e54a7ca 100755 --- a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcTag.cs +++ b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcTag.cs @@ -27,18 +27,18 @@ namespace Tizen.Network.Nfc.Tests [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; @@ -56,7 +56,7 @@ namespace Tizen.Network.Nfc.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); @@ -65,7 +65,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -82,7 +82,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -130,7 +130,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -178,7 +178,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -226,7 +226,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -275,7 +275,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -330,7 +330,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -380,7 +380,7 @@ namespace Tizen.Network.Nfc.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcTagAdapter.cs b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcTagAdapter.cs index 83a7401..13581b9 100755 --- a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcTagAdapter.cs +++ b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcTagAdapter.cs @@ -26,18 +26,18 @@ namespace Tizen.Network.Nfc.Tests [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; @@ -55,7 +55,7 @@ namespace Tizen.Network.Nfc.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); @@ -64,7 +64,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -81,7 +81,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -132,7 +132,7 @@ namespace Tizen.Network.Nfc.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcTagInformation.cs b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcTagInformation.cs index b43878f..e551a5a 100755 --- a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcTagInformation.cs +++ b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSNfcTagInformation.cs @@ -27,18 +27,18 @@ namespace Tizen.Network.Nfc.Tests [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; @@ -56,7 +56,7 @@ namespace Tizen.Network.Nfc.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); @@ -65,7 +65,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -82,7 +82,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -142,7 +142,7 @@ namespace Tizen.Network.Nfc.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSP2pDataReceivedEventArgs.cs b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSP2pDataReceivedEventArgs.cs index e67ad69..3e28996 100755 --- a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSP2pDataReceivedEventArgs.cs +++ b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSP2pDataReceivedEventArgs.cs @@ -26,23 +26,23 @@ namespace Tizen.Network.Nfc.Tests [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; @@ -59,7 +59,7 @@ namespace Tizen.Network.Nfc.Tests } } - public static async Task WaitDataReceived() + public async Task WaitDataReceived() { int count = 0; _p2pDataReceivedEventArgs = null; @@ -77,7 +77,7 @@ namespace Tizen.Network.Nfc.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); @@ -86,7 +86,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -104,7 +104,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -162,7 +162,7 @@ namespace Tizen.Network.Nfc.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSP2pTargetDiscoveredEventArgs.cs b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSP2pTargetDiscoveredEventArgs.cs index 9382a2e..48544bc 100755 --- a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSP2pTargetDiscoveredEventArgs.cs +++ b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSP2pTargetDiscoveredEventArgs.cs @@ -26,17 +26,17 @@ namespace Tizen.Network.Nfc.Tests [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; @@ -54,7 +54,7 @@ namespace Tizen.Network.Nfc.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); @@ -63,7 +63,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -80,7 +80,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -127,7 +127,7 @@ namespace Tizen.Network.Nfc.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSSecureElementEventArgs.cs b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSSecureElementEventArgs.cs index 1b3b39a..1069933 100755 --- a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSSecureElementEventArgs.cs +++ b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSSecureElementEventArgs.cs @@ -26,18 +26,18 @@ namespace Tizen.Network.Nfc.Tests [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; @@ -55,7 +55,7 @@ namespace Tizen.Network.Nfc.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); @@ -64,7 +64,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -81,7 +81,7 @@ namespace Tizen.Network.Nfc.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSTagDiscoveredEventArgs.cs b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSTagDiscoveredEventArgs.cs index 0915c98..31e8649 100755 --- a/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSTagDiscoveredEventArgs.cs +++ b/tct-suite-vs/Tizen.Nfc.Manual.Tests/testcase/TSTagDiscoveredEventArgs.cs @@ -26,18 +26,18 @@ namespace Tizen.Network.Nfc.Tests [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; @@ -55,7 +55,7 @@ namespace Tizen.Network.Nfc.Tests } [SetUp] - public static void Init() + public void Init() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Preconditions for each TEST"); @@ -64,7 +64,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -81,7 +81,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -128,7 +128,7 @@ namespace Tizen.Network.Nfc.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcCardEmulationAdapter.cs b/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcCardEmulationAdapter.cs index ddfbf8f..906a323 100755 --- a/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcCardEmulationAdapter.cs +++ b/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcCardEmulationAdapter.cs @@ -10,12 +10,12 @@ namespace Tizen.Network.Nfc.Tests [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"); @@ -39,7 +39,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { Log.Debug("TCT", "[TestCase] nfc ce Posconditions for each TEST"); @@ -65,7 +65,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -87,7 +87,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -113,7 +113,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -179,7 +179,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -224,7 +224,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -247,7 +247,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -270,7 +270,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -293,7 +293,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -316,7 +316,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -339,7 +339,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -362,7 +362,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -588,7 +588,7 @@ namespace Tizen.Network.Nfc.Tests [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 diff --git a/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcManager.cs b/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcManager.cs index b058c34..e087aaa 100755 --- a/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcManager.cs +++ b/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcManager.cs @@ -10,14 +10,14 @@ namespace Tizen.Network.Nfc.Tests [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"); @@ -28,7 +28,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -40,7 +40,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -61,7 +61,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -81,7 +81,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -109,7 +109,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -137,7 +137,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -166,7 +166,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -187,7 +187,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -207,7 +207,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -227,7 +227,7 @@ namespace Tizen.Network.Nfc.Tests [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 diff --git a/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcNdefMessage.cs b/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcNdefMessage.cs index 5779ca4..e6b72f1 100755 --- a/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcNdefMessage.cs +++ b/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcNdefMessage.cs @@ -9,17 +9,17 @@ namespace Tizen.Network.Nfc.Tests [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"); } @@ -31,7 +31,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -59,7 +59,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -79,7 +79,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -108,7 +108,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -131,7 +131,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -162,7 +162,7 @@ namespace Tizen.Network.Nfc.Tests [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 diff --git a/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcNdefRecord.cs b/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcNdefRecord.cs index 82eaa50..cc19514 100755 --- a/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcNdefRecord.cs +++ b/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcNdefRecord.cs @@ -9,17 +9,17 @@ namespace Tizen.Network.Nfc.Tests [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"); } @@ -31,7 +31,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -62,7 +62,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -100,7 +100,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -132,7 +132,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -164,7 +164,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -191,7 +191,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -218,7 +218,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -245,7 +245,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -272,7 +272,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -301,7 +301,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -326,7 +326,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -348,7 +348,7 @@ namespace Tizen.Network.Nfc.Tests [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 @@ -370,7 +370,7 @@ namespace Tizen.Network.Nfc.Tests [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 diff --git a/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcRegisteredAidInformation.cs b/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcRegisteredAidInformation.cs index 581a023..77fcb86 100755 --- a/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcRegisteredAidInformation.cs +++ b/tct-suite-vs/Tizen.Nfc.Tests/testcase/TSNfcRegisteredAidInformation.cs @@ -19,12 +19,12 @@ namespace Tizen.Network.Nfc.Tests [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"); @@ -48,7 +48,7 @@ namespace Tizen.Network.Nfc.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); @@ -74,7 +74,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -104,7 +104,7 @@ namespace Tizen.Network.Nfc.Tests [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 { @@ -134,7 +134,7 @@ namespace Tizen.Network.Nfc.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nlp.Tests/testcase/TSNaturalLanguageProcess.cs b/tct-suite-vs/Tizen.Nlp.Tests/testcase/TSNaturalLanguageProcess.cs index b4d5d4b..157f242 100755 --- a/tct-suite-vs/Tizen.Nlp.Tests/testcase/TSNaturalLanguageProcess.cs +++ b/tct-suite-vs/Tizen.Nlp.Tests/testcase/TSNaturalLanguageProcess.cs @@ -47,7 +47,7 @@ namespace Tizen.Nlp.Tests { LogUtils.Write(LogUtils.DEBUG , LogUtils.TAG , "Postconditions for each TEST"); } - public static void Disconnected(object s,EventArgs e) { + public void Disconnected(object s,EventArgs e) { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "disconnected"); } diff --git a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationDeleteEventArgs.cs b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationDeleteEventArgs.cs index 4bd591a..e4e793c 100755 --- a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationDeleteEventArgs.cs +++ b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationDeleteEventArgs.cs @@ -31,21 +31,21 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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; } @@ -57,7 +57,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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(deleteEventArgs, "NotificationDeleteEventArgs object is not of correct instance"); @@ -70,7 +70,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { diff --git a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.AccessoryArgs.cs b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.AccessoryArgs.cs index 81bfff9..ebeae51 100755 --- a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.AccessoryArgs.cs +++ b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.AccessoryArgs.cs @@ -31,57 +31,57 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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; } @@ -93,7 +93,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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(accessoryArgs, "AccessoryArgs object is not of correct instance"); @@ -106,7 +106,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -145,7 +145,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -184,7 +184,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -223,7 +223,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -262,7 +262,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -300,7 +300,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -340,7 +340,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -380,7 +380,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -420,7 +420,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -460,7 +460,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -500,7 +500,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { diff --git a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ActiveStyleArgs.cs b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ActiveStyleArgs.cs index ceca6b5..71a773b 100755 --- a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ActiveStyleArgs.cs +++ b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ActiveStyleArgs.cs @@ -31,52 +31,52 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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(); _autoremove = style.IsAutoRemove; } - private static void ChangedEventForBackgroundImage(object sender, NotificationEventArgs args) + private void ChangedEventForBackgroundImage(object sender, NotificationEventArgs args) { NotificationEventArgs.ActiveStyleArgs style = args.GetStyle(); _backgroundimage = style.BackgroundImage; } - private static void ChangedEventForHideTimeout(object sender, NotificationEventArgs args) + private void ChangedEventForHideTimeout(object sender, NotificationEventArgs args) { NotificationEventArgs.ActiveStyleArgs style = args.GetStyle(); _hideTimeout = style.HideTimeout; } - private static void ChangedEventForDeleteTimeout(object sender, NotificationEventArgs args) + private void ChangedEventForDeleteTimeout(object sender, NotificationEventArgs args) { NotificationEventArgs.ActiveStyleArgs style = args.GetStyle(); _deleteTimeout = style.DeleteTimeout; } - private static void ChangedEventForButton(object sender, NotificationEventArgs args) + private void ChangedEventForButton(object sender, NotificationEventArgs args) { NotificationEventArgs.ActiveStyleArgs style = args.GetStyle(); @@ -86,34 +86,34 @@ namespace Tizen.Applications.NotificationEventListener.Tests } } - private static void ChangedEventForReply(object sender, NotificationEventArgs args) + private void ChangedEventForReply(object sender, NotificationEventArgs args) { NotificationEventArgs.ActiveStyleArgs style = args.GetStyle(); 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(); action = style.HiddenByUserAction; } - private static void ChangedEventForHiddenByTimeoutAction(object sender, NotificationEventArgs args) + private void ChangedEventForHiddenByTimeoutAction(object sender, NotificationEventArgs args) { NotificationEventArgs.ActiveStyleArgs style = args.GetStyle(); 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(); 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(); index = style.DefaultButton; @@ -126,7 +126,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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(activeStyle, "ActiveStyleArgs object is not of correct instance"); @@ -139,7 +139,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -178,7 +178,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -217,7 +217,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -257,7 +257,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -297,7 +297,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -348,7 +348,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -401,7 +401,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -442,7 +442,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -479,7 +479,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -522,7 +522,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -562,7 +562,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -602,7 +602,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -642,7 +642,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { diff --git a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ButtonActionArgs.cs b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ButtonActionArgs.cs index 814a4e7..1ea2e0b 100755 --- a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ButtonActionArgs.cs +++ b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ButtonActionArgs.cs @@ -31,24 +31,24 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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(); @@ -58,7 +58,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests } } - private static void ChangedEventForButtonText(object sender, NotificationEventArgs args) + private void ChangedEventForButtonText(object sender, NotificationEventArgs args) { NotificationEventArgs.ActiveStyleArgs style = args.GetStyle(); @@ -68,7 +68,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests } } - private static void ChangedEventForButtonImagePath(object sender, NotificationEventArgs args) + private void ChangedEventForButtonImagePath(object sender, NotificationEventArgs args) { NotificationEventArgs.ActiveStyleArgs style = args.GetStyle(); @@ -78,7 +78,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests } } - private static void ChangedEventForButtonAction(object sender, NotificationEventArgs args) + private void ChangedEventForButtonAction(object sender, NotificationEventArgs args) { NotificationEventArgs.ActiveStyleArgs style = args.GetStyle(); @@ -95,7 +95,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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(button, "ButtonActionArgs object is not of correct instance"); @@ -108,7 +108,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -159,7 +159,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -212,7 +212,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -263,7 +263,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -314,7 +314,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -365,7 +365,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { diff --git a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.IndicatorStyleArgs.cs b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.IndicatorStyleArgs.cs index ff0b445..9e31f2e 100755 --- a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.IndicatorStyleArgs.cs +++ b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.IndicatorStyleArgs.cs @@ -31,28 +31,28 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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(); _iconpath = style.IconPath; } - private static void ChangedEventForSubText(object sender, NotificationEventArgs args) + private void ChangedEventForSubText(object sender, NotificationEventArgs args) { NotificationEventArgs.IndicatorStyleArgs style = args.GetStyle(); _subtext = style.SubText; @@ -65,7 +65,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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(indicatorStyle, "IndicatorStyleArgs object is not of correct instance"); @@ -78,7 +78,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -117,7 +117,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { diff --git a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.LockStyleArgs.cs b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.LockStyleArgs.cs index 73f8fea..04aacb7 100755 --- a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.LockStyleArgs.cs +++ b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.LockStyleArgs.cs @@ -31,28 +31,28 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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(); _iconpath = style.IconPath; } - private static void ChangedEventForThumbnail(object sender, NotificationEventArgs args) + private void ChangedEventForThumbnail(object sender, NotificationEventArgs args) { NotificationEventArgs.LockStyleArgs style = args.GetStyle(); _thumbnail = style.Thumbnail; @@ -65,7 +65,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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(lockStyle, "LockStyleArgs object is not of correct instance"); @@ -78,7 +78,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -117,7 +117,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { diff --git a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ProgressArgs.cs b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ProgressArgs.cs index 72afb7b..b1fc1f7 100755 --- a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ProgressArgs.cs +++ b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ProgressArgs.cs @@ -30,33 +30,33 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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; } @@ -68,7 +68,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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(progress, "ProgressArgs object is not of correct instance"); @@ -81,7 +81,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -117,7 +117,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -153,7 +153,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -189,7 +189,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -225,7 +225,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { diff --git a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ReplyActionArgs.cs b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ReplyActionArgs.cs index cf6f41e..89b6194 100755 --- a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ReplyActionArgs.cs +++ b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.ReplyActionArgs.cs @@ -31,45 +31,45 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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.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.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.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.ReplyActionArgs action = style.Reply; @@ -85,7 +85,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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(reply, "ReplyActionArgs object is not of correct instance"); @@ -98,7 +98,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -150,7 +150,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -202,7 +202,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -254,7 +254,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -306,7 +306,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -358,7 +358,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { diff --git a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.cs b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.cs index f274835..ca51a88 100755 --- a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.cs +++ b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationEventArgs.cs @@ -32,114 +32,114 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 _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 _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) @@ -148,7 +148,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests } } - private static void ChangedEventForGetExtraData(object sender, NotificationEventArgs args) + private void ChangedEventForGetExtraData(object sender, NotificationEventArgs args) { _ExtraDataKey = args.ExtraDataKey; foreach (string key in _ExtraDataKey) @@ -157,7 +157,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests } } - private static void ChangedEventForGetStyle(object sender, NotificationEventArgs args) + private void ChangedEventForGetStyle(object sender, NotificationEventArgs args) { _style = args.GetStyle(); } @@ -169,7 +169,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 object is not of correct instance"); @@ -182,7 +182,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -215,7 +215,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -248,7 +248,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -281,7 +281,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -314,7 +314,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -347,7 +347,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -380,7 +380,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -413,7 +413,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -446,7 +446,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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; @@ -482,7 +482,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -516,7 +516,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -553,7 +553,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -587,7 +587,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -621,7 +621,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -655,7 +655,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -689,7 +689,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -728,7 +728,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -768,7 +768,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -805,7 +805,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -844,7 +844,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -882,7 +882,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -920,7 +920,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { diff --git a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationListenerManager.cs b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationListenerManager.cs index df183e7..552f732 100755 --- a/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationListenerManager.cs +++ b/tct-suite-vs/Tizen.NotificationEventListener.Tests/testcase/TSNotificationListenerManager.cs @@ -31,26 +31,26 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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; @@ -58,17 +58,17 @@ namespace Tizen.Applications.NotificationEventListener.Tests _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; @@ -81,7 +81,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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(manager, "NotificationListenerManager object is not of correct instance"); @@ -94,7 +94,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -129,7 +129,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -170,7 +170,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -207,7 +207,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -248,7 +248,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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(() => NotificationListenerManager.Delete(null, -1)); } @@ -260,7 +260,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { @@ -302,7 +302,7 @@ namespace Tizen.Applications.NotificationEventListener.Tests [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 { diff --git a/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.AccessorySet.cs b/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.AccessorySet.cs index 5fb745b..ccfb5d7 100755 --- a/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.AccessorySet.cs +++ b/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.AccessorySet.cs @@ -13,12 +13,12 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -26,7 +26,7 @@ namespace Tizen.Applications.Notifications.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); } @@ -40,7 +40,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -78,7 +78,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -122,7 +122,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -161,7 +161,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -214,7 +214,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { diff --git a/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.ActiveStyle.cs b/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.ActiveStyle.cs index 123225a..b91b9d5 100755 --- a/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.ActiveStyle.cs +++ b/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.ActiveStyle.cs @@ -10,19 +10,19 @@ namespace Tizen.Applications.Notifications.Tests [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"); } @@ -40,7 +40,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -97,7 +97,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -160,7 +160,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { diff --git a/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.IndicatorStyle.cs b/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.IndicatorStyle.cs index 9e40547..3fbc073 100755 --- a/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.IndicatorStyle.cs +++ b/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.IndicatorStyle.cs @@ -10,19 +10,19 @@ namespace Tizen.Applications.Notifications.Tests [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"); } @@ -37,7 +37,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -72,7 +72,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { diff --git a/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.LockStyle.cs b/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.LockStyle.cs index 977d460..092cbea 100755 --- a/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.LockStyle.cs +++ b/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.LockStyle.cs @@ -11,18 +11,18 @@ namespace Tizen.Applications.Notifications.Tests [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"); } @@ -38,7 +38,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -85,7 +85,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { diff --git a/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.ProgressType.cs b/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.ProgressType.cs index 29bf606..4f52ce1 100755 --- a/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.ProgressType.cs +++ b/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.ProgressType.cs @@ -11,22 +11,22 @@ namespace Tizen.Applications.Notifications.Tests [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) @@ -55,7 +55,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -94,7 +94,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { diff --git a/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.cs b/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.cs index b60c62c..89ef2fd 100755 --- a/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.cs +++ b/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotification.cs @@ -10,18 +10,18 @@ namespace Tizen.Applications.Notifications.Tests [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"); } @@ -36,7 +36,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -68,7 +68,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -103,7 +103,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -141,7 +141,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -180,7 +180,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -219,7 +219,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -256,7 +256,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -294,7 +294,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -331,7 +331,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -374,7 +374,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -418,7 +418,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { diff --git a/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotificationManager.cs b/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotificationManager.cs index 42a4139..92dea01 100755 --- a/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotificationManager.cs +++ b/tct-suite-vs/Tizen.Notifications.Manual.Tests/testcase/TSNotificationManager.cs @@ -11,19 +11,19 @@ namespace Tizen.Applications.Notifications.Tests [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"); } @@ -37,7 +37,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -73,7 +73,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -133,7 +133,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -177,7 +177,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -229,7 +229,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -284,7 +284,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -318,7 +318,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -348,7 +348,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { @@ -376,7 +376,7 @@ namespace Tizen.Applications.Notifications.Tests [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) { diff --git a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.AccessorySet.cs b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.AccessorySet.cs index b22ccfb..35b8a89 100755 --- a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.AccessorySet.cs +++ b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.AccessorySet.cs @@ -19,11 +19,11 @@ namespace Tizen.Applications.Notifications.Tests public class NotificationAccessorySetTests { [SetUp] - public static void Init() { + public void Init() { } [TearDown] - public static void Destroy() { + public void Destroy() { } [Test] @@ -33,7 +33,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -47,7 +47,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -65,7 +65,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -81,7 +81,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -99,7 +99,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -117,7 +117,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -135,7 +135,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -153,7 +153,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -171,7 +171,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -187,7 +187,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -205,7 +205,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -221,7 +221,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -239,7 +239,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -257,7 +257,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -275,7 +275,7 @@ namespace Tizen.Applications.Notifications.Tests [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 */ @@ -293,7 +293,7 @@ namespace Tizen.Applications.Notifications.Tests [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 */ @@ -311,7 +311,7 @@ namespace Tizen.Applications.Notifications.Tests [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 */ diff --git a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ActiveStyle.cs b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ActiveStyle.cs index da3239d..ae65b27 100755 --- a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ActiveStyle.cs +++ b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ActiveStyle.cs @@ -18,12 +18,12 @@ namespace Tizen.Applications.Notifications.Tests public class NotificationActiveStyleTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -34,7 +34,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -48,7 +48,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -66,7 +66,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -82,7 +82,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -100,7 +100,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -116,7 +116,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -134,7 +134,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -152,7 +152,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -170,7 +170,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -188,7 +188,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -206,7 +206,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -226,7 +226,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -246,7 +246,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -266,7 +266,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -290,7 +290,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -311,7 +311,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -339,7 +339,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -360,7 +360,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -384,7 +384,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -407,7 +407,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -425,7 +425,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -443,7 +443,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -461,7 +461,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -485,7 +485,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -503,7 +503,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -521,7 +521,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -539,7 +539,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -558,7 +558,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -576,7 +576,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -595,7 +595,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ButtonAction.cs b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ButtonAction.cs index 25a4b06..f56e5a1 100755 --- a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ButtonAction.cs +++ b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ButtonAction.cs @@ -17,12 +17,12 @@ namespace Tizen.Applications.Notifications.Tests public class NotificationButtonActionTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -33,7 +33,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -47,7 +47,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -65,7 +65,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -83,7 +83,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -101,7 +101,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -119,7 +119,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -137,7 +137,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -155,7 +155,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -173,7 +173,7 @@ namespace Tizen.Applications.Notifications.Tests [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" }; diff --git a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.IndicatorStyle.cs b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.IndicatorStyle.cs index 6c7dd53..e6190a2 100755 --- a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.IndicatorStyle.cs +++ b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.IndicatorStyle.cs @@ -18,13 +18,13 @@ namespace Tizen.Applications.Notifications.Tests public class NotificationIndicatorStyleTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -35,7 +35,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -49,7 +49,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -67,7 +67,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; diff --git a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.LockStyle.cs b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.LockStyle.cs index 098c7f3..f6d7d46 100755 --- a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.LockStyle.cs +++ b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.LockStyle.cs @@ -18,13 +18,13 @@ namespace Tizen.Applications.Notifications.Tests public class NotificationLockStyleTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -35,7 +35,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -49,7 +49,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -67,7 +67,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; diff --git a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ProgressType.cs b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ProgressType.cs index 1cdf4f4..9aacc55 100755 --- a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ProgressType.cs +++ b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ProgressType.cs @@ -18,13 +18,13 @@ namespace Tizen.Applications.Notifications.Tests public class NotificationProgressTypeTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -35,7 +35,7 @@ namespace Tizen.Applications.Notifications.Tests [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); @@ -49,7 +49,7 @@ namespace Tizen.Applications.Notifications.Tests [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 @@ -70,7 +70,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -88,7 +88,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -106,7 +106,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -124,7 +124,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -142,7 +142,7 @@ namespace Tizen.Applications.Notifications.Tests [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); @@ -166,7 +166,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -184,7 +184,7 @@ namespace Tizen.Applications.Notifications.Tests [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); diff --git a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ReplyAction.cs b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ReplyAction.cs index d8c2096..750c83c 100755 --- a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ReplyAction.cs +++ b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.ReplyAction.cs @@ -17,13 +17,13 @@ namespace Tizen.Applications.Notifications.Tests public class NotificationReplyActionTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -34,7 +34,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -48,7 +48,7 @@ namespace Tizen.Applications.Notifications.Tests [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 */ @@ -66,7 +66,7 @@ namespace Tizen.Applications.Notifications.Tests [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 */ @@ -84,7 +84,7 @@ namespace Tizen.Applications.Notifications.Tests [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 */ @@ -102,7 +102,7 @@ namespace Tizen.Applications.Notifications.Tests [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 */ @@ -120,7 +120,7 @@ namespace Tizen.Applications.Notifications.Tests [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 */ @@ -138,7 +138,7 @@ namespace Tizen.Applications.Notifications.Tests [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 */ @@ -156,7 +156,7 @@ namespace Tizen.Applications.Notifications.Tests [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 */ @@ -173,7 +173,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.cs b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.cs index 360e968..369243b 100755 --- a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.cs +++ b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotification.cs @@ -18,13 +18,13 @@ namespace Tizen.Applications.Notifications.Tests public class NotificationTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -35,7 +35,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -49,7 +49,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -67,7 +67,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -85,7 +85,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -103,7 +103,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -121,7 +121,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -139,7 +139,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -155,7 +155,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -173,7 +173,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -191,7 +191,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -211,7 +211,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -229,7 +229,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -254,7 +254,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -272,7 +272,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -288,7 +288,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -306,7 +306,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -324,7 +324,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -342,7 +342,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -360,7 +360,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -384,7 +384,7 @@ namespace Tizen.Applications.Notifications.Tests [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); @@ -401,7 +401,7 @@ namespace Tizen.Applications.Notifications.Tests [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; @@ -420,7 +420,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -435,7 +435,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -458,7 +458,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -481,7 +481,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -504,7 +504,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -527,7 +527,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -551,7 +551,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -575,7 +575,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -599,7 +599,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -623,7 +623,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -647,7 +647,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -681,7 +681,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -706,7 +706,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -734,7 +734,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -755,7 +755,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -780,7 +780,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -804,7 +804,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotificationManager.cs b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotificationManager.cs index 7d104ac..be338a2 100755 --- a/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotificationManager.cs +++ b/tct-suite-vs/Tizen.Notifications.Tests/testcase/TSNotificationManager.cs @@ -19,12 +19,12 @@ namespace Tizen.Applications.Notifications.Tests public class NotificationManagerTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -35,7 +35,7 @@ namespace Tizen.Applications.Notifications.Tests [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(); @@ -58,7 +58,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -103,7 +103,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -146,7 +146,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -183,7 +183,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -219,7 +219,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -246,7 +246,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -272,7 +272,7 @@ namespace Tizen.Applications.Notifications.Tests [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 @@ -293,7 +293,7 @@ namespace Tizen.Applications.Notifications.Tests [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 @@ -314,7 +314,7 @@ namespace Tizen.Applications.Notifications.Tests [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 @@ -335,7 +335,7 @@ namespace Tizen.Applications.Notifications.Tests [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 @@ -356,7 +356,7 @@ namespace Tizen.Applications.Notifications.Tests [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"; @@ -381,7 +381,7 @@ namespace Tizen.Applications.Notifications.Tests [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 @@ -402,7 +402,7 @@ namespace Tizen.Applications.Notifications.Tests [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 diff --git a/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSDnssdBrowser.cs b/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSDnssdBrowser.cs index ee0c7e2..c21a6ac 100755 --- a/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSDnssdBrowser.cs +++ b/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSDnssdBrowser.cs @@ -19,11 +19,11 @@ namespace Tizen.Network.Nsd.Tests [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); @@ -33,7 +33,7 @@ namespace Tizen.Network.Nsd.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST"); } @@ -52,7 +52,7 @@ namespace Tizen.Network.Nsd.Tests [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) { @@ -108,7 +108,7 @@ namespace Tizen.Network.Nsd.Tests [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) { @@ -164,7 +164,7 @@ namespace Tizen.Network.Nsd.Tests [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) { diff --git a/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSDnssdService.cs b/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSDnssdService.cs index aa2f525..fac42c0 100755 --- a/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSDnssdService.cs +++ b/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSDnssdService.cs @@ -19,11 +19,11 @@ namespace Tizen.Network.Nsd.Tests [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); @@ -33,7 +33,7 @@ namespace Tizen.Network.Nsd.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST"); } @@ -52,7 +52,7 @@ namespace Tizen.Network.Nsd.Tests [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) { @@ -106,7 +106,7 @@ namespace Tizen.Network.Nsd.Tests [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) { diff --git a/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSDnssdServiceFoundEventArgs.cs b/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSDnssdServiceFoundEventArgs.cs index 8185731..cd9a5fe 100755 --- a/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSDnssdServiceFoundEventArgs.cs +++ b/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSDnssdServiceFoundEventArgs.cs @@ -19,11 +19,11 @@ namespace Tizen.Network.Nsd.Tests [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); @@ -33,7 +33,7 @@ namespace Tizen.Network.Nsd.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST"); } @@ -52,7 +52,7 @@ namespace Tizen.Network.Nsd.Tests [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) { @@ -108,7 +108,7 @@ namespace Tizen.Network.Nsd.Tests [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) { diff --git a/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSIPAddressInformation.cs b/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSIPAddressInformation.cs index b96b736..ba100c3 100755 --- a/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSIPAddressInformation.cs +++ b/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSIPAddressInformation.cs @@ -20,11 +20,11 @@ namespace Tizen.Network.Nsd.Tests [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); @@ -34,7 +34,7 @@ namespace Tizen.Network.Nsd.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST"); } @@ -53,7 +53,7 @@ namespace Tizen.Network.Nsd.Tests [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) { @@ -110,7 +110,7 @@ namespace Tizen.Network.Nsd.Tests [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) { diff --git a/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSSsdpBrowser.cs b/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSSsdpBrowser.cs index 0cbeb56..a7644d0 100755 --- a/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSSsdpBrowser.cs +++ b/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSSsdpBrowser.cs @@ -19,11 +19,11 @@ namespace Tizen.Network.Nsd.Tests [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); @@ -33,7 +33,7 @@ namespace Tizen.Network.Nsd.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST"); } @@ -52,7 +52,7 @@ namespace Tizen.Network.Nsd.Tests [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) { @@ -108,7 +108,7 @@ namespace Tizen.Network.Nsd.Tests [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) { @@ -164,7 +164,7 @@ namespace Tizen.Network.Nsd.Tests [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) { diff --git a/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSSsdpService.cs b/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSSsdpService.cs index cb3afc7..a4ec85a 100755 --- a/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSSsdpService.cs +++ b/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSSsdpService.cs @@ -19,11 +19,11 @@ namespace Tizen.Network.Nsd.Tests [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); @@ -33,7 +33,7 @@ namespace Tizen.Network.Nsd.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST"); } @@ -48,7 +48,7 @@ namespace Tizen.Network.Nsd.Tests [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) { diff --git a/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSSsdpServiceFoundEventArgs.cs b/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSSsdpServiceFoundEventArgs.cs index ff2257b..e58ad72 100755 --- a/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSSsdpServiceFoundEventArgs.cs +++ b/tct-suite-vs/Tizen.Nsd.Manual.Tests/testcase/TSSsdpServiceFoundEventArgs.cs @@ -19,11 +19,11 @@ namespace Tizen.Network.Nsd.Tests [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); @@ -33,7 +33,7 @@ namespace Tizen.Network.Nsd.Tests } [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.INFO, "Postconditions for each TEST"); } @@ -52,7 +52,7 @@ namespace Tizen.Network.Nsd.Tests [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) { @@ -108,7 +108,7 @@ namespace Tizen.Network.Nsd.Tests [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) { diff --git a/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSDnssdBrowser.cs b/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSDnssdBrowser.cs index a90ccdd..29cefbf 100755 --- a/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSDnssdBrowser.cs +++ b/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSDnssdBrowser.cs @@ -25,11 +25,11 @@ namespace Tizen.Network.Nsd.Tests [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); } @@ -41,7 +41,7 @@ namespace Tizen.Network.Nsd.Tests [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 */ @@ -64,7 +64,7 @@ namespace Tizen.Network.Nsd.Tests [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 diff --git a/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSDnssdService.cs b/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSDnssdService.cs index 74709a5..df083e6 100755 --- a/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSDnssdService.cs +++ b/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSDnssdService.cs @@ -25,11 +25,11 @@ namespace Tizen.Network.Nsd.Tests [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); } @@ -41,7 +41,7 @@ namespace Tizen.Network.Nsd.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "CONSTR")] [Property("AUTHOR", "Shikha, shikha.ta@samsung.com")] - public static void DnssdService_INIT() + public void DnssdService_INIT() { try { @@ -65,7 +65,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -85,7 +85,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -119,7 +119,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -151,7 +151,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -180,7 +180,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -212,7 +212,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -246,7 +246,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -286,7 +286,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -316,7 +316,7 @@ namespace Tizen.Network.Nsd.Tests [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; @@ -364,7 +364,7 @@ namespace Tizen.Network.Nsd.Tests [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; @@ -407,7 +407,7 @@ namespace Tizen.Network.Nsd.Tests [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; @@ -442,7 +442,7 @@ namespace Tizen.Network.Nsd.Tests [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; @@ -490,7 +490,7 @@ namespace Tizen.Network.Nsd.Tests [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; @@ -535,7 +535,7 @@ namespace Tizen.Network.Nsd.Tests [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; @@ -579,7 +579,7 @@ namespace Tizen.Network.Nsd.Tests [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; @@ -618,7 +618,7 @@ namespace Tizen.Network.Nsd.Tests [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 { diff --git a/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSSsdpBrowser.cs b/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSSsdpBrowser.cs index 4f13155..0ce65f9 100755 --- a/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSSsdpBrowser.cs +++ b/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSSsdpBrowser.cs @@ -25,11 +25,11 @@ namespace Tizen.Network.Nsd.Tests [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); } @@ -41,7 +41,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -62,7 +62,7 @@ namespace Tizen.Network.Nsd.Tests [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 diff --git a/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSSsdpService.cs b/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSSsdpService.cs index 3f08c2d..5486046 100755 --- a/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSSsdpService.cs +++ b/tct-suite-vs/Tizen.Nsd.Tests/testcase/TSSsdpService.cs @@ -25,11 +25,11 @@ namespace Tizen.Network.Nsd.Tests [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); } @@ -41,7 +41,7 @@ namespace Tizen.Network.Nsd.Tests [Property("SPEC_URL", "-")] [Property("CRITERIA", "CONSTR")] [Property("AUTHOR", "Shikha, shikha.ta@samsung.com")] - public static void SsdpService_INIT() + public void SsdpService_INIT() { try { @@ -65,7 +65,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -85,7 +85,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -119,7 +119,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -151,7 +151,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -180,7 +180,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -212,7 +212,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -246,7 +246,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -278,7 +278,7 @@ namespace Tizen.Network.Nsd.Tests [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 @@ -307,7 +307,7 @@ namespace Tizen.Network.Nsd.Tests [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; @@ -351,7 +351,7 @@ namespace Tizen.Network.Nsd.Tests [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; @@ -388,7 +388,7 @@ namespace Tizen.Network.Nsd.Tests [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; @@ -427,7 +427,7 @@ namespace Tizen.Network.Nsd.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSAuthorizationResponse.cs b/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSAuthorizationResponse.cs index e914551..3cb6622 100755 --- a/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSAuthorizationResponse.cs +++ b/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSAuthorizationResponse.cs @@ -19,12 +19,12 @@ namespace Tizen.Account.OAuth2.Tests public class AuthorizationResponseTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -39,7 +39,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -84,7 +84,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -129,7 +129,7 @@ namespace Tizen.Account.OAuth2.Tests [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 diff --git a/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSClientCredentialsAuthorizer.cs b/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSClientCredentialsAuthorizer.cs index 0c5b58e..5d27b07 100755 --- a/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSClientCredentialsAuthorizer.cs +++ b/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSClientCredentialsAuthorizer.cs @@ -18,12 +18,12 @@ namespace Tizen.Account.OAuth2.Tests public class ClientCredentialsAuthorizerTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -38,7 +38,7 @@ namespace Tizen.Account.OAuth2.Tests [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 diff --git a/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSCodeGrantAuthorizer.cs b/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSCodeGrantAuthorizer.cs index cd7b6e0..218c474 100755 --- a/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSCodeGrantAuthorizer.cs +++ b/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSCodeGrantAuthorizer.cs @@ -18,12 +18,12 @@ namespace Tizen.Account.OAuth2.Tests public class CodeGrantAuthorizerTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -38,7 +38,7 @@ namespace Tizen.Account.OAuth2.Tests [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"); @@ -75,7 +75,7 @@ namespace Tizen.Account.OAuth2.Tests [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"); diff --git a/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSImplicitGrantAuthorizer.cs b/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSImplicitGrantAuthorizer.cs index d4c7b2b..28a3b3b 100755 --- a/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSImplicitGrantAuthorizer.cs +++ b/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/TSImplicitGrantAuthorizer.cs @@ -18,12 +18,12 @@ namespace Tizen.Account.OAuth2.Tests public class ImplicitGrantAuthorizerTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -38,7 +38,7 @@ namespace Tizen.Account.OAuth2.Tests [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 diff --git a/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/support/TestHelper.cs b/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/support/TestHelper.cs index 98d848b..4eead67 100755 --- a/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/support/TestHelper.cs +++ b/tct-suite-vs/Tizen.OAuth2.Manual.Tests/testcase/support/TestHelper.cs @@ -11,7 +11,7 @@ using System; 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"; @@ -124,7 +124,7 @@ namespace Tizen.Account.OAuth2.Tests }; } - internal static ResourceOwnerPwdCredentialsTokenRequest CreateRoPwdTokenRequest(bool dummy = false) + internal ResourceOwnerPwdCredentialsTokenRequest CreateRoPwdTokenRequest(bool dummy = false) { return new ResourceOwnerPwdCredentialsTokenRequest() { @@ -142,7 +142,7 @@ namespace Tizen.Account.OAuth2.Tests }; } - internal static RefreshTokenRequest CreateRefreshTokenRequest(bool dummy = false) + internal RefreshTokenRequest CreateRefreshTokenRequest(bool dummy = false) { return new RefreshTokenRequest() { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSAccessToken.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSAccessToken.cs index ee65fe8..1e81377 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSAccessToken.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSAccessToken.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -85,7 +85,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -131,7 +131,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -177,7 +177,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSAuthorizationRequest.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSAuthorizationRequest.cs index 3ca49ff..ce57b20 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSAuthorizationRequest.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSAuthorizationRequest.cs @@ -19,11 +19,11 @@ namespace Tizen.Account.OAuth2.Tests [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); @@ -42,7 +42,7 @@ namespace Tizen.Account.OAuth2.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _requests = null; } @@ -54,7 +54,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -77,7 +77,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -103,7 +103,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -133,7 +133,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -160,7 +160,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -187,7 +187,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -213,7 +213,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -243,7 +243,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -268,7 +268,7 @@ namespace Tizen.Account.OAuth2.Tests [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 diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSAuthorizer.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSAuthorizer.cs index 51b5e23..d209649 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSAuthorizer.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSAuthorizer.cs @@ -18,11 +18,11 @@ namespace Tizen.Account.OAuth2.Tests [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); @@ -44,7 +44,7 @@ namespace Tizen.Account.OAuth2.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _authorizers = null; } @@ -56,7 +56,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -90,7 +90,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -114,7 +114,7 @@ namespace Tizen.Account.OAuth2.Tests [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 diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSClientCredentials.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSClientCredentials.cs index 87505d7..0819bd0 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSClientCredentials.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSClientCredentials.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -69,7 +69,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -101,7 +101,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSClientCredentialsAuthorizer.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSClientCredentialsAuthorizer.cs index c34031b..6958458 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSClientCredentialsAuthorizer.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSClientCredentialsAuthorizer.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -69,7 +69,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -105,7 +105,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -140,7 +140,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSClientCredentialsTokenRequest.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSClientCredentialsTokenRequest.cs index e3038ff..badc1ef 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSClientCredentialsTokenRequest.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSClientCredentialsTokenRequest.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -69,7 +69,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSCodeGrantAuthorizationRequest.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSCodeGrantAuthorizationRequest.cs index 5df812e..1426cf2 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSCodeGrantAuthorizationRequest.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSCodeGrantAuthorizationRequest.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -69,7 +69,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSCodeGrantAuthorizer.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSCodeGrantAuthorizer.cs index e6f4033..b84ff5c 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSCodeGrantAuthorizer.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSCodeGrantAuthorizer.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -70,7 +70,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -109,7 +109,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -148,7 +148,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -184,7 +184,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSCodeGrantTokenRequest.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSCodeGrantTokenRequest.cs index 813eff2..e0a3e01 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSCodeGrantTokenRequest.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSCodeGrantTokenRequest.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -69,7 +69,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -99,7 +99,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSImplicitGrantAuthorizationRequest.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSImplicitGrantAuthorizationRequest.cs index 019a3f7..8d40c90 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSImplicitGrantAuthorizationRequest.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSImplicitGrantAuthorizationRequest.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -69,7 +69,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSImplicitGrantAuthorizer.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSImplicitGrantAuthorizer.cs index 835ebef..4499c7c 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSImplicitGrantAuthorizer.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSImplicitGrantAuthorizer.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -70,7 +70,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -109,7 +109,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -144,7 +144,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSOAuth2ErrorResponse.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSOAuth2ErrorResponse.cs index 93ae521..894b14f 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSOAuth2ErrorResponse.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSOAuth2ErrorResponse.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -83,7 +83,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -126,7 +126,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -170,7 +170,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSOAuth2Exception.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSOAuth2Exception.cs index 4e0fbf2..718a900 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSOAuth2Exception.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSOAuth2Exception.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSRefreshToken.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSRefreshToken.cs index 88e3f97..a7f6c47 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSRefreshToken.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSRefreshToken.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSRefreshTokenRequest.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSRefreshTokenRequest.cs index 11b1968..0648c68 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSRefreshTokenRequest.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSRefreshTokenRequest.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -70,7 +70,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -100,7 +100,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSResourceOwnerPwdCredentialsAuthorizer.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSResourceOwnerPwdCredentialsAuthorizer.cs index 7a76ef7..fc75fdb 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSResourceOwnerPwdCredentialsAuthorizer.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSResourceOwnerPwdCredentialsAuthorizer.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -71,7 +71,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -106,7 +106,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -145,7 +145,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSResourceOwnerPwdCredentialsTokenRequest.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSResourceOwnerPwdCredentialsTokenRequest.cs index 863e0ed..8db2da5 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSResourceOwnerPwdCredentialsTokenRequest.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSResourceOwnerPwdCredentialsTokenRequest.cs @@ -18,17 +18,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -39,7 +39,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -68,7 +68,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -99,7 +99,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -130,7 +130,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSTokenRequest.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSTokenRequest.cs index edf1a71..1b9b269 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSTokenRequest.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSTokenRequest.cs @@ -19,11 +19,11 @@ namespace Tizen.Account.OAuth2.Tests [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); @@ -45,7 +45,7 @@ namespace Tizen.Account.OAuth2.Tests } [TearDown] - public static void Destroy() + public void Destroy() { _requests = null; } @@ -57,7 +57,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -80,7 +80,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -114,7 +114,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -144,7 +144,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -171,7 +171,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -197,7 +197,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -226,7 +226,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -256,7 +256,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -280,7 +280,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -305,7 +305,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -330,7 +330,7 @@ namespace Tizen.Account.OAuth2.Tests [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 @@ -355,7 +355,7 @@ namespace Tizen.Account.OAuth2.Tests [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 diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSTokenResponse.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSTokenResponse.cs index af45c4a..d0a97f9 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSTokenResponse.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/TSTokenResponse.cs @@ -19,17 +19,17 @@ namespace Tizen.Account.OAuth2.Tests [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() { } @@ -40,7 +40,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -85,7 +85,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -129,7 +129,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { @@ -173,7 +173,7 @@ namespace Tizen.Account.OAuth2.Tests [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 { diff --git a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/support/TestHelper.cs b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/support/TestHelper.cs index 320036e..0cdecd0 100755 --- a/tct-suite-vs/Tizen.OAuth2.Tests/testcase/support/TestHelper.cs +++ b/tct-suite-vs/Tizen.OAuth2.Tests/testcase/support/TestHelper.cs @@ -14,7 +14,7 @@ using NUnit.Framework;using NUnit.Framework.TUnit; 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"; diff --git a/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/TSPackage.cs b/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/TSPackage.cs index b0b6d80..4fe8e83 100755 --- a/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/TSPackage.cs +++ b/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/TSPackage.cs @@ -24,12 +24,12 @@ namespace Tizen.Applications.Tests public class PackageTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -50,7 +50,7 @@ namespace Tizen.Applications.Tests [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) { @@ -87,7 +87,7 @@ namespace Tizen.Applications.Tests [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) { diff --git a/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/TSPackageManager.cs b/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/TSPackageManager.cs index 044569f..af68dc2 100755 --- a/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/TSPackageManager.cs +++ b/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/TSPackageManager.cs @@ -24,12 +24,12 @@ namespace Tizen.Applications.Tests public class PackageManagerTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -51,7 +51,7 @@ namespace Tizen.Applications.Tests [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) { @@ -98,7 +98,7 @@ namespace Tizen.Applications.Tests [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) { @@ -145,7 +145,7 @@ namespace Tizen.Applications.Tests [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) { @@ -192,7 +192,7 @@ namespace Tizen.Applications.Tests [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) { diff --git a/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/TSPackageSizeInformation.cs b/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/TSPackageSizeInformation.cs index 4ef228a..252255c 100755 --- a/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/TSPackageSizeInformation.cs +++ b/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/TSPackageSizeInformation.cs @@ -25,16 +25,16 @@ namespace Tizen.Applications.Tests [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() { } @@ -55,7 +55,7 @@ namespace Tizen.Applications.Tests [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) { @@ -95,7 +95,7 @@ namespace Tizen.Applications.Tests [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) { @@ -133,7 +133,7 @@ namespace Tizen.Applications.Tests [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) { diff --git a/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/support/TestHelper.cs b/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/support/TestHelper.cs index 04b1db7..42a6f19 100755 --- a/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/support/TestHelper.cs +++ b/tct-suite-vs/Tizen.Packagemanager.Manual.Tests/testcase/support/TestHelper.cs @@ -21,7 +21,7 @@ using NUnit.Framework; 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"; @@ -31,7 +31,7 @@ namespace Tizen.Applications.Tests internal static long ExternalAppSize = 0; } - internal static class TestHelper + internal class TestHelper { private static bool ExternalStorageAvailable = false; private static TestPage _testPage = TestPage.GetInstance(); diff --git a/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackage.cs b/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackage.cs index eb69d3a..f80bcaa 100755 --- a/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackage.cs +++ b/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackage.cs @@ -17,18 +17,18 @@ namespace Tizen.Applications.Tests [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() { } @@ -39,7 +39,7 @@ namespace Tizen.Applications.Tests [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"); @@ -61,7 +61,7 @@ namespace Tizen.Applications.Tests [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"); @@ -78,7 +78,7 @@ namespace Tizen.Applications.Tests [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"); @@ -101,7 +101,7 @@ namespace Tizen.Applications.Tests [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"); @@ -124,7 +124,7 @@ namespace Tizen.Applications.Tests [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"); @@ -146,7 +146,7 @@ namespace Tizen.Applications.Tests [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"); @@ -169,7 +169,7 @@ namespace Tizen.Applications.Tests [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) @@ -197,7 +197,7 @@ namespace Tizen.Applications.Tests [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"); @@ -218,7 +218,7 @@ namespace Tizen.Applications.Tests [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"); @@ -239,7 +239,7 @@ namespace Tizen.Applications.Tests [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"); @@ -256,7 +256,7 @@ namespace Tizen.Applications.Tests [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"); @@ -273,7 +273,7 @@ namespace Tizen.Applications.Tests [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"); @@ -294,7 +294,7 @@ namespace Tizen.Applications.Tests [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"); @@ -311,7 +311,7 @@ namespace Tizen.Applications.Tests [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) @@ -333,7 +333,7 @@ namespace Tizen.Applications.Tests [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"); @@ -351,7 +351,7 @@ namespace Tizen.Applications.Tests [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"); @@ -368,7 +368,7 @@ namespace Tizen.Applications.Tests [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"); @@ -385,7 +385,7 @@ namespace Tizen.Applications.Tests [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"); @@ -402,7 +402,7 @@ namespace Tizen.Applications.Tests [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"); @@ -419,7 +419,7 @@ namespace Tizen.Applications.Tests [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"); @@ -436,7 +436,7 @@ namespace Tizen.Applications.Tests [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"); @@ -455,7 +455,7 @@ namespace Tizen.Applications.Tests [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"); @@ -474,7 +474,7 @@ namespace Tizen.Applications.Tests [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"); diff --git a/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageCertificate.cs b/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageCertificate.cs index 2d4c49b..c46b309 100755 --- a/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageCertificate.cs +++ b/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageCertificate.cs @@ -14,12 +14,12 @@ namespace Tizen.Applications.Tests [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"); @@ -32,7 +32,7 @@ namespace Tizen.Applications.Tests } [TestFixtureTearDown] - public static void Destroy() + public void Destroy() { } @@ -43,7 +43,7 @@ namespace Tizen.Applications.Tests [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"); @@ -67,7 +67,7 @@ namespace Tizen.Applications.Tests [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"); @@ -90,7 +90,7 @@ namespace Tizen.Applications.Tests [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"); diff --git a/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageFilter.cs b/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageFilter.cs index ccfb1a5..7e2f1c7 100755 --- a/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageFilter.cs +++ b/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageFilter.cs @@ -16,12 +16,12 @@ namespace Tizen.Applications.Tests public class PackageFilterTests { [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -32,7 +32,7 @@ namespace Tizen.Applications.Tests [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(); @@ -48,7 +48,7 @@ namespace Tizen.Applications.Tests [Property("CRITERIA", "CONSTR")] [Property("AUTHOR", "Dinesh Dwivedi, dinesh.d@samsung.com")] [Property("COVPARAM", "System.Collections.Generic.IDictionary")] - public static void PackageFilter_INIT_WITH_FILTER() + public void PackageFilter_INIT_WITH_FILTER() { // TEST CODE Dictionary filters = new Dictionary(); @@ -69,7 +69,7 @@ namespace Tizen.Applications.Tests [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 filters = new Dictionary(); @@ -100,7 +100,7 @@ namespace Tizen.Applications.Tests [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"; diff --git a/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageManager.cs b/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageManager.cs index 312cf92..4dfb8af 100755 --- a/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageManager.cs +++ b/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageManager.cs @@ -38,33 +38,33 @@ namespace Tizen.Applications.Tests 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 _installProgressCallback; - private static EventHandler _updateProgressCallback; - private static EventHandler _uninstallProgressCallback; - private static EventHandler _moveProgressCallback; - private static EventHandler _clearDataProgressCallback; + private EventHandler _installProgressCallback; + private EventHandler _updateProgressCallback; + private EventHandler _uninstallProgressCallback; + private EventHandler _moveProgressCallback; + private EventHandler _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 { @@ -77,7 +77,7 @@ namespace Tizen.Applications.Tests } } - private static async Task Install(string packagePath, string tepPath, PackageType packageType) + private async Task Install(string packagePath, string tepPath, PackageType packageType) { WaitHelper WaitHandle = new WaitHelper(); _installProgressCallback = (s, e) => @@ -116,7 +116,7 @@ namespace Tizen.Applications.Tests return result; } - private static async Task InstallWithCb(string packagePath, string tepPath, PackageType packageType) + private async Task InstallWithCb(string packagePath, string tepPath, PackageType packageType) { WaitHelper WaitHandle = new WaitHelper(); PackageManager.RequestEventCallback InstallRequestCallback = (type, pkgid, eventType, eventState, progress) => @@ -153,7 +153,7 @@ namespace Tizen.Applications.Tests return result; } - private static async Task Uninstall(string packageId, PackageType packageType) + private async Task Uninstall(string packageId, PackageType packageType) { WaitHelper WaitHandle = new WaitHelper(); _uninstallProgressCallback = (s, e) => @@ -185,7 +185,7 @@ namespace Tizen.Applications.Tests return result; } - private static async Task UninstallWithCb(string packageId, PackageType packageType) + private async Task UninstallWithCb(string packageId, PackageType packageType) { WaitHelper WaitHandle = new WaitHelper(); PackageManager.RequestEventCallback UninstallRequestCallback = (type, pkgid, eventType, eventState, progress) => @@ -214,7 +214,7 @@ namespace Tizen.Applications.Tests return result; } - private static async Task Move(string packageId, PackageType packageType, StorageType storageType) + private async Task Move(string packageId, PackageType packageType, StorageType storageType) { WaitHelper WaitHandle = new WaitHelper(); _moveProgressCallback = (s, e) => @@ -245,7 +245,7 @@ namespace Tizen.Applications.Tests return result; // pass value returned from Install API to caller } - private static async Task MoveWithCb(string packageId, PackageType packageType, StorageType storageType) + private async Task MoveWithCb(string packageId, PackageType packageType, StorageType storageType) { WaitHelper WaitHandle = new WaitHelper(); PackageManager.RequestEventCallback MoveRequestCallback = (type, pkgid, eventType, eventState, progress) => @@ -273,7 +273,7 @@ namespace Tizen.Applications.Tests return result; // pass value returned from Install API to caller } - private static async Task ClearDataDirectory(string packagId) + private async Task ClearDataDirectory(string packagId) { WaitHelper WaitHandle = new WaitHelper(); _clearDataProgressCallback = (s, e) => @@ -302,7 +302,7 @@ namespace Tizen.Applications.Tests [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 @@ -334,7 +334,7 @@ namespace Tizen.Applications.Tests [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 @@ -356,7 +356,7 @@ namespace Tizen.Applications.Tests [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 @@ -387,7 +387,7 @@ namespace Tizen.Applications.Tests [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 @@ -405,7 +405,7 @@ namespace Tizen.Applications.Tests [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 @@ -423,7 +423,7 @@ namespace Tizen.Applications.Tests [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(); @@ -440,7 +440,7 @@ namespace Tizen.Applications.Tests [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 filters = new Dictionary(); @@ -462,7 +462,7 @@ namespace Tizen.Applications.Tests [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(); @@ -479,7 +479,7 @@ namespace Tizen.Applications.Tests [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 @@ -504,7 +504,7 @@ namespace Tizen.Applications.Tests [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 @@ -529,7 +529,7 @@ namespace Tizen.Applications.Tests [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 @@ -554,7 +554,7 @@ namespace Tizen.Applications.Tests [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 @@ -579,7 +579,7 @@ namespace Tizen.Applications.Tests [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 @@ -603,7 +603,7 @@ namespace Tizen.Applications.Tests [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; @@ -631,7 +631,7 @@ namespace Tizen.Applications.Tests [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 @@ -656,7 +656,7 @@ namespace Tizen.Applications.Tests [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 @@ -681,7 +681,7 @@ namespace Tizen.Applications.Tests [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 @@ -706,7 +706,7 @@ namespace Tizen.Applications.Tests [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 @@ -731,7 +731,7 @@ namespace Tizen.Applications.Tests [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 @@ -756,7 +756,7 @@ namespace Tizen.Applications.Tests [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 @@ -781,7 +781,7 @@ namespace Tizen.Applications.Tests [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 @@ -806,7 +806,7 @@ namespace Tizen.Applications.Tests [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 @@ -831,7 +831,7 @@ namespace Tizen.Applications.Tests [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 @@ -856,7 +856,7 @@ namespace Tizen.Applications.Tests [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) @@ -904,7 +904,7 @@ namespace Tizen.Applications.Tests [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) @@ -952,7 +952,7 @@ namespace Tizen.Applications.Tests [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) @@ -1000,7 +1000,7 @@ namespace Tizen.Applications.Tests [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) @@ -1048,7 +1048,7 @@ namespace Tizen.Applications.Tests [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) @@ -1095,7 +1095,7 @@ namespace Tizen.Applications.Tests [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 @@ -1131,7 +1131,7 @@ namespace Tizen.Applications.Tests [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 @@ -1167,7 +1167,7 @@ namespace Tizen.Applications.Tests [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 @@ -1203,7 +1203,7 @@ namespace Tizen.Applications.Tests [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 @@ -1239,7 +1239,7 @@ namespace Tizen.Applications.Tests [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) @@ -1287,7 +1287,7 @@ namespace Tizen.Applications.Tests [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 @@ -1304,7 +1304,7 @@ namespace Tizen.Applications.Tests [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 @@ -1322,7 +1322,7 @@ namespace Tizen.Applications.Tests [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 @@ -1339,7 +1339,7 @@ namespace Tizen.Applications.Tests [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 diff --git a/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageManagerEventArgs.cs b/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageManagerEventArgs.cs index d3cde0e..1730f2a 100755 --- a/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageManagerEventArgs.cs +++ b/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageManagerEventArgs.cs @@ -19,32 +19,32 @@ namespace Tizen.Applications.Tests [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 _testEventArgsList = new List(); - private static EventHandler _eventArgsCallback; - private static EventHandler _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 _testEventArgsList = new List(); + private EventHandler _eventArgsCallback; + private EventHandler _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) @@ -56,7 +56,7 @@ namespace Tizen.Applications.Tests } } - 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(); @@ -89,7 +89,7 @@ namespace Tizen.Applications.Tests } } - static async Task EventTestsForFailCase() + async Task EventTestsForFailCase() { // TEST CODE WaitHelper waitHandle = new WaitHelper(); @@ -108,7 +108,7 @@ namespace Tizen.Applications.Tests PackageManager.InstallProgressChanged -= _eventArgsCallbackForFail; } - private static bool IsInstalled(string packageId) + private bool IsInstalled(string packageId) { try { @@ -121,7 +121,7 @@ namespace Tizen.Applications.Tests } } - static async Task InitializeEventArgs() + async Task InitializeEventArgs() { if (_initialized) return; await EventTests(_tpkTestPkg, _tpkTestPkgId, PackageType.TPK); @@ -168,12 +168,12 @@ namespace Tizen.Applications.Tests } [SetUp] - public static void Init() + public void Init() { } [TearDown] - public static void Destroy() + public void Destroy() { } @@ -185,7 +185,7 @@ namespace Tizen.Applications.Tests [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(); @@ -204,7 +204,7 @@ namespace Tizen.Applications.Tests [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(); @@ -222,7 +222,7 @@ namespace Tizen.Applications.Tests [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(); @@ -244,7 +244,7 @@ namespace Tizen.Applications.Tests [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(); @@ -263,7 +263,7 @@ namespace Tizen.Applications.Tests [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(); @@ -282,7 +282,7 @@ namespace Tizen.Applications.Tests [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(); @@ -301,7 +301,7 @@ namespace Tizen.Applications.Tests [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(); @@ -320,7 +320,7 @@ namespace Tizen.Applications.Tests [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(); diff --git a/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageSizeInformation.cs b/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageSizeInformation.cs index 5a157eb..e5a00de 100755 --- a/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageSizeInformation.cs +++ b/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/TSPackageSizeInformation.cs @@ -15,13 +15,13 @@ namespace Tizen.Applications.Tests [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"); @@ -31,11 +31,11 @@ namespace Tizen.Applications.Tests } [TestFixtureTearDown] - public static void Destroy() + public void Destroy() { } - static async Task TpkSizeInformation() + async Task TpkSizeInformation() { if (_SizeInformation == null) { @@ -44,7 +44,7 @@ namespace Tizen.Applications.Tests return _SizeInformation; } - static async Task WgtSizeInformation() + async Task WgtSizeInformation() { if (_externalSizeInformation == null) { @@ -60,7 +60,7 @@ namespace Tizen.Applications.Tests [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(); @@ -79,7 +79,7 @@ namespace Tizen.Applications.Tests [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(); @@ -98,7 +98,7 @@ namespace Tizen.Applications.Tests [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(); @@ -117,7 +117,7 @@ namespace Tizen.Applications.Tests [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) @@ -143,7 +143,7 @@ namespace Tizen.Applications.Tests [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) @@ -169,7 +169,7 @@ namespace Tizen.Applications.Tests [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) diff --git a/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/support/TestHelper.cs b/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/support/TestHelper.cs index 9c2ae5e..d8ff03a 100755 --- a/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/support/TestHelper.cs +++ b/tct-suite-vs/Tizen.Packagemanager.Tests/testcase/support/TestHelper.cs @@ -36,7 +36,7 @@ namespace Tizen.Applications.Tests } } - public static class TestHelper + public class TestHelper { private static bool ExternalStorageAvailable; @@ -92,7 +92,7 @@ namespace Tizen.Applications.Tests } } - internal static class TpkTestData + internal class TpkTestData { internal static string Id = "tpkpkgtest"; internal static string AppId = "tpkpkgtest"; @@ -119,7 +119,7 @@ namespace Tizen.Applications.Tests internal static int AllAppCount = 2; } - internal static class WgtTestData + internal class WgtTestData { internal static string Id = "JGvAAJHzxu"; internal static string AppId = "JGvAAJHzxu.WgtPkgTest"; diff --git a/tct-suite-vs/Tizen.PhonenumberUtils.Tests/testcase/TSPhonenumberUtils.cs b/tct-suite-vs/Tizen.PhonenumberUtils.Tests/testcase/TSPhonenumberUtils.cs index 839db86..e3b3647 100755 --- a/tct-suite-vs/Tizen.PhonenumberUtils.Tests/testcase/TSPhonenumberUtils.cs +++ b/tct-suite-vs/Tizen.PhonenumberUtils.Tests/testcase/TSPhonenumberUtils.cs @@ -12,9 +12,9 @@ namespace Tizen.PhonenumberUtils.Tests [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() diff --git a/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSCheckPermission.cs b/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSCheckPermission.cs index cc410ba..8c0e6b6 100755 --- a/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSCheckPermission.cs +++ b/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSCheckPermission.cs @@ -33,18 +33,18 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// /// Holds privilege that will be tested /// - private static string _privilege; + private string _privilege; /// /// Holds Correct method return value /// - private static CheckResult _correctResult; + private CheckResult _correctResult; /// /// Initializes environment before TCT test runs. /// [SetUp] - public static void Init() + public void Init() { if (Profile.GetProfile().CompareTo(Profile.MobileProfile) != 0) { @@ -58,7 +58,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// /// Checks Privileges status and displays results. /// - private static void Check() + private void Check() { foreach (string privilege in Constans.Privileges) { @@ -84,7 +84,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// /// Checks Privilege status and displays results. /// - private static void CheckSinglePrivilege() + private void CheckSinglePrivilege() { CheckResult result = TestBase.CheckPermission(_privilege); string labelText = "Execute number: " + executeCount++ + " Privilege: \n" + _privilege + "\nStatus: " + result; @@ -116,7 +116,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// /// Sender /// Event arguments - private static void OnClick(object sender, EventArgs e) + private void OnClick(object sender, EventArgs e) { CheckSinglePrivilege(); } @@ -126,7 +126,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// /// Sender /// Event arguments - private static void OnClickMultiplePrivileges(object sender, EventArgs e) + private void OnClickMultiplePrivileges(object sender, EventArgs e) { Check(); } @@ -149,7 +149,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -170,7 +170,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -193,7 +193,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -216,7 +216,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -239,7 +239,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -262,7 +262,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -285,7 +285,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -308,7 +308,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; diff --git a/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSGetResponseContext.cs b/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSGetResponseContext.cs index 2eb9c27..f4c1f51 100755 --- a/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSGetResponseContext.cs +++ b/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSGetResponseContext.cs @@ -34,7 +34,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// Initializes environment before TCT test runs. /// [SetUp] - public static void Init() + public void Init() { if (Profile.GetProfile().CompareTo(Profile.MobileProfile) != 0) { @@ -55,7 +55,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// Destroys event handlers after TCT test runs /// [TearDown] - public static void Destroy() + public void Destroy() { LogUtils.Write(LogUtils.DEBUG, LogUtils.TAG, "Postconditions for each TEST"); foreach (string privilege in Constans.Privileges) @@ -74,7 +74,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// /// Sender object /// Event arguments - private static void PPM_RequestResponse(object sender, RequestResponseEventArgs e) + private void PPM_RequestResponse(object sender, RequestResponseEventArgs e) { if (e.cause == CallCause.Answer) { @@ -115,7 +115,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// Setups event handler for catching PrivilegeManager responses. /// /// Privilege name - private static void SetupPPMHandler(string privilege) + private void SetupPPMHandler(string privilege) { PrivacyPrivilegeManager.ResponseContext context = null; if (PrivacyPrivilegeManager.GetResponseContext(privilege).TryGetTarget(out context)) @@ -129,7 +129,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// /// Sender /// Event arguments - private static void OnClick(object sender, EventArgs e) + private void OnClick(object sender, EventArgs e) { Check(); } @@ -137,7 +137,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// /// Checks Privileges status and displays results. /// - private static void Check() + private void Check() { foreach (string privilege in Constans.Privileges) { @@ -204,7 +204,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -245,7 +245,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -289,7 +289,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; diff --git a/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSRequestPermission.cs b/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSRequestPermission.cs index 7e505d7..1c44f85 100755 --- a/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSRequestPermission.cs +++ b/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSRequestPermission.cs @@ -33,13 +33,13 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// /// Holds privilege that will be tested /// - private static string _privilege; + private string _privilege; /// /// Initializes environment before TCT test runs. /// [SetUp] - public static void Init() + public void Init() { if (Profile.GetProfile().CompareTo(Profile.MobileProfile) != 0) { @@ -55,7 +55,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// /// Sender /// Event arguments - private static void OnClickMultiplePrivileges(object sender, EventArgs e) + private void OnClickMultiplePrivileges(object sender, EventArgs e) { Check(); } @@ -65,7 +65,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// /// Sender /// Event arguments - private static void OnClick(object sender, EventArgs e) + private void OnClick(object sender, EventArgs e) { CheckSinglePrivilege(); } @@ -73,7 +73,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// /// Checks Privileges status and displays results. /// - private static void Check() + private void Check() { foreach (string privilege in Constans.Privileges) { @@ -111,7 +111,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// /// Checks Privileges status and displays results. /// - private static void CheckSinglePrivilege() + private void CheckSinglePrivilege() { CheckResult result = TestBase.CheckPermission(_privilege); Color backgroundColor = Color.Red; @@ -167,7 +167,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -188,7 +188,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -210,7 +210,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -232,7 +232,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -254,7 +254,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -276,7 +276,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -298,7 +298,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; @@ -320,7 +320,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [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; diff --git a/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSRequestResponseEventArgs.cs b/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSRequestResponseEventArgs.cs index 1be60ab..dd2ab2b 100755 --- a/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSRequestResponseEventArgs.cs +++ b/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/TSRequestResponseEventArgs.cs @@ -31,7 +31,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// Initializes environment before TCT test runs. /// [SetUp] - public static void Init() + public void Init() { if (Profile.GetProfile().CompareTo(Profile.MobileProfile) != 0) { @@ -52,7 +52,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [Step(1, "Click run TC")] [Step(2, "Click button")] [Postcondition(1, "NA")] - public static void RequestResponseEventArgs_CONSTRUCTOR() + public void RequestResponseEventArgs_CONSTRUCTOR() { try { @@ -77,7 +77,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [Step(1, "Click run TC")] [Step(2, "Click button")] [Postcondition(1, "NA")] - public static void cause_READ_ONLY() + public void cause_READ_ONLY() { try { @@ -103,7 +103,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [Step(1, "Click run TC")] [Step(2, "Click button")] [Postcondition(1, "NA")] - public static void result_READ_ONLY() + public void result_READ_ONLY() { try { @@ -129,7 +129,7 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests [Step(1, "Click run TC")] [Step(2, "Click button")] [Postcondition(1, "NA")] - public static void privilege_READ_ONLY() + public void privilege_READ_ONLY() { try { diff --git a/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/support/UIAbstractClass.cs b/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/support/UIAbstractClass.cs index c38ae22..f7d540a 100755 --- a/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/support/UIAbstractClass.cs +++ b/tct-suite-vs/Tizen.PrivacyPrivilegeManager.Manual.Tests/testcase/support/UIAbstractClass.cs @@ -30,32 +30,32 @@ namespace Tizen.PrivacyPrivilegeManager.Manual.Tests /// /// Holds TestPage instance /// - protected static TestPage _testPage = TestPage.GetInstance(); + protected TestPage _testPage = TestPage.GetInstance(); /// /// Holds Buton /// - protected static Button _button; + protected Button _button; /// /// Holds ListView /// - protected static ListView _listView; + protected ListView _listView; /// /// Holds list of Labels with logs /// - protected static ObservableCollection