blob: 6e88ad1dace45704a081948cd3e8d3d44daef06e [file] [log] [blame]
Don Turner94fe4852018-07-03 08:42:09 +01001/*
2 * Copyright 2018 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17
18#include <gtest/gtest.h>
19#include <oboe/Definitions.h>
20#include <oboe/Utilities.h>
21
22/**
23 * Tests needing to be written:
24 *
25 * getChannelCount
26 * getDirection
27getSampleRate
28getFramesPerCallback
29getFormat
30getBufferSizeInFrames
31getBufferCapacityInFrames
32getSharingMode
33getPerformanceMode
34getDeviceId
35getCallback
36getUsage
37getContentType
38getInputPreset
39getSessionId
40getState
41getXRunCount
42getFramesPerBurst
43isPlaying
44getBytesPerFrame
45getBytesPerSample
46getFramesWritten
47getFramesRead
48getTimestamp
49getAudioApi
50usesAAudio
51
52Stream state control
53open
54close
55start
56pause
57flush
58stop
59requestStart
60requestPause
61requestFlush
62requestStop
63waitForStateChange
64
65Setters
66setBufferSizeInFrames
67
68Helpers
69calculateLatencyMillis
70
71I/O
72write
73read
74 */
75
76using namespace oboe;
77
78class StreamClosedReturnValues : public ::testing::Test {
79
80
81
82};
83
84TEST_F(StreamClosedReturnValues, GetChannelCountReturnsLastKnownValue){
85
86 FAIL();
87}