/*******************************************************************************
* Copyright (c) 2012-2015 Codenvy, S.A.
* 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:
* Codenvy, S.A. - initial API and implementation
*******************************************************************************/
package org.eclipse.che.ide.menu;
/**
* Test {@link MenuPath} class functionality
*
* @author <a href="mailto:nzamosenchuk@exoplatform.com">Nikolay Zamosenchuk</a>
*/
public class TestMenuPath {
// @Test
// public void testSimplePath1() {
// String path = "a";
// MenuPath menuPath = new MenuPath(path);
// assertEquals(1, menuPath.getSize());
// assertEquals("a", menuPath.getParentPath(1));
// }
//
// @Test
// public void testSimplePath2() {
// String path = "a/";
// MenuPath menuPath = new MenuPath(path);
// assertEquals(1, menuPath.getSize());
// assertEquals("a", menuPath.getParentPath(1));
// }
//
// @Test
// public void testSimplePath3() {
// String path = "/a/";
// MenuPath menuPath = new MenuPath(path);
// assertEquals(1, menuPath.getSize());
// assertEquals("a", menuPath.getParentPath(1));
// }
//
// @Test
// public void shouldReturnCorrectParentPath() {
// String path = "a/b/c";
// MenuPath menuPath = new MenuPath(path);
// assertEquals("a", menuPath.getParentPath(1));
// assertEquals("a/b", menuPath.getParentPath(2));
// assertEquals("a/b/c", menuPath.getParentPath(3));
// }
//
// @Test
// public void shouldReturnCorrectPathElement() {
// String path = "a/b/c";
// MenuPath menuPath = new MenuPath(path);
// assertEquals("a", menuPath.getPathElementAt(0));
// assertEquals("b", menuPath.getPathElementAt(1));
// assertEquals("c", menuPath.getPathElementAt(2));
// }
}