From c82b0c8ed2c2c96ea5b331e6f4867a1df2c121d0 Mon Sep 17 00:00:00 2001 From: Mika Murtojarvi Date: Wed, 3 Dec 2014 11:00:30 +0200 Subject: Declarative: remove unnecessary files. The files were used for manual testing. Automatic tests with new test files will be created soon. Change-Id: I14b823dbd3c446a0288129a511ba8f8ec920f13b --- .../abstractcomponent/ParseComponentHierarchy.java | 51 ---------------------- 1 file changed, 51 deletions(-) delete mode 100644 uitest/src/com/vaadin/tests/components/abstractcomponent/ParseComponentHierarchy.java (limited to 'uitest/src') diff --git a/uitest/src/com/vaadin/tests/components/abstractcomponent/ParseComponentHierarchy.java b/uitest/src/com/vaadin/tests/components/abstractcomponent/ParseComponentHierarchy.java deleted file mode 100644 index c85086b042..0000000000 --- a/uitest/src/com/vaadin/tests/components/abstractcomponent/ParseComponentHierarchy.java +++ /dev/null @@ -1,51 +0,0 @@ -/* - * Copyright 2000-2014 Vaadin Ltd. - * - * Licensed under the Apache License, Version 2.0 (the "License"); you may not - * use this file except in compliance with the License. You may obtain a copy of - * the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT - * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the - * License for the specific language governing permissions and limitations under - * the License. - */ -package com.vaadin.tests.components.abstractcomponent; - -import java.io.FileInputStream; -import java.io.FileNotFoundException; - -import com.vaadin.server.VaadinRequest; -import com.vaadin.tests.components.AbstractTestUI; -import com.vaadin.ui.DesignSynchronizable; -import com.vaadin.ui.declarative.LayoutHandler; - -/** - * - * @since - * @author Vaadin Ltd - */ -public class ParseComponentHierarchy extends AbstractTestUI { - - /* - * (non-Javadoc) - * - * @see com.vaadin.tests.components.AbstractTestUI#setup(com.vaadin.server. - * VaadinRequest) - */ - @Override - protected void setup(VaadinRequest request) { - FileInputStream fis = null; - try { - fis = new FileInputStream( - "C:\\Users\\mika\\Projects\\Vaadin\\vaadin\\server\\src\\com\\vaadin\\ui\\declarative\\testFile.html"); - } catch (FileNotFoundException e) { - e.printStackTrace(); - } - DesignSynchronizable root = LayoutHandler.parse(fis).getComponentRoot(); - addComponent(root); - } -} -- cgit v1.2.3