Documentation of 'edu.rit.pj.job.test.Test01' Java class
Test01
edu.rit.pj.job.test

Class Test01

  • All Implemented Interfaces:
    java.lang.Iterable<Job>


    public class Test01
    extends JobGenerator
    Class Test01 is a JobGenerator for unit testing. Each job, when run, sleeps for one second, then prints its job number and a message on the standard output. The standard output is redirected to a file named "outi", where i is the job number.
    • Constructor Summary

      Constructors 
      Constructor and Description
      Test01(int N)
      Construct a new test job generator.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method and Description
      static void main(java.lang.String[] args)
      Test01 job main program.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.lang.Iterable

        forEach, spliterator
    • Constructor Detail

      • Test01

        public Test01(int N)
        Construct a new test job generator.
        Parameters:
        N - Number of jobs.
    • Method Detail

      • main

        public static void main(java.lang.String[] args)
                         throws java.lang.Exception
        Test01 job main program. It simply prints its arguments on the standard output.
        Throws:
        java.lang.Exception

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.