-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ftest: Refactor fcli invocation mechanism
- Loading branch information
Showing
15 changed files
with
251 additions
and
161 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
12 changes: 0 additions & 12 deletions
12
...ther/fcli-functional-test/src/ftest/groovy/com/fortify/cli/ftest/_common/spec/Fcli.groovy
This file was deleted.
Oops, something went wrong.
25 changes: 19 additions & 6 deletions
25
...i-functional-test/src/ftest/groovy/com/fortify/cli/ftest/_common/spec/FcliBaseSpec.groovy
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 |
---|---|---|
@@ -1,11 +1,24 @@ | ||
package com.fortify.cli.ftest._common.spec; | ||
/** | ||
* Copyright 2023 Open Text. | ||
* | ||
* The only warranties for products and services of Open Text | ||
* and its affiliates and licensors ("Open Text") are as may | ||
* be set forth in the express warranty statements accompanying | ||
* such products and services. Nothing herein should be construed | ||
* as constituting an additional warranty. Open Text shall not be | ||
* liable for technical or editorial errors or omissions contained | ||
* herein. The information contained herein is subject to change | ||
* without notice. | ||
*/ | ||
package com.fortify.cli.ftest._common.spec | ||
|
||
import io.github.joke.spockoutputcapture.CapturedOutput | ||
import io.github.joke.spockoutputcapture.OutputCapture | ||
import spock.lang.Specification | ||
|
||
/** | ||
* Empty class for now, but we keep this in case we every need to | ||
* have common fields again. | ||
* | ||
* @author Ruud Senden | ||
*/ | ||
class FcliBaseSpec extends Specification { | ||
@OutputCapture CapturedOutput out | ||
@Fcli fcli | ||
} | ||
|
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
Oops, something went wrong.