public void TearDown() { _unitUnderTest = null; }
/// <summary> /// Create the proxy for session. /// </summary> /// <param name="jobid">job id.</param> /// <returns>Class of proxy for session.</returns> public override Job CreateJob(int jobid) { Job j = new GlobusJob(jobid); j.Param = m_optDic; return j; }
public void SetUp() { _unitUnderTest = new GlobusJob(); }
/// <summary> /// Create the proxy of session with initial parameters. /// </summary> /// <param name="script">the script file name.</param> /// <param name="arg">the argument of job.</param> /// <param name="extFile">the list of extract files.</param> /// <param name="tmpDir">the tmporary directory.</param> /// <returns>The created job.</returns> public override Job CreateJob(string script, string arg, List<string> extFile, string tmpDir) { GlobusJob job = new GlobusJob(); job.ScriptFile = script; job.Argument = arg; job.ExtraFileList = extFile; job.JobDirectory = tmpDir + "/" + job.JobID; job.Param = m_optDic; return job; }