;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2021 Maxim Cournoyer ;;; ;;; This file is part of GNU Guix. ;;; ;;; GNU Guix 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 3 of the License, or (at ;;; your option) any later version. ;;; ;;; GNU Guix 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 GNU Guix. If not, see . (define-module (tests services telephony) #:use-module (gnu build jami-service) #:use-module (gnu services telephony) #:use-module (srfi srfi-64)) ;;; Tests for the (gnu services telephony) and related modules. (test-begin "jami-service") (define jami-account->alist (@@ (gnu services telephony) jami-account->alist)) (define %dummy-jami-account (jami-account (archive "/tmp/dummy.gz"))) (define %dummy-jami-account-2 (jami-account (archive "/tmp/dummy.gz") (rendezvous-point? #t) (peer-discovery? #f) (bootstrap-hostnames '("bootstrap.me" "fallback.another.host")) (name-server-uri "https://my.name.server"))) (test-equal "jami-account->alist, no account detail value set" '() (jami-account->alist %dummy-jami-account)) (test-equal "jami-account->alist, with account detail values" '(("Account.hostname" . "bootstrap.me;fallback.another.host") ("Account.peerDiscovery" . "false") ("Account.rendezVous" . "true") ("RingNS.uri" . "https://my.name.server")) (sort (jami-account->alist %dummy-jami-account-2) (lambda (x y) (string<=? (car x) (car y))))) (test-end) 2382'>root/gnu/packages/gnu-pw-mgr.scm
AgeCommit message (Expand)Author
2017-03-30gnu: Use HTTPS for almost all gnu.org HOME-PAGEs....All HTTP gnu.org (and supported subdomain) HOME-PAGEs changed to HTTPS. Tobias Geerinckx-Rice
2016-05-22gnu: gnu-pw-mgr: Update to 2.0....* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Update to 2.0. Efraim Flashner
2015-10-21gnu: gnu-pw-mgr: Update to 1.6....* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Update to 1.6. Ludovic Courtès
2015-09-20gnu: gnu-pw-mgr: Update to 1.5....* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Update to 1.5. Eric Bavier
2015-06-02gnu: gnu-pw-mgr: Update to 1.4....* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Update to 1.4. Use .xz tarball. Move 'which' to native-inputs. Add 'autogen' to native-inputs. Mark H Weaver
2015-03-04gnu: Move 'which' to (gnu packages base)....* gnu/packages/which.scm: Remove. * gnu-system.am (GNU_SYSTEM_MODULES): Remove it. * gnu/packages/base.scm (which): New variable. * gnu/packages/aspell.scm, gnu/packages/audio.scm, gnu/packages/autogen.scm, gnu/packages/cdrom.scm, gnu/packages/compression.scm, gnu/packages/datamash.scm, gnu/packages/games.scm, gnu/packages/glib.scm, gnu/packages/gnu-pw-mgr.scm, gnu/packages/gnutls.scm, gnu/packages/gps.scm, gnu/packages/guile.scm, gnu/packages/java.scm, gnu/packages/libevent.scm, gnu/packages/linux.scm, gnu/packages/lisp.scm, gnu/packages/node.scm, gnu/packages/ntp.scm, gnu/packages/orpheus.scm, gnu/packages/pciutils.scm, gnu/packages/python.scm, gnu/packages/qt.scm, gnu/packages/rsync.scm, gnu/packages/sawfish.scm, gnu/packages/scheme.scm, gnu/packages/ssh.scm, gnu/packages/statistics.scm, gnu/packages/texlive.scm, gnu/packages/wdiff.scm: Adjust accordingly. Ludovic Courtès
2015-03-01gnu: gnu-pw-mgr: Update to 1.3....* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Update to 1.3. Mark H Weaver
2014-03-26gnu: gnu-pw-mgr: Fix download location....* gnu/packages/gnu-pw-mgr.scm (gnu-pw-mgr): Fix download location. Andreas Enge
2014-03-25gnu: gnu-pw-mgr: Upgrade to 1.2...* gnu/packages/gnu-pw-mgr.scm: Upgrade to 1.2 Eric Bavier