Debian Codegraph @

tests/ciftest14

raw
1 # This test file checks semicolon delimited strings and embedded quotes
2 # All of these are valid CIF constructs. However, we have added reserved
3 # words in some places, which are not allowed to begin data values
4 #
5 # We have included some html to make sure html-ised error reports don't
6 # do anything nasty
7 #
8 data_testblock
9 _dataname
10 ;Hi
11 _dataname2 ;Hi;
12 _dataname3
13 ;
14 a line with an extra carriage return
15
16 ;
17 _dataname4 'embed'd quote'
18 _test6 ''this had a quote at the front '
19 _dataname5 'embed'd quote at end too''
20 _test7 "embed"d quote at end too""
21 _test8 ""lots of double double quotes quot"d""
22 _test8a
23 ; semicolon to start, and text continues on same line, many line feeds...
24
25
26 ;
27 _test9 "make sure we're allowed the single quote ' with spaces here "
28 _test10
29 ;Hi_<em>&&</em>here #this checks that non-first character semicolons make it in
30 # we once had an error where a test string was empty
31 _test14
32 ;
33 ;
34 _test11 global_and_this_checks_that_comments_are_ok
35 _test12 stop_and_this_checks_that_comments_are_ok
36 _test13 data_and_this_checks_that_comments_are_ok
37 #
38 # this makes sure that there are two data items on the following line
39 loop_ _site.id _site.details
40 'ND'' 'NAD/NADP SELECTIVITY AMINO ACID.'
41 "ND"" "NAD/NADP selectivity amino acid."
42