public TestSuite(string name) { base.\u002Ector(); TestSuite testSuite = this; this.fTests = new Vector(10); this.setName(name); }
public TestSuite(Class theClass) { base.\u002Ector(); TestSuite testSuite = this; this.fTests = new Vector(10); this.addTestsFromTestCase(theClass); }
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])); }
/// /// <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(); }
/// <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; }
/// /// <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(); }
public TestSuite() { base.\u002Ector(); TestSuite testSuite = this; this.fTests = new Vector(10); }
/// <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) { }