예제 #1
0
 public void TearDown()
 {
     _unitUnderTest = null;
 }
예제 #2
0
        /// <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;
        }
예제 #3
0
 public void SetUp()
 {
     _unitUnderTest = new GlobusJob();
 }
예제 #4
0
 /// <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;
 }