diff options
Diffstat (limited to 'target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/tcf/filesystem/operations/FSMoveTests.java')
-rw-r--r-- | target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/tcf/filesystem/operations/FSMoveTests.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/tcf/filesystem/operations/FSMoveTests.java b/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/tcf/filesystem/operations/FSMoveTests.java index 763c23f73..0a4fa393b 100644 --- a/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/tcf/filesystem/operations/FSMoveTests.java +++ b/target_explorer/plugins/org.eclipse.tcf.te.tests/src/org/eclipse/tcf/te/tests/tcf/filesystem/operations/FSMoveTests.java @@ -1,5 +1,5 @@ /******************************************************************************* - * Copyright (c) 2012 Wind River Systems, Inc. and others. All rights reserved. + * Copyright (c) 2012, 2015 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 @@ -9,7 +9,7 @@ *******************************************************************************/ package org.eclipse.tcf.te.tests.tcf.filesystem.operations; -import org.eclipse.tcf.te.tcf.filesystem.core.model.FSTreeNode; +import org.eclipse.tcf.te.tcf.filesystem.core.internal.FSTreeNode; public class FSMoveTests extends OperationTestBase { @@ -18,9 +18,9 @@ public class FSMoveTests extends OperationTestBase { public void testMove() throws Exception { originalFolder = test22File.getParent(); test22File = move(test22File, test1Folder); - String origPath = originalFolder.getLocation() + getPathSep() + test22File.name; + String origPath = originalFolder.getLocation() + getPathSep() + test22File.getName(); assertFalse(pathExists(origPath)); - String nowPath = test1Folder.getLocation() + getPathSep() + test22File.name; + String nowPath = test1Folder.getLocation() + getPathSep() + test22File.getName(); assertTrue(pathExists(nowPath)); } |