Package org.junit.internal.requests

Examples of org.junit.internal.requests.ClassRequest


     *
     * @param clazz the class containing the tests
     * @return a <code>Request</code> that will cause all tests in the class to be run
     */
    public static Request aClass(Class<?> clazz) {
        return new ClassRequest(clazz);
    }
View Full Code Here


     *
     * @param clazz the class containing the tests
     * @return a <code>Request</code> that will cause all tests in the class to be run
     */
    public static Request classWithoutSuiteMethod(Class<?> clazz) {
        return new ClassRequest(clazz, false);
    }
View Full Code Here

   * in a class. The odd name is necessary because <code>class</code> is a reserved word.
   * @param clazz the class containing the tests
   * @return a <code>Request</code> that will cause all tests in the class to be run
   */
  public static Request aClass(Class<?> clazz) {
    return new ClassRequest(clazz);
  }
View Full Code Here

   * in a class. The odd name is necessary because <code>class</code> is a reserved word.
   * @param clazz the class containing the tests
   * @return a <code>Request</code> that will cause all tests in the class to be run
   */
  public static Request aClass(Class<?> clazz) {
    return new ClassRequest(clazz);
  }
View Full Code Here

   * in a class. If the class has a suite() method, it will be ignored.
   * @param clazz the class containing the tests
   * @return a <code>Request</code> that will cause all tests in the class to be run
   */
  public static Request classWithoutSuiteMethod(Class<?> clazz) {
    return new ClassRequest(clazz, false);
  }
View Full Code Here

   * in a class. The odd name is necessary because <code>class</code> is a reserved word.
   * @param clazz the class containing the tests
   * @return a <code>Request</code> that will cause all tests in the class to be run
   */
  public static Request aClass(Class<?> clazz) {
    return new ClassRequest(clazz);
  }
View Full Code Here

   * in a class. The odd name is necessary because <code>class</code> is a reserved word.
   * @param clazz the class containing the tests
   * @return a <code>Request</code> that will cause all tests in the class to be run
   */
  public static Request aClass(Class<?> clazz) {
    return new ClassRequest(clazz);
  }
View Full Code Here

   * in a class. If the class has a suite() method, it will be ignored.
   * @param clazz the class containing the tests
   * @return a <code>Request</code> that will cause all tests in the class to be run
   */
  public static Request classWithoutSuiteMethod(Class<?> clazz) {
    return new ClassRequest(clazz, false);
  }
View Full Code Here

   * in a class. The odd name is necessary because <code>class</code> is a reserved word.
   * @param clazz the class containing the tests
   * @return a <code>Request</code> that will cause all tests in the class to be run
   */
  public static Request aClass(Class<?> clazz) {
    return new ClassRequest(clazz);
  }
View Full Code Here

  public Request sortWith(Comparator<Description> comparator) {
    return new SortingRequest(this, comparator);
  }

  public static Request classWithoutSuiteMethod(Class<?> newTestClass) {
    return new ClassRequest(newTestClass, false);
  }
View Full Code Here

TOP

Related Classes of org.junit.internal.requests.ClassRequest

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.