rockbox/rbutil/rbutilqt/test/test-compareversion.pro
Dominik Riebeling 3300815c44 rbutil: Update and fix unit tests.
- Fix changed dependencies and provide real stubs.
- Update to use QTest global data for test table, so individual test
  vector entries show up as individual tests. That way a single
  comparison failing doesn't make all appear as failed and provide
  better indication what went wrong.

Change-Id: I69681c3acd5ceceb4c8ceb1feb341e90a65dd603
2020-12-03 22:25:12 +01:00

37 lines
1,021 B
Prolog

#
# __________ __ ___.
# Open \______ \ ____ ____ | | _\_ |__ _______ ___
# Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
# Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
# Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
# \/ \/ \/ \/ \/
# $Id$
#
# All files in this archive are subject to the GNU General Public License.
# See the file COPYING in the source tree root for full license agreement.
#
# This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
# KIND, either express or implied.
#
# Test: Utils::compareVersionStrings().
#
QT += testlib
TEMPLATE = app
TARGET = test-compareversion
INCLUDEPATH += . ../base stubs
# Input
SOURCES += \
test-compareversion.cpp \
stubs/stubs-compareversion.cpp \
../base/utils.cpp
HEADERS += \
../base/rbsettings.h \
../base/playerbuildinfo.h \
../base/rockboxinfo.h \
../base/utils.h