_animation.AnimateTo(_textLabel, "Orientation", new Rotation(new Radian(new Degree(0.0f)), PositionAxis.Y), 500, 1000);
_animation.Looping = true;
_animation.EndAction = Animation.EndActions.Discard;
- Log.Debug("TCT", "[TestCase][OnCreate][Widget] Pass");
+ Log.Error("TCT", "[TestCase][OnCreate][Widget] Pass");
base.OnCreate(contentInfo, window);
}
{
Tizen.Log.Fatal("NUIWidget", "Widget Instance OnPause!");
_animation.Stop();
- Log.Debug("TCT", "[TestCase][OnPause][Widget] Pass");
+ Log.Error("TCT", "[TestCase][OnPause][Widget] Pass");
base.OnPause();
}
{
OnUpdate(_content.Encode(), 1);
Tizen.Log.Fatal("NUIWidget", "Widget Instance OnResume!");
- Log.Debug("TCT", "[TestCase][OnResume][Widget] Pass");
+ Log.Error("TCT", "[TestCase][OnResume][Widget] Pass");
base.OnResume();
}
protected override void OnResize(Window window)
{
Tizen.Log.Fatal("NUIWidget", "Widget Instance OnResize!");
- Log.Debug("TCT", "[TestCase][OnResize][Widget] Pass");
+ Log.Error("TCT", "[TestCase][OnResize][Widget] Pass");
base.OnResize(window);
}
protected override void OnTerminate(string contentInfo, TerminationType type)
{
Tizen.Log.Fatal("NUIWidget", "Widget Instance OnTerminate!");
- Log.Debug("TCT", "[TestCase][OnTerminate][Widget] Pass");
+ Log.Error("TCT", "[TestCase][OnTerminate][Widget] Pass");
base.OnTerminate(contentInfo, type);
}
string imageIdx = Convert.ToString(content.GetItem("ImageIdx"));
Tizen.Log.Fatal("NUIWidget", "Widget Instance content info is " + imageIdx);
- Log.Debug("TCT", "[TestCase][OnUpdate][Widget] Pass");
+ Log.Error("TCT", "[TestCase][OnUpdate][Widget] Pass");
base.OnUpdate(contentInfo, force);
}
}
protected override void OnCreate()
{
base.OnCreate();
- Log.Debug("TCT", "[TestCase][OnCreate][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][OnCreate][NUIWidgetApplication] Pass");
}
protected override void OnLocaleChanged(LocaleChangedEventArgs e)
{
- Log.Debug("TCT", "NUIWidgetApplication::OnLocaleChanged()");
+ Log.Error("TCT", "NUIWidgetApplication::OnLocaleChanged()");
if (e.Locale != null)
{
- Log.Debug("TCT", "[Test_Properties] Locale properties is not null");
- Log.Debug("TCT", "[Test_Properties] Current value of Locale : " + e.Locale);
- Log.Debug("TCT", "[Test_Properties] Locale type: " + e.Locale.GetType());
+ Log.Error("TCT", "[Test_Properties] Locale properties is not null");
+ Log.Error("TCT", "[Test_Properties] Current value of Locale : " + e.Locale);
+ Log.Error("TCT", "[Test_Properties] Locale type: " + e.Locale.GetType());
}
- Log.Debug("TCT", "[TestCase][OnLocaleChanged][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][OnLocaleChanged][NUIWidgetApplication] Pass");
base.OnLocaleChanged(e);
}
protected override void OnLowBattery(LowBatteryEventArgs e)
{
- Log.Debug("TCT", "NUIWidgetApplication::OnLowBattery()");
+ Log.Error("TCT", "NUIWidgetApplication::OnLowBattery()");
if (e.LowBatteryStatus != LowBatteryStatus.None)
{
- Log.Debug("TCT", "[Test_Properties] LowBatteryStatus properties is not null");
- Log.Debug("TCT", "[Test_Properties] Current value of LowBatteryStatus : " + e.LowBatteryStatus.ToString());
- Log.Debug("TCT", "[Test_Properties] LowBatteryStatus type: " + e.LowBatteryStatus.GetType());
+ Log.Error("TCT", "[Test_Properties] LowBatteryStatus properties is not null");
+ Log.Error("TCT", "[Test_Properties] Current value of LowBatteryStatus : " + e.LowBatteryStatus.ToString());
+ Log.Error("TCT", "[Test_Properties] LowBatteryStatus type: " + e.LowBatteryStatus.GetType());
}
- Log.Debug("TCT", "[TestCase][OnLowBattery][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][OnLowBattery][NUIWidgetApplication] Pass");
base.OnLowBattery(e);
}
protected override void OnLowMemory(LowMemoryEventArgs e)
{
- Log.Debug("TCT", "NUIWidgetApplication::OnLowMemory()");
+ Log.Error("TCT", "NUIWidgetApplication::OnLowMemory()");
if (e.LowMemoryStatus != LowMemoryStatus.None)
{
- Log.Debug("TCT", "[Test_Properties] LowMemoryStatus properties is not null");
- Log.Debug("TCT", "[Test_Properties] Current value of LowMemoryStatus : " + e.LowMemoryStatus.ToString());
- Log.Debug("TCT", "[Test_Properties] LowMemoryStatus type: " + e.LowMemoryStatus.GetType());
+ Log.Error("TCT", "[Test_Properties] LowMemoryStatus properties is not null");
+ Log.Error("TCT", "[Test_Properties] Current value of LowMemoryStatus : " + e.LowMemoryStatus.ToString());
+ Log.Error("TCT", "[Test_Properties] LowMemoryStatus type: " + e.LowMemoryStatus.GetType());
}
//logBuilder.AppendLine("TCT [TestCase][OnLowMemory] Pass");
- Log.Debug("TCT", "[TestCase][OnLowMemory][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][OnLowMemory][NUIWidgetApplication] Pass");
base.OnLowMemory(e);
}
protected override void OnPreCreate()
{
- Log.Debug("TCT", "[TestCase][OnPreCreate][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][OnPreCreate][NUIWidgetApplication] Pass");
base.OnPreCreate();
}
protected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
{
- Log.Debug("TCT", "NUIWidgetApplication::OnRegionFormatChanged()");
+ Log.Error("TCT", "NUIWidgetApplication::OnRegionFormatChanged()");
if (e != null)
{
- Log.Debug("TCT", "[Test_Properties] Region properties is not null");
- Log.Debug("TCT", "[Test_Properties] Current value of Region : " + e.Region);
- Log.Debug("TCT", "[Test_Properties] Region type: " + e.Region.GetType());
+ Log.Error("TCT", "[Test_Properties] Region properties is not null");
+ Log.Error("TCT", "[Test_Properties] Current value of Region : " + e.Region);
+ Log.Error("TCT", "[Test_Properties] Region type: " + e.Region.GetType());
}
- Log.Debug("TCT", "[TestCase][OnRegionFormatChanged][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][OnRegionFormatChanged][NUIWidgetApplication] Pass");
base.OnRegionFormatChanged(e);
}
protected override void OnTerminate()
{
- Log.Debug("TCT", "NUIWidgetApplication::OnTerminate()");
- Log.Debug("TCT", "[TestCase][OnTerminate][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "NUIWidgetApplication::OnTerminate()");
+ Log.Error("TCT", "[TestCase][OnTerminate][NUIWidgetApplication] Pass");
base.OnTerminate();
}
//DeviceOrientationChanged += DeviceOrientationCHanged_Event_Test;
//RegionFormatChanged += RegionFormatChanged_Event_Test;
- Log.Debug("TCT", "[TestCase][Run][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][Run][NUIWidgetApplication] Pass");
base.Run(args);
}
public override void Exit()
{
- Log.Debug("TCT", "[TestCase][Exit][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][Exit][NUIWidgetApplication] Pass");
base.Exit();
}
_animation.AnimateTo(_textLabel, "Orientation", new Rotation(new Radian(new Degree(0.0f)), PositionAxis.Y), 500, 1000);
_animation.Looping = true;
_animation.EndAction = Animation.EndActions.Discard;
- Log.Debug("TCT", "[TestCase][OnCreate][Widget] Pass");
+ Log.Error("TCT", "[TestCase][OnCreate][Widget] Pass");
base.OnCreate(contentInfo, window);
}
{
Tizen.Log.Fatal("NUIWidget", "Widget Instance OnPause!");
_animation.Stop();
- Log.Debug("TCT", "[TestCase][OnPause][Widget] Pass");
+ Log.Error("TCT", "[TestCase][OnPause][Widget] Pass");
base.OnPause();
}
{
OnUpdate(_content.Encode(), 1);
Tizen.Log.Fatal("NUIWidget", "Widget Instance OnResume!");
- Log.Debug("TCT", "[TestCase][OnResume][Widget] Pass");
+ Log.Error("TCT", "[TestCase][OnResume][Widget] Pass");
base.OnResume();
}
protected override void OnResize(Window window)
{
Tizen.Log.Fatal("NUIWidget", "Widget Instance OnResize!");
- Log.Debug("TCT", "[TestCase][OnResize][Widget] Pass");
+ Log.Error("TCT", "[TestCase][OnResize][Widget] Pass");
base.OnResize(window);
}
protected override void OnTerminate(string contentInfo, TerminationType type)
{
Tizen.Log.Fatal("NUIWidget", "Widget Instance OnTerminate!");
- Log.Debug("TCT", "[TestCase][OnTerminate][Widget] Pass");
+ Log.Error("TCT", "[TestCase][OnTerminate][Widget] Pass");
base.OnTerminate(contentInfo, type);
}
string imageIdx = Convert.ToString(content.GetItem("ImageIdx"));
Tizen.Log.Fatal("NUIWidget", "Widget Instance content info is " + imageIdx);
- Log.Debug("TCT", "[TestCase][OnUpdate][Widget] Pass");
+ Log.Error("TCT", "[TestCase][OnUpdate][Widget] Pass");
base.OnUpdate(contentInfo, force);
}
}
protected override void OnCreate()
{
base.OnCreate();
- Log.Debug("TCT", "[TestCase][OnCreate][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][OnCreate][NUIWidgetApplication] Pass");
}
protected override void OnLocaleChanged(LocaleChangedEventArgs e)
{
- Log.Debug("TCT", "NUIWidgetApplication::OnLocaleChanged()");
+ Log.Error("TCT", "NUIWidgetApplication::OnLocaleChanged()");
if (e.Locale != null)
{
- Log.Debug("TCT", "[Test_Properties] Locale properties is not null");
- Log.Debug("TCT", "[Test_Properties] Current value of Locale : " + e.Locale);
- Log.Debug("TCT", "[Test_Properties] Locale type: " + e.Locale.GetType());
+ Log.Error("TCT", "[Test_Properties] Locale properties is not null");
+ Log.Error("TCT", "[Test_Properties] Current value of Locale : " + e.Locale);
+ Log.Error("TCT", "[Test_Properties] Locale type: " + e.Locale.GetType());
}
- Log.Debug("TCT", "[TestCase][OnLocaleChanged][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][OnLocaleChanged][NUIWidgetApplication] Pass");
base.OnLocaleChanged(e);
}
protected override void OnLowBattery(LowBatteryEventArgs e)
{
- Log.Debug("TCT", "NUIWidgetApplication::OnLowBattery()");
+ Log.Error("TCT", "NUIWidgetApplication::OnLowBattery()");
if (e.LowBatteryStatus != LowBatteryStatus.None)
{
- Log.Debug("TCT", "[Test_Properties] LowBatteryStatus properties is not null");
- Log.Debug("TCT", "[Test_Properties] Current value of LowBatteryStatus : " + e.LowBatteryStatus.ToString());
- Log.Debug("TCT", "[Test_Properties] LowBatteryStatus type: " + e.LowBatteryStatus.GetType());
+ Log.Error("TCT", "[Test_Properties] LowBatteryStatus properties is not null");
+ Log.Error("TCT", "[Test_Properties] Current value of LowBatteryStatus : " + e.LowBatteryStatus.ToString());
+ Log.Error("TCT", "[Test_Properties] LowBatteryStatus type: " + e.LowBatteryStatus.GetType());
}
- Log.Debug("TCT", "[TestCase][OnLowBattery][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][OnLowBattery][NUIWidgetApplication] Pass");
base.OnLowBattery(e);
}
protected override void OnLowMemory(LowMemoryEventArgs e)
{
- Log.Debug("TCT", "NUIWidgetApplication::OnLowMemory()");
+ Log.Error("TCT", "NUIWidgetApplication::OnLowMemory()");
if (e.LowMemoryStatus != LowMemoryStatus.None)
{
- Log.Debug("TCT", "[Test_Properties] LowMemoryStatus properties is not null");
- Log.Debug("TCT", "[Test_Properties] Current value of LowMemoryStatus : " + e.LowMemoryStatus.ToString());
- Log.Debug("TCT", "[Test_Properties] LowMemoryStatus type: " + e.LowMemoryStatus.GetType());
+ Log.Error("TCT", "[Test_Properties] LowMemoryStatus properties is not null");
+ Log.Error("TCT", "[Test_Properties] Current value of LowMemoryStatus : " + e.LowMemoryStatus.ToString());
+ Log.Error("TCT", "[Test_Properties] LowMemoryStatus type: " + e.LowMemoryStatus.GetType());
}
//logBuilder.AppendLine("TCT [TestCase][OnLowMemory] Pass");
- Log.Debug("TCT", "[TestCase][OnLowMemory][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][OnLowMemory][NUIWidgetApplication] Pass");
base.OnLowMemory(e);
}
protected override void OnPreCreate()
{
- Log.Debug("TCT", "[TestCase][OnPreCreate][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][OnPreCreate][NUIWidgetApplication] Pass");
base.OnPreCreate();
}
protected override void OnRegionFormatChanged(RegionFormatChangedEventArgs e)
{
- Log.Debug("TCT", "NUIWidgetApplication::OnRegionFormatChanged()");
+ Log.Error("TCT", "NUIWidgetApplication::OnRegionFormatChanged()");
if (e != null)
{
- Log.Debug("TCT", "[Test_Properties] Region properties is not null");
- Log.Debug("TCT", "[Test_Properties] Current value of Region : " + e.Region);
- Log.Debug("TCT", "[Test_Properties] Region type: " + e.Region.GetType());
+ Log.Error("TCT", "[Test_Properties] Region properties is not null");
+ Log.Error("TCT", "[Test_Properties] Current value of Region : " + e.Region);
+ Log.Error("TCT", "[Test_Properties] Region type: " + e.Region.GetType());
}
- Log.Debug("TCT", "[TestCase][OnRegionFormatChanged][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][OnRegionFormatChanged][NUIWidgetApplication] Pass");
base.OnRegionFormatChanged(e);
}
protected override void OnTerminate()
{
- Log.Debug("TCT", "NUIWidgetApplication::OnTerminate()");
- Log.Debug("TCT", "[TestCase][OnTerminate][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "NUIWidgetApplication::OnTerminate()");
+ Log.Error("TCT", "[TestCase][OnTerminate][NUIWidgetApplication] Pass");
base.OnTerminate();
}
//DeviceOrientationChanged += DeviceOrientationCHanged_Event_Test;
//RegionFormatChanged += RegionFormatChanged_Event_Test;
- Log.Debug("TCT", "[TestCase][Run][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][Run][NUIWidgetApplication] Pass");
base.Run(args);
}
public override void Exit()
{
- Log.Debug("TCT", "[TestCase][Exit][NUIWidgetApplication] Pass");
+ Log.Error("TCT", "[TestCase][Exit][NUIWidgetApplication] Pass");
base.Exit();
}
bundle.AddItem("ImageIdx", "1");
_widgetView = new WidgetView("test", "test", 100, 100, 0);
- if (_widgetView != null) { Tizen.Log.Debug("TCT", "[TestCase][WidgetView][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][WidgetView][WidgetView] Fail"); }
+ if (_widgetView != null) { Tizen.Log.Error("TCT", "[TestCase][WidgetView][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][WidgetView][WidgetView] Fail"); }
_widgetView = null;
- if (_viewManager) { Tizen.Log.Debug("TCT", "[TestCase][WidgetViewManager][WidgetViewManager] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][WidgetViewManager][WidgetViewManager] Fail"); }
+ if (_viewManager) { Tizen.Log.Error("TCT", "[TestCase][WidgetViewManager][WidgetViewManager] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][WidgetViewManager][WidgetViewManager] Fail"); }
_widgetView = _viewManager.AddWidget("org.tizen.example.WidgetApplicationSample", bundle.Encode(), 600, 400, 0);
- if (_widgetView) { Tizen.Log.Debug("TCT", "[TestCase][AddWidget][WidgetViewManager] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][AddWidget][WidgetViewManager] Fail"); }
+ if (_widgetView) { Tizen.Log.Error("TCT", "[TestCase][AddWidget][WidgetViewManager] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][AddWidget][WidgetViewManager] Fail"); }
_widgetView.WidgetContentUpdated += OnWidgetContentUpdated;
_widgetView.BackgroundColor = Color.Green;
Tizen.Log.Fatal("NUIWidget", "widget view WidgetID: " + _widgetView.WidgetID);
- if (_widgetView.WidgetID == "org.tizen.example.WidgetApplicationSample") { Tizen.Log.Debug("TCT", "[TestCase][WidgetID][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][WidgetID][WidgetView] Fail"); }
+ if (_widgetView.WidgetID == "org.tizen.example.WidgetApplicationSample") { Tizen.Log.Error("TCT", "[TestCase][WidgetID][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][WidgetID][WidgetView] Fail"); }
Tizen.Log.Fatal("NUIWidget", "widget view InstanceID: " + _widgetView.InstanceID);
- if (_widgetView.InstanceID != "") { Tizen.Log.Debug("TCT", "[TestCase][InstanceID][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][InstanceID][WidgetView] Fail"); }
+ if (_widgetView.InstanceID != "") { Tizen.Log.Error("TCT", "[TestCase][InstanceID][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][InstanceID][WidgetView] Fail"); }
Tizen.Log.Fatal("NUIWidget", "widget view ContentInfo: " + _widgetView.ContentInfo);
- if (_widgetView.ContentInfo != "") { Tizen.Log.Debug("TCT", "[TestCase][ContentInfo][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][ContentInfo][WidgetView] Fail"); }
+ if (_widgetView.ContentInfo != "") { Tizen.Log.Error("TCT", "[TestCase][ContentInfo][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][ContentInfo][WidgetView] Fail"); }
Tizen.Log.Fatal("NUIWidget", "widget view Title: " + _widgetView.Title);
- if (_widgetView.Title == "WidgetApplicationSample") { Tizen.Log.Debug("TCT", "[TestCase][Title][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][Title][WidgetView] Fail"); }
+ if (_widgetView.Title == "WidgetApplicationSample") { Tizen.Log.Error("TCT", "[TestCase][Title][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][Title][WidgetView] Fail"); }
Tizen.Log.Fatal("NUIWidget", "widget view UpdatePeriod: " + _widgetView.UpdatePeriod);
- if (_widgetView.UpdatePeriod == 0) { Tizen.Log.Debug("TCT", "[TestCase][UpdatePeriod][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][UpdatePeriod][WidgetView] Fail"); }
+ if (_widgetView.UpdatePeriod == 0) { Tizen.Log.Error("TCT", "[TestCase][UpdatePeriod][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][UpdatePeriod][WidgetView] Fail"); }
Tizen.Log.Fatal("NUIWidget", "widget view LoadingText: " + _widgetView.LoadingText);
- if (_widgetView.LoadingText == true) { Tizen.Log.Debug("TCT", "[TestCase][LoadingText][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][LoadingText][WidgetView] Fail"); }
+ if (_widgetView.LoadingText == true) { Tizen.Log.Error("TCT", "[TestCase][LoadingText][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][LoadingText][WidgetView] Fail"); }
AddEventHandler();
}
if (_widgetView != null)
{
bool ret = _widgetView.PermanentDelete;
- if (ret == false) { Tizen.Log.Debug("TCT", "[TestCase][PermanentDelete][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][PermanentDelete][WidgetView] Fail"); }
+ if (ret == false) { Tizen.Log.Error("TCT", "[TestCase][PermanentDelete][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][PermanentDelete][WidgetView] Fail"); }
ret = _widgetView.CancelTouchEvent();
- if (ret) { Tizen.Log.Debug("TCT", "[TestCase][CancelTouchEvent][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][CancelTouchEvent][WidgetView] Fail"); }
+ if (ret) { Tizen.Log.Error("TCT", "[TestCase][CancelTouchEvent][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][CancelTouchEvent][WidgetView] Fail"); }
_window.Remove(_widgetView);
ret = _widgetView.TerminateWidget();
- if (ret) { Tizen.Log.Debug("TCT", "[TestCase][TerminateWidget][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][TerminateWidget][WidgetView] Fail"); }
+ if (ret) { Tizen.Log.Error("TCT", "[TestCase][TerminateWidget][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][TerminateWidget][WidgetView] Fail"); }
_widgetView.Dispose();
_widgetView = null;
if (_widgetView != null)
{
bool ret = _widgetView.ResumeWidget();
- if (ret) { Tizen.Log.Debug("TCT", "[TestCase][ResumeWidget][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][ResumeWidget][WidgetView] Fail"); }
+ if (ret) { Tizen.Log.Error("TCT", "[TestCase][ResumeWidget][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][ResumeWidget][WidgetView] Fail"); }
try
{
Tizen.Log.Error("TCT", "[TestCase] Caught Exception" + exception.ToString());
Tizen.Log.Error("TCT", "[TestCase][ActivateFaultedWidget][WidgetView] Fail");
}
- Tizen.Log.Debug("TCT", "[TestCase][ActivateFaultedWidget][WidgetView] Pass");
+ Tizen.Log.Error("TCT", "[TestCase][ActivateFaultedWidget][WidgetView] Pass");
ret = _widgetView.Preview;
- if (ret) { Tizen.Log.Debug("TCT", "[TestCase][Preview][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][Preview][WidgetView] Fail"); }
+ if (ret) { Tizen.Log.Error("TCT", "[TestCase][Preview][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][Preview][WidgetView] Fail"); }
ret = _widgetView.WidgetStateFaulted;
- if (!ret) { Tizen.Log.Debug("TCT", "[TestCase][WidgetStateFaulted][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][WidgetStateFaulted][WidgetView] Fail"); }
+ if (!ret) { Tizen.Log.Error("TCT", "[TestCase][WidgetStateFaulted][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][WidgetStateFaulted][WidgetView] Fail"); }
}
Tizen.Log.Fatal("NUIWidget", "Widget view has been resumed!");
return true;
if (_widgetView != null)
{
bool ret = _widgetView.PauseWidget();
- if (ret) { Tizen.Log.Debug("TCT", "[TestCase][PauseWidget][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][PauseWidget][WidgetView] Fail"); }
+ if (ret) { Tizen.Log.Error("TCT", "[TestCase][PauseWidget][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][PauseWidget][WidgetView] Fail"); }
}
Tizen.Log.Fatal("NUIWidget", "Widget view has been paused!");
return true;
_widgetView.WidgetAdded += (src, arg) =>
{
Tizen.Log.Fatal("NUIWidget", "Widget view added triggered");
- Tizen.Log.Debug("TCT", "[TestCase][WidgetAdded][WidgetView] Pass");
+ Tizen.Log.Error("TCT", "[TestCase][WidgetAdded][WidgetView] Pass");
if (arg != null)
{
- Tizen.Log.Debug("TCT", "[TestCase][WidgetViewEventArgs][WidgetView] Pass");
- if (arg.WidgetView != null) { Tizen.Log.Debug("TCT", "[TestCase][WidgetViewEventArgs.WidgetView][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][WidgetViewEventArgs.WidgetView][WidgetView] Fail"); }
+ Tizen.Log.Error("TCT", "[TestCase][WidgetViewEventArgs][WidgetView] Pass");
+ if (arg.WidgetView != null) { Tizen.Log.Error("TCT", "[TestCase][WidgetViewEventArgs.WidgetView][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][WidgetViewEventArgs.WidgetView][WidgetView] Fail"); }
}
else
{
- Tizen.Log.Debug("TCT", "[TestCase][WidgetViewEventArgs][WidgetView] Fail");
+ Tizen.Log.Error("TCT", "[TestCase][WidgetViewEventArgs][WidgetView] Fail");
}
};
_widgetView.WidgetDeleted += (src, arg) =>
{
Tizen.Log.Fatal("NUIWidget", "[TestCase]Widget view deleted triggered");
- Tizen.Log.Debug("TCT", "[TestCase][WidgetDeleted][WidgetView] Pass");
+ Tizen.Log.Error("TCT", "[TestCase][WidgetDeleted][WidgetView] Pass");
};
_widgetView.WidgetCreationAborted += (src, arg) =>
{
Tizen.Log.Fatal("NUIWidget", "[TestCase]Widget view creation aborted triggered");
- Tizen.Log.Debug("TCT", "[TestCase][WidgetCreationAborted][WidgetView] Pass");
+ Tizen.Log.Error("TCT", "[TestCase][WidgetCreationAborted][WidgetView] Pass");
};
_widgetView.WidgetUpdatePeriodChanged += (src, arg) =>
{
Tizen.Log.Fatal("NUIWidget", "[TestCase]Widget view update periodChanged triggered");
- Tizen.Log.Debug("TCT", "[TestCase][WidgetUpdatePeriodChanged][WidgetView] Pass");
+ Tizen.Log.Error("TCT", "[TestCase][WidgetUpdatePeriodChanged][WidgetView] Pass");
};
_widgetView.WidgetFaulted += (src, arg) =>
{
Tizen.Log.Fatal("NUIWidget", "[TestCase]Widget view faulted triggered");
- Tizen.Log.Debug("TCT", "[TestCase][WidgetFaulted][WidgetView] Pass");
+ Tizen.Log.Error("TCT", "[TestCase][WidgetFaulted][WidgetView] Pass");
};
}
}
Tizen.Log.Fatal("NUIWidget", "Will send content string " + content);
_widgetView = new WidgetView("test", "test", 100, 100, 0);
- if (_widgetView != null) { Tizen.Log.Debug("TCT", "[TestCase][WidgetView][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][WidgetView][WidgetView] Fail"); }
+ if (_widgetView != null) { Tizen.Log.Error("TCT", "[TestCase][WidgetView][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][WidgetView][WidgetView] Fail"); }
_widgetView = null;
- if (_viewManager) { Tizen.Log.Debug("TCT", "[TestCase][WidgetViewManager][WidgetViewManager] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][WidgetViewManager][WidgetViewManager] Fail"); }
+ if (_viewManager) { Tizen.Log.Error("TCT", "[TestCase][WidgetViewManager][WidgetViewManager] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][WidgetViewManager][WidgetViewManager] Fail"); }
_widgetView = _viewManager.AddWidget("org.tizen.example.WidgetApplicationWearableSample", content, 360, 130, 0);
- if (_widgetView) { Tizen.Log.Debug("TCT", "[TestCase][AddWidget][WidgetViewManager] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][AddWidget][WidgetViewManager] Fail"); }
+ if (_widgetView) { Tizen.Log.Error("TCT", "[TestCase][AddWidget][WidgetViewManager] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][AddWidget][WidgetViewManager] Fail"); }
_widgetView.WidgetContentUpdated += OnWidgetContentUpdated;
_widgetView.Size2D = new Size2D(360, 130);
_widgetView.Size2D = new Size2D(360, 130);
Tizen.Log.Fatal("NUIWidget", "widget view WidgetID: " + _widgetView.WidgetID);
- if (_widgetView.WidgetID == "org.tizen.example.WidgetApplicationWearableSample") { Tizen.Log.Debug("TCT", "[TestCase][WidgetID][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][WidgetID][WidgetView] Fail"); }
+ if (_widgetView.WidgetID == "org.tizen.example.WidgetApplicationWearableSample") { Tizen.Log.Error("TCT", "[TestCase][WidgetID][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][WidgetID][WidgetView] Fail"); }
Tizen.Log.Fatal("NUIWidget", "widget view InstanceID: " + _widgetView.InstanceID);
- if (_widgetView.InstanceID != "") { Tizen.Log.Debug("TCT", "[TestCase][InstanceID][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][InstanceID][WidgetView] Fail"); }
+ if (_widgetView.InstanceID != "") { Tizen.Log.Error("TCT", "[TestCase][InstanceID][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][InstanceID][WidgetView] Fail"); }
Tizen.Log.Fatal("NUIWidget", "widget view ContentInfo: " + _widgetView.ContentInfo);
- if (_widgetView.ContentInfo != "") { Tizen.Log.Debug("TCT", "[TestCase][ContentInfo][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][ContentInfo][WidgetView] Fail"); }
+ if (_widgetView.ContentInfo != "") { Tizen.Log.Error("TCT", "[TestCase][ContentInfo][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][ContentInfo][WidgetView] Fail"); }
Tizen.Log.Fatal("NUIWidget", "widget view Title: " + _widgetView.Title);
- if (_widgetView.Title == "WidgetApplicationWearableSample") { Tizen.Log.Debug("TCT", "[TestCase][Title][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][Title][WidgetView] Fail"); }
+ if (_widgetView.Title == "WidgetApplicationWearableSample") { Tizen.Log.Error("TCT", "[TestCase][Title][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][Title][WidgetView] Fail"); }
Tizen.Log.Fatal("NUIWidget", "widget view UpdatePeriod: " + _widgetView.UpdatePeriod);
- if (_widgetView.UpdatePeriod == 0) { Tizen.Log.Debug("TCT", "[TestCase][UpdatePeriod][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][UpdatePeriod][WidgetView] Fail"); }
+ if (_widgetView.UpdatePeriod == 0) { Tizen.Log.Error("TCT", "[TestCase][UpdatePeriod][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][UpdatePeriod][WidgetView] Fail"); }
Tizen.Log.Fatal("NUIWidget", "widget view LoadingText: " + _widgetView.LoadingText);
- if (_widgetView.LoadingText == true) { Tizen.Log.Debug("TCT", "[TestCase][LoadingText][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][LoadingText][WidgetView] Fail"); }
+ if (_widgetView.LoadingText == true) { Tizen.Log.Error("TCT", "[TestCase][LoadingText][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][LoadingText][WidgetView] Fail"); }
AddEventHandler();
}
if (_widgetView != null)
{
bool ret = _widgetView.PermanentDelete;
- if (ret == false) { Tizen.Log.Debug("TCT", "[TestCase][PermanentDelete][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][PermanentDelete][WidgetView] Fail"); }
+ if (ret == false) { Tizen.Log.Error("TCT", "[TestCase][PermanentDelete][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][PermanentDelete][WidgetView] Fail"); }
ret = _widgetView.CancelTouchEvent();
- if (ret) { Tizen.Log.Debug("TCT", "[TestCase][CancelTouchEvent][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][CancelTouchEvent][WidgetView] Fail"); }
+ if (ret) { Tizen.Log.Error("TCT", "[TestCase][CancelTouchEvent][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][CancelTouchEvent][WidgetView] Fail"); }
_window.Remove(_widgetView);
ret = _widgetView.TerminateWidget();
- if (ret) { Tizen.Log.Debug("TCT", "[TestCase][TerminateWidget][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][TerminateWidget][WidgetView] Fail"); }
+ if (ret) { Tizen.Log.Error("TCT", "[TestCase][TerminateWidget][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][TerminateWidget][WidgetView] Fail"); }
_widgetView.Dispose();
_widgetView = null;
if (_widgetView != null)
{
bool ret = _widgetView.ResumeWidget();
- if (ret) { Tizen.Log.Debug("TCT", "[TestCase][ResumeWidget][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][ResumeWidget][WidgetView] Fail"); }
+ if (ret) { Tizen.Log.Error("TCT", "[TestCase][ResumeWidget][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][ResumeWidget][WidgetView] Fail"); }
try
{
Tizen.Log.Error("TCT", "[TestCase] Caught Exception" + exception.ToString());
Tizen.Log.Error("TCT", "[TestCase][ActivateFaultedWidget][WidgetView] Fail");
}
- Tizen.Log.Debug("TCT", "[TestCase][ActivateFaultedWidget][WidgetView] Pass");
+ Tizen.Log.Error("TCT", "[TestCase][ActivateFaultedWidget][WidgetView] Pass");
ret = _widgetView.Preview;
- if (ret) { Tizen.Log.Debug("TCT", "[TestCase][Preview][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][Preview][WidgetView] Fail"); }
+ if (ret) { Tizen.Log.Error("TCT", "[TestCase][Preview][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][Preview][WidgetView] Fail"); }
ret = _widgetView.WidgetStateFaulted;
- if (!ret) { Tizen.Log.Debug("TCT", "[TestCase][WidgetStateFaulted][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][WidgetStateFaulted][WidgetView] Fail"); }
+ if (!ret) { Tizen.Log.Error("TCT", "[TestCase][WidgetStateFaulted][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][WidgetStateFaulted][WidgetView] Fail"); }
}
Tizen.Log.Fatal("NUIWidget", "Widget view has been resumed!");
return true;
if (_widgetView != null)
{
bool ret = _widgetView.PauseWidget();
- if (ret) { Tizen.Log.Debug("TCT", "[TestCase][PauseWidget][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][PauseWidget][WidgetView] Fail"); }
+ if (ret) { Tizen.Log.Error("TCT", "[TestCase][PauseWidget][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][PauseWidget][WidgetView] Fail"); }
}
Tizen.Log.Fatal("NUIWidget", "Widget view has been paused!");
return true;
- }\r
-\r
+ }
+
private bool OnResizeBtnClicked(object source, EventArgs e)
{
if (_widgetView != null)
{
_widgetView.WidgetAdded += (src, arg) => {
Tizen.Log.Fatal("NUIWidget", "Widget view added triggered");
- Tizen.Log.Debug("TCT", "[TestCase][WidgetAdded][WidgetView] Pass");
+ Tizen.Log.Error("TCT", "[TestCase][WidgetAdded][WidgetView] Pass");
if (arg != null)
{
- Tizen.Log.Debug("TCT", "[TestCase][WidgetViewEventArgs][WidgetView] Pass");
- if (arg.WidgetView != null) { Tizen.Log.Debug("TCT", "[TestCase][WidgetViewEventArgs.WidgetView][WidgetView] Pass"); }
- else { Tizen.Log.Debug("TCT", "[TestCase][WidgetViewEventArgs.WidgetView][WidgetView] Fail"); }
+ Tizen.Log.Error("TCT", "[TestCase][WidgetViewEventArgs][WidgetView] Pass");
+ if (arg.WidgetView != null) { Tizen.Log.Error("TCT", "[TestCase][WidgetViewEventArgs.WidgetView][WidgetView] Pass"); }
+ else { Tizen.Log.Error("TCT", "[TestCase][WidgetViewEventArgs.WidgetView][WidgetView] Fail"); }
}
else
{
- Tizen.Log.Debug("TCT", "[TestCase][WidgetViewEventArgs][WidgetView] Fail");
+ Tizen.Log.Error("TCT", "[TestCase][WidgetViewEventArgs][WidgetView] Fail");
}
};
_widgetView.WidgetDeleted += (src, arg) => {
Tizen.Log.Fatal("NUIWidget", "Widget view deleted triggered");
- Tizen.Log.Debug("TCT", "[TestCase][WidgetDeleted][WidgetView] Pass");
+ Tizen.Log.Error("TCT", "[TestCase][WidgetDeleted][WidgetView] Pass");
};
_widgetView.WidgetCreationAborted += (src, arg) => {
_widgetView.WidgetUpdatePeriodChanged += (src, arg) => {
Tizen.Log.Fatal("NUIWidget", "Widget view update periodChanged triggered");
- Tizen.Log.Debug("TCT", "[TestCase][WidgetUpdatePeriodChanged][WidgetView] Pass");
+ Tizen.Log.Error("TCT", "[TestCase][WidgetUpdatePeriodChanged][WidgetView] Pass");
};
_widgetView.WidgetFaulted += (src, arg) => {
Tizen.Log.Fatal("NUIWidget", "Widget view faulted triggered");
- Tizen.Log.Debug("TCT", "[TestCase][WidgetFaulted][WidgetView] Pass");
+ Tizen.Log.Error("TCT", "[TestCase][WidgetFaulted][WidgetView] Pass");
};
}
}