Subversion Repositories DevTools

Rev

Rev 6676 | Rev 6827 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 6676 Rev 6790
Line 65... Line 65...
65
    $( "#testImageMax_" + id ).toggleClass('display-inline display-none');
65
    $( "#testImageMax_" + id ).toggleClass('display-inline display-none');
66
}
66
}
67
 
67
 
68
</script>
68
</script>
69
 
69
 
70
     <table class="full_table">
70
     <table class="full_table stdGrey">
71
      <tr class="form_field_hdr"> 
71
         <thead>
-
 
72
          <tr>
72
        <td nowrap">Project&nbsp;</td>
73
            <th nowrap">Project&nbsp;</th>
73
        <td nowrap">Release&nbsp;</td>
74
            <th nowrap">Release&nbsp;</th>
74
        <td nowrap">Time&nbsp;</td>
75
            <th nowrap">Time&nbsp;</th>
75
        <td nowrap">Reason&nbsp;</td>
76
            <th nowrap">Reason&nbsp;</th>
76
        <td nowrap">Result&nbsp;</td>
77
            <th nowrap">Result&nbsp;</th>
77
      </tr>
78
          </tr>
-
 
79
         </thead>
78
      <%
80
      <%
79
       Call getBuildInstances                          
81
       Call getBuildInstances                          
80
      %>
82
      %>
81
      <%If biQry.RecordCount < 1 Then%>
83
      <%If biQry.RecordCount < 1 Then%>
82
      <tr class="form_item_grey" > 
84
      <tr> 
83
        <td nowrap>&nbsp;</td>
85
        <td nowrap>&nbsp;</td>
84
        <td nowrap>&nbsp;</td>
86
        <td nowrap>&nbsp;</td>
85
        <td nowrap>&nbsp;</td>
87
        <td nowrap>&nbsp;</td>
86
        <td nowrap>&nbsp;</td>
88
        <td nowrap>&nbsp;</td>
87
        <td nowrap>&nbsp;</td>
89
        <td nowrap>&nbsp;</td>
Line 92... Line 94...
92
        Dim displayClassI  : displayClassI  = "display-inline"
94
        Dim displayClassI  : displayClassI  = "display-inline"
93
        Dim displayClass1  : displayClass1  = "display-none"
95
        Dim displayClass1  : displayClass1  = "display-none"
94
        Dim displayClassI1 : displayClassI1 = "display-none"
96
        Dim displayClassI1 : displayClassI1 = "display-none"
95
        While ((NOT biQry.BOF) AND (NOT biQry.EOF))
97
        While ((NOT biQry.BOF) AND (NOT biQry.EOF))
96
      %>
98
      %>
97
      <tr class="form_item_grey" > 
99
      <tr> 
98
        <td nowrap><%=biQry("proj_name")%></td>
100
        <td nowrap><%=biQry("proj_name")%></td>
99
        <td nowrap><%=biQry("rtag_name")%></td>
101
        <td nowrap><%=biQry("rtag_name")%></td>
100
        <td nowrap><%=biQry("timestamp")%></td>
102
        <td nowrap><%=biQry("timestamp")%></td>
101
        <td nowrap><%=biQry("reason")%></td>
103
        <td nowrap><%=biQry("reason")%></td>
102
        <td nowrap><%=biQry("state")%></td>
104
        <td nowrap><%=biQry("state")%></td>
Line 105... Line 107...
105
        <!-- Display the Unit Test Results <%=biQry("BUILD_ID")%>-->
107
        <!-- Display the Unit Test Results <%=biQry("BUILD_ID")%>-->
106
        <td colspan="4" >
108
        <td colspan="4" >
107
            <%Call getTestResults(biQry("BUILD_ID"))%>
109
            <%Call getTestResults(biQry("BUILD_ID"))%>
108
            <table class="full_table">
110
            <table class="full_table">
109
                <tr>
111
                <tr>
110
                <td valign="top" width="1%" class="form_field_hdrgap" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;
112
                    <td valign="top" width="1%" class="form_field_hdrgap" nowrap>&nbsp;&nbsp;&nbsp;&nbsp;
111
                    <a href='javascript:;' onclick='toggleTest(<%=biQry("BUILD_ID")%>);'>
113
                        <a href='javascript:;' onclick='toggleTest(<%=biQry("BUILD_ID")%>);'>
112
                        <img title='Hide Test Results'  id='testImageMin_<%=biQry("BUILD_ID")%>' src="images/btn_min.gif" class='<%=displayClassI%>'>
114
                            <img title='Hide Test Results'  id='testImageMin_<%=biQry("BUILD_ID")%>' src="images/btn_min.gif" class='<%=displayClassI%>'>
113
                        <img title='Show Test Results'  id='testImageMax_<%=biQry("BUILD_ID")%>' src="images/btn_max.gif" class='<%=displayClassI1%>'>
115
                            <img title='Show Test Results'  id='testImageMax_<%=biQry("BUILD_ID")%>' src="images/btn_max.gif" class='<%=displayClassI1%>'>
114
                    </a>
116
                        </a>
115
                <td>
117
                    <td>
116
            <table class="full_table <%=displayClass1%>" id='testResultsH_<%=biQry("BUILD_ID")%>'>
118
                        <table class="full_table <%=displayClass1%>" id='testResultsH_<%=biQry("BUILD_ID")%>'>
117
                <tr class="form_item_grey" >
119
                            <tr class="form_item_grey" >
118
                <%If utQry.RecordCount < 1 Then %>
120
                            <%If utQry.RecordCount < 1 Then %>
119
                  <td nowrap>No Test Results found</td>
121
                              <td nowrap>No Test Results found</td>
120
                <%Else%>
122
                            <%Else%>
121
                  <td nowrap >Tests : <%=utQry.RecordCount%></td>
123
                              <td nowrap >Tests : <%=utQry.RecordCount%></td>
-
 
124
                            <%End If%>
-
 
125
                            </tr>
-
 
126
                        </table>
-
 
127
                        <table class="full_table <%=displayClass%> stdGrey" id='testResults_<%=biQry("BUILD_ID")%>'>
-
 
128
                          <%If utQry.RecordCount < 1 Then %>
-
 
129
                          <tr>
-
 
130
                            <td nowrap>No Test Results found</td>
-
 
131
                          </tr>
-
 
132
                          <%Else%>
-
 
133
                            <thead>
-
 
134
                              <tr> 
-
 
135
                                <th width="1%" nowrap">Platform&nbsp;</th>
-
 
136
                                <th width="1%" nowrap">Type&nbsp;</th>
-
 
137
                                <th width="95%" nowrap">Test Name&nbsp;</th>
-
 
138
                                <th width="1%" nowrap">Duration&nbsp;</th>
-
 
139
                                <th width="1%" nowrap">Outcome&nbsp;</th>
-
 
140
                              </tr>
-
 
141
                            </thead>
122
                <%End If%>
142
                          <%End If%>
-
 
143
                          <%While ((NOT utQry.BOF) AND (NOT utQry.EOF))%>
-
 
144
                          <tr > 
-
 
145
                            <td nowrap><%=utQry("platform")%></td>
-
 
146
                            <td nowrap><%=utQry("type")%></td>
-
 
147
                            <td nowrap><%=utQry("test_name")%></td>
-
 
148
                            <td nowrap><%=utQry("time_taken")%></td>
-
 
149
                            <td nowrap><%=utQry("test_outcome")%></td>
-
 
150
                          </tr>
-
 
151
                          <%
-
 
152
                          <!-- Set to hide all but the first element -->
-
 
153
                          utQry.MoveNext
-
 
154
                          WEnd
-
 
155
                          utQry.Close
-
 
156
                          Set utQry = nothing
-
 
157
                          %>
-
 
158
                        </table>
-
 
159
                    </td>
123
                </tr>
160
                </tr>
124
            </table>
161
            </table>
125
            <table class="full_table <%=displayClass%>" id='testResults_<%=biQry("BUILD_ID")%>'>
-
 
126
              <%If utQry.RecordCount < 1 Then %>
-
 
127
              <tr class="form_item_grey" >
-
 
128
                <td nowrap>No Test Results found</td>
-
 
129
              </tr>
-
 
130
              <%Else%>
-
 
131
              <tr class="form_field_hdr"> 
-
 
132
                <td width="1%" nowrap">Platform&nbsp;</td>
-
 
133
                <td width="1%" nowrap">Type&nbsp;</td>
-
 
134
                <td width="95%" nowrap">Test Name&nbsp;</td>
-
 
135
                <td width="1%" nowrap">Duration&nbsp;</td>
-
 
136
                <td width="1%" nowrap">Outcome&nbsp;</td>
-
 
137
              </tr>
-
 
138
              <%End If%>
-
 
139
              <%While ((NOT utQry.BOF) AND (NOT utQry.EOF))%>
-
 
140
              <tr class="form_item_grey" > 
-
 
141
                <td nowrap><%=utQry("platform")%></td>
-
 
142
                <td nowrap><%=utQry("type")%></td>
-
 
143
                <td nowrap><%=utQry("test_name")%></td>
-
 
144
                <td nowrap><%=utQry("time_taken")%></td>
-
 
145
                <td nowrap><%=utQry("test_outcome")%></td>
-
 
146
              </tr>
-
 
147
              <%
-
 
148
              <!-- Set to hide all but the first element -->
-
 
149
              utQry.MoveNext
-
 
150
              WEnd
-
 
151
              utQry.Close
-
 
152
              Set utQry = nothing
-
 
153
              %>
-
 
154
            </table>
-
 
155
            </tr>
-
 
156
            </table>
-
 
157
        </td>
162
        </td>
158
        <!-- End Display the Unit Test Results -->
163
        <!-- End Display the Unit Test Results -->
159
      </tr>
164
      </tr>
160
      <%
165
      <%
161
      displayClass = "display-none"
166
      displayClass = "display-none"