diff options
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/tcf/filesystem/operations/FSCreateFolderTests.java')
-rw-r--r-- | target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/tcf/filesystem/operations/FSCreateFolderTests.java | 84 |
1 files changed, 42 insertions, 42 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/tcf/filesystem/operations/FSCreateFolderTests.java b/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/tcf/filesystem/operations/FSCreateFolderTests.java index 21b1c21a6..ec5528db1 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/tcf/filesystem/operations/FSCreateFolderTests.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/tcf/filesystem/operations/FSCreateFolderTests.java @@ -1,42 +1,42 @@ -/*******************************************************************************
- * Copyright (c) 2012 Wind River Systems, Inc. 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:
- * Wind River Systems - initial API and implementation
- *******************************************************************************/
-package org.eclipse.tcf.te.tests.tcf.filesystem.operations;
-
-import org.eclipse.tcf.te.tcf.filesystem.core.model.FSTreeNode;
-
-
-public class FSCreateFolderTests extends OperationTestBase {
- protected FSTreeNode newFolder;
-
- @Override
- protected void setUp() throws Exception {
- super.setUp();
- String path = test1Folder.getLocation() + getPathSep() + "newfolder"; //$NON-NLS-1$
- FSTreeNode node = getFSNode(path);
- if (node != null) {
- delete(node);
- }
- }
-
- public void testCreate() throws Exception {
- newFolder = createFolder("newfolder", test1Folder); //$NON-NLS-1$
- String path = test1Folder.getLocation() + getPathSep() + "newfolder"; //$NON-NLS-1$
- assertTrue(pathExists(path));
- }
-
- @Override
- protected void tearDown() throws Exception {
- if (newFolder != null) {
- delete(newFolder);
- }
- super.tearDown();
- }
-
-}
+/******************************************************************************* + * Copyright (c) 2014 Wind River Systems, Inc. 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: + * Wind River Systems - initial API and implementation + *******************************************************************************/ +package org.eclipse.tcf.te.tests.tcf.filesystem.operations; + +import org.eclipse.tcf.te.tcf.filesystem.core.model.FSTreeNode; + + +public class FSCreateFolderTests extends OperationTestBase { + protected FSTreeNode newFolder; + + @Override + protected void setUp() throws Exception { + super.setUp(); + String path = test1Folder.getLocation() + getPathSep() + "newfolder"; //$NON-NLS-1$ + FSTreeNode node = getFSNode(path); + if (node != null) { + delete(node); + } + } + + public void testCreate() throws Exception { + newFolder = createFolder("newfolder", test1Folder); //$NON-NLS-1$ + String path = test1Folder.getLocation() + getPathSep() + "newfolder"; //$NON-NLS-1$ + assertTrue(pathExists(path)); + } + + @Override + protected void tearDown() throws Exception { + if (newFolder != null) { + delete(newFolder); + } + super.tearDown(); + } + +} |