|
1 | 1 | package org.scm4j.vcs; |
2 | 2 |
|
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 | | - |
23 | 3 | import org.apache.commons.io.FileUtils; |
24 | 4 | import org.eclipse.jgit.api.Git; |
25 | 5 | import org.eclipse.jgit.api.errors.GitAPIException; |
|
35 | 15 | import org.scm4j.vcs.api.abstracttest.VCSAbstractTest; |
36 | 16 | import org.scm4j.vcs.api.workingcopy.IVCSRepositoryWorkspace; |
37 | 17 |
|
| 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 | + |
38 | 28 | public class GitVCSTest extends VCSAbstractTest { |
39 | 29 |
|
40 | 30 | private Repository localGitRepo; |
@@ -247,7 +237,7 @@ public void testGetFileContentExceptions() { |
247 | 237 |
|
248 | 238 | @Test |
249 | 239 | public void testGitVCSUtilsCreation() { |
250 | | - new GitVCSUtils(); |
| 240 | + assertNotNull(new GitVCSUtils()); |
251 | 241 | } |
252 | 242 |
|
253 | 243 | } |
|
0 commit comments