Documentation ¶
Index ¶
- Variables
- func ComplianceTests(t *testing.T, tree f3_tree.TreeInterface, ...)
- func ForgeCompliance(t *testing.T, name string)
- func GeneratorModify(t *testing.T, f f3.Interface, parent generic.Path) f3.Interface
- func GeneratorModifyComment(comment *f3.Comment, parent generic.Path) *f3.Comment
- func GeneratorModifyIssue(issue *f3.Issue, parent generic.Path) *f3.Issue
- func GeneratorModifyLabel(label *f3.Label, parent generic.Path) *f3.Label
- func GeneratorModifyMilestone(milestone *f3.Milestone, parent generic.Path) *f3.Milestone
- func GeneratorModifyOrganization(organization *f3.Organization) *f3.Organization
- func GeneratorModifyProject(project *f3.Project, parent generic.Path) *f3.Project
- func GeneratorModifyPullRequest(t *testing.T, pullRequest *f3.PullRequest, parent generic.Path) *f3.PullRequest
- func GeneratorModifyRelease(t *testing.T, release *f3.Release, parent generic.Path) *f3.Release
- func GeneratorModifyReleaseAsset(asset *f3.ReleaseAsset, parent generic.Path) *f3.ReleaseAsset
- func GeneratorModifyReviewComment(t *testing.T, comment *f3.ReviewComment, parent generic.Path) *f3.ReviewComment
- func GeneratorModifyTopic(topic *f3.Topic, parent generic.Path) *f3.Topic
- func GeneratorModifyUser(user *f3.User) *f3.User
- func GeneratorSetID(f f3.Interface, id string) f3.Interface
- func GeneratorSetRandom(t *testing.T, f f3.Interface, parent generic.Path) f3.Interface
- func GeneratorSetRandomComment(comment *f3.Comment, parent generic.Path) *f3.Comment
- func GeneratorSetRandomID(f f3.Interface, parent generic.Path) f3.Interface
- func GeneratorSetRandomIssue(issue *f3.Issue, parent generic.Path) *f3.Issue
- func GeneratorSetRandomLabel(label *f3.Label, parent generic.Path) *f3.Label
- func GeneratorSetRandomMilestone(milestone *f3.Milestone, parent generic.Path) *f3.Milestone
- func GeneratorSetRandomOrganization(organization *f3.Organization) *f3.Organization
- func GeneratorSetRandomProject(project *f3.Project, parent generic.Path) *f3.Project
- func GeneratorSetRandomPullRequest(t *testing.T, pullRequest *f3.PullRequest, parent generic.Path) *f3.PullRequest
- func GeneratorSetRandomReaction(reaction *f3.Reaction, parent generic.Path) *f3.Reaction
- func GeneratorSetRandomRelease(t *testing.T, release *f3.Release, parent generic.Path) *f3.Release
- func GeneratorSetRandomReleaseAsset(asset *f3.ReleaseAsset, parent generic.Path) *f3.ReleaseAsset
- func GeneratorSetRandomTopic(topic *f3.Topic, parent generic.Path) *f3.Topic
- func GeneratorSetRandomUser(user *f3.User) *f3.User
- func GeneratorSetReview(t *testing.T, review *f3.Review, parent generic.Path) *f3.Review
- func GeneratorSetReviewComment(t *testing.T, comment *f3.ReviewComment, parent generic.Path) *f3.ReviewComment
- func SetKindWithFixturePath() []generic.Kind
- func TreeBuild(t *testing.T, opts options.Interface, tree generic.TreeInterface)
- func TreeBuildPartial(t *testing.T, exceptions []generic.Kind, opts options.Interface, ...)
- func TreeDelete(t *testing.T, nonTestUsers []string, options options.Interface, ...)
- type Creator
- func (f *Creator) Generate(kind generic.Kind, parent generic.Path) f3.Interface
- func (f *Creator) GenerateAsset(parent generic.Path) *f3.ReleaseAsset
- func (f *Creator) GenerateComment(parent generic.Path) *f3.Comment
- func (f *Creator) GenerateForge() *f3.Forge
- func (f *Creator) GenerateForkedProject(parent generic.Path, forked string) *f3.Project
- func (f *Creator) GenerateIssue(parent generic.Path) *f3.Issue
- func (f *Creator) GenerateLabel() *f3.Label
- func (f *Creator) GenerateMilestone() *f3.Milestone
- func (f *Creator) GenerateOrganization() *f3.Organization
- func (f *Creator) GenerateProject() *f3.Project
- func (f *Creator) GeneratePullRequest(parent generic.Path) *f3.PullRequest
- func (f *Creator) GenerateReaction(parent generic.Path) *f3.Reaction
- func (f *Creator) GenerateRelease(parent generic.Path) *f3.Release
- func (f *Creator) GenerateRepository(name string) *f3.Repository
- func (f *Creator) GenerateReview(parent generic.Path) *f3.Review
- func (f *Creator) GenerateReviewComment(parent generic.Path) *f3.ReviewComment
- func (f *Creator) GenerateTopic() *f3.Topic
- func (f *Creator) GenerateUser() *f3.User
- func (f *Creator) GetDirectory() string
- type TestingT
Constants ¶
This section is empty.
Variables ¶
View Source
var KindToFixturePath = map[generic.Kind]string{ f3_tree.KindTopics: "/forge/topics", f3_tree.KindTopic: "/forge/topics/14411441", f3_tree.KindUsers: "/forge/users", f3_tree.KindUser: "/forge/users/10111", f3_tree.KindProjects: "/forge/users/10111/projects", f3_tree.KindProject: "/forge/users/10111/projects/74823", f3_tree.KindLabels: "/forge/users/10111/projects/74823/labels", f3_tree.KindLabel: "/forge/users/10111/projects/74823/labels/7777", f3_tree.KindIssues: "/forge/users/10111/projects/74823/issues", f3_tree.KindIssue: "/forge/users/10111/projects/74823/issues/1234567", f3_tree.KindPullRequests: "/forge/users/10111/projects/74823/pull_requests", f3_tree.KindPullRequest: "/forge/users/10111/projects/74823/pull_requests/2222", f3_tree.KindReviews: "/forge/users/10111/projects/74823/pull_requests/2222/reviews", f3_tree.KindReview: "/forge/users/10111/projects/74823/pull_requests/2222/reviews/4593", f3_tree.KindReviewComments: "/forge/users/10111/projects/74823/pull_requests/2222/reviews/4593/reviewcomments", f3_tree.KindReviewComment: "/forge/users/10111/projects/74823/pull_requests/2222/reviews/4593/reviewcomments/9876543", f3_tree.KindMilestones: "/forge/users/10111/projects/74823/milestones", f3_tree.KindMilestone: "/forge/users/10111/projects/74823/milestones/7888", f3_tree.KindReactions: "/forge/users/10111/projects/74823/issues/1234567/reactions", f3_tree.KindReaction: "/forge/users/10111/projects/74823/issues/1234567/reactions/1212", f3_tree.KindComments: "/forge/users/10111/projects/74823/issues/1234567/comments", f3_tree.KindComment: "/forge/users/10111/projects/74823/issues/1234567/comments/1111999", f3_tree.KindRepositories: "/forge/users/10111/projects/74823/repositories", f3_tree.KindRepository: "/forge/users/10111/projects/74823/repositories/vcs", f3_tree.KindReleases: "/forge/users/10111/projects/74823/releases", f3_tree.KindRelease: "/forge/users/10111/projects/74823/releases/123", f3_tree.KindAssets: "/forge/users/10111/projects/74823/releases/123/assets", f3_tree.KindAsset: "/forge/users/10111/projects/74823/releases/123/assets/585858", f3_tree.KindOrganizations: "/forge/organizations", f3_tree.KindOrganization: "/forge/organizations/3330001", }
View Source
var KindWithFixturePath = SetKindWithFixturePath()
View Source
var RootUser *f3.User = &f3.User{
UserName: "root",
}
Functions ¶
func ComplianceTests ¶
func ForgeCompliance ¶
func GeneratorModify ¶
func GeneratorModifyComment ¶
func GeneratorModifyIssue ¶
func GeneratorModifyLabel ¶
func GeneratorModifyOrganization ¶
func GeneratorModifyOrganization(organization *f3.Organization) *f3.Organization
func GeneratorModifyProject ¶
func GeneratorModifyPullRequest ¶
func GeneratorModifyPullRequest(t *testing.T, pullRequest *f3.PullRequest, parent generic.Path) *f3.PullRequest
func GeneratorModifyRelease ¶
func GeneratorModifyReleaseAsset ¶
func GeneratorModifyReleaseAsset(asset *f3.ReleaseAsset, parent generic.Path) *f3.ReleaseAsset
func GeneratorModifyReviewComment ¶
func GeneratorModifyReviewComment(t *testing.T, comment *f3.ReviewComment, parent generic.Path) *f3.ReviewComment
func GeneratorModifyTopic ¶
func GeneratorSetRandom ¶
func GeneratorSetRandomID ¶
func GeneratorSetRandomIssue ¶
func GeneratorSetRandomLabel ¶
func GeneratorSetRandomOrganization ¶
func GeneratorSetRandomOrganization(organization *f3.Organization) *f3.Organization
func GeneratorSetRandomPullRequest ¶
func GeneratorSetRandomPullRequest(t *testing.T, pullRequest *f3.PullRequest, parent generic.Path) *f3.PullRequest
func GeneratorSetRandomReleaseAsset ¶
func GeneratorSetRandomReleaseAsset(asset *f3.ReleaseAsset, parent generic.Path) *f3.ReleaseAsset
func GeneratorSetRandomTopic ¶
func GeneratorSetReview ¶
func GeneratorSetReviewComment ¶
func GeneratorSetReviewComment(t *testing.T, comment *f3.ReviewComment, parent generic.Path) *f3.ReviewComment
func SetKindWithFixturePath ¶
func TreeBuildPartial ¶
func TreeDelete ¶
Types ¶
type Creator ¶
type Creator struct {
// contains filtered or unexported fields
}
func (*Creator) GenerateAsset ¶
func (f *Creator) GenerateAsset(parent generic.Path) *f3.ReleaseAsset
func (*Creator) GenerateComment ¶
func (*Creator) GenerateForge ¶
func (*Creator) GenerateForkedProject ¶
func (*Creator) GenerateLabel ¶
func (*Creator) GenerateMilestone ¶
func (*Creator) GenerateOrganization ¶
func (f *Creator) GenerateOrganization() *f3.Organization
func (*Creator) GenerateProject ¶
func (*Creator) GeneratePullRequest ¶
func (f *Creator) GeneratePullRequest(parent generic.Path) *f3.PullRequest
func (*Creator) GenerateReaction ¶
func (*Creator) GenerateRelease ¶
func (*Creator) GenerateRepository ¶
func (f *Creator) GenerateRepository(name string) *f3.Repository
func (*Creator) GenerateReviewComment ¶
func (f *Creator) GenerateReviewComment(parent generic.Path) *f3.ReviewComment
func (*Creator) GenerateTopic ¶
func (*Creator) GenerateUser ¶
func (*Creator) GetDirectory ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.