Skip to content

Commit 14e3dc8

Browse files
authored
Rename SSL test files to match Scrutinice filter (#2491)
### Issues: P254378476 ### Description of changes: Our Scrutinice filter only applies to `*test.cc`, leading to some false positives. Changing the following file names to match the filter: - `ssl_alps_tests.cc` -> `ssl_alps_test.cc` - `ssl_test_common.cc` -> `ssl_common_test.cc` By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license and the ISC license.
1 parent 8b4e504 commit 14e3dc8

13 files changed

+13
-13
lines changed

ssl/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ if(BUILD_TESTING)
8383
ssl_test.cc
8484
ssl_c_test.c
8585
ssl_key_share_test.cc
86-
ssl_alps_tests.cc
87-
ssl_test_common.cc
86+
ssl_alps_test.cc
87+
ssl_common_test.cc
8888
ssl_misc_test.cc
8989
ssl_version_test.cc
9090
ssl_ech_test.cc

ssl/ssl_alps_tests.cc renamed to ssl/ssl_alps_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#include "openssl/ssl.h"
66

77
#include "internal.h"
8-
#include "ssl_test_common.h"
8+
#include "ssl_common_test.h"
99

1010
#include <gtest/gtest.h>
1111

ssl/ssl_ciphers_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#include "../crypto/test/file_util.h"
1111
#include "../crypto/test/test_util.h"
1212
#include "internal.h"
13-
#include "ssl_test_common.h"
13+
#include "ssl_common_test.h"
1414

1515
BSSL_NAMESPACE_BEGIN
1616

ssl/ssl_test_common.cc renamed to ssl/ssl_common_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0 OR ISC
33

4-
#include "ssl_test_common.h"
4+
#include "ssl_common_test.h"
55
#include <openssl/ssl.h>
66

77
#include <gtest/gtest.h>
File renamed without changes.

ssl/ssl_ech_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <openssl/ssl.h>
99
#include <thread>
1010
#include "../crypto/test/test_util.h"
11-
#include "ssl_test_common.h"
11+
#include "ssl_common_test.h"
1212

1313
BSSL_NAMESPACE_BEGIN
1414

ssl/ssl_encoding_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#include "../crypto/test/test_util.h"
88
#include "internal.h"
9-
#include "ssl_test_common.h"
9+
#include "ssl_common_test.h"
1010

1111
BSSL_NAMESPACE_BEGIN
1212

ssl/ssl_handshake_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include "../crypto/test/file_util.h"
88
#include "../crypto/test/test_util.h"
99
#include "internal.h"
10-
#include "ssl_test_common.h"
10+
#include "ssl_common_test.h"
1111

1212
BSSL_NAMESPACE_BEGIN
1313

ssl/ssl_hybrid_handshake_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#include <openssl/ssl.h>
55
#include "../crypto/test/test_util.h"
6-
#include "ssl_test_common.h"
6+
#include "ssl_common_test.h"
77

88
BSSL_NAMESPACE_BEGIN
99

ssl/ssl_misc_test.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include "../crypto/test/file_util.h"
77
#include "../crypto/test/test_util.h"
88
#include "internal.h"
9-
#include "ssl_test_common.h"
9+
#include "ssl_common_test.h"
1010

1111
BSSL_NAMESPACE_BEGIN
1212

0 commit comments

Comments
 (0)