1# Copyright 2020 The Chromium OS Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5AUTHOR = 'The Chromium OS Audio Team, chromeos-audio@google.com'
6NAME = 'audio_CrasGetNodes'
7PURPOSE = 'Test that dbus GetNodes API of CRAS is working.'
8CRITERIA = '''
9Check if the values of active, volume, and max supported channels of ALSA
10loopback input and output nodes are correct by dbus GetNodes API.
11'''
12ATTRIBUTES = 'suite:audio'
13TIME = 'SHORT'
14TEST_CATEGORY = 'Functional'
15TEST_CLASS = 'audio'
16TEST_TYPE = 'client'
17DEPENDENCIES = ''
18
19DOC = '''
20Test that dbus GetNodes API of CRAS is working.
21
22NOTE: For this test kernel config is required to have CONFIG_SND_ALOOP=m which
23makes snd-aloop is manually probeable.
24'''
25
26job.run_test('audio_CrasGetNodes')
27