diff options
author | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-03 00:09:06 +0000 |
---|---|---|
committer | simonbrandhof <simon.brandhof@gmail.com> | 2010-12-03 00:09:06 +0000 |
commit | 3ed6a62ad9e0fa21c108ab1e13724c90269ad2ca (patch) | |
tree | 930376e159c42017e51bb6f9376360424050c28b /sonar-server/src/test | |
parent | fcd0d57b85fcc029d8fa2e05d6e03fd9225c8134 (diff) | |
download | sonarqube-3ed6a62ad9e0fa21c108ab1e13724c90269ad2ca.tar.gz sonarqube-3ed6a62ad9e0fa21c108ab1e13724c90269ad2ca.zip |
SONAR-249 do not hide widgets which are changed in variation view + improve ruby api to display trend icons and measure variations + support variations in the widgets rules/size
Diffstat (limited to 'sonar-server/src/test')
-rw-r--r-- | sonar-server/src/test/java/org/sonar/server/ui/ViewsTest.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sonar-server/src/test/java/org/sonar/server/ui/ViewsTest.java b/sonar-server/src/test/java/org/sonar/server/ui/ViewsTest.java index e1ae897c007..69584d249f0 100644 --- a/sonar-server/src/test/java/org/sonar/server/ui/ViewsTest.java +++ b/sonar-server/src/test/java/org/sonar/server/ui/ViewsTest.java @@ -71,7 +71,7 @@ public class ViewsTest { @Test public void getWidgets() { final Views views = new Views(VIEWS); - List<ViewProxy<Widget>> widgets = views.getWidgets(null, null, null, false); + List<ViewProxy<Widget>> widgets = views.getWidgets(null, null, null); assertThat(widgets.size(), is(1)); assertThat(widgets.get(0).getTarget(), is(FakeWidget.class)); } @@ -79,7 +79,7 @@ public class ViewsTest { @Test public void sortViewsByTitle() { final Views views = new Views(new View[]{new FakeWidget("ccc", "ccc"), new FakeWidget("aaa", "aaa"), new FakeWidget("bbb", "bbb")}); - List<ViewProxy<Widget>> widgets = views.getWidgets(null, null, null, false); + List<ViewProxy<Widget>> widgets = views.getWidgets(null, null, null); assertThat(widgets.size(), is(3)); assertThat(widgets.get(0).getId(), is("aaa")); assertThat(widgets.get(1).getId(), is("bbb")); @@ -89,7 +89,7 @@ public class ViewsTest { @Test public void prefixTitleByNumberToDisplayFirst() { final Views views = new Views(new View[]{new FakeWidget("other", "Other"), new FakeWidget("1id", "1widget"), new FakeWidget("2id", "2widget")}); - List<ViewProxy<Widget>> widgets = views.getWidgets(null, null, null, false); + List<ViewProxy<Widget>> widgets = views.getWidgets(null, null, null); assertThat(widgets.size(), is(3)); assertThat(widgets.get(0).getId(), is("1id")); assertThat(widgets.get(1).getId(), is("2id")); |