java.lang.Object
org.kohsuke.github.AbstractGitHubWireMockTest
org.kohsuke.github.GHRepositoryStatisticsTest
The Class GHRepositoryStatisticsTest.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
AbstractGitHubWireMockTest.TemplatingHelper
-
Field Summary
Modifier and TypeFieldDescriptionstatic int
The max iterations.static int
The sleep interval.Fields inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
baseFilesClassPath, baseRecordPath, gitHub, mockGitHub, tempGitHubRepositories, templating, useDefaultGitHub
-
Constructor Summary
ConstructorDescriptionCreate default GHRepositoryStatisticsTest instance -
Method Summary
Modifier and TypeMethodDescriptionprotected GHRepository
Gets the repository.void
Test code frequency.void
Test commit activity.void
Test contributor stats.void
Test participation.void
Test punch card.Methods inherited from class org.kohsuke.github.AbstractGitHubWireMockTest
assertThat, assertThat, assertThat, cleanupRepository, cleanupTempRepositories, fail, fail, getGitHubBuilder, getNonRecordingGitHub, getTempRepository, getTempRepository, getUser, getUser, getWireMockOptions, kohsuke, requireProxy, snapshotNotAllowed, verifyAuthenticated, wireMockSetup
-
Field Details
-
MAX_ITERATIONS
public static int MAX_ITERATIONSThe max iterations. -
SLEEP_INTERVAL
public static int SLEEP_INTERVALThe sleep interval.
-
-
Constructor Details
-
GHRepositoryStatisticsTest
public GHRepositoryStatisticsTest()Create default GHRepositoryStatisticsTest instance
-
-
Method Details
-
testContributorStats
Test contributor stats.- Throws:
IOException
- Signals that an I/O exception has occurred.InterruptedException
- the interrupted exception
-
testCommitActivity
Test commit activity.- Throws:
IOException
- Signals that an I/O exception has occurred.InterruptedException
- the interrupted exception
-
testCodeFrequency
Test code frequency.- Throws:
IOException
- Signals that an I/O exception has occurred.InterruptedException
- the interrupted exception
-
testParticipation
Test participation.- Throws:
IOException
- Signals that an I/O exception has occurred.InterruptedException
- the interrupted exception
-
testPunchCard
Test punch card.- Throws:
IOException
- Signals that an I/O exception has occurred.InterruptedException
- the interrupted exception
-
getRepository
Gets the repository.- Returns:
- the repository
- Throws:
IOException
- Signals that an I/O exception has occurred.
-