From dcac2794dd7724cab93d8cb86b4d8ac86c83cac3 Mon Sep 17 00:00:00 2001 From: "seoyeon2.kim" Date: Wed, 30 Dec 2015 14:02:54 +0900 Subject: [PATCH] [3.0] Fix license issues from the protex server - Change licence names in .spec to match SPDX identifiers - Remove application.js which is reported as GPL licensed Change-Id: I06827502f595b6a6ff3c816e42ec1c227bbfa2c7 --- automated-tests/style/application.js | 194 ----------------------------------- packaging/dali-adaptor.spec | 2 +- 2 files changed, 1 insertion(+), 195 deletions(-) delete mode 100644 automated-tests/style/application.js diff --git a/automated-tests/style/application.js b/automated-tests/style/application.js deleted file mode 100644 index 147094f..0000000 --- a/automated-tests/style/application.js +++ /dev/null @@ -1,194 +0,0 @@ -function getScrollTop() { - return f_scrollTop(); -} - -function f_scrollTop() { - return f_filterResults($(window) ? $(window).scrollTop() : 0, - document.documentElement ? document.documentElement.scrollTop : 0, - document.body ? document.body.scrollTop : 0); -} -function f_filterResults(n_win, n_docel, n_body) { - var n_result = n_win ? n_win : 0; - if (n_docel && (!n_result || (n_result > n_docel))) - n_result = n_docel; - return n_body && (!n_result || (n_result > n_body)) ? n_body : n_result; -} - -function setScrollTop() { - $(window) ? $(window).scrollTop(0) : 0; - document.documentElement ? document.documentElement.scrollTop = 0 : 0; - document.body ? document.body.scrollTop = 0 : 0; -} - -function goTopEx() { - $node = $('#goTopBtn'); - if (getScrollTop() > 0) { - $node.show(); - } else { - $node.hide(); - } - - $(window).scroll(function() { - if (getScrollTop() > 0) { - $node.show(); - } else { - $node.hide(); - } - }); - - $node.click(function() { - setScrollTop(); - }); -} - -function drawRatio() { - $('.suite_item').each(function(i, node) { - drawSuiteRatio(node) - }); -} - -$(".see_all").click(function(){ - $("#see_all").show(); - $("#see_fail").hide(); - $("#see_block").hide(); - $("#see_na").hide(); - updateToggles(); - return false; -}); - -$(".see_failed").click(function(){ - $("#see_all").hide(); - $("#see_fail").show(); - $("#see_block").hide(); - $("#see_na").hide(); - updateToggles(); - return false; -}); - -$(".see_blocked").click(function(){ - $("#see_all").hide(); - $("#see_fail").hide(); - $("#see_block").show(); - $("#see_na").hide(); - updateToggles(); - return false; -}); - -$(".see_na").click(function(){ - $("#see_all").hide(); - $("#see_fail").hide(); - $("#see_block").hide(); - $("#see_na").show(); - updateToggles(); - return false; -}); - -$("a.test_case_popup").click(function(){ - var $this = $(this); - Popup.show($this.attr('id')); - return false; -}); - -$(".see_capabilities").click(function(){ - if ($('#capability_table').css('display') == 'none') { - $("#capability_table").show(); - }else{ - $("#capability_table").hide(); - } - return false; -}); - -function drawSuiteRatio(node) { - arrTitle = new Array("Passed", "Failed", "Blocked", "Not Executed"); - var $node = $(node); - var $total = $node.find('.total'); - var $pass = $node.find('.pass'); - var $fail = $node.find('.fail'); - var $block = $node.find('.block'); - var $na = $node.find('.na'); - var $div = $node.find('.RatioGraphic'); - - var total_int = parseInt($total.text()); - var pass_int = parseInt($pass.text()); - var fail_int = parseInt($fail.text()); - var block_int = parseInt($block.text()); - var na_int = parseInt($na.text()); - - var pass_rate = pass_int * 100 / total_int; - var fail_rate = fail_int * 100 / total_int; - var block_rate = block_int * 100 / total_int; - var na_rate = na_int * 100 / total_int; - - var areaWidth = 380; - - var pass_width = areaWidth * pass_rate / 100; - var fail_width = areaWidth * fail_rate / 100; - var block_width = areaWidth * block_rate / 100; - var na_width = areaWidth * na_rate / 100; - - pass_rate = pass_rate.toFixed(2); - fail_rate = fail_rate.toFixed(2); - block_rate = block_rate.toFixed(2); - na_rate = na_rate.toFixed(2); - - var pass_style = "padding:3px 0px 0px 0px;font-size:9pt;height:17px;text-align:center;color:white;font-weight:bold;background:url("./style/blue.jpg");" - var fail_style = "padding:3px 0px 0px 0px;font-size:9pt;height:17px;text-align:center;color:white;font-weight:bold;background:url("./style/red.jpg");" - var block_style = "padding:3px 0px 0px 0px;font-size:9pt;height:17px;text-align:center;color:white;font-weight:bold;background:url("./style/orange.jpg");" - var na_style = "padding:3px 0px 0px 0px;font-size:9pt;height:17px;text-align:center;color:white;font-weight:bold;background:url("./style/gray.jpg");" - - var html = ""; - if (pass_width > 0){ - html += ""; - } - if (fail_width > 0){ - html += ""; - } - if (block_width > 0){ - html += ""; - } - if (na_width > 0){ - html += ""; - } - html += "
"; - if (pass_width > 20){ - html += pass_rate + "%" - } - html += ""; - if (fail_width > 20){ - html += fail_rate + "%" - } - html += ""; - if (block_width > 20){ - html += block_rate + "%" - } - html += ""; - if (na_width > 20){ - html += na_rate + "%" - } - html += "
"; - $div.html(html); -} diff --git a/packaging/dali-adaptor.spec b/packaging/dali-adaptor.spec index be4139b..8663e02 100644 --- a/packaging/dali-adaptor.spec +++ b/packaging/dali-adaptor.spec @@ -5,7 +5,7 @@ Summary: The DALi Tizen Adaptor Version: 1.1.7 Release: 1 Group: System/Libraries -License: Apache-2.0, BSD-2.0, MIT +License: Apache-2.0 and BSD-2-Clause and MIT URL: https://review.tizen.org/git/?p=platform/core/uifw/dali-adaptor.git;a=summary Source0: %{name}-%{version}.tar.gz -- 2.7.4