@@ -10,7 +10,7 @@ import Foundation
import XCTest
import CryptoSwift
-class AESTests: XCTestCase {
+final class AESTests: XCTestCase {
// 128 bit key
let aesKey:[UInt8] = [0x00, 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07, 0x08, 0x09, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f]
-class ChaCha20Tests: XCTestCase {
+final class ChaCha20Tests: XCTestCase {
override func setUp() {
super.setUp()
-class ExtensionsTest: XCTestCase {
+final class ExtensionsTest: XCTestCase {
-class HMACTests: XCTestCase {
+final class HMACTests: XCTestCase {
@@ -9,7 +9,7 @@
-class CryptoSwiftTests: XCTestCase {
+final class CryptoSwiftTests: XCTestCase {
-class PaddingTests: XCTestCase {
+final class PaddingTests: XCTestCase {
func testPKCS7_0() {
let input:[UInt8] = [1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6]
let expected:[UInt8] = [1,2,3,4,5,6,7,8,9,0,1,2,3,4,5,6,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16,16]
-class Poly1305Tests: XCTestCase {
+final class Poly1305Tests: XCTestCase {