Package org.junit.internal.runners

Examples of org.junit.internal.runners.EmptyDescription


  @Test(expected=InitializationError.class)
  public void testClassRunnerHandlesBeforeClassAndAfterClassValidation() throws InitializationError {
    new TestClassRunner(WrongBeforeClass.class, new Runner() {
      @Override
      public Description getDescription() {
        return new EmptyDescription();
      }

      @Override
      public void run(RunNotifier notifier) {
        // do nothing
View Full Code Here


      public UnsortableRunner(Class<?> klass) {
      }
     
      @Override
      public Description getDescription() {
        return new EmptyDescription();
      }
View Full Code Here

      throw new Exception(UNIQUE_ERROR_MESSAGE);
    }

    @Override
    public Description getDescription() {
      return new EmptyDescription();
    }
View Full Code Here

      return 0;
    }

    @Override
    public Description getDescription() {
      return new EmptyDescription();
    }
View Full Code Here

TOP

Related Classes of org.junit.internal.runners.EmptyDescription

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.