Esempio n. 1
0
    # Songcast Direct (Roon)
    ['TestScd', 'local'],

    # Sources
    ['TestSourceSelect', 'local'],

    # Volume
    ['TestVolumeService', 'local'],

    # Misc
    ['TestAudioConx', 'local', 'all'],
    ['TestStandbyCycleSoak', 'local', 100],

    # N/A to SoftPlayer(s)
    #    - AutoPlay
    #    - DelayXXX
    #    - DigitalInDecode
    #    - DigitalOutType
    #    - ExaktXXX
    #    - RebootSoak
    #    - SongcastDelay
    #    - SourceXXX
    #    - VolumeXXX   (apart from volume/balance)
]

if mode == 'clean':
    # Update and build ohMediaPlayer before other tests
    tests.insert(0, ['BuildOhmp', 'debug'])

Suite.Suite(tests, logDir)
Esempio n. 2
0
    arg#1 - Player to test (UPnP friendly name)

ohMediaPlayer compliant devices should pass the tests applicable to their
supported services cleanly
"""

# Missing:
#   - Credentials - requires account with credentials provider
#   - Radio       - requires non-device-specific way to setup TuneIn account

import _Paths
import BaseSuite as Suite
import os
import sys

try:
    dut = sys.argv[1]
except:
    print('\n%s\n' % __doc__)
    print('Invalid arguments %s' % (str(sys.argv)))
    # noinspection PyProtectedMember
    os._exit(-1)

tests = [['TestComplianceDevice', dut], ['TestCompliancePlaylist1', dut],
         ['TestCompliancePlaylist2', dut], ['TestCompliancePlaylist3', dut],
         ['TestComplianceRadio', dut], ['TestComplianceProduct', dut],
         ['TestComplianceVolume', dut], ['TestComplianceReceiver', dut],
         ['TestComplianceSender', dut]]

Suite.Suite(tests)