-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updated String Utils, metadata and tests
- Loading branch information
Guy Davenport
committed
Nov 15, 2024
1 parent
fe47c1a
commit e88805f
Showing
13 changed files
with
210 additions
and
41 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,2 @@ | ||
title: BrAPI | ||
version: 0.0.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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
title: BrAPI | ||
version: 0.0.0 |
29 changes: 29 additions & 0 deletions
29
...c/test/java/org/brapi/schematools/core/graphql/metadata/GraphQLGeneratorMetadataTest.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,29 @@ | ||
package org.brapi.schematools.core.graphql.metadata; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
import static org.junit.jupiter.api.Assertions.*; | ||
|
||
class GraphQLGeneratorMetadataTest { | ||
|
||
void load() { | ||
GraphQLGeneratorMetadata metadata = GraphQLGeneratorMetadata.load(); | ||
|
||
checkMetadata(metadata); | ||
} | ||
|
||
@Test | ||
void loadJson() { | ||
} | ||
|
||
@Test | ||
void loadYaml() { | ||
} | ||
|
||
private void checkMetadata(GraphQLGeneratorMetadata metadata) { | ||
assertNotNull(metadata); | ||
|
||
assertEquals("BrAPI", metadata.getTitle()); | ||
assertEquals("0.0.0", metadata.getVersion()); | ||
} | ||
} |
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
29 changes: 29 additions & 0 deletions
29
...c/test/java/org/brapi/schematools/core/openapi/metadata/OpenAPIGeneratorMetadataTest.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,29 @@ | ||
package org.brapi.schematools.core.openapi.metadata; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
import static org.junit.jupiter.api.Assertions.*; | ||
|
||
class OpenAPIGeneratorMetadataTest { | ||
|
||
void load() { | ||
OpenAPIGeneratorMetadata metadata = OpenAPIGeneratorMetadata.load(); | ||
|
||
checkMetadata(metadata); | ||
} | ||
|
||
@Test | ||
void loadJson() { | ||
} | ||
|
||
@Test | ||
void loadYaml() { | ||
} | ||
|
||
private void checkMetadata(OpenAPIGeneratorMetadata metadata) { | ||
assertNotNull(metadata); | ||
|
||
assertEquals("BrAPI", metadata.getTitle()); | ||
assertEquals("0.0.0", metadata.getVersion()); | ||
} | ||
} |
Oops, something went wrong.