Examples of SystemReader


Examples of org.eclipse.jgit.util.SystemReader

import org.eclipse.jgit.util.SystemReader;
import org.junit.Test;

public class ValidRefNameTest {
  private static void assertValid(final boolean exp, final String name) {
    SystemReader instance = SystemReader.getInstance();
    try {
      setUnixSystemReader();
      assertEquals("\"" + name + "\"", exp,
          Repository.isValidRefName(name));
      setWindowsSystemReader();
View Full Code Here

Examples of org.eclipse.jgit.util.SystemReader

      }
    });
  }

  private static void assertInvalidOnWindows(final String name) {
    SystemReader instance = SystemReader.getInstance();
    try {
      setUnixSystemReader();
      assertEquals("\"" + name + "\"", true,
          Repository.isValidRefName(name));
      setWindowsSystemReader();
View Full Code Here
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.