Files
swift-atomics/Tests/AtomicsTests/main.swift
T

63 lines
2.2 KiB
Swift

//===----------------------------------------------------------------------===//
//
// This source file is part of the Swift Atomics open source project
//
// Copyright (c) 2021 Apple Inc. and the Swift project authors
// Licensed under Apache License v2.0 with Runtime Library Exception
//
// See https://swift.org/LICENSE.txt for license information
// See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
//
//===----------------------------------------------------------------------===//
#if !SWIFT_PACKAGE
import XCTest
XCTMain([
// Basics
testCase(BasicAtomicIntTests.allTests),
testCase(BasicAtomicInt8Tests.allTests),
testCase(BasicAtomicInt16Tests.allTests),
testCase(BasicAtomicInt32Tests.allTests),
testCase(BasicAtomicInt64Tests.allTests),
testCase(BasicAtomicUIntTests.allTests),
testCase(BasicAtomicUInt8Tests.allTests),
testCase(BasicAtomicUInt16Tests.allTests),
testCase(BasicAtomicUInt32Tests.allTests),
testCase(BasicAtomicUInt64Tests.allTests),
testCase(BasicAtomicBoolTests.allTests),
testCase(BasicAtomicPointerTests.allTests),
testCase(BasicAtomicOptionalPointerTests.allTests),
testCase(BasicAtomicMutablePointerTests.allTests),
testCase(BasicAtomicOptionalMutablePointerTests.allTests),
testCase(BasicAtomicRawPointerTests.allTests),
testCase(BasicAtomicOptionalRawPointerTests.allTests),
testCase(BasicAtomicMutableRawPointerTests.allTests),
testCase(BasicAtomicOptionalMutableRawPointerTests.allTests),
testCase(BasicAtomicUnmanagedTests.allTests),
testCase(BasicAtomicOptionalUnmanagedTests.allTests),
testCase(BasicAtomicRawRepresentableTests.allTests),
testCase(BasicAtomicDoubleWordTests.allTests),
testCase(BasicAtomicReferenceTests.allTests),
testCase(BasicAtomicOptionalReferenceTests.allTests),
// DoubleWord
testCase(DoubleWordTests.allTests),
// LockFreeQueue
testCase(QueueTests.allTests),
// LockFreeSingleConsumerStackTests
testCase(LockFreeSingleConsumerStackTests.allTests),
// StrongReferenceRace
testCase(StrongReferenceRace.allTests),
// StrongReferenceShuffle
testCase(StrongReferenceShuffleTests.allTests),
// UnsafeAtomicLazyReferenceTests
testCase(UnsafeAtomicLazyReferenceTests.allTests),
])
#endif