serval-dna/tests/all
Andrew Bettison 8345d896a6 Add Route REST API (fixes )
Consists of a single, one-shot request, GET /restful/route/all.json, for
the time being.  A "newsince" request can be added later.

Add a Markdown tech doc that specifies the new Route REST API and update
the MDP tech doc a little.

Add the 'routerestful' test script, which uses some test utility
fuctions that have been factored out of the 'routing' test script into
the new testdefs_routing.sh.

Add the new 'allrestful' test script.
2018-03-29 15:31:03 +10:30

51 lines
1.4 KiB
Bash
Executable File

#!/bin/bash
# Aggregation of all tests except high-load stress tests.
#
# Copyright 2012-2014 Serval Project Inc.
# Copyright 2017-2018 Flinders University
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
source "${0%/*}/../testframework.sh"
source "${0%/*}/../testdefs.sh"
includeTests logging
includeTests config
includeTests keyring
includeTests server
includeTests routing
includeTests mdp
includeTests msp
includeTests dnahelper
includeTests dnaprotocol
includeTests rhizomeops
includeTests rhizomeprotocol
includeTests meshms
includeTests meshmb
includeTests directory_service
includeTests vomp
includeTests allrestful
if type -p "$JAVAC" >/dev/null; then
includeTests alljava
fi
if type -p "$SWIFTC" >/dev/null; then
includeTests keyringswift
fi
runTests "$@"