[ElmSharp][Non-ACR] Updated TC for tv product 49/245549/5
authorJeonghyun Yun <jh0506.yun@samsung.com>
Mon, 12 Oct 2020 07:10:55 +0000 (16:10 +0900)
committerJeonghyun Yun <jh0506.yun@samsung.com>
Mon, 12 Oct 2020 07:34:06 +0000 (16:34 +0900)
Change-Id: Id0434e67d02a3584deebd96389adc47cdce7aba7
Signed-off-by: Jeonghyun Yun <jh0506.yun@samsung.com>
17 files changed:
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/MainPage.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/Program.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/TestPage.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSButton.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEntry.cs
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasObject.cs
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSEvasObjectEvent.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenGrid.cs
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenGridItem.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenList.cs
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSGenListItem.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSList.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSProgressBar.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSRadio.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSlider.cs
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSSpinner.cs [changed mode: 0755->0644]
tct-suite-vs/Tizen.ElmSharp.Manual.Tests/testcase/TSTable.cs

old mode 100755 (executable)
new mode 100644 (file)
index a6eee07..d38ea66
@@ -127,6 +127,8 @@ namespace NUnit.Framework
         private void MakeWindowPage()
         {
             _mainLayout = new Box(_mainWindow);
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) == 0)\r
+                _mainLayout.BackgroundColor = Color.Aqua;
 
             _summaryLabel = new Label(_mainWindow)
             {
@@ -140,6 +142,8 @@ namespace NUnit.Framework
             var navigationLayout = new Box(_mainWindow)
             {
                 IsHorizontal = true,
+                AlignmentX = -1,
+                WeightX = 1,
             };
 
             var runBtn = new Button(_mainWindow)
old mode 100755 (executable)
new mode 100644 (file)
index d25cd7e..8e0bacc
@@ -18,6 +18,7 @@ using System.IO;
 using NUnit.Framework;
 using Tizen.Applications;
 using ElmSharp;
+using ElmSharp.Tests;
 
 namespace ElmSharpApplication.Tizen
 {
@@ -82,6 +83,8 @@ namespace ElmSharpApplication.Tizen
         {
             Elementary.Initialize();
             Elementary.ThemeOverlay();
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) == 0)\r
+                Elementary.AddThemeOverlay("/usr/share/elm-sharp/vd-elm-sharp-theme.edj");
 
             testRunner = new Program();
             testRunner.Run(args);
old mode 100755 (executable)
new mode 100644 (file)
index 4227c93..7bc64b8
@@ -226,6 +226,8 @@ namespace NUnit.Framework
         private void MakeTestPage()
         {
             _mainBox = new Box(_mainWindow);
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) == 0)\r
+                _mainBox.BackgroundColor = Color.Aqua;
 
             _descriptionTitle = new Label(_mainWindow)
             {
@@ -545,7 +547,8 @@ namespace NUnit.Framework
 
         private void SetThemeColor(Layout widget)
         {
-            widget.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                widget.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
         }
 
         private void ShowDescription()
old mode 100755 (executable)
new mode 100644 (file)
index f89cf0e..d967a54
@@ -63,7 +63,8 @@ namespace ElmSharp.Tests
                 MinimumWidth = 100,
                 MinimumHeight = 80,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
             _testPage.ExecuteTC(_button);
         }
 
@@ -87,7 +88,8 @@ namespace ElmSharp.Tests
                 MinimumWidth = 100,
                 MinimumHeight = 80,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
 
             layout.PackEnd(_button);
             _button.Show();
index 0ffb791..2f8dec2 100644 (file)
@@ -150,7 +150,8 @@ namespace ElmSharp.Tests
                 MinimumHeight = 80
             };
             _entry.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000'";
-            _button1.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button1.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
             _layout.PackEnd(_entry);
             _layout.PackEnd(_button1);
             _entry.Show();
@@ -193,8 +194,11 @@ namespace ElmSharp.Tests
                 MinimumHeight = 80
             };
             _entry.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000'";
-            _button1.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
-            _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+            {\r
+                _button1.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";\r
+                _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+            }
             _layout.PackEnd(_entry);
             _layout.PackEnd(_button1);
             _layout.PackEnd(_button2);
index b8eec81..a185100 100644 (file)
@@ -124,7 +124,8 @@ namespace ElmSharp.Tests
                 MinimumWidth = 100,
                 MinimumHeight = 80,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
             _testPage.ExecuteTC(_button);
         }
 
old mode 100755 (executable)
new mode 100644 (file)
index c350ee8..ce35479
@@ -93,7 +93,8 @@ namespace ElmSharp.Tests
                 MinimumWidth = 100,
                 MinimumHeight = 80,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
             _testPage.ExecuteTC(_button);
         }
 
@@ -116,7 +117,8 @@ namespace ElmSharp.Tests
                 MinimumWidth = 100,
                 MinimumHeight = 80,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
             _button.Show();
 
             _DisButton = new Button(_window)
@@ -127,7 +129,8 @@ namespace ElmSharp.Tests
                 MinimumWidth = 100,
                 MinimumHeight = 80,
             };
-            _DisButton.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _DisButton.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
             _DisButton.Show();
 
             _box.PackEnd(_button);
index 3b7aab9..ad5f34a 100644 (file)
@@ -308,7 +308,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
 
             _button.Clicked += OnClickedClear;
 
@@ -357,7 +358,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
 
             _button.Clicked += OnClickedInsertBefore;
 
@@ -406,7 +408,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
 
             _button.Clicked += OnClickedPrepend;
 
@@ -456,7 +459,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
 
             _button.Clicked += OnClickedScrollTo1;
 
@@ -466,7 +470,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
 
             _button2.Clicked += OnClickedScrollTo2;
 
@@ -524,7 +529,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button.Clicked += OnClickedUpdateRealized;
 
             _box = new Box(_window)
@@ -571,7 +577,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
 
             _button.Clicked += OnClickedCheckGetItem;
 
@@ -784,7 +791,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
 
             _button.Clicked += OnClickedDelete;
 
old mode 100755 (executable)
new mode 100644 (file)
index c678ae2..f866d20
@@ -245,7 +245,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button.Clicked += OnClicked;
 
             _box = new Box(_window)
index 848530d..884043a 100644 (file)
@@ -504,7 +504,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button.Clicked += ClickedClear;
 
             _box = new Box(_window)
@@ -552,7 +553,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button.Clicked += ClickedInsertBeforeDefault;
             _box = new Box(_window)
             {
@@ -601,7 +603,8 @@ namespace ElmSharp.Tests
                     AlignmentX = -1,
                     WeightX = 1,
                 };
-                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+                if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                    _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
                 _button.Clicked += ClickedInsertBeforeGroup;
 
                 _box = new Box(_window)
@@ -658,7 +661,8 @@ namespace ElmSharp.Tests
                     AlignmentX = -1,
                     WeightX = 1,
                 };
-                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+                if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                    _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
                 _button.Clicked += ClickedInsertBeforeTree;
 
                 _box = new Box(_window)
@@ -712,7 +716,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button.Clicked += ClickedPrependDefault;
 
             _box = new Box(_window)
@@ -762,7 +767,8 @@ namespace ElmSharp.Tests
                     AlignmentX = -1,
                     WeightX = 1
                 };
-                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+                if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                    _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
                 _button.Clicked += ClickedPrependGroup;
 
                 _box = new Box(_window)
@@ -819,7 +825,8 @@ namespace ElmSharp.Tests
                     AlignmentX = -1,
                     WeightX = 1
                 };
-                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+                if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                    _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
                 _button.Clicked += ClickedPrependTree;
 
                 _box = new Box(_window)
@@ -874,7 +881,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button.Clicked += ClickedScrollTo1;
 
             _button2 = new Button(_window)
@@ -883,7 +891,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1
             };
-            _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
 
             _button2.Clicked += ClickedScrollTo2;
 
@@ -941,7 +950,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button.Clicked += ClickedUpdate;
 
             _box = new Box(_window)
@@ -988,7 +998,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
 
             _button.Clicked += OnClickedCheckGetItem;
 
@@ -1201,7 +1212,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button.Clicked += ClickedUnrealize;
 
             _button2 = new Button(_window)
@@ -1210,7 +1222,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1
             };
-            _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button2.Clicked += ClickedSetUnrealize;
 
             _box = new Box(_window)
@@ -1399,7 +1412,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button.Clicked += ClickedScrollTo2;
 
             _box = new Box(_window)
@@ -1447,7 +1461,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button.Clicked += ClickedScrollTo2;
 
             _box = new Box(_window)
@@ -1561,7 +1576,8 @@ namespace ElmSharp.Tests
                     WeightX = 1,
                     IsEnabled = false
                 };
-                _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+                if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                    _button2.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
 
                 _button = new Button(_window)
                 {
@@ -1569,7 +1585,8 @@ namespace ElmSharp.Tests
                     AlignmentX = -1,
                     WeightX = 1,
                 };
-                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+                if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                    _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
                 _button.Clicked += ClickedSetFocus;
 
                 _box = new Box(_window)
old mode 100755 (executable)
new mode 100644 (file)
index a73f28f..ce8edc1
@@ -257,7 +257,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button.Clicked += ClickedUpdate;
 
             _box = new Box(_window)
@@ -310,7 +311,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button.Clicked += ClickedUpdateField;
 
             _box = new Box(_window)
@@ -362,7 +364,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button.Clicked += ClickedUpdateItemClass;
 
             _box = new Box(_window)
@@ -410,7 +413,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
 
             _button.Clicked += OnClickedCheckItemDepth;
 
old mode 100755 (executable)
new mode 100644 (file)
index c14ed7a..c13bc94
@@ -230,7 +230,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button.Clicked += ClickedClear;
 
             _box = new Box(_window)
@@ -279,7 +280,8 @@ namespace ElmSharp.Tests
                 AlignmentX = -1,
                 WeightX = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
             _button.Clicked += ClickedPrepend;
 
             _box = new Box(_window)
@@ -326,7 +328,8 @@ namespace ElmSharp.Tests
                     AlignmentX = -1,
                     WeightX = 1,
                 };
-                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
+                if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                    _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#000000 font_size=30 align=center valign=center wrap=word'";
                 _button.Clicked += ClickedPrepend2;
 
                 _box = new Box(_window)
old mode 100755 (executable)
new mode 100644 (file)
index 04686f6..0c61b8f
@@ -106,7 +106,8 @@ namespace ElmSharp.Tests
                 WeightX = 0.5,
                 WeightY = 1,
             };
-            _btn.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _btn.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
 
             _btn.Show();
             _box.PackStart(_btn);
@@ -264,6 +265,10 @@ namespace ElmSharp.Tests
             {
                 _progressbar.Style = "process/small";
             }
+            else if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) == 0)
+            {\r
+                _progressbar.Style = "process";\r
+            }
             else
             {
                 _progressbar.Style = "wheel";
@@ -298,6 +303,10 @@ namespace ElmSharp.Tests
             {
                 _progressbar.Style = "process/small";
             }
+            else if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) == 0)
+            {\r
+                _progressbar.Style = "process";\r
+            }
             else
             {
                 _progressbar.Style = "wheel";
old mode 100755 (executable)
new mode 100644 (file)
index 84d332f..3bb3655
@@ -44,6 +44,8 @@ namespace ElmSharp.Tests
                 WeightX = 1,
                 WeightY = 1
             };
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) == 0)
+                _box.BackgroundColor = Color.Aqua;
         }
 
         [TearDown]
@@ -103,7 +105,8 @@ namespace ElmSharp.Tests
                 WeightX = 0.5,
                 WeightY = 1,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
 
             _button.Show();
             _box.PackStart(_button);
index 141e927..abfe218 100644 (file)
@@ -102,7 +102,8 @@ namespace ElmSharp.Tests
                 WeightX = 0.5,
                 WeightY = 1,
             };
-            _btn.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _btn.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
 
             _btn.Show();
             _box.PackStart(_btn);
old mode 100755 (executable)
new mode 100644 (file)
index 4399233..174a5c3
@@ -99,7 +99,8 @@ namespace ElmSharp.Tests
                 MinimumWidth = 100,
                 MinimumHeight = 80,
             };
-            _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) != 0)\r
+                _button.EdjeObject["elm.text"].TextStyle = "DEFAULT = 'color=#FFFFFF font_size=25 align=center valign=center wrap=char'";
 
             _layout.PackEnd(_button);
             _layout.PackEnd(_spinner);
index 97afb87..9100a02 100644 (file)
@@ -94,7 +94,9 @@ namespace ElmSharp.Tests
                 WeightY = 1
             };
             _layout.Show();
-
+            if (ElmSharpProfile.GetProfile().CompareTo(ElmSharpProfile.TvProfile) == 0)\r
+                _layout.BackgroundColor = Color.Aqua;\r
+\r
             _table = new Table(_window)
             {
                 PaddingX = 10,