Package junit.tests.runner

Source Code of junit.tests.runner.SimpleTestCollectorTest

package junit.tests.runner;

import junit.framework.TestCase;
import junit.runner.SimpleTestCollector;

public class SimpleTestCollectorTest extends TestCase {
 
  public void testMissingDirectory() {
    SimpleTestCollector collector= new SimpleTestCollector();
    assertFalse(collector.collectFilesInPath("foobar").elements().hasMoreElements());
  }

}
TOP

Related Classes of junit.tests.runner.SimpleTestCollectorTest

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.