Skip to content

Commit 2b72f30

Browse files
committed
Remove legacy viewTest.php page
This page has been completely replaced by `/builds/<id>/tests` and is now redundant.
1 parent a94573e commit 2b72f30

10 files changed

Lines changed: 6 additions & 509 deletions

File tree

app/cdash/app/Model/Build.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2239,7 +2239,7 @@ public function GetBuildErrorUrl(): string
22392239

22402240
public function GetTestUrl(): string
22412241
{
2242-
return url('/viewTest.php') . "?buildid={$this->Id}";
2242+
return url("/builds/{$this->Id}/tests");
22432243
}
22442244

22452245
public static function ConvertMissingToZero($value): int

app/cdash/tests/autoremovebuilds/CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ set_property(TEST deletesubproject PROPERTY DEPENDS
55
cypress/e2e/manage-overview
66
cypress/e2e/manage-build-group
77
cypress/e2e/manage-sub-project
8-
cypress/e2e/view-test
98
cypress/e2e/sort-index
109
cypress/e2e/expected-build
1110
cypress/e2e/remove-build

phpstan-baseline.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23562,7 +23562,7 @@ parameters:
2356223562
-
2356323563
rawMessage: 'Part $buildid (array|string|null) of encapsed string cannot be cast to string.'
2356423564
identifier: encapsedStringPart.nonString
23565-
count: 7
23565+
count: 8
2356623566
path: routes/web.php
2356723567

2356823568
-

resources/js/angular/controllers/viewTest.js

Lines changed: 0 additions & 148 deletions
This file was deleted.

resources/js/angular/legacy.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,6 @@ CDash.controller('SubProjectController', ["$scope", "$rootScope", "$http", SubPr
5757
import { QueryTestsController } from "./controllers/queryTests";
5858
CDash.controller('QueryTestsController', ["$scope", "$rootScope", "$filter", "apiLoader", "filters", "multisort", QueryTestsController]);
5959

60-
import { ViewTestController } from "./controllers/viewTest";
61-
CDash.controller('ViewTestController', ["$scope", "$rootScope", "$http", "$filter", "$q", "apiLoader", "multisort", "filters", ViewTestController]);
62-
6360
import { OverviewController, linechart, bulletchart } from "./controllers/overview";
6461
CDash.controller('OverviewController', ["$scope", "$location", "anchors", "apiLoader", OverviewController]);
6562
CDash.directive('linechart', linechart);

resources/js/vue/components/ProjectSettings/TestMeasurementsTab.vue

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@
8686
Add test measurements of type <span class="tw-font-mono">numeric/double</span> or <span class="tw-font-mono">text/string</span>. Any measurement added here will be displayed as an extra column on the following pages:
8787
<ul class="tw-list-circle tw-ml-4">
8888
<li><span class="tw-font-mono">queryTests.php</span></li>
89-
<li><span class="tw-font-mono">viewTest.php</span></li>
9089
<li><span class="tw-font-mono">builds/&lt;id&gt;/tests</span></li>
9190
</ul>
9291
</li>

0 commit comments

Comments
 (0)