starfixdev / starfix

Utility to easily open and operator on source code via url links from your browser
Apache License 2.0
26 stars 21 forks source link

Add Tests #78

Closed fahad-israr closed 3 years ago

fahad-israr commented 3 years ago
fahad-israr commented 3 years ago

@maxandersen for file names with spaces I am using java.net.URLDecoder.decode function to decode and use that . I need suggestion from you on this on how to test . One way could be to have a function in code that process the filePath(using java.net.URLDecoder.decode) and then I add the normal unit tests to that function .

fahad-israr commented 3 years ago

For blobs it's simple. I can simply match valid and invalid URL patterns .