Line 116: | Line 116: | ||
/* level - 0:Summary; 1:Failed; 2:All */ | /* level - 0:Summary; 1:Failed; 2:All */ | ||
− | function | + | function showCase6(level) { |
trs = document.getElementsByTagName("tr"); | trs = document.getElementsByTagName("tr"); | ||
for (var i = 0; i < trs.length; i++) { | for (var i = 0; i < trs.length; i++) { | ||
Line 324: | Line 324: | ||
function showTestDetail5(div_id) { | function showTestDetail5(div_id) { | ||
+ | var details_div = document.getElementById(div_id) | ||
+ | var displayState = details_div.style.display | ||
+ | // alert(displayState) | ||
+ | if (displayState != 'block') { | ||
+ | displayState = 'block' | ||
+ | details_div.style.display = 'block' | ||
+ | } else { | ||
+ | details_div.style.display = 'none' | ||
+ | } | ||
+ | } | ||
+ | |||
+ | function showCase6(level) { | ||
+ | trs = document.getElementsByTagName("tr"); | ||
+ | for (var i = 0; i < trs.length; i++) { | ||
+ | tr = trs[i]; | ||
+ | id = tr.id; | ||
+ | if (id.substr(0, 2) == 'ft') { | ||
+ | if (level < 1) { | ||
+ | tr.className = 'hiddenRow'; | ||
+ | } else { | ||
+ | tr.className = ''; | ||
+ | } | ||
+ | } | ||
+ | if (id.substr(0, 2) == 'pt') { | ||
+ | if (level > 1) { | ||
+ | tr.className = ''; | ||
+ | } else { | ||
+ | tr.className = 'hiddenRow'; | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | function showClassDetail6(cid, count) { | ||
+ | var id_list = Array(count); | ||
+ | var toHide = 1; | ||
+ | for (var i = 0; i < count; i++) { | ||
+ | tid0 = 't' + cid.substr(1) + '.' + (i + 1); | ||
+ | tid = 'f' + tid0; | ||
+ | tr = document.getElementById(tid); | ||
+ | if (!tr) { | ||
+ | tid = 'p' + tid0; | ||
+ | tr = document.getElementById(tid); | ||
+ | } | ||
+ | id_list[i] = tid; | ||
+ | if (tr.className) { | ||
+ | toHide = 0; | ||
+ | } | ||
+ | } | ||
+ | for (var i = 0; i < count; i++) { | ||
+ | tid = id_list[i]; | ||
+ | if (toHide) { | ||
+ | document.getElementById('div_' + tid).style.display = 'none' | ||
+ | document.getElementById(tid).className = 'hiddenRow'; | ||
+ | } else { | ||
+ | document.getElementById(tid).className = ''; | ||
+ | } | ||
+ | } | ||
+ | } | ||
+ | |||
+ | |||
+ | function showTestDetail6(div_id) { | ||
var details_div = document.getElementById(div_id) | var details_div = document.getElementById(div_id) | ||
var displayState = details_div.style.display | var displayState = details_div.style.display | ||
Line 1,594: | Line 1,657: | ||
<div class='heading' style="margin-top:160px;text-align:center;font-faimily:Light;"> | <div class='heading' style="margin-top:160px;text-align:center;font-faimily:Light;"> | ||
− | <h1 style="margin-top: 90px;font-family: Light;font-size:36px;">Unit Test | + | <h1 style="margin-top: 90px;font-family: Light;font-size:36px;">Unit Test 6</h1> |
<font class='attribute' style="font-family: Light;font-size:16px;line-height:10px;"> | <font class='attribute' style="font-family: Light;font-size:16px;line-height:10px;"> | ||
<strong>Start Time: 2017-10-05 23:50:48</strong> | <strong>Start Time: 2017-10-05 23:50:48</strong> | ||
Line 1,633: | Line 1,696: | ||
<td>0</td> | <td>0</td> | ||
<td>0</td> | <td>0</td> | ||
− | <td><a href="javascript: | + | <td> |
+ | <a href="javascript:showClassDetail6('c1',1)" style="color:#78c2c4;font-weight:bold;">Detail</a> | ||
+ | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt1.1' class='hiddenRow'> | <tr id='pt1.1' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_MarkovRecommend</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_MarkovRecommend</div> | ||
+ | </td> | ||
<td colspan='5' align='center'> | <td colspan='5' align='center'> | ||
− | + | ||
− | + | <!--css div popup start--> | |
− | + | <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail6('div_pt1.1')"> | |
− | + | pass</a> | |
− | + | ||
− | + | <div id='div_pt1.1' class="popup_window"> | |
− | + | <div style='text-align: right; color:red;cursor:pointer'> | |
− | + | <a onfocus='this.blur();' onclick="document.getElementById('div_pt1.1').style.display = 'none' "> | |
− | + | [x]</a> | |
− | + | </div> | |
− | + | <pre> | |
pt1.1: | pt1.1: | ||
</pre> | </pre> | ||
− | + | </div> | |
− | + | <!--css div popup end--> | |
− | + | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr class='passClass'> | <tr class='passClass'> | ||
<td>MarkovTestCase</td> | <td>MarkovTestCase</td> | ||
Line 1,666: | Line 1,733: | ||
<td>0</td> | <td>0</td> | ||
<td>0</td> | <td>0</td> | ||
− | <td><a href="javascript: | + | <td> |
+ | <a href="javascript:showClassDetail6('c2',2)" style="color:#78c2c4;font-weight:bold;">Detail</a> | ||
+ | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt2.1' class='hiddenRow'> | <tr id='pt2.1' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_get_chain</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_get_chain</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt2.2' class='hiddenRow'> | <tr id='pt2.2' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_predict</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_predict</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr class='passClass'> | <tr class='passClass'> | ||
<td>createFolderTestCase</td> | <td>createFolderTestCase</td> | ||
Line 1,685: | Line 1,758: | ||
<td>0</td> | <td>0</td> | ||
<td>0</td> | <td>0</td> | ||
− | <td><a href="javascript: | + | <td> |
+ | <a href="javascript:showClassDetail6('c3',2)" style="color:#78c2c4;font-weight:bold;">Detail</a> | ||
+ | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt3.1' class='hiddenRow'> | <tr id='pt3.1' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_repeat_folder</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_repeat_folder</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt3.2' class='hiddenRow'> | <tr id='pt3.2' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_new_folder</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_new_folder</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr class='passClass'> | <tr class='passClass'> | ||
<td>geneFileNameTestCase</td> | <td>geneFileNameTestCase</td> | ||
Line 1,704: | Line 1,783: | ||
<td>0</td> | <td>0</td> | ||
<td>0</td> | <td>0</td> | ||
− | <td><a href="javascript: | + | <td> |
+ | <a href="javascript:showClassDetail6('c4',1)" style="color:#78c2c4;font-weight:bold;">Detail</a> | ||
+ | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt4.1' class='hiddenRow'> | <tr id='pt4.1' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_normal</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_normal</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr class='passClass'> | <tr class='passClass'> | ||
<td>getUserProjectTestCase</td> | <td>getUserProjectTestCase</td> | ||
Line 1,718: | Line 1,801: | ||
<td>0</td> | <td>0</td> | ||
<td>0</td> | <td>0</td> | ||
− | <td><a href="javascript: | + | <td> |
+ | <a href="javascript:showClassDetail6('c5',2)" style="color:#78c2c4;font-weight:bold;">Detail</a> | ||
+ | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt5.1' class='hiddenRow'> | <tr id='pt5.1' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_normal</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_normal</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt5.2' class='hiddenRow'> | <tr id='pt5.2' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_empty_project</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_empty_project</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr class='passClass'> | <tr class='passClass'> | ||
<td>formatProjectListTestCase</td> | <td>formatProjectListTestCase</td> | ||
<td>2</td> | <td>2</td> | ||
− | <td> | + | <td>2</td> |
− | + | ||
<td>0</td> | <td>0</td> | ||
− | <td><a href="javascript: | + | <td>0</td> |
+ | <td> | ||
+ | <a href="javascript:showClassDetail6('c6',2)" style="color:#78c2c4;font-weight:bold;">Detail</a> | ||
+ | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt6.1' class='hiddenRow'> | <tr id='pt6.1' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_list_exist</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_list_exist</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt6.2' class='hiddenRow'> | <tr id='pt6.2' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_null_list</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_null_list</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr class='passClass'> | <tr class='passClass'> | ||
<td>getChainListTestCase</td> | <td>getChainListTestCase</td> | ||
<td>3</td> | <td>3</td> | ||
− | <td> | + | <td>3</td> |
− | + | ||
<td>0</td> | <td>0</td> | ||
− | <td><a href="javascript: | + | <td>0</td> |
+ | <td> | ||
+ | <a href="javascript:showClassDetail6('c7',3)" style="color:#78c2c4;font-weight:bold;">Detail</a> | ||
+ | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt7.1' class='hiddenRow'> | <tr id='pt7.1' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_id_exist</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_id_exist</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt7.2' class='hiddenRow'> | <tr id='pt7.2' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_id_not_exist</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_id_not_exist</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt7.3' class='hiddenRow'> | <tr id='pt7.3' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_id_null</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_id_null</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr class='passClass'> | <tr class='passClass'> | ||
<td>getChainTestCase</td> | <td>getChainTestCase</td> | ||
Line 1,780: | Line 1,883: | ||
<td>0</td> | <td>0</td> | ||
<td>0</td> | <td>0</td> | ||
− | <td><a href="javascript: | + | <td> |
+ | <a href="javascript:showClassDetail6('c8',3)" style="color:#78c2c4;font-weight:bold;">Detail</a> | ||
+ | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt8.1' class='hiddenRow'> | <tr id='pt8.1' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_empty_chain</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_empty_chain</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt8.2' class='hiddenRow'> | <tr id='pt8.2' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_empty_chain</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_empty_chain</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt8.3' class='hiddenRow'> | <tr id='pt8.3' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_chainId_not_exist</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_chainId_not_exist</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr class='passClass'> | <tr class='passClass'> | ||
<td>FooTest</td> | <td>FooTest</td> | ||
Line 1,804: | Line 1,915: | ||
<td>0</td> | <td>0</td> | ||
<td>0</td> | <td>0</td> | ||
− | <td><a href="javascript: | + | <td> |
+ | <a href="javascript:showClassDetail6('c9',11)" style="color:#78c2c4;font-weight:bold;">Detail</a> | ||
+ | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt9.1' class='hiddenRow'> | <tr id='pt9.1' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_7_2: test analyseData from recommend.py</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_7_2: test analyseData from recommend.py</div> | ||
+ | </td> | ||
<td colspan='5' align='center'> | <td colspan='5' align='center'> | ||
− | + | ||
− | + | <!--css div popup start--> | |
− | + | <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail6('div_pt9.1')"> | |
− | + | pass</a> | |
− | + | ||
− | + | <div id='div_pt9.1' class="popup_window"> | |
− | + | <div style='text-align: right; color:red;cursor:pointer'> | |
− | + | <a onfocus='this.blur();' onclick="document.getElementById('div_pt9.1').style.display = 'none' "> | |
− | + | [x]</a> | |
− | + | </div> | |
− | + | <pre> | |
pt9.1: | pt9.1: | ||
</pre> | </pre> | ||
− | + | </div> | |
− | + | <!--css div popup end--> | |
− | + | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt9.2' class='hiddenRow'> | <tr id='pt9.2' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_8_1: test toFrozenset from recommend.py</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_8_1: test toFrozenset from recommend.py</div> | ||
+ | </td> | ||
<td colspan='5' align='center'> | <td colspan='5' align='center'> | ||
− | + | ||
− | + | <!--css div popup start--> | |
− | + | <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail6('div_pt9.2')"> | |
− | + | pass</a> | |
− | + | ||
− | + | <div id='div_pt9.2' class="popup_window"> | |
− | + | <div style='text-align: right; color:red;cursor:pointer'> | |
− | + | <a onfocus='this.blur();' onclick="document.getElementById('div_pt9.2').style.display = 'none' "> | |
− | + | [x]</a> | |
− | + | </div> | |
− | + | <pre> | |
pt9.2: | pt9.2: | ||
</pre> | </pre> | ||
− | + | </div> | |
− | + | <!--css div popup end--> | |
− | + | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt9.3' class='hiddenRow'> | <tr id='pt9.3' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_8_2: test toFrozenset from recommend.py</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_8_2: test toFrozenset from recommend.py</div> | ||
+ | </td> | ||
<td colspan='5' align='center'> | <td colspan='5' align='center'> | ||
− | + | ||
− | + | <!--css div popup start--> | |
− | + | <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail6('div_pt9.3')"> | |
− | + | pass</a> | |
− | + | ||
− | + | <div id='div_pt9.3' class="popup_window"> | |
− | + | <div style='text-align: right; color:red;cursor:pointer'> | |
− | + | <a onfocus='this.blur();' onclick="document.getElementById('div_pt9.3').style.display = 'none' "> | |
− | + | [x]</a> | |
− | + | </div> | |
− | + | <pre> | |
pt9.3: | pt9.3: | ||
</pre> | </pre> | ||
− | + | </div> | |
− | + | <!--css div popup end--> | |
− | + | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt9.4' class='hiddenRow'> | <tr id='pt9.4' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_8_3: test toFrozenset from recommend.py</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_8_3: test toFrozenset from recommend.py</div> | ||
+ | </td> | ||
<td colspan='5' align='center'> | <td colspan='5' align='center'> | ||
− | + | ||
− | + | <!--css div popup start--> | |
− | + | <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail6('div_pt9.4')"> | |
− | + | pass</a> | |
− | + | ||
− | + | <div id='div_pt9.4' class="popup_window"> | |
− | + | <div style='text-align: right; color:red;cursor:pointer'> | |
− | + | <a onfocus='this.blur();' onclick="document.getElementById('div_pt9.4').style.display = 'none' "> | |
− | + | [x]</a> | |
− | + | </div> | |
− | + | <pre> | |
pt9.4: | pt9.4: | ||
</pre> | </pre> | ||
− | + | </div> | |
− | + | <!--css div popup end--> | |
− | + | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt9.5' class='hiddenRow'> | <tr id='pt9.5' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_8_4: test toFrozenset from recommend.py</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_8_4: test toFrozenset from recommend.py</div> | ||
+ | </td> | ||
<td colspan='5' align='center'> | <td colspan='5' align='center'> | ||
− | + | ||
− | + | <!--css div popup start--> | |
− | + | <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail6('div_pt9.5')"> | |
− | + | pass</a> | |
− | + | ||
− | + | <div id='div_pt9.5' class="popup_window"> | |
− | + | <div style='text-align: right; color:red;cursor:pointer'> | |
− | + | <a onfocus='this.blur();' onclick="document.getElementById('div_pt9.5').style.display = 'none' "> | |
− | + | [x]</a> | |
− | + | </div> | |
− | + | <pre> | |
pt9.5: | pt9.5: | ||
</pre> | </pre> | ||
− | + | </div> | |
− | + | <!--css div popup end--> | |
− | + | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt9.6' class='hiddenRow'> | <tr id='pt9.6' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_9_1: test getResult from recommend.py</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_9_1: test getResult from recommend.py</div> | ||
+ | </td> | ||
<td colspan='5' align='center'> | <td colspan='5' align='center'> | ||
− | + | ||
− | + | <!--css div popup start--> | |
− | + | <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail6('div_pt9.6')"> | |
− | + | pass</a> | |
− | + | ||
− | + | <div id='div_pt9.6' class="popup_window"> | |
− | + | <div style='text-align: right; color:red;cursor:pointer'> | |
− | + | <a onfocus='this.blur();' onclick="document.getElementById('div_pt9.6').style.display = 'none' "> | |
− | + | [x]</a> | |
− | + | </div> | |
− | + | <pre> | |
pt9.6: | pt9.6: | ||
</pre> | </pre> | ||
− | + | </div> | |
− | + | <!--css div popup end--> | |
− | + | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt9.7' class='hiddenRow'> | <tr id='pt9.7' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_9_2: test getResult from recommend.py</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_9_2: test getResult from recommend.py</div> | ||
+ | </td> | ||
<td colspan='5' align='center'> | <td colspan='5' align='center'> | ||
− | + | ||
− | + | <!--css div popup start--> | |
− | + | <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail6('div_pt9.7')"> | |
− | + | pass</a> | |
− | + | ||
− | + | <div id='div_pt9.7' class="popup_window"> | |
− | + | <div style='text-align: right; color:red;cursor:pointer'> | |
− | + | <a onfocus='this.blur();' onclick="document.getElementById('div_pt9.7').style.display = 'none' "> | |
− | + | [x]</a> | |
− | + | </div> | |
− | + | <pre> | |
pt9.7: | pt9.7: | ||
</pre> | </pre> | ||
− | + | </div> | |
− | + | <!--css div popup end--> | |
− | + | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt9.8' class='hiddenRow'> | <tr id='pt9.8' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_9_3: test getResult from recommend.py</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_9_3: test getResult from recommend.py</div> | ||
+ | </td> | ||
<td colspan='5' align='center'> | <td colspan='5' align='center'> | ||
− | + | ||
− | + | <!--css div popup start--> | |
− | + | <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail6('div_pt9.8')"> | |
− | + | pass</a> | |
− | + | ||
− | + | <div id='div_pt9.8' class="popup_window"> | |
− | + | <div style='text-align: right; color:red;cursor:pointer'> | |
− | + | <a onfocus='this.blur();' onclick="document.getElementById('div_pt9.8').style.display = 'none' "> | |
− | + | [x]</a> | |
− | + | </div> | |
− | + | <pre> | |
pt9.8: | pt9.8: | ||
</pre> | </pre> | ||
− | + | </div> | |
− | + | <!--css div popup end--> | |
− | + | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt9.9' class='hiddenRow'> | <tr id='pt9.9' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_9_4: test getResult from recommend.py</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_9_4: test getResult from recommend.py</div> | ||
+ | </td> | ||
<td colspan='5' align='center'> | <td colspan='5' align='center'> | ||
− | + | ||
− | + | <!--css div popup start--> | |
− | + | <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail6('div_pt9.9')"> | |
− | + | pass</a> | |
− | + | ||
− | + | <div id='div_pt9.9' class="popup_window"> | |
− | + | <div style='text-align: right; color:red;cursor:pointer'> | |
− | + | <a onfocus='this.blur();' onclick="document.getElementById('div_pt9.9').style.display = 'none' "> | |
− | + | [x]</a> | |
− | + | </div> | |
− | + | <pre> | |
pt9.9: | pt9.9: | ||
</pre> | </pre> | ||
− | + | </div> | |
− | + | <!--css div popup end--> | |
− | + | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt9.10' class='hiddenRow'> | <tr id='pt9.10' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_10_2: test toBeOne from recommend.py</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_10_2: test toBeOne from recommend.py</div> | ||
+ | </td> | ||
<td colspan='5' align='center'> | <td colspan='5' align='center'> | ||
− | + | ||
− | + | <!--css div popup start--> | |
− | + | <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail6('div_pt9.10')"> | |
− | + | pass</a> | |
− | + | ||
− | + | <div id='div_pt9.10' class="popup_window"> | |
− | + | <div style='text-align: right; color:red;cursor:pointer'> | |
− | + | <a onfocus='this.blur();' onclick="document.getElementById('div_pt9.10').style.display = 'none' "> | |
− | + | [x]</a> | |
− | + | </div> | |
− | + | <pre> | |
pt9.10: | pt9.10: | ||
</pre> | </pre> | ||
− | + | </div> | |
− | + | <!--css div popup end--> | |
− | + | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt9.11' class='hiddenRow'> | <tr id='pt9.11' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_10_4: test toBeOne from recommend.py</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_10_4: test toBeOne from recommend.py</div> | ||
+ | </td> | ||
<td colspan='5' align='center'> | <td colspan='5' align='center'> | ||
− | + | ||
− | + | <!--css div popup start--> | |
− | + | <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail6('div_pt9.11')"> | |
− | + | pass</a> | |
− | + | ||
− | + | <div id='div_pt9.11' class="popup_window"> | |
− | + | <div style='text-align: right; color:red;cursor:pointer'> | |
− | + | <a onfocus='this.blur();' onclick="document.getElementById('div_pt9.11').style.display = 'none' "> | |
− | + | [x]</a> | |
− | + | </div> | |
− | + | <pre> | |
pt9.11: | pt9.11: | ||
</pre> | </pre> | ||
− | + | </div> | |
− | + | <!--css div popup end--> | |
− | + | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr class='passClass'> | <tr class='passClass'> | ||
<td>searchPartTestCase</td> | <td>searchPartTestCase</td> | ||
Line 2,077: | Line 2,212: | ||
<td>0</td> | <td>0</td> | ||
<td>0</td> | <td>0</td> | ||
− | <td><a href="javascript: | + | <td> |
+ | <a href="javascript:showClassDetail6('c10',3)" style="color:#78c2c4;font-weight:bold;">Detail</a> | ||
+ | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt10.1' class='hiddenRow'> | <tr id='pt10.1' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_search_part_none</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_search_part_none</div> | ||
+ | </td> | ||
<td colspan='5' align='center'> | <td colspan='5' align='center'> | ||
− | + | ||
− | + | <!--css div popup start--> | |
− | + | <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail6('div_pt10.1')"> | |
− | + | pass</a> | |
− | + | ||
− | + | <div id='div_pt10.1' class="popup_window"> | |
− | + | <div style='text-align: right; color:red;cursor:pointer'> | |
− | + | <a onfocus='this.blur();' onclick="document.getElementById('div_pt10.1').style.display = 'none' "> | |
− | + | [x]</a> | |
− | + | </div> | |
− | + | <pre> | |
pt10.1: | pt10.1: | ||
</pre> | </pre> | ||
− | + | </div> | |
− | + | <!--css div popup end--> | |
− | + | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt10.2' class='hiddenRow'> | <tr id='pt10.2' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_search_part_normal</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_search_part_normal</div> | ||
+ | </td> | ||
<td colspan='5' align='center'> | <td colspan='5' align='center'> | ||
− | + | ||
− | + | <!--css div popup start--> | |
− | + | <a class="popup_link" onfocus='this.blur();' href="javascript:showTestDetail6('div_pt10.2')"> | |
− | + | pass</a> | |
− | + | ||
− | + | <div id='div_pt10.2' class="popup_window"> | |
− | + | <div style='text-align: right; color:red;cursor:pointer'> | |
− | + | <a onfocus='this.blur();' onclick="document.getElementById('div_pt10.2').style.display = 'none' "> | |
− | + | [x]</a> | |
− | + | </div> | |
− | + | <pre> | |
pt10.2: | pt10.2: | ||
</pre> | </pre> | ||
− | + | </div> | |
− | + | <!--css div popup end--> | |
− | + | ||
</td> | </td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='pt10.3' class='hiddenRow'> | <tr id='pt10.3' class='hiddenRow'> | ||
− | <td class='none'><div class='testcase'>test_3_1</div></td> | + | <td class='none'> |
+ | <div class='testcase'>test_3_1</div> | ||
+ | </td> | ||
<td colspan='5' align='center'>pass</td> | <td colspan='5' align='center'>pass</td> | ||
</tr> | </tr> | ||
− | + | ||
<tr id='total_row'> | <tr id='total_row'> | ||
<td>Total</td> | <td>Total</td> | ||
Line 2,141: | Line 2,284: | ||
<td> </td> | <td> </td> | ||
</tr> | </tr> | ||
− | + | </table> | |
− | + | ||
− | + | ||
+ | <div id='ending'> </div> | ||
− | + | ||
− | + | <div style="height:20%;"></div> | |
− | + | <div class="footer"> | |
− | + | <div class="foot-icon"> | |
− | + | <a href="http://bio.measurex.top" target="blank"> | |
− | + | <img src="https://static.igem.org/mediawiki/2017/f/fb/Bio.png" class="icon"> | |
− | + | </a> | |
− | + | <a href=""> | |
− | + | <img src="https://static.igem.org/mediawiki/2017/5/51/Fb.png" class="icon"> | |
− | + | </a> | |
− | + | <a href=""> | |
− | + | <img src="https://static.igem.org/mediawiki/2017/d/da/Emial.png" class="icon"> | |
− | + | </a> | |
− | + | <a href=""> | |
− | + | <img src="https://static.igem.org/mediawiki/2017/5/51/Git.png" class="icon"> | |
− | + | </a> | |
</div> | </div> | ||
+ | </div> | ||
</center> | </center> | ||
</html> | </html> |
Revision as of 16:25, 26 October 2017
Unit Test 1
Start Time: 2017-10-05 23:50:48Duration: 0:00:11.468128
Status: Pass 6
Test Group/Test case | Count | Pass | Fail | Error | View |
Test | 6 | 6 | 0 | 0 | Detail |
test_randomPage
|
pass
pt1.1: |
||||
test_randomPageWiththeme
|
pass
pt1.2: |
||||
test_TurnPage
|
pass
pt1.3: |
||||
test_getCache
|
pass
pt1.4: |
||||
test_getDetailNone
|
pass
pt1.5: |
||||
test_getDetail
|
pass
pt1.6: |
||||
Total | 6 | 6 | 0 | 0 |
Unit Test 2
Start Time: 2017-10-05 23:50:53Duration: 0:00:00.443314
Status: Pass 10
Test Group/Test case | Count | Pass | Fail | Error | View |
Test | 10 | 10 | 0 | 0 | Detail |
test_getTeamIdExist
|
pass
pt1.1: |
||||
test_getTeamIdNone
|
pass
pt1.2: |
||||
test_getdetailbyidExist
|
pass
pt1.3: |
||||
test_getdetailbyidFail
|
pass
pt1.4: |
||||
test_getPartTeam1
|
pass
pt1.5: |
||||
test_getPartTeam2
|
pass
pt1.6: |
||||
test_getTeamWiki
|
pass
pt1.7: |
||||
test_getTeamWikiFailOne
|
pass
pt1.8: |
||||
test_getPartDetailExist
|
pass
pt1.9: |
||||
test_getPartDetailNone
|
pass
pt1.10: |
||||
Total | 10 | 10 | 0 | 0 |
Unit Test 3
Start Time: 2017-10-07 01:29:23Duration: 0:00:08.978347
Status: Pass 3
Test Group/Test case | Count | Pass | Fail | Error | View |
Test | 3 | 3 | 0 | 0 | Detail |
test_changePassword
|
pass
pt1.1: |
||||
test_changePasswordError
|
pass
pt1.2: |
||||
test_diffPassword
|
pass
pt1.3: |
||||
Total | 3 | 3 | 0 | 0 |
Unit Test 4
Start Time: 2017-10-07 01:30:31Duration: 0:00:09.161845
Status: Pass 9
Test Group/Test case | Count | Pass | Fail | Error | View |
Test | 9 | 9 | 0 | 0 | Detail |
test_registerSucc
|
pass
pt1.1: |
||||
test_registerNoUsername
|
pass
pt1.2: |
||||
test_registerNoEmail
|
pass
pt1.3: |
||||
test_registerUsername
|
pass
pt1.4: |
||||
test_registerEmail
|
pass
pt1.5: |
||||
test_passwordError
|
pass
pt1.6: |
||||
test_rightLogin
|
pass
pt1.7: |
||||
test_wrongUser
|
pass
pt1.8: |
||||
test_loginFaile
|
pass
pt1.9: |
||||
Total | 9 | 9 | 0 | 0 |
Unit Test 5
Start Time: 2017-10-09 02:23:46Duration: 0:00:03.104095
Status: Pass 6
Test Group/Test case | Count | Pass | Fail | Error | View |
searchRelationTestCase | 6 | 6 | 0 | 0 | Detail |
test_search_relation
|
pass
pt1.1: |
||||
test_search_genes
|
pass
pt1.2: |
||||
test_search_papers
|
pass | ||||
test_search_one_sentence
|
pass | ||||
test_search_three_sentence
|
pass | ||||
test_search_related_disease
|
pass | ||||
Total | 6 | 6 | 0 | 0 |
Unit Test 6
Start Time: 2017-10-05 23:50:48Duration: 0:00:11.468128
Status: Pass 6
Test Group/Test case | Count | Pass | Fail | Error | View |
RecommendTestCase | 1 | 1 | 0 | 0 | Detail |
test_MarkovRecommend
|
pass
pt1.1: |
||||
MarkovTestCase | 2 | 2 | 0 | 0 | Detail |
test_get_chain
|
pass | ||||
test_predict
|
pass | ||||
createFolderTestCase | 2 | 2 | 0 | 0 | Detail |
test_repeat_folder
|
pass | ||||
test_new_folder
|
pass | ||||
geneFileNameTestCase | 1 | 1 | 0 | 0 | Detail |
test_normal
|
pass | ||||
getUserProjectTestCase | 2 | 2 | 0 | 0 | Detail |
test_normal
|
pass | ||||
test_empty_project
|
pass | ||||
formatProjectListTestCase | 2 | 2 | 0 | 0 | Detail |
test_list_exist
|
pass | ||||
test_null_list
|
pass | ||||
getChainListTestCase | 3 | 3 | 0 | 0 | Detail |
test_id_exist
|
pass | ||||
test_id_not_exist
|
pass | ||||
test_id_null
|
pass | ||||
getChainTestCase | 3 | 3 | 0 | 0 | Detail |
test_empty_chain
|
pass | ||||
test_empty_chain
|
pass | ||||
test_chainId_not_exist
|
pass | ||||
FooTest | 11 | 11 | 0 | 0 | Detail |
test_7_2: test analyseData from recommend.py
|
pass
pt9.1: |
||||
test_8_1: test toFrozenset from recommend.py
|
pass
pt9.2: |
||||
test_8_2: test toFrozenset from recommend.py
|
pass
pt9.3: |
||||
test_8_3: test toFrozenset from recommend.py
|
pass
pt9.4: |
||||
test_8_4: test toFrozenset from recommend.py
|
pass
pt9.5: |
||||
test_9_1: test getResult from recommend.py
|
pass
pt9.6: |
||||
test_9_2: test getResult from recommend.py
|
pass
pt9.7: |
||||
test_9_3: test getResult from recommend.py
|
pass
pt9.8: |
||||
test_9_4: test getResult from recommend.py
|
pass
pt9.9: |
||||
test_10_2: test toBeOne from recommend.py
|
pass
pt9.10: |
||||
test_10_4: test toBeOne from recommend.py
|
pass
pt9.11: |
||||
searchPartTestCase | 3 | 3 | 0 | 0 | Detail |
test_search_part_none
|
pass
pt10.1: |
||||
test_search_part_normal
|
pass
pt10.2: |
||||
test_3_1
|
pass | ||||
Total | 30 | 28 | 2 | 0 |