Ignore:
Timestamp:
2016-08-07T17:39:42+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - squid:S3578 - Test methods should comply with a naming convention

Location:
trunk/test/unit/org/openstreetmap/josm/data/validation/tests
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/unit/org/openstreetmap/josm/data/validation/tests/DuplicateNodeTest.java

    r7937 r10758  
    2929     */
    3030    @Test
    31     public void test() {
     31    public void testDuplicateNode() {
    3232        DataSet ds = new DataSet();
    3333
  • trunk/test/unit/org/openstreetmap/josm/data/validation/tests/MapCSSTagCheckerTest.java

    r10710 r10758  
    8686
    8787    @Test
    88     public void test10913() throws Exception {
     88    public void testTicket10913() throws Exception {
    8989        final OsmPrimitive p = OsmUtils.createPrimitive("way highway=tertiary construction=yes");
    9090        final TagCheck check = TagCheck.readMapCSS(new StringReader("way {" +
     
    101101
    102102    @Test
    103     public void test9782() throws Exception {
     103    public void testTicket9782() throws Exception {
    104104        final MapCSSTagChecker test = buildTagChecker("*[/.+_name/][!name] {" +
    105105                "throwWarning: tr(\"has {0} but not {1}\", \"{0.key}\", \"{1.key}\");}");
     
    112112
    113113    @Test
    114     public void test10859() throws Exception {
     114    public void testTicket10859() throws Exception {
    115115        final MapCSSTagChecker test = buildTagChecker("way[highway=footway][foot?!] {\n" +
    116116                "  throwWarning: tr(\"{0} used with {1}\", \"{0.value}\", \"{1.tag}\");}");
  • trunk/test/unit/org/openstreetmap/josm/data/validation/tests/NameMismatchTest.java

    r10218 r10758  
    3535     */
    3636    @Test
    37     public void test0() {
     37    public void testCase0() {
    3838        final List<TestError> errors = test("node name:de=Europa");
    3939        assertEquals(1, errors.size());
     
    4545     */
    4646    @Test
    47     public void test1() {
     47    public void testCase1() {
    4848        final List<TestError> errors = test("node name=Europe name:de=Europa");
    4949        assertEquals(1, errors.size());
     
    5555     */
    5656    @Test
    57     public void test2() {
     57    public void testCase2() {
    5858        final List<TestError> errors = test("node name=Europe name:de=Europa name:en=Europe");
    5959        assertEquals(0, errors.size());
     
    6464     */
    6565    @Test
    66     public void test3() {
     66    public void testCase3() {
    6767        List<TestError> errors;
    6868        errors = test("node \"name\"=\"Italia - Italien - Italy\"");
  • trunk/test/unit/org/openstreetmap/josm/data/validation/tests/PublicTransportRouteTestTest.java

    r10141 r10758  
    3535     */
    3636    @Test
    37     public void test() {
     37    public void testVarious() {
    3838        final List<Node> nodes = Arrays.asList(new Node(), new Node(), new Node(), new Node(), new Node(), new Node());
    3939        final Way w1 = TestUtils.newWay("", nodes.get(0), nodes.get(1));
Note: See TracChangeset for help on using the changeset viewer.