package org.openstreetmap.josm; | |||
import static org.junit.Assert.assertEquals; | |||
import java.util.Collection; | |||
import org.junit.Test; | |||
/** | |||
* Unit tests of {@link Main} class. | |||
*/ | |||
public class MainTest { | |||
| |||
/** | |||
* Unit test of {@link DownloadParamType#paramType} method. | |||
*/ | |||
@Test | |||
public void testParamType() { | |||
assertEquals(DownloadParamType.bounds, DownloadParamType.paramType("48.000,16.000,48.001,16.001")); | |||
assertEquals(DownloadParamType.fileName, DownloadParamType.paramType("data.osm")); | |||
assertEquals(DownloadParamType.fileUrl, DownloadParamType.paramType("file:///home/foo/data.osm")); | |||
assertEquals(DownloadParamType.fileUrl, DownloadParamType.paramType("file://C:\\Users\\foo\\data.osm")); | |||
assertEquals(DownloadParamType.httpUrl, DownloadParamType.paramType("http://somewhere.com/data.osm")); | |||
assertEquals(DownloadParamType.httpUrl, DownloadParamType.paramType("https://somewhere.com/data.osm")); | |||
} | |||
|
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/ad8ce2d0-b0ec-4f16-a483-f4861b7ef46a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
OK I see the plugin configuration has changed with the new property 'sonar.java.test.binaries'. My configuration still refers only to 'sonar.java.binaries', thanks for the hint and sorry for the noise.
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/118e7e3e-8eda-40b5-8312-8cb5dc7bd85a%40googlegroups.com.