aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-graph/src
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2011-08-02 19:31:32 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2011-08-02 19:31:32 +0200
commit9a4e0131a585315318fe4aabf7dc0a7f95fd7433 (patch)
tree737b081acdb4af7f1c44ca2856cc6c6f4b517d1c /sonar-graph/src
parent1f5682409af97410aca5e545ccbd40b6b037e6a9 (diff)
downloadsonarqube-9a4e0131a585315318fe4aabf7dc0a7f95fd7433.tar.gz
sonarqube-9a4e0131a585315318fe4aabf7dc0a7f95fd7433.zip
Some code improvements
Diffstat (limited to 'sonar-graph/src')
-rw-r--r--sonar-graph/src/test/java/org/sonar/graph/DsmCellTest.java45
1 files changed, 0 insertions, 45 deletions
diff --git a/sonar-graph/src/test/java/org/sonar/graph/DsmCellTest.java b/sonar-graph/src/test/java/org/sonar/graph/DsmCellTest.java
deleted file mode 100644
index 24fd45df840..00000000000
--- a/sonar-graph/src/test/java/org/sonar/graph/DsmCellTest.java
+++ /dev/null
@@ -1,45 +0,0 @@
-/*
- * Sonar, open source software quality management tool.
- * Copyright (C) 2008-2011 SonarSource
- * mailto:contact AT sonarsource DOT com
- *
- * Sonar is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Lesser General Public
- * License as published by the Free Software Foundation; either
- * version 3 of the License, or (at your option) any later version.
- *
- * Sonar is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
- * Lesser General Public License for more details.
- *
- * You should have received a copy of the GNU Lesser General Public
- * License along with Sonar; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02
- */
-package org.sonar.graph;
-
-import org.junit.Ignore;
-import org.junit.Test;
-import org.sonar.graph.DsmCell;
-import org.sonar.graph.StringEdge;
-
-import static org.hamcrest.Matchers.equalTo;
-import static org.hamcrest.Matchers.not;
-import static org.junit.Assert.assertThat;
-
-public class DsmCellTest {
-
- @Test
- @Ignore
- public void testEquals() {
- DsmCell cell1 = new DsmCell(new StringEdge("A", "B", 1), true);
- DsmCell cell1bis = new DsmCell(new StringEdge("A", "B", 1), false);
- DsmCell cell4 = new DsmCell(new StringEdge("B", "A", 4), true);
-
- assertThat(cell1, equalTo(cell1));
- assertThat(cell1, equalTo(cell1bis));
- assertThat(cell1, not(equalTo(cell4)));
- }
-
-}