diff --git a/modules/bibformat/lib/bibformat_regression_tests.py b/modules/bibformat/lib/bibformat_regression_tests.py index a056fc2fa..d806a57de 100644 --- a/modules/bibformat/lib/bibformat_regression_tests.py +++ b/modules/bibformat/lib/bibformat_regression_tests.py @@ -1,341 +1,341 @@ # -*- coding: utf-8 -*- ## $Id$ ## ## This file is part of CDS Invenio. ## Copyright (C) 2002, 2003, 2004, 2005, 2006 CERN. ## ## CDS Invenio 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. ## ## CDS Invenio 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 CDS Invenio; if not, write to the Free Software Foundation, Inc., ## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. """WebSearch module regression tests.""" __revision__ = "$Id$" import unittest from invenio.config import weburl, cdslang from invenio.testutils import make_test_suite, \ warn_user_about_tests_and_run, \ test_web_page_content from invenio.bibformat import format_record class BibFormatAPITest(unittest.TestCase): """Check BibFormat API""" def test_basic_formatting(self): """bibformat - Checking BibFormat API""" result = format_record(recID=73, of='hx', ln=cdslang, verbose=0, search_pattern=[], xml_record=None, uid=None, on_the_fly=True) pageurl = weburl + '/record/73?of=hx' result = test_web_page_content(pageurl, expected_text=result) class BibFormatBibTeXTest(unittest.TestCase): """Check output produced by BibFormat for BibTeX output for various records""" def setUp(self): """Prepare some ideal outputs""" self.record_74_hx = '''
@article{Wang:74, author = "Wang, B and Lin, C Y and Abdalla, E", title = "Quasinormal modes of Reissner-Nordstrom Anti-de Sitter Black Holes", journal = "Phys. Lett., B", number = "hep-th/0003295", volume = "481", pages = "79-88", year = "2000", }''' def test_bibtex_output(self): """bibformat - BibTeX output""" pageurl = weburl + '/record/74?of=hx' result = test_web_page_content(pageurl, expected_text=self.record_74_hx) self.assertEqual([], result) class BibFormatDetailedHTMLTest(unittest.TestCase): """Check output produced by BibFormat for detailed HTML ouput for various records""" def setUp(self): """Prepare some ideal outputs""" self.record_74_hd = '''
Published Article / Particle Physics - Theory | hep-th/0003295 |
Abstract: Complex frequencies associated with quasinormal modes for large Reissner-Nordstr$\ddot{o}$m Anti-de Sitter black holes have been computed. These frequencies have close relation to the black hole charge and do not linearly scale withthe black hole temperature as in Schwarzschild Anti-de Sitter case. In terms of AdS/CFT correspondence, we found that the bigger the black hole charge is, the quicker for the approach to thermal equilibrium in the CFT. The propertiesof quasinormal modes for $l>0$ have also been studied.
Published in: Phys. Lett., B :481 2000 79-88
Fulltext : http://documents.cern.ch/cgi-bin/setlink?base=preprint&categ=hep-th&id=0003295
Cited by: try citation search for hep-th/0003295
References:''' % {'weburl' : weburl, 'lang': cdslang} self.record_7_hd = '''
- [1] K. D. Kokkotas, B. G. Schmidt [gr-qc/9909058]
and references therein- [2] W. Krivan Phys. Rev., D: 60 (1999) 101501
- [3] S. Hod [gr-qc/9902072]
- [4] P. R. Brady, C. M. Chambers, W. G. Laarakkers and E. Poisson Phys. Rev., D: 60 (1999) 064003
- [5] P. R. Brady, C. M. Chambers, W. Krivan and P. Laguna Phys. Rev., D: 55 (1997) 7538
- [6] G. T. Horowitz and V. E. Hubeny [hep-th/9909056]
G. T. Horowitz [hep-th/9910082]- [7] E. S. C. Ching, P. T. Leung, W. M. Suen and K. Young Phys. Rev., D: 52 (1995) 2118
- [8] J. M. Maldacena Adv. Theor. Math. Phys.21998231
- [9] E. Witten Adv. Theor. Math. Phys.21998253
- [10] S. S. Gubser, I. R. Klebanov and A. M. Polyakov Phys. Lett., B: 428 (1998) 105
- [11] A. Chamblin, R. Emparan, C. V. Johnson and R. C. Myers Phys. Rev., D: 60 (1999) 064018
- [12] E. W. Leaver J. Math. Phys.: 27 (1986) 1238
- [13] E. W. Leaver Phys. Rev., D: 41 (1990) 2986
- [14] C. O. Lousto Phys. Rev., D: 51 (1995) 1733
- [15] O. Kaburaki Phys. Lett., A: 217 (1996) 316
- [16] R. K. Su, R. G. Cai and P. K. N. Yu Phys. Rev., D: 50 (1994) 2932
Phys. Rev., D: 48 (1993) 3473
Phys. Rev., D: 52 (1995) 6186
B. Wang, J. M. Zhu Mod. Phys. Lett., A1019951269- [17] A. Chamblin, R. Emparan, C. V. Johnson and R. C. Myers, Phys. Rev., D60: 104026 (1999) 5070 90 110 130 150 r+ 130 230 330 50 70 90 110 130 150 r+
Warning: references are automatically extracted and standardized from the PDF document and may therefore contain errors. If you think they are incorrect or incomplete, look at the fulltext document itself.
Pictures / Life at CERN | CERN-GE-9806033 |
CERN Bulletin no 28/98 (6 July 1998) (English) CERN Bulletin no 28/98 (6 juillet 1998) (French) Biography |
High resolution: http://preprints.cern.ch/cgi-bin/setlink?base=PHO&categ=photo-ge&id=9806033 © CERN Geneva |
||||
© CERN Geneva: -The use of photos requires prior authorization (from CERN copyright). +The use of photos requires prior authorization (from CERN copyright). The words CERN Photo must be quoted for each use. |