Example #1
0
 public TestSuite(string name)
 {
   base.\u002Ector();
   TestSuite testSuite = this;
   this.fTests = new Vector(10);
   this.setName(name);
 }
Example #2
0
 public TestSuite(Class theClass)
 {
   base.\u002Ector();
   TestSuite testSuite = this;
   this.fTests = new Vector(10);
   this.addTestsFromTestCase(theClass);
 }
Example #3
0
 public TestSuite(params Class[] classes)
 {
   base.\u002Ector();
   TestSuite testSuite = this;
   this.fTests = new Vector(10);
   Class[] classArray = classes;
   int length = classArray.Length;
   for (int index = 0; index < length; ++index)
     this.addTest(this.testCaseForClass(classArray[index]));
 }
Example #4
0
        ///   
        ///    <summary> * Returns an enumeration of all the available options..
        ///    * </summary>
        ///    * <returns> an enumeration of all available options. </returns>
        ///    
        public virtual java.util.Enumeration listOptions()
        {
            Vector newVector = new Vector(6);

            newVector.Add(new Option("\tSpecify a set of attributes which form the template." + "\n\tEg. 1,3,5-7.", "T", 1, "-T <start set>"));
            newVector.Add(new Option("\tEpsilon.\n" + "\t(default = 10)", "e", 1, "-e <num>"));
            newVector.Add(new Option("\tSpecifies the number of coefficients to use.\n" + "\t(default = 3)", "r", 1, "-r <num>"));
            newVector.Add(new Option("\tUse FFT for calculation of DFTs\n" + "\t(default = false)", "f", 0, "-f <true|false>"));

            return newVector.elements();
        }
Example #5
0
		/// <summary>
		/// Constructs a <code>JTable</code> to display the values in the
		/// <code>Vector</code> of <code>Vectors</code>, <code>rowData</code>,
		/// with column names, <code>columnNames</code>.
		/// </summary>
		public JTable(Vector @rowData, Vector @columnNames)
		{
		}
 private Vector getYears([In] int obj0)
 {
   Vector vector = new Vector();
   for (int index = obj0 - this.yearSelectionRange; index <= obj0 + this.yearSelectionRange; ++index)
     vector.addElement((object) new Integer(index));
   return vector;
 }
Example #7
0
        ///   
        ///    <summary> * Returns an enumeration of all the available options..
        ///    * </summary>
        ///    * <returns> an enumeration of all available options. </returns>
        ///    
        public virtual java.util.Enumeration listOptions()
        {
            Vector newVector = new Vector(2);

            newVector.Add(new Option("\tSpecifies the number of coefficients to use.\n" + "\t(default = 5)", "r", 1, "-r <num>"));
            newVector.Add(new Option("\tUse FFT.\n" + "\t(default = false)", "F", 1, "-F <num>"));

            return newVector.elements();
        }
Example #8
0
 public TestSuite()
 {
   base.\u002Ector();
   TestSuite testSuite = this;
   this.fTests = new Vector(10);
 }
Example #9
0
		/// <summary>
		/// Returns a <code>JTree</code> with each element of the specified
		/// <code>Vector</code> as the
		/// child of a new root node which is not displayed.
		/// </summary>
		public JTree(Vector @value)
		{
		}