Package org.junit.tests

Source Code of org.junit.tests.ClassRequestTest$PrivateSuiteMethod

package org.junit.tests;

import static org.junit.Assert.assertFalse;
import org.junit.Test;
import org.junit.internal.requests.ClassRequest;

public class ClassRequestTest {
  public static class PrivateSuiteMethod {
    static junit.framework.Test suite() {
      return null;
    }
  }
 
  @Test public void noSuiteMethodIfMethodPrivate() {
    assertFalse(new ClassRequest(PrivateSuiteMethod.class).hasSuiteMethod());
  }
}
TOP

Related Classes of org.junit.tests.ClassRequestTest$PrivateSuiteMethod

TOP
Copyright © 2018 www.massapi.com. 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.