Commit graph

195 commits

Author SHA1 Message Date
Yotam Mann
89d92b78bc converting to new Offline test API
and new test helpers
2017-02-19 11:54:29 -05:00
Yotam Mann
c0b16757e5 Offline test uses new Offline method 2017-02-19 11:52:33 -05:00
Yotam Mann
27739ca795 changing name of private lookAhead member and adding 'lag' member
‘lag’ is the amount that the clock is falling behind the desired update
interval
2016-12-25 19:38:19 -05:00
Yotam Mann
273c2f3b51 updating to new Clock API
includes updateInterval
2016-12-20 22:38:07 -05:00
Yotam Mann
eb4242b780 using meter to test if buffer is playing 2016-12-15 12:49:51 -05:00
Yotam Mann
84c1affe83 Clock uses static lookahead
lookAhead is more conservatively computed and adjusts to the largest
value.
2016-11-21 00:05:19 -08:00
Yotam Mann
c700caed7f member api test 2016-10-05 00:18:41 -04:00
Yotam Mann
f37e188acd adding type primitives to APITest 2016-09-26 14:58:04 -04:00
Yotam Mann
2474312a4e updating API tests 2016-09-25 21:58:48 -04:00
Yotam Mann
e4abe75851 validating constructor/method inputs 2016-09-25 21:36:32 -04:00
Yotam Mann
99d7d2f8bd disconnects from a specific node
(tests this feature only when supported)
2016-07-06 23:39:06 -04:00
Yotam Mann
408f142be3 increasing timeout time
for very slow TravisCI server instances
2016-07-06 22:47:30 -04:00
Yotam Mann
3a7e51793e sampler tests
also allowing a constructor argument to be passed into the Instrument
tests
2016-07-06 22:33:07 -04:00
Yotam Mann
607656f276 increasing default timeout time 2016-05-14 19:22:25 -04:00
Yotam Mann
07184385f9 testing muting 2016-05-14 17:21:36 -04:00
Yotam Mann
a0d066032e Transport unnecessary dependency 2016-04-18 00:15:46 -04:00
Yotam Mann
ee39eb3ce7 wasDisposed ignores objects that are on the prototype 2016-04-18 00:15:26 -04:00
Yotam Mann
2285e6feb4 making clock tick more often in offline mode 2016-03-18 11:01:06 -04:00
Yotam Mann
d98915ac38 increasing tick update rate for offline tests
makes the clock’s lookahead time come less in into play
2016-03-18 10:23:28 -04:00
Yotam Mann
96897c6a28 COMPLEX->ACCURATE
should be fixed with
https://bugzilla.mozilla.org/show_bug.cgi?id=1257718
2016-03-18 09:51:41 -04:00
Yotam Mann
9c3398da49 noting which parts of the spec are supported in which browsers 2016-03-16 13:12:40 -04:00
Yotam Mann
26db6d9377 testing envelope canceling 2016-03-04 15:54:39 -05:00
Yotam Mann
cea06ca26c moving event classes to Offline testing 2016-03-04 15:31:48 -05:00
Yotam Mann
dd3b35b430 testing if stopping before starting will cancel the sound
addresses #121
2016-03-03 13:04:36 -05:00
Yotam Mann
b29c297398 using new Offline testing 2016-03-03 01:37:44 -05:00
Yotam Mann
0ed5591338 slicker syntax than other Offline test 2016-03-03 01:36:46 -05:00
Yotam Mann
ac9c4a3360 offline test adjusts 'now' method to allow for offline testing
previously these things needed to be tested in real-time. now can be
tested faster than real time
2016-03-03 01:36:31 -05:00
Yotam Mann
4fe2304edd test that the instrument is silent before being triggered. 2016-01-18 22:47:09 -05:00
Yotam Mann
e0a8e98554 testing that audio doesn't clip in any oscillator 2016-01-18 00:27:30 -05:00
Yotam Mann
cd3ae4f860 Timeline signal using new Tone.Param 2015-10-21 10:53:43 -04:00
Yotam Mann
aa692f2214 adjusting test tolerence
now more tests pass on FF
2015-10-09 10:58:08 -04:00
Yotam Mann
1601c1f4ac set original context even after test failure 2015-10-09 10:57:37 -04:00
Yotam Mann
cff363fb1a testing instruments 2015-08-31 11:37:10 -04:00
Yotam Mann
b254e9ced5 returns this to allow for chaining 2015-08-28 18:33:50 -04:00
Yotam Mann
4aecd555b6 default duration is shorter and sample-aligned 2015-08-27 23:02:29 -04:00
Yotam Mann
df9ca3a39b invokes callback before test for additional args 2015-08-27 23:01:56 -04:00
Yotam Mann
a118b44416 effects tests 2015-08-26 10:29:35 -04:00
Yotam Mann
2ac2ca7bd3 tests if stereo audio passes through 2015-08-26 10:01:51 -04:00
Yotam Mann
e333168dbc removed unnecessary RMS parameter 2015-08-24 17:33:28 -04:00
Yotam Mann
57578a482b can pass in args to Basic Test 2015-08-24 17:28:23 -04:00
Yotam Mann
0a3a34fd0a using Meter in sources tests 2015-08-24 11:14:10 -04:00
Yotam Mann
96935a6d48 Offline handles any number of channels 2015-08-24 11:13:56 -04:00
Yotam Mann
287d76ec7e tests rms of the incoming signal 2015-08-24 11:13:35 -04:00
Yotam Mann
3b9049e2e9 Source tests 2015-08-21 17:03:48 -04:00
Yotam Mann
cf712101bb Moving tests to "helper" folder 2015-08-21 17:03:14 -04:00