Skip to content

Commit

Permalink
Move the self-signed test to the new location.
Browse files Browse the repository at this point in the history
  • Loading branch information
srbaker committed Dec 19, 2016
1 parent 9614d61 commit 46b5b91
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
6 changes: 6 additions & 0 deletions community/bolt/pom.xml
Expand Up @@ -110,5 +110,11 @@
<artifactId>websocket-client</artifactId>
<scope>test</scope>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
<version>RELEASE</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Expand Up @@ -17,31 +17,30 @@
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package org.neo4j.server.security.ssl;
package org.neo4j.bolt.v1.transport.integration;

import org.apache.commons.lang.SystemUtils;
import org.junit.Rule;
import org.junit.Test;

import java.io.File;
import java.nio.file.Files;
import java.nio.file.attribute.PosixFileAttributeView;
import java.nio.file.attribute.PosixFileAttributes;
import java.nio.file.attribute.PosixFilePermission;

import org.neo4j.bolt.security.ssl.Certificates;
import org.neo4j.test.TargetDirectory;

import static org.junit.Assert.*;
import static org.junit.Assume.assumeTrue;
import static org.neo4j.test.TargetDirectory.testDirForTest;

public class CertificatesIT
public class SelfSignedCertificatesIT
{
@Rule
public TargetDirectory.TestDirectory testDirectory = TargetDirectory.testDirForTest( getClass() );

@Test
public void createSelfSignedCertificate() throws Exception
public void createSelfSignedCertificateWithCorrectPermissions() throws Exception
{
assumeTrue( !SystemUtils.IS_OS_WINDOWS );

Expand Down

0 comments on commit 46b5b91

Please sign in to comment.