mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-28 12:45:36 +08:00
add test for AudioToolbox
This commit is contained in:
@@ -7,7 +7,7 @@ ENV['output'] ||= 'pretty_spec_dox'
|
|||||||
Motion::Project::App.setup do |app|
|
Motion::Project::App.setup do |app|
|
||||||
# Use `rake config' to see complete project settings.
|
# Use `rake config' to see complete project settings.
|
||||||
app.name = 'test'
|
app.name = 'test'
|
||||||
app.frameworks += ['AddressBook', 'AddressBookUI', 'CoreData', 'CoreMIDI', 'GameKit']
|
app.frameworks += ['AddressBook', 'AddressBookUI', 'CoreData', 'CoreMIDI', 'GameKit', 'AudioToolbox']
|
||||||
app.vendor_project('vendor/code', :static)
|
app.vendor_project('vendor/code', :static)
|
||||||
|
|
||||||
app.spec_files.insert(1, *FileList['../helpers/*.rb'])
|
app.spec_files.insert(1, *FileList['../helpers/*.rb'])
|
||||||
|
|||||||
6
test/test/spec/audio_spec.rb
Normal file
6
test/test/spec/audio_spec.rb
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
# https://hipbyte.freshdesk.com/helpdesk/tickets/1514
|
||||||
|
describe "AudioToolbox" do
|
||||||
|
it "cftype structure should work" do
|
||||||
|
AUGraph.type.should == "^{OpaqueAUGraph=}"
|
||||||
|
end
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user