2015-12-11 11:02:29 -08:00

41 lines
1.1 KiB
Java

/**
* Copyright 2015 LinkedIn Corp. All rights reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
package wherehows.common.utils;
import org.testng.annotations.Test;
/**
* Created by zechen on 12/8/15.
*/
public class GitUtilTest {
@Test
public void testClone()
throws Exception {
//GitUtil.clone("git://git.example.com/project/repo.git", "/tmp/project/repo");
}
@Test
public void testGetRepoListFromProject()
throws Exception {
//List<String> repos = GitUtil.getRepoListFromProject("git://git.example.com/project");
//Assert.assertTrue(repos.size() > 0);
}
@Test
public void testGetRepoMetadata()
throws Exception {
//GitUtil.getRepoMetadata("/tmp/project/repo");
}
}