-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #41 unable to integrate test target #92
Changes from 3 commits
8e2fad3
84724a3
6695c05
dc3dc28
89368c9
8d1479a
2609a13
eb85546
04f9d41
ab04425
0ad8f57
401f8fc
27853ef
932f298
aa60dc3
631e99e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# -*- coding: utf-8 -*- | ||
Pod::Spec.new do |s| | ||
s.name = "RZBluetoothTest" | ||
s.version = "1.2.2" | ||
s.summary = "A Core Bluetooth helper library to simplify the development and testing of Core Bluetooth applications." | ||
|
||
s.description = <<-DESC | ||
RZBluetooth is a Core Bluetooth helper with 3 primary goals: | ||
|
||
- Simplify the delegate callbacks and encourage best practices | ||
- Provide a pattern for Profile level APIs, with support for public profiles | ||
- Simplify and encourage testing - including unit tests, automated integration tests, and manual tests. | ||
DESC | ||
|
||
s.homepage = "http://github.com/Raizlabs/RZBluetooth" | ||
s.license = { :type => "MIT", :file => "LICENSE" } | ||
s.author = { "Brian King" => "[email protected]" } | ||
s.osx.deployment_target = "10.10" | ||
s.ios.deployment_target = "8.0" | ||
s.source = { :git => "https://github.com/Raizlabs/RZBluetooth.git", :tag => s.version } | ||
s.requires_arc = true | ||
|
||
s.dependency "RZBluetooth/Mock" | ||
s.frameworks = "XCTest" | ||
s.source_files = "RZBluetoothTests/RZBTestDefines.h", | ||
"RZBluetoothTests/RZBSimulatedTestCase.{h,m}", | ||
"RZBluetoothTests/Helpers/NSRunLoop+RZBWaitFor.{h,m}" | ||
s.public_header_files = "RZBluetoothTests/RZBSimulatedTestCase.h", "RZBluetoothTests/RZBTestDefines.h" | ||
|
||
end |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,11 @@ | |
// | ||
|
||
#import "RZBTestDefines.h" | ||
#import "RZMockBluetooth.h" | ||
#import "RZBluetooth/RZMockBluetooth.h" | ||
#import "RZBSimulatedTestCase.h" | ||
#import "NSRunLoop+RZBWaitFor.h" | ||
#import "RZBCentralManager+Private.h" | ||
#import "RZBLog.h" | ||
#import "RZBluetooth/RZBCentralManager+Private.h" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It's been a while... Why do we need the private header? Ideally we wouldn't, but if we can safely remove it we should. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Looks like it exposes the |
||
#import "RZBluetooth/RZBLog.h" | ||
|
||
@implementation RZBSimulatedTestCase | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The summary should state that this pod is specifically so simplify testing bluetooth with XCTest and RZBluetooth mocks.