Skip to content

Commit

Permalink
chore: unify filenames (#908)
Browse files Browse the repository at this point in the history
[skip pre]
  • Loading branch information
kpodsiad committed Mar 9, 2022
1 parent 0f59578 commit 49692fe
Show file tree
Hide file tree
Showing 19 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -868,7 +868,7 @@
"compile": "tsc -p ./",
"watch": "tsc -watch -p ./",
"test": "ts-mocha src/test/unit/*.test.ts",
"test-extension": "rimraf out/ && tsc -p ./ && node out/test/extension/run-test.js",
"test-extension": "rimraf out/ && tsc -p ./ && node out/test/extension/runTest.js",
"build": "vsce package --yarn",
"vscode:publish": "vsce publish --yarn",
"ovsx:publish": "ovsx publish",
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import {
ExecuteCommandRequest,
CancellationToken,
} from "vscode-languageclient/node";
import { LazyProgress } from "./lazy-progress";
import { LazyProgress } from "./lazyProgress";
import * as fs from "fs";
import {
getJavaHome,
Expand Down Expand Up @@ -68,7 +68,7 @@ import {
import * as metalsLanguageClient from "metals-languageclient";
import { startTreeView } from "./treeview";
import * as scalaDebugger from "./scalaDebugger";
import { DecorationsRangesDidChange } from "./decoration-protocol";
import { DecorationsRangesDidChange } from "./decorationProtocol";
import { clearTimeout } from "timers";
import { increaseIndentPattern } from "./indentPattern";
import { gotoLocation, WindowLocation } from "./goToLocation";
Expand All @@ -77,16 +77,16 @@ import {
createFindInFilesTreeView,
executeFindInFiles,
startFindInFilesProvider,
} from "./findinfiles";
} from "./findInFiles";
import * as ext from "./hoverExtension";
import { decodeAndShowFile, MetalsFileProvider } from "./metalsContentProvider";
import {
getJavaHomeFromConfig,
getTextDocumentPositionParams,
getValueFromConfig,
} from "./util";
import { createTestManager } from "./test-explorer/test-manager";
import { BuildTargetUpdate } from "./test-explorer/types";
import { createTestManager } from "./testExplorer/testManager";
import { BuildTargetUpdate } from "./testExplorer/types";
import * as workbenchCommands from "./workbenchCommands";
import { getServerVersion } from "./getServerVersion";
import { getCoursierMirrorPath } from "./mirrors";
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import * as assert from "assert";
import * as vscode from "vscode";
import { analyzeTestRun } from "../../../../test-explorer/analyze-test-run";
import { analyzeTestRun } from "../../../../testExplorer/analyzeTestRun";
import {
SuiteName,
TestName,
TestRunActions,
TestSuiteResult,
} from "../../../../test-explorer/types";
} from "../../../../testExplorer/types";

const passed: TestSuiteResult[] = [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import {
AddTestSuite,
ClassName,
FullyQualifiedClassName,
} from "../../../../test-explorer/types";
} from "../../../../testExplorer/types";

const defaultRange: Range = {
start: { line: 1, character: 1 },
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import assert from "assert";
import * as vscode from "vscode";
import { addTestCases } from "../../../../test-explorer/add-test-cases";
import { addTestSuite } from "../../../../test-explorer/add-test-suite";
import { removeTestItem } from "../../../../test-explorer/remove-test-item";
import { addTestCases } from "../../../../testExplorer/addTestCases";
import { addTestSuite } from "../../../../testExplorer/addTestSuites";
import { removeTestItem } from "../../../../testExplorer/removeTestItem";
import { foo, fooBar, fooTestCases, noPackage } from "./data";
import { buildTarget, prettyPrint, randomString } from "./util";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as vscode from "vscode";
import { TargetName, TargetUri } from "../../../../test-explorer/types";
import { TargetName, TargetUri } from "../../../../testExplorer/types";

export function randomString(): string {
return Math.random().toString(36).substring(2, 15);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as vscode from "vscode";
import { testCache } from "./test-cache";
import { testCache } from "./testCache";
import { TargetName, TargetUri, AddTestCases, TestItemMetadata } from "./types";
import { prefixesOf, toVscodeRange } from "./util";

Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as vscode from "vscode";
import { testCache } from "./test-cache";
import { testCache } from "./testCache";
import { TargetName, TargetUri, TestItemMetadata, AddTestSuite } from "./types";
import { prefixesOf, toVscodeRange } from "./util";

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import * as vscode from "vscode";
import { testCache } from "./test-cache";
import { testCache } from "./testCache";
import { RemoveTestSuite, TargetName } from "./types";
import { prefixesOf } from "./util";

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ import {
ExecuteCommandRequest,
LanguageClient,
} from "vscode-languageclient/node";
import { addTestCases } from "./add-test-cases";
import { addTestSuite } from "./add-test-suite";
import { removeTestItem } from "./remove-test-item";
import { runHandler } from "./test-run-handler";
import { addTestCases } from "./addTestCases";
import { addTestSuite } from "./addTestSuites";
import { removeTestItem } from "./removeTestItem";
import { runHandler } from "./testRunHandler";
import { BuildTargetUpdate } from "./types";

export function createTestManager(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
TestRunRequest,
} from "vscode";
import { debugServerFromUri, DebugSession } from "../scalaDebugger";
import { analyzeTestRun } from "./analyze-test-run";
import { testCache } from "./test-cache";
import { analyzeTestRun } from "./analyzeTestRun";
import { testCache } from "./testCache";
import {
DapEvent,
ScalaTestSelection,
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit 49692fe

Please sign in to comment.