-
Notifications
You must be signed in to change notification settings - Fork 23
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 feature-445-cqlOptions-support
- Loading branch information
Showing
186 changed files
with
70,864 additions
and
2,166 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
37 changes: 37 additions & 0 deletions
37
tooling-cli/src/test/java/org/opencds/cqf/tooling/cli/OperationInitializationIT.java
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,37 @@ | ||
package org.opencds.cqf.tooling.cli; | ||
|
||
import org.opencds.cqf.tooling.exception.InvalidOperationArgs; | ||
import org.opencds.cqf.tooling.exception.OperationNotFound; | ||
import org.testng.Assert; | ||
import org.testng.annotations.Ignore; | ||
import org.testng.annotations.Test; | ||
|
||
public class OperationInitializationIT { | ||
@Test | ||
@Ignore("Skipped until operation refactor is ready") | ||
void missingOperationName() { | ||
String[] args = new String[]{}; | ||
Assert.assertThrows(OperationNotFound.class, () -> Main.main(args)); | ||
} | ||
|
||
@Test | ||
@Ignore("Skipped until operation refactor is ready") | ||
void invalidOperationName() { | ||
String[] args = new String[]{ "-NonexistentOperationName" }; | ||
Assert.assertThrows(OperationNotFound.class, () -> Main.main(args)); | ||
} | ||
|
||
@Test | ||
@Ignore("Skipped until operation refactor is ready") | ||
void InvalidOperationDeclaration() { | ||
String[] args = new String[]{ "BundleResources", "-ptr=some/directory/path" }; | ||
Assert.assertThrows(InvalidOperationArgs.class, () -> Main.main(args)); | ||
} | ||
|
||
@Test | ||
@Ignore("Skipped until operation refactor is ready") | ||
void missingRequiredOperationArgs() { | ||
String[] args = new String[]{ "-BundleResources" }; | ||
Assert.assertThrows(InvalidOperationArgs.class, () -> Main.main(args)); | ||
} | ||
} |
Oops, something went wrong.