Updated Branches: refs/heads/master 6e924765b -> 5fb7d762e
removed invalid test, MediaError constructor is not defined by the spec, duck-typing testable only Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/commit/5fb7d762 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/tree/5fb7d762 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/diff/5fb7d762 Branch: refs/heads/master Commit: 5fb7d762e1fefeea85465fc4550f3a5c557a9a4a Parents: 6e92476 Author: purplecabbage <[email protected]> Authored: Tue Nov 6 17:06:35 2012 -0800 Committer: purplecabbage <[email protected]> Committed: Tue Nov 6 17:06:35 2012 -0800 ---------------------------------------------------------------------- test/test.media.js | 30 ------------------------------ 1 files changed, 0 insertions(+), 30 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-cordova-js/blob/5fb7d762/test/test.media.js ---------------------------------------------------------------------- diff --git a/test/test.media.js b/test/test.media.js deleted file mode 100644 index 941aa63..0000000 --- a/test/test.media.js +++ /dev/null @@ -1,30 +0,0 @@ -/* - * - * Licensed to the Apache Software Foundation (ASF) under one - * or more contributor license agreements. See the NOTICE file - * distributed with this work for additional information - * regarding copyright ownership. The ASF licenses this file - * to you under the Apache License, Version 2.0 (the - * "License"); you may not use this file except in compliance - * with the License. You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, - * software distributed under the License is distributed on an - * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY - * KIND, either express or implied. See the License for the - * specific language governing permissions and limitations - * under the License. - * -*/ - -describe("media", function () { - describe("MediaError object + error codes", function () { - var MediaError = require('cordova/plugin/MediaError'); - it("should have no problem instantiating a MediaError object with the zero code", function () { - var err = new MediaError(0); - expect(err.code).toBe(0); - }); - }); -});
