Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
ab045070
Commit
ab045070
authored
Apr 27, 2019
by
Greg Messner
Browse files
Minor code cleanup.
parent
a9514049
Changes
33
Hide whitespace changes
Inline
Side-by-side
src/test/java/org/gitlab4j/api/TestAccessToken.java
View file @
ab045070
...
...
@@ -21,7 +21,7 @@ import org.junit.experimental.categories.Category;
* If any of the above are NULL, all tests in this class will be skipped.
*
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
public
class
TestAccessToken
extends
AbstractIntegrationTest
{
// TEST_ACCESS_TOKEN must be defined to run this test
...
...
src/test/java/org/gitlab4j/api/TestAvatarUpload.java
View file @
ab045070
...
...
@@ -26,7 +26,7 @@ import org.junit.runners.MethodSorters;
*
* If any of the above are NULL, all tests in this class will be skipped.
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
@FixMethodOrder
(
MethodSorters
.
NAME_ASCENDING
)
public
class
TestAvatarUpload
extends
AbstractIntegrationTest
{
...
...
src/test/java/org/gitlab4j/api/TestCommitsApi.java
View file @
ab045070
...
...
@@ -34,7 +34,7 @@ import org.junit.runners.MethodSorters;
*
* If any of the above are NULL, all tests in this class will be skipped.
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
@FixMethodOrder
(
MethodSorters
.
NAME_ASCENDING
)
public
class
TestCommitsApi
extends
AbstractIntegrationTest
{
...
...
src/test/java/org/gitlab4j/api/TestDeployKeysApi.java
View file @
ab045070
...
...
@@ -16,7 +16,7 @@ import org.junit.experimental.categories.Category;
* If any of the above are NULL, all tests in this class will be skipped.
*
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
public
class
TestDeployKeysApi
extends
AbstractIntegrationTest
{
// The following needs to be set to your test repository
...
...
src/test/java/org/gitlab4j/api/TestEventsApi.java
View file @
ab045070
...
...
@@ -27,7 +27,7 @@ import org.junit.experimental.categories.Category;
*
* If any of the above are NULL, all tests in this class will be skipped.
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
public
class
TestEventsApi
extends
AbstractIntegrationTest
{
private
static
GitLabApi
gitLabApi
;
...
...
src/test/java/org/gitlab4j/api/TestFileUpload.java
View file @
ab045070
...
...
@@ -26,7 +26,7 @@ import org.junit.runners.MethodSorters;
*
* If any of the above are NULL, all tests in this class will be skipped.
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
@FixMethodOrder
(
MethodSorters
.
NAME_ASCENDING
)
public
class
TestFileUpload
extends
AbstractIntegrationTest
{
...
...
src/test/java/org/gitlab4j/api/TestGitLabApi.java
View file @
ab045070
...
...
@@ -21,7 +21,7 @@ import org.junit.experimental.categories.Category;
* If any of the above are NULL, all tests in this class will be skipped.
*
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
public
class
TestGitLabApi
extends
AbstractIntegrationTest
{
// The following needs to be set to your test repository
...
...
src/test/java/org/gitlab4j/api/TestGitLabApiException.java
View file @
ab045070
...
...
@@ -28,7 +28,7 @@ import org.junit.experimental.categories.Category;
*
* If any of the above are NULL, all tests in this class will be skipped.
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
public
class
TestGitLabApiException
extends
AbstractIntegrationTest
{
private
static
final
String
TEST_PROJECT_NAME_DUPLICATE
=
"test-gitlab4j-create-project-duplicate"
;
...
...
src/test/java/org/gitlab4j/api/TestGitLabLogin.java
View file @
ab045070
...
...
@@ -22,7 +22,7 @@ import org.junit.experimental.categories.Category;
*
* If any of the above are NULL, all tests in this class will be skipped.
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
public
class
TestGitLabLogin
{
// The following needs to be set to your test repository
...
...
src/test/java/org/gitlab4j/api/TestGroupApi.java
View file @
ab045070
...
...
@@ -34,7 +34,7 @@ import org.junit.experimental.categories.Category;
* If any of the above are NULL, all tests in this class will be skipped.
*
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
public
class
TestGroupApi
extends
AbstractIntegrationTest
{
// The following needs to be set to your test repository
...
...
src/test/java/org/gitlab4j/api/TestHealthCheckApi.java
View file @
ab045070
...
...
@@ -18,7 +18,7 @@ import org.junit.experimental.categories.Category;
* If any of the above are NULL, all tests in this class will be skipped.
*
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
public
class
TestHealthCheckApi
{
// The following needs to be set to your test repository
...
...
src/test/java/org/gitlab4j/api/TestIgnoreCertificateErrors.java
View file @
ab045070
...
...
@@ -21,7 +21,7 @@ import org.junit.experimental.categories.Category;
* If any of the above are NULL, all tests in this class will be skipped.
*
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
public
class
TestIgnoreCertificateErrors
{
// The following needs to be set to your test repository
...
...
src/test/java/org/gitlab4j/api/TestIssuesApi.java
View file @
ab045070
...
...
@@ -58,7 +58,7 @@ import org.junit.experimental.categories.Category;
*
* If any of the above are NULL, all tests in this class will be skipped.
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
public
class
TestIssuesApi
extends
AbstractIntegrationTest
{
private
static
GitLabApi
gitLabApi
;
...
...
src/test/java/org/gitlab4j/api/TestJobApi.java
View file @
ab045070
...
...
@@ -46,7 +46,7 @@ import org.junit.experimental.categories.Category;
* <p>
* If any of the above are NULL, all tests in this class will be skipped.
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
public
class
TestJobApi
extends
AbstractIntegrationTest
{
private
static
GitLabApi
gitLabApi
;
...
...
src/test/java/org/gitlab4j/api/TestNamespaceApi.java
View file @
ab045070
...
...
@@ -23,7 +23,7 @@ import org.junit.experimental.categories.Category;
* If any of the above are NULL, all tests in this class will be skipped.
*
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
public
class
TestNamespaceApi
extends
AbstractIntegrationTest
{
private
static
GitLabApi
gitLabApi
;
...
...
src/test/java/org/gitlab4j/api/TestNotesApi.java
View file @
ab045070
...
...
@@ -27,7 +27,7 @@ import org.junit.runners.MethodSorters;
*
* If any of the above are NULL, all tests in this class will be skipped.
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
@FixMethodOrder
(
MethodSorters
.
NAME_ASCENDING
)
public
class
TestNotesApi
extends
AbstractIntegrationTest
{
...
...
src/test/java/org/gitlab4j/api/TestNotificationSettingsApi.java
View file @
ab045070
...
...
@@ -29,7 +29,7 @@ import org.junit.runners.MethodSorters;
*
* If any of the above are NULL, all tests in this class will be skipped.
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
@FixMethodOrder
(
MethodSorters
.
NAME_ASCENDING
)
public
class
TestNotificationSettingsApi
extends
AbstractIntegrationTest
{
...
...
src/test/java/org/gitlab4j/api/TestPager.java
View file @
ab045070
...
...
@@ -30,7 +30,7 @@ import org.junit.runners.MethodSorters;
*
* NOTE: &FixMethodOrder(MethodSorters.NAME_ASCENDING) is very important to insure that the tests are in the correct order
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
@FixMethodOrder
(
MethodSorters
.
NAME_ASCENDING
)
public
class
TestPager
extends
AbstractIntegrationTest
{
...
...
src/test/java/org/gitlab4j/api/TestPipelineApi.java
View file @
ab045070
...
...
@@ -16,7 +16,7 @@ import org.junit.BeforeClass;
import
org.junit.Test
;
import
org.junit.experimental.categories.Category
;
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
public
class
TestPipelineApi
extends
AbstractIntegrationTest
{
private
static
final
String
SCHEDULE_DESCRIPTION
=
"Test pipeline schedule - DELETE AFTER TEST"
;
...
...
src/test/java/org/gitlab4j/api/TestProjectApi.java
View file @
ab045070
...
...
@@ -65,7 +65,7 @@ import org.junit.runners.MethodSorters;
*
* NOTE: &FixMethodOrder(MethodSorters.NAME_ASCENDING) is very important to insure that the tests are in the correct order
*/
@Category
(
org
.
gitlab4j
.
api
.
IntegrationTest
.
class
)
@Category
(
IntegrationTest
.
class
)
@FixMethodOrder
(
MethodSorters
.
NAME_ASCENDING
)
public
class
TestProjectApi
extends
AbstractIntegrationTest
{
...
...
Prev
1
2
Next
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment