Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sw360-dev] Question: Adding a test case for ConvertUtil

Hello SW360 Developers,

I am a beginner contributor interested in contributing to the SW360 project.

While exploring the codebase, I came across ConvertUtil in the libraries/commonIO module and its existing test class ConvertUtilTest in the libraries/importers module.

I noticed that the existing test covers the CAST date conversion case, but does not cover the "NULL" input case.

I would like to contribute one additional JUnit test case to verify that:

ConvertUtil.parseDate("NULL") returns null.

Would this be a useful contribution? If so, may I proceed with implementing and submitting a PR for this test?

Thank you for your time and guidance.


Back to the top