~ubuntu-branches/ubuntu/trusty/eclipse-linuxtools/trusty

« back to all changes in this revision

Viewing changes to lttng/org.eclipse.linuxtools.lttng2.ui.tests/stubs/org/eclipse/linuxtools/internal/lttng2/stubs/service/TestRemoteSystemProxy.java

  • Committer: Package Import Robot
  • Author(s): tony mancill
  • Date: 2013-05-13 21:43:22 UTC
  • mfrom: (1.2.1) (2.1.2 experimental)
  • Revision ID: package-import@ubuntu.com-20130513214322-6frgd9du1n0w2uo7
Tags: 1.2.1-1
* Team upload.
* New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/**********************************************************************
2
2
 * Copyright (c) 2012 Ericsson
3
 
 * 
 
3
 *
4
4
 * All rights reserved. This program and the accompanying materials are
5
5
 * made available under the terms of the Eclipse Public License v1.0 which
6
6
 * accompanies this distribution, and is available at
7
7
 * http://www.eclipse.org/legal/epl-v10.html
8
 
 * 
9
 
 * Contributors: 
 
8
 *
 
9
 * Contributors:
10
10
 *   Bernd Hufmann - Initial API and implementation
11
11
 **********************************************************************/
12
12
package org.eclipse.linuxtools.internal.lttng2.stubs.service;
23
23
import org.eclipse.rse.services.terminals.ITerminalService;
24
24
import org.eclipse.rse.subsystems.files.core.servicesubsystem.IFileServiceSubSystem;
25
25
 
26
 
 
 
26
@SuppressWarnings("javadoc")
27
27
public class TestRemoteSystemProxy implements IRemoteSystemProxy {
28
 
    
 
28
 
29
29
    private LTTngToolsFileShell fShell = null;
30
30
    private String fTestFile = null;
31
31
    private String fScenario = null;
69
69
 
70
70
    @Override
71
71
    public ICommandShell createCommandShell() throws ExecutionException {
72
 
        if (fShell == null) { 
 
72
        if (fShell == null) {
73
73
            fShell = CommandShellFactory.getInstance().getFileShell();
74
74
            if ((fTestFile != null) && (fScenario != null)) {
75
75
                try {
90
90
    @Override
91
91
    public void removeCommunicationListener(ICommunicationsListener listener) {
92
92
    }
93
 
    
 
93
 
94
94
    public void setTestFile(String testFile) {
95
95
        fTestFile = testFile;
96
96
    }
97
 
    
 
97
 
98
98
    public void setScenario(String scenario) {
99
99
        fScenario = scenario;
100
100
        if (fShell != null) {