Skip to content

Commit fff21a4

Browse files
Trotttargos
authored andcommitted
test: replace "inspector-cli" with "debugger"
When I moved node-inspect into core, I called a lot of things `inspector-cli` that really should have been `debugger`. This is the last of them to be renamed. PR-URL: #39156 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent aafa08d commit fff21a4

33 files changed

+28
-28
lines changed

test/sequential/test-debugger-address.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ function launchTarget(...args) {
3737
}
3838

3939
{
40-
const script = fixtures.path('inspector-cli/alive.js');
40+
const script = fixtures.path('debugger/alive.js');
4141
let cli = null;
4242
let target = null;
4343

test/sequential/test-debugger-auto-resume.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ addLibraryPath(process.env);
1414

1515
// Auto-resume on start if the environment variable is defined.
1616
{
17-
const scriptFullPath = fixtures.path('inspector-cli', 'break.js');
17+
const scriptFullPath = fixtures.path('debugger', 'break.js');
1818
const script = path.relative(process.cwd(), scriptFullPath);
1919

2020
const env = { ...process.env };

test/sequential/test-debugger-backtrace.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const path = require('path');
1111

1212
// Display and navigate backtrace.
1313
{
14-
const scriptFullPath = fixtures.path('inspector-cli', 'backtrace.js');
14+
const scriptFullPath = fixtures.path('debugger', 'backtrace.js');
1515
const script = path.relative(process.cwd(), scriptFullPath);
1616
const cli = startCLI([script]);
1717

test/sequential/test-debugger-break.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const path = require('path');
1111

1212
// Stepping through breakpoints.
1313
{
14-
const scriptFullPath = fixtures.path('inspector-cli', 'break.js');
14+
const scriptFullPath = fixtures.path('debugger', 'break.js');
1515
const script = path.relative(process.cwd(), scriptFullPath);
1616
const cli = startCLI([script]);
1717

test/sequential/test-debugger-clear-breakpoints.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const path = require('path');
1111

1212
// clearBreakpoint
1313
{
14-
const scriptFullPath = fixtures.path('inspector-cli', 'break.js');
14+
const scriptFullPath = fixtures.path('debugger', 'break.js');
1515
const script = path.relative(process.cwd(), scriptFullPath);
1616
const cli = startCLI([script]);
1717

test/sequential/test-debugger-custom-port.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const assert = require('assert');
1010

1111
// Custom port.
1212
{
13-
const script = fixtures.path('inspector-cli', 'three-lines.js');
13+
const script = fixtures.path('debugger', 'three-lines.js');
1414

1515
const cli = startCLI([`--port=${common.PORT}`, script]);
1616

test/sequential/test-debugger-exceptions.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const path = require('path');
1111

1212
// Break on (uncaught) exceptions.
1313
{
14-
const scriptFullPath = fixtures.path('inspector-cli', 'exceptions.js');
14+
const scriptFullPath = fixtures.path('debugger', 'exceptions.js');
1515
const script = path.relative(process.cwd(), scriptFullPath);
1616
const cli = startCLI([script]);
1717

test/sequential/test-debugger-exec-scope.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const assert = require('assert');
1010

1111
// exec .scope
1212
{
13-
const cli = startCLI([fixtures.path('inspector-cli/backtrace.js')]);
13+
const cli = startCLI([fixtures.path('debugger/backtrace.js')]);
1414

1515
function onFatal(error) {
1616
cli.quit();

test/sequential/test-debugger-exec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const assert = require('assert');
1010

1111
{
1212

13-
const cli = startCLI([fixtures.path('inspector-cli/alive.js')]);
13+
const cli = startCLI([fixtures.path('debugger/alive.js')]);
1414

1515
function onFatal(error) {
1616
cli.quit();

test/sequential/test-debugger-heap-profiler.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const filename = 'node.heapsnapshot';
2020

2121
// Heap profiler take snapshot.
2222
{
23-
const cli = startCLI([fixtures.path('inspector-cli/empty.js')]);
23+
const cli = startCLI([fixtures.path('debugger/empty.js')]);
2424

2525
function onFatal(error) {
2626
cli.quit();

test/sequential/test-debugger-help.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const startCLI = require('../common/debugger');
99
const assert = require('assert');
1010

1111
{
12-
const cli = startCLI([fixtures.path('inspector-cli/empty.js')]);
12+
const cli = startCLI([fixtures.path('debugger/empty.js')]);
1313

1414
function onFatal(error) {
1515
cli.quit();

test/sequential/test-debugger-invalid-args.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const { createServer } = require('net');
4141
});
4242

4343
try {
44-
const script = fixtures.path('inspector-cli', 'three-lines.js');
44+
const script = fixtures.path('debugger', 'three-lines.js');
4545
const cli = startCLI([`--port=${port}`, script]);
4646
const code = await cli.quit();
4747

test/sequential/test-debugger-launch.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ const startCLI = require('../common/debugger');
99
const assert = require('assert');
1010

1111
{
12-
const script = fixtures.path('inspector-cli', 'three-lines.js');
12+
const script = fixtures.path('debugger', 'three-lines.js');
1313
const cli = startCLI([script]);
1414

1515
cli.waitForInitialBreak()

test/sequential/test-debugger-low-level.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ const assert = require('assert');
99

1010
// Debugger agent direct access.
1111
{
12-
const cli = startCLI([fixtures.path('inspector-cli/three-lines.js')]);
13-
const scriptPattern = /^\* (\d+): \S+inspector-cli(?:\/|\\)three-lines\.js/m;
12+
const cli = startCLI([fixtures.path('debugger/three-lines.js')]);
13+
const scriptPattern = /^\* (\d+): \S+debugger(?:\/|\\)three-lines\.js/m;
1414

1515
function onFatal(error) {
1616
cli.quit();

test/sequential/test-debugger-pid.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ function launchTarget(...args) {
1616
}
1717

1818
{
19-
const script = fixtures.path('inspector-cli', 'alive.js');
19+
const script = fixtures.path('debugger', 'alive.js');
2020
let cli = null;
2121
let target = null;
2222

test/sequential/test-debugger-preserve-breaks.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const path = require('path');
1111

1212
// Run after quit.
1313
{
14-
const scriptFullPath = fixtures.path('inspector-cli', 'three-lines.js');
14+
const scriptFullPath = fixtures.path('debugger', 'three-lines.js');
1515
const script = path.relative(process.cwd(), scriptFullPath);
1616
const cli = startCLI([script]);
1717

test/sequential/test-debugger-profile.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ function delay(ms) {
1414

1515
// Profiles.
1616
{
17-
const cli = startCLI([fixtures.path('inspector-cli/empty.js')]);
17+
const cli = startCLI([fixtures.path('debugger/empty.js')]);
1818

1919
function onFatal(error) {
2020
cli.quit();

test/sequential/test-debugger-random-port-with-inspect-port.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const assert = require('assert');
1010

1111
// Random port with --inspect-port=0.
1212
{
13-
const script = fixtures.path('inspector-cli', 'three-lines.js');
13+
const script = fixtures.path('debugger', 'three-lines.js');
1414

1515
const cli = startCLI(['--inspect-port=0', script]);
1616

test/sequential/test-debugger-random-port.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const assert = require('assert');
1010

1111
// Random port.
1212
{
13-
const script = fixtures.path('inspector-cli', 'three-lines.js');
13+
const script = fixtures.path('debugger', 'three-lines.js');
1414

1515
const cli = startCLI(['--port=0', script]);
1616

test/sequential/test-debugger-run-after-quit-restart.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const path = require('path');
1111

1212
// Run after quit/restart.
1313
{
14-
const scriptFullPath = fixtures.path('inspector-cli', 'three-lines.js');
14+
const scriptFullPath = fixtures.path('debugger', 'three-lines.js');
1515
const script = path.relative(process.cwd(), scriptFullPath);
1616
const cli = startCLI([script]);
1717

test/sequential/test-debugger-sb-before-load.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ const path = require('path');
1111

1212
// Using sb before loading file.
1313
{
14-
const scriptFullPath = fixtures.path('inspector-cli', 'cjs', 'index.js');
14+
const scriptFullPath = fixtures.path('debugger', 'cjs', 'index.js');
1515
const script = path.relative(process.cwd(), scriptFullPath);
1616

17-
const otherScriptFullPath = fixtures.path('inspector-cli', 'cjs', 'other.js');
17+
const otherScriptFullPath = fixtures.path('debugger', 'cjs', 'other.js');
1818
const otherScript = path.relative(process.cwd(), otherScriptFullPath);
1919

2020
const cli = startCLI([script]);

test/sequential/test-debugger-scripts.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const assert = require('assert');
1010

1111
// List scripts.
1212
{
13-
const script = fixtures.path('inspector-cli', 'three-lines.js');
13+
const script = fixtures.path('debugger', 'three-lines.js');
1414
const cli = startCLI([script]);
1515

1616
function onFatal(error) {
@@ -24,7 +24,7 @@ const assert = require('assert');
2424
.then(() => {
2525
assert.match(
2626
cli.output,
27-
/^\* \d+: \S+inspector-cli(?:\/|\\)three-lines\.js/m,
27+
/^\* \d+: \S+debugger(?:\/|\\)three-lines\.js/m,
2828
'lists the user script');
2929
assert.doesNotMatch(
3030
cli.output,
@@ -35,7 +35,7 @@ const assert = require('assert');
3535
.then(() => {
3636
assert.match(
3737
cli.output,
38-
/\* \d+: \S+inspector-cli(?:\/|\\)three-lines\.js/,
38+
/\* \d+: \S+debugger(?:\/|\\)three-lines\.js/,
3939
'lists the user script');
4040
assert.match(
4141
cli.output,

test/sequential/test-debugger-use-strict.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const assert = require('assert');
1010

1111
// Test for files that start with strict directive.
1212
{
13-
const script = fixtures.path('inspector-cli', 'use-strict.js');
13+
const script = fixtures.path('debugger', 'use-strict.js');
1414
const cli = startCLI([script]);
1515

1616
function onFatal(error) {

test/sequential/test-debugger-watchers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const assert = require('assert');
1010

1111
// Stepping through breakpoints.
1212
{
13-
const cli = startCLI([fixtures.path('inspector-cli/break.js')]);
13+
const cli = startCLI([fixtures.path('debugger/break.js')]);
1414

1515
function onFatal(error) {
1616
cli.quit();

0 commit comments

Comments
 (0)