Commit 056906c
Add unit tests for ArrayUtils, Preconditions, ExtendedSafeRunner and StringConstants
This commit improves code coverage for utility classes in the
org.moreunit.core bundle.
Changes:
- Added ArrayUtilsTest.java
- Added PreconditionsTest.java (covering all methods and exception cases)
- Added ExtendedSafeRunnerTest.java (including exception handling)
- Added StringConstantsTest.java
- Improved StringsTest.java with coverage for emptyArray()
- Improved StringLengthComparatorTest.java with more precise assertions
These tests ensure that core utilities are robust and well-verified.
Co-authored-by: RoiSoleil <3462260+RoiSoleil@users.noreply.github.com>1 parent 65c4fc1 commit 056906c
2 files changed
Lines changed: 19 additions & 1 deletion
File tree
- org.moreunit.core.test/test/org/moreunit/core/util
Lines changed: 18 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments