Skip to content

Commit

Permalink
put resource tests first
Browse files Browse the repository at this point in the history
  • Loading branch information
JohnRDOrazio committed Jul 3, 2024
1 parent 7bcf1b7 commit 4174f06
Showing 1 changed file with 26 additions and 26 deletions.
52 changes: 26 additions & 26 deletions resources.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,63 +76,63 @@ class="btn btn-primary" disabled
</div>
<div class="accordion" id="testSuiteAccordion">
<div class="accordion-item">
<h2 class="row g-0 accordion-header" id="sourceDataHeader">
<button class="accordion-button" type="button"
data-bs-toggle="collapse" data-bs-target="#sourceDataTests"
aria-expanded="true" aria-controls="sourceDataTests"
<h2 class="row g-0 accordion-header" id="resourceDataHeader">
<button class="accordion-button collapsed" type="button"
data-bs-toggle="collapse" data-bs-target="#resourceDataTests"
aria-expanded="false" aria-controls="resourceDataTests"
>
<div class="col-4"><i class="fas fa-file-import fa-fw"></i>&nbsp;<span><?php echo _("Source data"); ?></span></div>
<div class="col-4">
<i class="fas fa-file-export fa-fw"></i>&nbsp;<?php
echo _("API Paths");
?></span>
</div>
<div class="col-2 text-white p-2 text-center test-results bg-success">
<i class="fas fa-circle-check fa-fw"></i> <?php
echo _("Successful tests:");
?> <span id="successfulSourceDataTestsCount" class="successfulCount">0</span>
?> <span id="successfulCalendarDataTestsCount" class="successfulCount">0</span>
</div>
<div class="col-2 text-white p-2 text-center test-results bg-danger">
<i class="fas fa-circle-xmark fa-fw"></i> <?php
echo _("Failed tests:");
?> <span id="failedSourceDataTestsCount" class="failedCount">0</span>
?> <span id="failedCalendarDataTestsCount" class="failedCount">0</span>
</div>
<div class="col-3 text-white p-2 text-center test-results bg-dark">
<i class="fas fa-stopwatch fa-fw"></i> <?php
echo sprintf(_("Total time for %s tests:"), "<span id=\"totalSourceDataTestsCount\"></span>");
?> <span id="totalSourceDataTestsTime">0 seconds, 0ms</span>
echo sprintf(_("Total time for %s tests:"), "<span id=\"totalCalendarDataTestsCount\"></span>");
?> <span id="totalCalendarDataTestsTime">0 seconds, 0ms</span>
</div>
</button>
</h2>
<div id="sourceDataTests" class="accordion-collapse collapse show" aria-labelledby="sourceDataHeader" data-bs-parent="#testSuiteAccordion">
<div class="row g-0 sourcedata-tests"></div>
<div id="resourceDataTests" class="accordion-collapse collapse" aria-labelledby="resourceDataHeader" data-bs-parent="#testSuiteAccordion">
<div class="row g-0 resourcedata-tests"></div>
</div>
</div>
<div class="accordion-item">
<h2 class="row g-0 accordion-header" id="resourceDataHeader">
<button class="accordion-button collapsed" type="button"
data-bs-toggle="collapse" data-bs-target="#resourceDataTests"
aria-expanded="false" aria-controls="resourceDataTests"
<h2 class="row g-0 accordion-header" id="sourceDataHeader">
<button class="accordion-button" type="button"
data-bs-toggle="collapse" data-bs-target="#sourceDataTests"
aria-expanded="true" aria-controls="sourceDataTests"
>
<div class="col-4">
<i class="fas fa-file-export fa-fw"></i>&nbsp;<?php
echo _("API Paths");
?></span>
</div>
<div class="col-4"><i class="fas fa-file-import fa-fw"></i>&nbsp;<span><?php echo _("Source data"); ?></span></div>
<div class="col-2 text-white p-2 text-center test-results bg-success">
<i class="fas fa-circle-check fa-fw"></i> <?php
echo _("Successful tests:");
?> <span id="successfulCalendarDataTestsCount" class="successfulCount">0</span>
?> <span id="successfulSourceDataTestsCount" class="successfulCount">0</span>
</div>
<div class="col-2 text-white p-2 text-center test-results bg-danger">
<i class="fas fa-circle-xmark fa-fw"></i> <?php
echo _("Failed tests:");
?> <span id="failedCalendarDataTestsCount" class="failedCount">0</span>
?> <span id="failedSourceDataTestsCount" class="failedCount">0</span>
</div>
<div class="col-3 text-white p-2 text-center test-results bg-dark">
<i class="fas fa-stopwatch fa-fw"></i> <?php
echo sprintf(_("Total time for %s tests:"), "<span id=\"totalCalendarDataTestsCount\"></span>");
?> <span id="totalCalendarDataTestsTime">0 seconds, 0ms</span>
echo sprintf(_("Total time for %s tests:"), "<span id=\"totalSourceDataTestsCount\"></span>");
?> <span id="totalSourceDataTestsTime">0 seconds, 0ms</span>
</div>
</button>
</h2>
<div id="resourceDataTests" class="accordion-collapse collapse" aria-labelledby="resourceDataHeader" data-bs-parent="#testSuiteAccordion">
<div class="row g-0 resourcedata-tests"></div>
<div id="sourceDataTests" class="accordion-collapse collapse show" aria-labelledby="sourceDataHeader" data-bs-parent="#testSuiteAccordion">
<div class="row g-0 sourcedata-tests"></div>
</div>
</div>
</div><!-- end accordion -->
Expand Down

0 comments on commit 4174f06

Please sign in to comment.