# Copyright 2020 The Chromium OS Authors. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. AUTHOR = 'The Chromium OS Audio Team, chromeos-audio@google.com' NAME = 'audio_CrasGetNodes' PURPOSE = 'Test that dbus GetNodes API of CRAS is working.' CRITERIA = ''' Check if the values of active, volume, and max supported channels of ALSA loopback input and output nodes are correct by dbus GetNodes API. ''' ATTRIBUTES = 'suite:audio' TIME = 'SHORT' TEST_CATEGORY = 'Functional' TEST_CLASS = 'audio' TEST_TYPE = 'client' DEPENDENCIES = '' PY_VERSION = 3 DOC = ''' Test that dbus GetNodes API of CRAS is working. NOTE: For this test kernel config is required to have CONFIG_SND_ALOOP=m which makes snd-aloop is manually probeable. ''' job.run_test('audio_CrasGetNodes')