diff --git a/LICENSE b/LICENSE index 8ad65b0..d316e58 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ BSD 3-Clause License -Copyright (c) 2020, Sage Bionetworks +Copyright (c) 2020-2022, Sage Bionetworks All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/Package.swift b/Package.swift index c9b53c4..80c4b6b 100644 --- a/Package.swift +++ b/Package.swift @@ -16,7 +16,7 @@ let package = Package( // Products define the executables and libraries produced by a package, and make them visible to other packages. .library( name: "JsonModel", - targets: ["JsonModel"]), + targets: ["JsonModel", "ResultModel"]), ], dependencies: [ // Dependencies declare other packages that this package depends on. @@ -31,5 +31,12 @@ let package = Package( .testTarget( name: "JsonModelTests", dependencies: ["JsonModel"]), + + .target( + name: "ResultModel", + dependencies: ["JsonModel"]), + .testTarget( + name: "ResultModelTests", + dependencies: ["ResultModel"]), ] ) diff --git a/Sources/ResultModel/Placeholder.swift b/Sources/ResultModel/Placeholder.swift new file mode 100644 index 0000000..fecc4ab --- /dev/null +++ b/Sources/ResultModel/Placeholder.swift @@ -0,0 +1 @@ +import Foundation diff --git a/Tests/ResultModelTests/PlaceholderTests.swift b/Tests/ResultModelTests/PlaceholderTests.swift new file mode 100644 index 0000000..04cb85b --- /dev/null +++ b/Tests/ResultModelTests/PlaceholderTests.swift @@ -0,0 +1,28 @@ +import XCTest + +final class PlaceholderTests: XCTestCase { + + override func setUpWithError() throws { + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDownWithError() throws { + // Put teardown code here. This method is called after the invocation of each test method in the class. + } + + func testExample() throws { + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + // Any test you write for XCTest can be annotated as throws and async. + // Mark your test throws to produce an unexpected failure when your test encounters an uncaught error. + // Mark your test async to allow awaiting for asynchronous code to complete. Check the results with assertions afterwards. + } + + func testPerformanceExample() throws { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +}