Skip to content

Commit

Permalink
CB-2049: use new audio file for audio tests (Jesse must be happy!). a…
Browse files Browse the repository at this point in the history
…udio file hosted on apache infra.
  • Loading branch information
filmaj committed Feb 8, 2013
1 parent 717fe8a commit d27c80d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion audio/index.html
Expand Up @@ -32,7 +32,7 @@

<script type="text/javascript" charset="utf-8">

var defaultaudio = "http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3";
var defaultaudio = "http://cordova.apache.org/downloads/BlueZedEx.mp3";
var deviceReady = false;

//-------------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion autotest/tests/filetransfer.tests.js
Expand Up @@ -188,7 +188,7 @@ describe('FileTransfer', function() {
});
it("should be stopped by abort() right away", function() {
var downloadWin = createDoNotCallSpy('downloadWin');
var remoteFile = 'http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3';
var remoteFile = 'http://cordova.apache.org/downloads/BlueZedEx.mp3';
var localFileName = remoteFile.substring(remoteFile.lastIndexOf('/')+1);
var startTime = +new Date();

Expand Down
4 changes: 2 additions & 2 deletions autotest/tests/media.tests.js
Expand Up @@ -135,7 +135,7 @@ describe('Media', function () {
});

it("position should be set properly", function() {
var media1 = new Media("http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3"),
var media1 = new Media("http://cordova.apache.org/downloads/BlueZedEx.mp3"),
test = jasmine.createSpy().andCallFake(function(position) {
console.log("position = " + position);
expect(position).toBeGreaterThan(0.0);
Expand All @@ -155,7 +155,7 @@ describe('Media', function () {
});

it("duration should be set properly", function() {
var media1 = new Media("http://audio.ibeat.org/content/p1rj1s/p1rj1s_-_rockGuitar.mp3");
var media1 = new Media("http://cordova.apache.org/downloads/BlueZedEx.mp3");
media1.play();
waits(5000);
runs(function () {
Expand Down

0 comments on commit d27c80d

Please sign in to comment.