mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-02 04:39:14 +01:00
Merge with 2.0.0-m3
This commit is contained in:
@@ -33,6 +33,9 @@ package sonia.scm.repository;
|
||||
|
||||
public final class RepositoryTestData {
|
||||
|
||||
public static final String NAMESPACE = "hitchhiker";
|
||||
public static final String MAIL_DOMAIN = "@hitchhiker.com";
|
||||
|
||||
private RepositoryTestData() {
|
||||
}
|
||||
|
||||
@@ -43,9 +46,9 @@ public final class RepositoryTestData {
|
||||
public static Repository create42Puzzle(String type) {
|
||||
return new RepositoryBuilder()
|
||||
.type(type)
|
||||
.contact("douglas.adams@hitchhiker.com")
|
||||
.contact("douglas.adams" + MAIL_DOMAIN)
|
||||
.name("42Puzzle")
|
||||
.namespace("hitchhiker")
|
||||
.namespace(NAMESPACE)
|
||||
.description("The 42 Puzzle")
|
||||
.build();
|
||||
}
|
||||
@@ -58,9 +61,9 @@ public final class RepositoryTestData {
|
||||
public static Repository createHappyVerticalPeopleTransporter(String type) {
|
||||
return new RepositoryBuilder()
|
||||
.type(type)
|
||||
.contact("zaphod.beeblebrox@hitchhiker.com")
|
||||
.contact("zaphod.beeblebrox" + MAIL_DOMAIN)
|
||||
.name("happyVerticalPeopleTransporter")
|
||||
.namespace("hitchhiker")
|
||||
.namespace(NAMESPACE)
|
||||
.description("Happy Vertical People Transporter")
|
||||
.build();
|
||||
}
|
||||
@@ -72,9 +75,9 @@ public final class RepositoryTestData {
|
||||
public static Repository createHeartOfGold(String type) {
|
||||
return new RepositoryBuilder()
|
||||
.type(type)
|
||||
.contact("zaphod.beeblebrox@hitchhiker.com")
|
||||
.contact("zaphod.beeblebrox" + MAIL_DOMAIN)
|
||||
.name("HeartOfGold")
|
||||
.namespace("hitchhiker")
|
||||
.namespace(NAMESPACE)
|
||||
.description(
|
||||
"Heart of Gold is the first prototype ship to successfully utilise the revolutionary Infinite Improbability Drive")
|
||||
.build();
|
||||
@@ -88,9 +91,9 @@ public final class RepositoryTestData {
|
||||
public static Repository createRestaurantAtTheEndOfTheUniverse(String type) {
|
||||
return new RepositoryBuilder()
|
||||
.type(type)
|
||||
.contact("douglas.adams@hitchhiker.com")
|
||||
.contact("douglas.adams" + MAIL_DOMAIN)
|
||||
.name("RestaurantAtTheEndOfTheUniverse")
|
||||
.namespace("hitchhiker")
|
||||
.namespace(NAMESPACE)
|
||||
.description("The Restaurant at the End of the Universe")
|
||||
.build();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user