-
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.
Merge pull request #5 from plantbreeding/develop
remove parent1 and parent2 objects, updated StringUtils
- Loading branch information
Showing
3 changed files
with
50 additions
and
99 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
43 changes: 43 additions & 0 deletions
43
java/core/src/test/java/org/brapi/schematools/core/utils/StringUtilsTest.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,43 @@ | ||
package org.brapi.schematools.core.utils; | ||
|
||
import org.junit.jupiter.api.Test; | ||
|
||
import static org.junit.jupiter.api.Assertions.*; | ||
|
||
class StringUtilsTest { | ||
|
||
@Test | ||
void toSingular() { | ||
assertEquals("DataMatrix", StringUtils.toSingular("DataMatrices")) ; | ||
assertEquals("Analysis", StringUtils.toSingular("Analysis")) ; | ||
} | ||
|
||
@Test | ||
void toPlural() { | ||
assertEquals("DataMatrices", StringUtils.toPlural("DataMatrix")) ; | ||
} | ||
|
||
@Test | ||
void makeValidName() { | ||
} | ||
|
||
@Test | ||
void toSentenceCase() { | ||
} | ||
|
||
@Test | ||
void toParameterCase() { | ||
} | ||
|
||
@Test | ||
void startsWithLowerCase() { | ||
} | ||
|
||
@Test | ||
void startsWithUpperCase() { | ||
} | ||
|
||
@Test | ||
void replace() { | ||
} | ||
} |
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