Add comprehensive unit tests for core components #6
96 passed, 0 failed and 0 skipped
✅ app/build/test-results/testDebugUnitTest/TEST-me.ghui.v2er.ExampleUnitTest.xml
2 tests were completed in 2ms with 2 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| me.ghui.v2er.ExampleUnitTest | 2✅ | 2ms |
✅ me.ghui.v2er.ExampleUnitTest
✅ addition_isCorrect
✅ testFindDigital
✅ app/build/test-results/testDebugUnitTest/TEST-me.ghui.v2er.network.bean.UserInfoTest.xml
7 tests were completed in 146ms with 7 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| me.ghui.v2er.network.bean.UserInfoTest | 7✅ | 146ms |
✅ me.ghui.v2er.network.bean.UserInfoTest
✅ testUserInfoSerialization
✅ testUserInfoDefaultValues
✅ testIsValidMethod
✅ testUserInfoDeserialization
✅ testAvatarUrlHandling
✅ testCreatedTimeHandling
✅ testUserInfoWithNullValues
✅ app/build/test-results/testDebugUnitTest/TEST-me.ghui.v2er.TestParse.xml
1 tests were completed in 9ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| me.ghui.v2er.TestParse | 1✅ | 9ms |
✅ me.ghui.v2er.TestParse
✅ testSplitTime
✅ app/build/test-results/testDebugUnitTest/TEST-me.ghui.v2er.TestReplace.xml
1 tests were completed in 8ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| me.ghui.v2er.TestReplace | 1✅ | 8ms |
✅ me.ghui.v2er.TestReplace
✅ testReplaceString
✅ app/build/test-results/testDebugUnitTest/TEST-me.ghui.v2er.util.CheckTest.xml
14 tests were completed in 7ms with 14 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| me.ghui.v2er.util.CheckTest | 14✅ | 7ms |
✅ me.ghui.v2er.util.CheckTest
✅ testIsEmpty_withNonEmptyList
✅ testNotEmpty_withAllNonEmpty
✅ testIsEmpty_withWhitespaceString
✅ testIsEmpty_withNonEmptyString
✅ testNotEmpty_withEmptyList
✅ testIsEmpty_withEmptyString
✅ testIsEmpty_withEmptyList
✅ testIsEmpty_withNullString
✅ testNotEmpty_withOneEmpty
✅ testNotEmpty_withNoArguments
✅ testIsEmpty_withNullList
✅ testNotEmpty_withNullList
✅ testNotEmpty_withOneNull
✅ testNotEmpty_withNonEmptyList
✅ app/build/test-results/testDebugUnitTest/TEST-me.ghui.v2er.util.DateUtilsTest.xml
5 tests were completed in 22ms with 5 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| me.ghui.v2er.util.DateUtilsTest | 5✅ | 22ms |
✅ me.ghui.v2er.util.DateUtilsTest
✅ testParseDate_formatValidation
✅ testParseDate_withCurrentTime
✅ testParseDate_withNegativeTimestamp
✅ testParseDate_withZeroTimestamp
✅ testParseDate_withValidTimestamp
✅ app/build/test-results/testDebugUnitTest/TEST-me.ghui.v2er.util.UriUtilsTest.xml
18 tests were completed in 23ms with 18 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| me.ghui.v2er.util.UriUtilsTest | 18✅ | 23ms |
✅ me.ghui.v2er.util.UriUtilsTest
✅ testIsImg_withNonImageUrls
✅ testGetLastSegment_withTrailingSlash
✅ testIsValideUrl_withInvalidUrls
✅ testGetMimeType_withImageExtensions
✅ testGetMimeType_withNonImageExtensions
✅ testCheckSchema_withHttpUrl
✅ testCheckSchema_withEmptyOrNull
✅ testGetLastSegment_withEmptyOrNull
✅ testCheckSchema_withInvalidUrl
✅ testCheckSchema_withDoubleSlash
✅ testCheckSchema_withoutSchema
✅ testGetLastSegment_withSimpleUrl
✅ testGetLastSegment_withAnchorAndParams
✅ testIsValideUrl_withValidUrls
✅ testTopicLink
✅ testGetLastSegment_withQueryParams
✅ testGetLastSegment_withAnchor
✅ testIsImg_withImageUrls
✅ app/build/test-results/testReleaseUnitTest/TEST-me.ghui.v2er.ExampleUnitTest.xml
2 tests were completed in 9ms with 2 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| me.ghui.v2er.ExampleUnitTest | 2✅ | 9ms |
✅ me.ghui.v2er.ExampleUnitTest
✅ addition_isCorrect
✅ testFindDigital
✅ app/build/test-results/testReleaseUnitTest/TEST-me.ghui.v2er.network.bean.UserInfoTest.xml
7 tests were completed in 89ms with 7 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| me.ghui.v2er.network.bean.UserInfoTest | 7✅ | 89ms |
✅ me.ghui.v2er.network.bean.UserInfoTest
✅ testUserInfoSerialization
✅ testUserInfoDefaultValues
✅ testIsValidMethod
✅ testUserInfoDeserialization
✅ testAvatarUrlHandling
✅ testCreatedTimeHandling
✅ testUserInfoWithNullValues
✅ app/build/test-results/testReleaseUnitTest/TEST-me.ghui.v2er.TestParse.xml
1 tests were completed in 7ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| me.ghui.v2er.TestParse | 1✅ | 7ms |
✅ me.ghui.v2er.TestParse
✅ testSplitTime
✅ app/build/test-results/testReleaseUnitTest/TEST-me.ghui.v2er.TestReplace.xml
1 tests were completed in 1ms with 1 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| me.ghui.v2er.TestReplace | 1✅ | 1ms |
✅ me.ghui.v2er.TestReplace
✅ testReplaceString
✅ app/build/test-results/testReleaseUnitTest/TEST-me.ghui.v2er.util.CheckTest.xml
14 tests were completed in 8ms with 14 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| me.ghui.v2er.util.CheckTest | 14✅ | 8ms |
✅ me.ghui.v2er.util.CheckTest
✅ testIsEmpty_withNonEmptyList
✅ testNotEmpty_withAllNonEmpty
✅ testIsEmpty_withWhitespaceString
✅ testIsEmpty_withNonEmptyString
✅ testNotEmpty_withEmptyList
✅ testIsEmpty_withEmptyString
✅ testIsEmpty_withEmptyList
✅ testIsEmpty_withNullString
✅ testNotEmpty_withOneEmpty
✅ testNotEmpty_withNoArguments
✅ testIsEmpty_withNullList
✅ testNotEmpty_withNullList
✅ testNotEmpty_withOneNull
✅ testNotEmpty_withNonEmptyList
✅ app/build/test-results/testReleaseUnitTest/TEST-me.ghui.v2er.util.DateUtilsTest.xml
5 tests were completed in 53ms with 5 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| me.ghui.v2er.util.DateUtilsTest | 5✅ | 53ms |
✅ me.ghui.v2er.util.DateUtilsTest
✅ testParseDate_formatValidation
✅ testParseDate_withCurrentTime
✅ testParseDate_withNegativeTimestamp
✅ testParseDate_withZeroTimestamp
✅ testParseDate_withValidTimestamp
✅ app/build/test-results/testReleaseUnitTest/TEST-me.ghui.v2er.util.UriUtilsTest.xml
18 tests were completed in 30ms with 18 passed, 0 failed and 0 skipped.
| Test suite | Passed | Failed | Skipped | Time |
|---|---|---|---|---|
| me.ghui.v2er.util.UriUtilsTest | 18✅ | 30ms |
✅ me.ghui.v2er.util.UriUtilsTest
✅ testIsImg_withNonImageUrls
✅ testGetLastSegment_withTrailingSlash
✅ testIsValideUrl_withInvalidUrls
✅ testGetMimeType_withImageExtensions
✅ testGetMimeType_withNonImageExtensions
✅ testCheckSchema_withHttpUrl
✅ testCheckSchema_withEmptyOrNull
✅ testGetLastSegment_withEmptyOrNull
✅ testCheckSchema_withInvalidUrl
✅ testCheckSchema_withDoubleSlash
✅ testCheckSchema_withoutSchema
✅ testGetLastSegment_withSimpleUrl
✅ testGetLastSegment_withAnchorAndParams
✅ testIsValideUrl_withValidUrls
✅ testTopicLink
✅ testGetLastSegment_withQueryParams
✅ testGetLastSegment_withAnchor
✅ testIsImg_withImageUrls