[NUI] Fix NUI.Components TCT fail (#1541)
authordongsug-song <35130733+dongsug-song@users.noreply.github.com>
Tue, 14 Apr 2020 04:46:12 +0000 (13:46 +0900)
committerGitHub <noreply@github.com>
Tue, 14 Apr 2020 04:46:12 +0000 (13:46 +0900)
src/Tizen.NUI.Components/Utils/StyleManager.cs

index e057cba..cf562ff 100755 (executable)
@@ -178,7 +178,7 @@ namespace Tizen.NUI.Components
         /// <since_tizen> 8 </since_tizen>
         public void RegisterComponentStyle(string targetTheme, Type component, Type style)
         {
-            if (targetTheme == null)
+            if (targetTheme == null || component == null || style == null)
             {
                 throw new ArgumentException("The argument targetTheme must be specified");
             }