diff options
author | Mathieu Cartaud | 2016-06-15 08:13:57 +0000 |
---|---|---|
committer | Mathieu Cartaud | 2016-06-15 14:29:59 +0000 |
commit | 6477d1125eebfd494f4a3d1a666519e24daedf9d (patch) | |
tree | df98e6aaac6dfb813ea055617a1ce1387064f041 /plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/utils | |
parent | 5722fba2307aeda65d7367dd302bcd9b20f02a7a (diff) | |
download | org.eclipse.emf.compare-6477d1125eebfd494f4a3d1a666519e24daedf9d.tar.gz org.eclipse.emf.compare-6477d1125eebfd494f4a3d1a666519e24daedf9d.tar.xz org.eclipse.emf.compare-6477d1125eebfd494f4a3d1a666519e24daedf9d.zip |
Switch to Eclipse mars.2
Format all non generated classes to get ride of formatter
incompatibilities
Migrate checkstyle config for checkstyle 6.19
Change-Id: I8c2b31765053a3686de62320f893bedf4ad81d1f
Signed-off-by: Mathieu Cartaud <mathieu.cartaud@obeo.fr>
Diffstat (limited to 'plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/utils')
-rw-r--r-- | plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/utils/GraphTest.java | 48 |
1 files changed, 13 insertions, 35 deletions
diff --git a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/utils/GraphTest.java b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/utils/GraphTest.java index 362f33313..aa9981c4c 100644 --- a/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/utils/GraphTest.java +++ b/plugins/org.eclipse.emf.compare.tests/src/org/eclipse/emf/compare/tests/utils/GraphTest.java @@ -38,19 +38,11 @@ public class GraphTest { @Test public void testBuildSubGraph() { IGraph<String> graph = new Graph<String>(); - //@formatter:off + // @formatter:off /* - * Add the following graph: - * e f - * | | - * b c d - * \ | / - * \ | / - * --------- - * | - * a + * Add the following graph: e f | | b c d \ | / \ | / --------- | a */ - //@formatter:on + // @formatter:on graph.addChildren("a", ImmutableSet.of("b", "c", "d")); graph.addChildren("c", ImmutableSet.of("e")); graph.addChildren("d", ImmutableSet.of("f")); @@ -66,16 +58,11 @@ public class GraphTest { @Test public void testPrune() { IGraph<String> graph = new Graph<String>(); - //@formatter:off + // @formatter:off /* - * Add the following graph: - * c-\ - * | | - * b-/ - * | - * a + * Add the following graph: c-\ | | b-/ | a */ - //@formatter:on + // @formatter:on graph.addChildren("a", ImmutableSet.of("b")); graph.addChildren("b", ImmutableSet.of("c")); graph.addChildren("c", ImmutableSet.of("b")); @@ -89,22 +76,13 @@ public class GraphTest { @Test public void testBreadthFirstIteration() { IGraph<String> graph = new Graph<String>(); - //@formatter:off + // @formatter:off /* - * With the following Graph: - * - * A I J - * / \ / / \ - * B C G K L - * / / \ / \ / \ - * D E F H M N - * - * We expect our iteration to go in the following order: - * three first items, in unspecified order : A, I, J - * next five, in unspecified order : B, C, G, K, L - * finally, still in unspecified order : D, E, F, H, M, N + * With the following Graph: A I J / \ / / \ B C G K L / / \ / \ / \ D E F H M N We expect our + * iteration to go in the following order: three first items, in unspecified order : A, I, J next + * five, in unspecified order : B, C, G, K, L finally, still in unspecified order : D, E, F, H, M, N */ - //@formatter:on + // @formatter:on graph.addChildren("A", ImmutableSet.of("B", "C")); graph.addChildren("B", ImmutableSet.of("D")); graph.addChildren("C", ImmutableSet.of("E", "F")); @@ -258,7 +236,7 @@ public class GraphTest { * B C G K L * / / \ / \ / \ * D E F H M N - * </pre> + * </pre> */ private IGraph<String> getAcyclicGraph() { IGraph<String> graph = new Graph<String>(); @@ -283,7 +261,7 @@ public class GraphTest { * B C G K L * / / \ / \ \ // \ * D - E F = H M N - * </pre> + * </pre> */ private IGraph<String> getGraphWithCycles() { IGraph<String> graph = new Graph<String>(); |