mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-10 07:25:44 +01:00
added more test repositories
This commit is contained in:
@@ -139,4 +139,36 @@ public class RepositoryTestData
|
|||||||
|
|
||||||
return heartOfGold;
|
return heartOfGold;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method description
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public static Repository createRestaurantAtTheEndOfTheUniverse()
|
||||||
|
{
|
||||||
|
return createRestaurantAtTheEndOfTheUniverse(
|
||||||
|
DummyRepositoryHandler.TYPE_NAME);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Method description
|
||||||
|
*
|
||||||
|
*
|
||||||
|
* @param type
|
||||||
|
*
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
public static Repository createRestaurantAtTheEndOfTheUniverse(String type)
|
||||||
|
{
|
||||||
|
Repository repository = new Repository();
|
||||||
|
|
||||||
|
repository.setType(type);
|
||||||
|
repository.setContact("douglas.adams@hitchhiker.com");
|
||||||
|
repository.setName("RestaurantAtTheEndOfTheUniverse");
|
||||||
|
repository.setDescription("The Restaurant at the End of the Universe");
|
||||||
|
|
||||||
|
return repository;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user