Skip to content

Commit

Permalink
Try to reduce complexity of ShortestPathRoutingTest...
Browse files Browse the repository at this point in the history
  • Loading branch information
ptziegler committed Feb 10, 2024
1 parent 1f3ca7d commit 3c82da2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 0 additions & 1 deletion Jenkinsfile
Expand Up @@ -143,7 +143,6 @@ def void mvn() {
-Dorg.eclipse.justj.p2.manager.build.url=$JOB_URL \
-Dsonar.projectKey=gef-classic \
-Dsonar.organization=eclipse \
-Dsonar.exclusions=org.eclipse.draw2d.**/ShortestPathRoutingTest.java \
clean \
verify \
sonar:sonar
Expand Down
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2010 IBM Corporation and others.
* Copyright (c) 2000, 2024 IBM Corporation and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License 2.0 which is available at
Expand All @@ -12,18 +12,20 @@
*******************************************************************************/
package org.eclipse.draw2d.test;

import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;

import org.eclipse.draw2d.geometry.Point;
import org.eclipse.draw2d.geometry.PointList;
import org.eclipse.draw2d.geometry.Rectangle;
import org.eclipse.draw2d.graph.Path;
import org.eclipse.draw2d.graph.ShortestPathRouter;

import org.junit.After;
import org.junit.Assert;
import org.junit.Before;
import org.junit.Test;

public class ShortestPathRoutingTest extends Assert {
public class ShortestPathRoutingTest {

private static final Point bend = new Point(620, 309);
private static final Point bendAEnd = new Point(264, 472);
Expand Down

0 comments on commit 3c82da2

Please sign in to comment.