Moves tls test classes to tls package.

Renames ConfigClientTest to ConfigClientTlsTests
This commit is contained in:
spencergibb
2020-08-24 17:27:24 -04:00
parent 2c968e9bac
commit b5b8664c4c
7 changed files with 16 additions and 16 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2018-2019 the original author or authors.
* Copyright 2013-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.config.client;
package org.springframework.cloud.config.client.tls;
import java.io.File;
import java.io.FileOutputStream;
@@ -23,7 +23,7 @@ import java.security.KeyStore;
import org.junit.BeforeClass;
public class BaseCertTest {
public abstract class AbstractTlsSetup {
protected static final String KEY_STORE_PASSWORD = "test-key-store-password";

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2018-2019 the original author or authors.
* Copyright 2013-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.config.client;
package org.springframework.cloud.config.client.tls;
import java.util.ArrayList;
import java.util.LinkedHashMap;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2018-2019 the original author or authors.
* Copyright 2013-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.config.client;
package org.springframework.cloud.config.client.tls;
import java.io.File;
@@ -28,7 +28,7 @@ import org.springframework.cloud.config.server.EnableConfigServer;
import static org.assertj.core.api.Assertions.assertThat;
public class ConfigClientTest extends BaseCertTest {
public class ConfigClientTlsTests extends AbstractTlsSetup {
private static TlsConfigServerRunner server;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2018-2019 the original author or authors.
* Copyright 2013-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.config.client;
package org.springframework.cloud.config.client.tls;
import java.security.KeyPair;
import java.security.KeyStore;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2018-2019 the original author or authors.
* Copyright 2013-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.config.client;
package org.springframework.cloud.config.client.tls;
import java.math.BigInteger;
import java.security.KeyPair;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2018-2019 the original author or authors.
* Copyright 2013-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.config.client;
package org.springframework.cloud.config.client.tls;
import java.io.File;

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2018-2019 the original author or authors.
* Copyright 2013-2020 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -14,7 +14,7 @@
* limitations under the License.
*/
package org.springframework.cloud.config.client;
package org.springframework.cloud.config.client.tls;
import java.io.File;