summaryrefslogtreecommitdiffstats
path: root/tests/server-side
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2012-06-29 13:44:13 +0300
committerHenri Sara <hesara@vaadin.com>2012-06-29 13:44:13 +0300
commit485104ae6084b9f6bfbefe32a8bcc421ea87f9b8 (patch)
tree0638a415e8efd8ad8b71bee30a3c4b039db8b90b /tests/server-side
parentea1716b16dd2ee8be4fa320b2b35c44fafc9a562 (diff)
downloadvaadin-framework-485104ae6084b9f6bfbefe32a8bcc421ea87f9b8.tar.gz
vaadin-framework-485104ae6084b9f6bfbefe32a8bcc421ea87f9b8.zip
Replace Navigator(Page) with Navigator(ComponentContainer) (#8859)
Diffstat (limited to 'tests/server-side')
-rw-r--r--tests/server-side/com/vaadin/tests/server/navigator/NavigatorTest.java12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/server-side/com/vaadin/tests/server/navigator/NavigatorTest.java b/tests/server-side/com/vaadin/tests/server/navigator/NavigatorTest.java
index 03f49d4ab6..a7eb2e12fd 100644
--- a/tests/server-side/com/vaadin/tests/server/navigator/NavigatorTest.java
+++ b/tests/server-side/com/vaadin/tests/server/navigator/NavigatorTest.java
@@ -13,13 +13,11 @@ import org.easymock.IMocksControl;
import com.vaadin.navigator.FragmentManager;
import com.vaadin.navigator.Navigator;
-import com.vaadin.navigator.Navigator.SimpleViewDisplay;
import com.vaadin.navigator.View;
import com.vaadin.navigator.ViewChangeListener;
import com.vaadin.navigator.ViewChangeListener.ViewChangeEvent;
import com.vaadin.navigator.ViewDisplay;
import com.vaadin.navigator.ViewProvider;
-import com.vaadin.terminal.Page;
import com.vaadin.tests.server.navigator.ClassBasedViewProviderTest.TestView;
import com.vaadin.tests.server.navigator.ClassBasedViewProviderTest.TestView2;
@@ -364,16 +362,6 @@ public class NavigatorTest extends TestCase {
}
}
- public void testDefaultDisplayType() {
- IMocksControl control = EasyMock.createControl();
- Page page = control.createMock(Page.class);
-
- Navigator navigator = new Navigator(page);
-
- assertEquals("Default display should be a SimpleViewDisplay",
- SimpleViewDisplay.class, navigator.getDisplay().getClass());
- }
-
public void testAddViewInstance() throws Exception {
View view = new TestView();