Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(345)

Unified Diff: third_party/WebKit/LayoutTests/webaudio/mediastreamaudiodestinationnode.html

Issue 2581463002: Refactor WebAudio test directory (Closed)
Patch Set: Use correct path for wav result files Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/webaudio/mediastreamaudiodestinationnode.html
diff --git a/third_party/WebKit/LayoutTests/webaudio/mediastreamaudiodestinationnode.html b/third_party/WebKit/LayoutTests/webaudio/mediastreamaudiodestinationnode.html
deleted file mode 100644
index f1be1bec01c9b4ed4b0697402949bcfb9c8660b4..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/webaudio/mediastreamaudiodestinationnode.html
+++ /dev/null
@@ -1,62 +0,0 @@
-<!DOCTYPE html>
-
-<html>
-<head>
-<script src="../resources/js-test.js"></script>
-<script src="resources/compatibility.js"></script>
-<script src="resources/audit-util.js"></script>
-<script src="resources/audio-testing.js"></script>
-</head>
-
-<body>
-<div id="description"></div>
-<div id="console"></div>
-
-<script>
-description("Basic tests for MediaStreamAudioDestinationNode API.");
-
-var context;
-var mediaStreamDestination;
-
-function runTest() {
- if (window.testRunner) {
- testRunner.dumpAsText();
- }
-
- context = new AudioContext();
-
- mediaStreamDestination = context.createMediaStreamDestination();
-
- // MediaStreamAudioDestinationNode should inherit AudioNode.
- shouldBe('mediaStreamDestination.__proto__.__proto__', 'AudioNode.prototype');
-
- // Check the channel count boundary of 8.
- Should('Setting the channel count beyond 8', function () {
- mediaStreamDestination.channelCount = 9;
- }).throw('IndexSizeError');
-
- // Check number of inputs and outputs.
- if (mediaStreamDestination.numberOfInputs == 1)
- testPassed("Destination AudioNode has one input.");
- else
- testFailed("Destination AudioNode should have one input.");
-
- // FIXME: We should have no outputs, but since we're implemented using AudioBasicInspectorNode
- // we have one.
- // if (mediaStreamDestination.numberOfOutputs == 0)
- // testPassed("Destination AudioNode has no outputs.");
- // else
- // testFailed("Destination AudioNode should not have outputs.");
-
- // FIXME: add a test where we create a PeerConnection and call addStream(mediaStreamDestination.stream).
-
- finishJSTest();
-}
-
-runTest();
-window.successfullyParsed = true;
-
-</script>
-
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698