Search in sources :

Example 16 with ProjectsData

use of jetbrains.communicator.core.vfs.ProjectsData in project intellij-plugins by JetBrains.

the class ViewFilesTest method testTree_OneFileInProject.

public void testTree_OneFileInProject() throws Exception {
    ProjectsData projectsData = new ProjectsData();
    projectsData.setProjectFiles("ideTalk", new VFile[] { VFile.create("build.xml") });
    myViewFilesPanel.refreshData(myUser, projectsData);
    assertTree(new String[] { "ideTalk", "build.xml" });
}
Also used : ProjectsData(jetbrains.communicator.core.vfs.ProjectsData)

Example 17 with ProjectsData

use of jetbrains.communicator.core.vfs.ProjectsData in project intellij-plugins by JetBrains.

the class ViewFilesTest method testTree_SortFilesInProject.

public void testTree_SortFilesInProject() throws Exception {
    ProjectsData projectsData = new ProjectsData();
    projectsData.setProjectFiles("ideTalk", new VFile[] { VFile.create("aaa"), VFile.create("ccc"), VFile.create("bbb") });
    myViewFilesPanel.refreshData(myUser, projectsData);
    assertTree(new String[] { "ideTalk", "aaa", "bbb", "ccc" });
}
Also used : ProjectsData(jetbrains.communicator.core.vfs.ProjectsData)

Aggregations

ProjectsData (jetbrains.communicator.core.vfs.ProjectsData)17 IDEFacade (jetbrains.communicator.ide.IDEFacade)3 MockUser (jetbrains.communicator.mock.MockUser)3 User (jetbrains.communicator.core.users.User)2 Semaphore (java.util.concurrent.Semaphore)1 GetProjectsDataXmlMessage (jetbrains.communicator.core.transport.GetProjectsDataXmlMessage)1 CanceledException (jetbrains.communicator.ide.CanceledException)1 Element (org.jdom.Element)1