Skip to content

Commit

Permalink
Renamed test (#79)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmingles committed Oct 9, 2024
1 parent fbfc962 commit ccbee21
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 17 deletions.
32 changes: 16 additions & 16 deletions src/util/__snapshots__/treeViewUtils.spec.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ exports[`getServerIconID > should return icon id based on server state: isConnec

exports[`getServerIconID > should return icon id based on server state: isConnected=true, isManaged=true, isRunning=true 1`] = `"circle-large-filled"`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isConnected=false, isManaged=false, isRunning=false 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHC, isConnected=false, isManaged=false, isRunning=false 1`] = `
{
"command": undefined,
"contextValue": "isServerStopped",
Expand All @@ -419,7 +419,7 @@ exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isCon
}
`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isConnected=false, isManaged=false, isRunning=true 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHC, isConnected=false, isManaged=false, isRunning=true 1`] = `
{
"command": {
"arguments": [
Expand All @@ -446,7 +446,7 @@ exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isCon
}
`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isConnected=false, isManaged=true, isRunning=false 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHC, isConnected=false, isManaged=true, isRunning=false 1`] = `
{
"command": undefined,
"contextValue": "isManagedServerConnecting",
Expand All @@ -460,7 +460,7 @@ exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isCon
}
`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isConnected=false, isManaged=true, isRunning=true 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHC, isConnected=false, isManaged=true, isRunning=true 1`] = `
{
"command": {
"arguments": [
Expand Down Expand Up @@ -488,7 +488,7 @@ exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isCon
}
`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isConnected=true, isManaged=false, isRunning=false 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHC, isConnected=true, isManaged=false, isRunning=false 1`] = `
{
"command": undefined,
"contextValue": "isServerStopped",
Expand All @@ -502,7 +502,7 @@ exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isCon
}
`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isConnected=true, isManaged=false, isRunning=true 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHC, isConnected=true, isManaged=false, isRunning=true 1`] = `
{
"command": undefined,
"contextValue": "isServerRunningConnected",
Expand All @@ -516,7 +516,7 @@ exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isCon
}
`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isConnected=true, isManaged=true, isRunning=false 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHC, isConnected=true, isManaged=true, isRunning=false 1`] = `
{
"command": undefined,
"contextValue": "isManagedServerConnected",
Expand All @@ -530,7 +530,7 @@ exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isCon
}
`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isConnected=true, isManaged=true, isRunning=true 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHC, isConnected=true, isManaged=true, isRunning=true 1`] = `
{
"command": undefined,
"contextValue": "isManagedServerConnected",
Expand All @@ -544,7 +544,7 @@ exports[`getServerTreeItem > should return DHC server tree item: type=DHC, isCon
}
`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHE, isConnected=false, isManaged=false, isRunning=false 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHE, isConnected=false, isManaged=false, isRunning=false 1`] = `
{
"command": undefined,
"contextValue": "isServerStopped",
Expand All @@ -558,7 +558,7 @@ exports[`getServerTreeItem > should return DHC server tree item: type=DHE, isCon
}
`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHE, isConnected=false, isManaged=false, isRunning=true 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHE, isConnected=false, isManaged=false, isRunning=true 1`] = `
{
"command": {
"arguments": [
Expand All @@ -585,7 +585,7 @@ exports[`getServerTreeItem > should return DHC server tree item: type=DHE, isCon
}
`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHE, isConnected=false, isManaged=true, isRunning=false 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHE, isConnected=false, isManaged=true, isRunning=false 1`] = `
{
"command": undefined,
"contextValue": "isManagedServerConnecting",
Expand All @@ -599,7 +599,7 @@ exports[`getServerTreeItem > should return DHC server tree item: type=DHE, isCon
}
`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHE, isConnected=false, isManaged=true, isRunning=true 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHE, isConnected=false, isManaged=true, isRunning=true 1`] = `
{
"command": {
"arguments": [
Expand Down Expand Up @@ -627,7 +627,7 @@ exports[`getServerTreeItem > should return DHC server tree item: type=DHE, isCon
}
`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHE, isConnected=true, isManaged=false, isRunning=false 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHE, isConnected=true, isManaged=false, isRunning=false 1`] = `
{
"command": undefined,
"contextValue": "isServerStopped",
Expand All @@ -641,7 +641,7 @@ exports[`getServerTreeItem > should return DHC server tree item: type=DHE, isCon
}
`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHE, isConnected=true, isManaged=false, isRunning=true 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHE, isConnected=true, isManaged=false, isRunning=true 1`] = `
{
"command": {
"arguments": [
Expand All @@ -668,7 +668,7 @@ exports[`getServerTreeItem > should return DHC server tree item: type=DHE, isCon
}
`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHE, isConnected=true, isManaged=true, isRunning=false 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHE, isConnected=true, isManaged=true, isRunning=false 1`] = `
{
"command": undefined,
"contextValue": "isManagedServerConnected",
Expand All @@ -682,7 +682,7 @@ exports[`getServerTreeItem > should return DHC server tree item: type=DHE, isCon
}
`;

exports[`getServerTreeItem > should return DHC server tree item: type=DHE, isConnected=true, isManaged=true, isRunning=true 1`] = `
exports[`getServerTreeItem > should return server tree item: type=DHE, isConnected=true, isManaged=true, isRunning=true 1`] = `
{
"command": undefined,
"contextValue": "isManagedServerConnected",
Expand Down
2 changes: 1 addition & 1 deletion src/util/treeViewUtils.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ describe('getServerTreeItem', () => {
};

it.each(matrix(typeValues, boolValues, boolValues, boolValues))(
'should return DHC server tree item: type=%s, isConnected=%s, isManaged=%s, isRunning=%s',
'should return server tree item: type=%s, isConnected=%s, isManaged=%s, isRunning=%s',
(type, isConnected, isManaged, isRunning) => {
const actual = getServerTreeItem({
...dhcServerState,
Expand Down

0 comments on commit ccbee21

Please sign in to comment.