Add cleaned up tests used for Utils::compareVersionStrings().

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@26861 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Riebeling 2010-06-15 19:49:43 +00:00
parent a8c35f4d56
commit 738d83c59b
3 changed files with 149 additions and 0 deletions

View file

@ -0,0 +1,38 @@
#
# __________ __ ___.
# 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().
#
include(tests.pri)
TEMPLATE = app
TARGET = compareversion
INCLUDEPATH += . ../base
# Input
SOURCES += \
compareversion.cpp \
../base/rbsettings.cpp \
../base/rockboxinfo.cpp \
../base/systeminfo.cpp \
../base/utils.cpp
HEADERS += \
../base/rbsettings.h \
../base/rockboxinfo.h \
../base/systeminfo.h \
../base/utils.h