-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into fix/convert-v1-profiles
Signed-off-by: Timothy Johnson <[email protected]>
- Loading branch information
Showing
308 changed files
with
7,360 additions
and
4,332 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
/* | ||
* This program and the accompanying materials are made available under the terms of the | ||
* Eclipse Public License v2.0 which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Copyright Contributors to the Zowe Project. | ||
* | ||
*/ | ||
|
||
import { ITestEnvironment as IBaseTestEnvironment } from "../../__packages__/cli-test-utils/src/environment/doc/response/ITestEnvironment"; | ||
import { ITestEnvironmentResources } from "./ITestEnvironmentResources"; | ||
|
||
/** | ||
* The test environment for your test. | ||
* @export | ||
* @interface ITestEnvironment | ||
*/ | ||
export interface ITestEnvironment<TestPropertiesSchema> extends IBaseTestEnvironment<TestPropertiesSchema>{ | ||
/** | ||
* A collection of resources used within the test environment that need to be cleaned up once test finishes. | ||
* @type {ITestEnvironmentResources} | ||
* @memberof ITestEnvironment | ||
*/ | ||
resources?: ITestEnvironmentResources; | ||
} |
50 changes: 50 additions & 0 deletions
50
__tests__/__src__/environment/ITestEnvironmentResources.ts
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
/* | ||
* This program and the accompanying materials are made available under the terms of the | ||
* Eclipse Public License v2.0 which accompanies this distribution, and is available at | ||
* https://www.eclipse.org/legal/epl-v20.html | ||
* | ||
* SPDX-License-Identifier: EPL-2.0 | ||
* | ||
* Copyright Contributors to the Zowe Project. | ||
* | ||
*/ | ||
|
||
import { AbstractSession } from "@zowe/imperative"; | ||
import { IJob } from "../../../packages/zosjobs"; | ||
|
||
/** | ||
* Represents the resources used within the test environment. | ||
* @export | ||
* @interface ITestEnvironmentResources | ||
*/ | ||
export interface ITestEnvironmentResources { | ||
/** | ||
* Array of local file paths used within the test environment. | ||
* @type {string[]} | ||
*/ | ||
localFiles: string[]; | ||
|
||
/** | ||
* Array of mainframe uss files used within the test environment. | ||
* @type {string[]} | ||
*/ | ||
files: string[]; | ||
|
||
/** | ||
* Array of job objects or job IDs representing jobs submitted to the mainframe during the test. | ||
* @type {IJob[]} | ||
*/ | ||
jobs: (IJob | string)[]; | ||
|
||
/** | ||
* Array of dataset names used within the test environment. | ||
* @type {string[]} | ||
*/ | ||
datasets: string[]; | ||
|
||
/** | ||
* The session used for interacting with z/OS systems during the test, if applicable. | ||
* @type {AbstractSession} | ||
*/ | ||
session?: AbstractSession; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.