diff --git a/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskList.java b/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskList.java index 81b06b23c3..907abb0678 100644 --- a/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskList.java +++ b/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskList.java @@ -24,6 +24,7 @@ import org.eclipse.reddeer.workbench.core.condition.JobIsRunning; /** + * @deprecated * Represents a TaskList on {@link TaskListView}. * * @author ldimaggi diff --git a/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskListView.java b/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskListView.java index dc4b5c7e4f..8c8a7d073f 100644 --- a/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskListView.java +++ b/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskListView.java @@ -28,6 +28,7 @@ import org.eclipse.reddeer.workbench.impl.view.WorkbenchView; /** + * @deprecated * Represents the Task List view - to support Mylyn automated tests. * * @author ldimaggi diff --git a/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskRepositoriesView.java b/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskRepositoriesView.java index 3c993454b1..5735bd6fc7 100644 --- a/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskRepositoriesView.java +++ b/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskRepositoriesView.java @@ -34,6 +34,7 @@ /** + * @deprecated * Represents the TaskRepositories view. * */ diff --git a/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskRepository.java b/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskRepository.java index 1eb2662990..a108fdef48 100644 --- a/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskRepository.java +++ b/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/views/TaskRepository.java @@ -26,6 +26,7 @@ import org.eclipse.reddeer.workbench.core.condition.JobIsRunning; /** + * @deprecated * Represents a TaskRepository on {@link TaskRepositoriesView}. * * @author ldimaggi diff --git a/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/wizards/NewRepositoryWizard.java b/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/wizards/NewRepositoryWizard.java index a4158afe1b..c2a91ece69 100644 --- a/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/wizards/NewRepositoryWizard.java +++ b/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/wizards/NewRepositoryWizard.java @@ -14,6 +14,7 @@ import org.eclipse.reddeer.jface.wizard.WizardDialog; /** + * @deprecated * Represents new Mylyn Add Task Repository wizard * * @author ldimaggi diff --git a/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/wizards/TaskRepositoryWizardDialog.java b/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/wizards/TaskRepositoryWizardDialog.java index 8fd5657770..b8435a8671 100644 --- a/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/wizards/TaskRepositoryWizardDialog.java +++ b/plugins/org.eclipse.reddeer.eclipse/src/org/eclipse/reddeer/eclipse/mylyn/tasks/ui/wizards/TaskRepositoryWizardDialog.java @@ -17,6 +17,7 @@ import org.eclipse.reddeer.swt.impl.button.PushButton; /** + * @deprecated * Represents Mylyn Task Repository Properties dialog * * @author ldimaggi diff --git a/tests/org.eclipse.reddeer.eclipse.test/src/org/eclipse/reddeer/eclipse/test/mylyn/tasks/ui/view/TaskListViewTest.java b/tests/org.eclipse.reddeer.eclipse.test/src/org/eclipse/reddeer/eclipse/test/mylyn/tasks/ui/view/TaskListViewTest.java deleted file mode 100644 index dfccac9d0e..0000000000 --- a/tests/org.eclipse.reddeer.eclipse.test/src/org/eclipse/reddeer/eclipse/test/mylyn/tasks/ui/view/TaskListViewTest.java +++ /dev/null @@ -1,44 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2017 Red Hat, Inc and others. - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License 2.0 which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * SPDX-License-Identifier: EPL-2.0 - * - * Contributors: - * Red Hat, Inc - initial API and implementation - *******************************************************************************/ -package org.eclipse.reddeer.eclipse.test.mylyn.tasks.ui.view; - -import static org.junit.Assert.assertTrue; - -import org.eclipse.reddeer.eclipse.mylyn.tasks.ui.views.TaskListView; -import org.eclipse.reddeer.junit.runner.RedDeerSuite; -import org.eclipse.reddeer.swt.api.TreeItem; -import org.eclipse.reddeer.swt.impl.tree.DefaultTreeItem; -import org.junit.Test; -import org.junit.runner.RunWith; - -/** - * - * @author ldimaggi - * - */ -@RunWith(RedDeerSuite.class) -public class TaskListViewTest { - - @Test - public void getRepoTest() { - - TaskListView listView = new TaskListView(); - listView.open(); - listView.createLocalTaskTest(); - listView.open(); - - TreeItem retTask = (DefaultTreeItem)listView.getTask ("Uncategorized", "New Task"); - assertTrue ("task was found", (retTask.getText().equals("New Task"))); - } -} - - diff --git a/tests/org.eclipse.reddeer.eclipse.test/src/org/eclipse/reddeer/eclipse/test/mylyn/tasks/ui/view/TaskRepositoriesViewTest.java b/tests/org.eclipse.reddeer.eclipse.test/src/org/eclipse/reddeer/eclipse/test/mylyn/tasks/ui/view/TaskRepositoriesViewTest.java deleted file mode 100644 index 22b294f76e..0000000000 --- a/tests/org.eclipse.reddeer.eclipse.test/src/org/eclipse/reddeer/eclipse/test/mylyn/tasks/ui/view/TaskRepositoriesViewTest.java +++ /dev/null @@ -1,41 +0,0 @@ -/******************************************************************************* - * Copyright (c) 2017 Red Hat, Inc and others. - * This program and the accompanying materials are made available under the - * terms of the Eclipse Public License 2.0 which is available at - * http://www.eclipse.org/legal/epl-2.0. - * - * SPDX-License-Identifier: EPL-2.0 - * - * Contributors: - * Red Hat, Inc - initial API and implementation - *******************************************************************************/ -package org.eclipse.reddeer.eclipse.test.mylyn.tasks.ui.view; - -import static org.junit.Assert.assertFalse; - -import java.util.List; - -import org.eclipse.reddeer.eclipse.mylyn.tasks.ui.views.TaskRepositoriesView; -import org.eclipse.reddeer.eclipse.mylyn.tasks.ui.views.TaskRepository; -import org.eclipse.reddeer.junit.runner.RedDeerSuite; -import org.junit.Test; -import org.junit.runner.RunWith; - -/** - * - * @author ldimaggi - * - */ -@RunWith(RedDeerSuite.class) -public class TaskRepositoriesViewTest { - - @Test - public void getRepoTest() { - - TaskRepositoriesView view = new TaskRepositoriesView(); - view.open(); - - List repositories = view.getTaskRepositories(); - assertFalse ("repos are found", repositories.isEmpty()); - } -}