Skip to content

Commit 114cfe9

Browse files
committed
tests amend, master versions are used
1 parent fb4e502 commit 114cfe9

File tree

2 files changed

+13
-23
lines changed

2 files changed

+13
-23
lines changed

build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,12 @@ repositories {
3030
}
3131

3232
dependencies {
33-
compile 'com.github.scm4j:scm4j-vcs-api:develop-SNAPSHOT'
33+
compile 'com.github.scm4j:scm4j-vcs-api:master-SNAPSHOT'
3434
compile 'org.eclipse.jgit:org.eclipse.jgit:4.3.0.201604071810-r'
3535

3636
testCompile 'org.mockito:mockito-core:2.0.62-beta'
3737
testCompile 'junit:junit:4.12'
38-
testCompile 'com.github.scm4j:scm4j-vcs-test:develop-SNAPSHOT'
38+
testCompile 'com.github.scm4j:scm4j-vcs-test:master-SNAPSHOT'
3939
}
4040

4141
task sourcesJar(type: Jar, dependsOn: classes) {

src/test/java/org/scm4j/vcs/GitVCSTest.java

Lines changed: 11 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,5 @@
11
package org.scm4j.vcs;
22

3-
import static org.junit.Assert.assertEquals;
4-
import static org.junit.Assert.assertTrue;
5-
import static org.junit.Assert.fail;
6-
7-
import java.io.File;
8-
import java.io.IOException;
9-
import java.lang.reflect.InvocationTargetException;
10-
import java.lang.reflect.Method;
11-
import java.net.Authenticator;
12-
import java.net.InetAddress;
13-
import java.net.InetSocketAddress;
14-
import java.net.PasswordAuthentication;
15-
import java.net.Proxy;
16-
import java.net.ProxySelector;
17-
import java.net.SocketAddress;
18-
import java.net.URI;
19-
import java.net.URISyntaxException;
20-
import java.nio.charset.IllegalCharsetNameException;
21-
import java.util.List;
22-
233
import org.apache.commons.io.FileUtils;
244
import org.eclipse.jgit.api.Git;
255
import org.eclipse.jgit.api.errors.GitAPIException;
@@ -35,6 +15,16 @@
3515
import org.scm4j.vcs.api.abstracttest.VCSAbstractTest;
3616
import org.scm4j.vcs.api.workingcopy.IVCSRepositoryWorkspace;
3717

18+
import java.io.File;
19+
import java.io.IOException;
20+
import java.lang.reflect.InvocationTargetException;
21+
import java.lang.reflect.Method;
22+
import java.net.*;
23+
import java.nio.charset.IllegalCharsetNameException;
24+
import java.util.List;
25+
26+
import static org.junit.Assert.*;
27+
3828
public class GitVCSTest extends VCSAbstractTest {
3929

4030
private Repository localGitRepo;
@@ -247,7 +237,7 @@ public void testGetFileContentExceptions() {
247237

248238
@Test
249239
public void testGitVCSUtilsCreation() {
250-
new GitVCSUtils();
240+
assertNotNull(new GitVCSUtils());
251241
}
252242

253243
}

0 commit comments

Comments
 (0)