blob: d3034d9c9ae08ab7cfa7fd2d4b9eee1ed800f0d1 [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2004, 2008 Tasktop Technologies and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Tasktop Technologies - initial API and implementation
*******************************************************************************/
package org.eclipse.mylyn.tasks.tests;
import java.util.List;
import junit.framework.TestCase;
import org.eclipse.mylyn.internal.tasks.ui.views.AbstractTaskListPresentation;
import org.eclipse.mylyn.internal.tasks.ui.views.TaskListView;
/**
* @author Mik Kersten
*/
public class TaskListPresentationTest extends TestCase {
public void testDefaultPresentations() {
List<AbstractTaskListPresentation> presentations = TaskListView.getPresentations();
// depends on whether Sandbox is running
assertTrue(presentations.size() == 2 || presentations.size() == 7);
}
}