-
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Change the name of an option to conform to pattern used by other opti…
…ons. (#679) The --no-ansi-messages is now accepted for noAnsiMessages field in Common Options Also: * Install headers via headerCreate * Fix the cause of --no-ansi-messages being ignored * The cause was not using the PlatformContext.withOptions utility in Commands.runMain and other PlatformContext instances asserting themselves in other code. Other changes getting there: * Provide a test case for --no-ansi-messages * Fix the logger to get highlighting setting from PlatformContext not its constructor. * Remove all duplicate `given`s so confusion doesn't ensue * Use CommonOptions.default when the logic is default, not empty * Fix many scaladoc class references * Convert all use of PlatformContext.setOptions to `withOptions` to encapsulate the use of the option setting * Remove all uses of `PlatformContext.setOptions` and the implementation * Make a `PlatformContext.withLogger` method for similar reasons and use it in placess the logger needs to change (mostly test cases) * Clean up unused imports * Make use of AbstractTestingBasis in more places * Eliminate remaining package objects deferring to utils one * Eliminate PlatformContext `given`s in test code * Don't instantiate CommonOptions as much, use static values * Cleanup PlatformContext * Remove unused InMemoryLogger, redundant with StringLogger * Re-enable Test parallel execution * Clean up imports * Fix bug in withOptions * Remove pc.withOptiosn from top level of test suites
- Loading branch information
1 parent
24ec199
commit ca43c02
Showing
182 changed files
with
1,317 additions
and
542 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
2 changes: 1 addition & 1 deletion
2
commands/src/main/scala/com/ossuminc/riddl/commands/FlattenCommand.scala
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,5 +1,5 @@ | ||
/* | ||
* Copyright 2024 Ossum, Inc. | ||
* Copyright 2019 Ossum, Inc. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
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
6 changes: 6 additions & 0 deletions
6
commands/src/test/scala/com/ossuminc/riddl/commands/CommandTestBase.scala
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
6 changes: 6 additions & 0 deletions
6
commands/src/test/scala/com/ossuminc/riddl/commands/HugoCommandTest.scala
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,3 +1,9 @@ | ||
/* | ||
* Copyright 2019 Ossum, Inc. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
||
package com.ossuminc.riddl.commands | ||
|
||
|
||
|
2 changes: 1 addition & 1 deletion
2
commands/src/test/scala/com/ossuminc/riddl/commands/OnChangeCommandTest.scala
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,5 +1,5 @@ | ||
/* | ||
* Copyright 2022 Ossum, Inc. | ||
* Copyright 2019 Ossum, Inc. | ||
* | ||
* SPDX-License-Identifier: Apache-2.0 | ||
*/ | ||
|
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
6 changes: 6 additions & 0 deletions
6
commands/src/test/scala/com/ossuminc/riddl/commands/ReadRiddlOptionsTest.scala
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.