You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PedestrianReachabilityCheckerTest.java 781B

12345678910111213141516171819202122232425
  1. /*
  2. * Copyright (C) 2019, Google LLC. and others
  3. *
  4. * This program and the accompanying materials are made available under the
  5. * terms of the Eclipse Distribution License v. 1.0 which is available at
  6. * https://www.eclipse.org/org/documents/edl-v10.php.
  7. *
  8. * SPDX-License-Identifier: BSD-3-Clause
  9. */
  10. package org.eclipse.jgit.internal.revwalk;
  11. import org.eclipse.jgit.internal.storage.file.FileRepository;
  12. import org.eclipse.jgit.junit.TestRepository;
  13. import org.eclipse.jgit.revwalk.ReachabilityChecker;
  14. public class PedestrianReachabilityCheckerTest
  15. extends ReachabilityCheckerTestCase {
  16. @Override
  17. protected ReachabilityChecker getChecker(
  18. TestRepository<FileRepository> repository) {
  19. return new PedestrianReachabilityChecker(true, repository.getRevWalk());
  20. }
  21. }