Ignore:
Timestamp:
Apr 25, 2008, 9:11:28 PM (17 years ago)
Author:
RBRi
Message:

more tests for link tag added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/rendering/rendering.ipf

    r51 r269  
    88.*
    99:userdoc.
    10 :docprof toc=12 ctrlarea=none.
     10:docprof toc=123 ctrlarea=none.
    1111:title.NewView Rendering Tests
    1212.*
     
    2222:p.
    2323Tests
     24.*
     25.*
     26.**********************************************************
     27:h2 id=1234.TestTopic
     28:p.Page: TestTopic
    2429.*
    2530.*
     
    145150.*
    146151.**********************************************************
    147 :h2.Link type 'launch'
     152:h2.Link Tests
     153.*
     154.*
     155.**********************************************************
     156:h3.Link type 'hd'
     157:p.This type links to some heading.
     158:ol.
     159:li.:link reftype=hd refid='1234'.
     160&colon.link reftype=hd refid='1234'.
     161.br
     162(internal link to our TestTopic)
     163:elink.
     164:li.:link reftype=hd refid='1234' database=test_topics.
     165&colon.link reftype=hd refid='1234' database=test_topics.
     166.br
     167(external link to the TestTopic in file test_topics.hlp).
     168:elink.
     169:eol.
     170.*
     171.*
     172.**********************************************************
     173:h3.Link type 'fn'
     174:p.This type links to some footnote.
     175.*
     176:fn id=testfn.
     177This is a test footnote.
     178:efn.
     179.*
     180:ol.
     181:li.:link reftype=fn refid='testfn'.
     182&colon.link reftype=fn refid='testfn'.
     183.br
     184Internal link to our TestFootnote
     185:elink.
     186:li.:link reftype=fn refid='testfn' database=test_topics.
     187&colon.link reftype=fn refid='testfn' database=test_topics.
     188.br
     189Internal link to our TestFootnote in file test_topics.hlp.
     190The database is ignored by view and newview.
     191:elink.
     192:eol.
     193.*
     194.*
     195.**********************************************************
     196:h3.Link type 'launch'
    148197:p.This kind of links are used to start an external program.
    149198There are serveral test to launch view.exe.
    150199:ol.
     200:li.:link reftype=launch object='view.exe'.
     201&colon.link reftype=launch object='view.exe'.
     202.br
     203Start view.exe without params.
     204:elink.
     205:li.:link reftype=launch object='view.exe' data=''.
     206&colon.link reftype=launch object='view.exe' data=''. (possible but generates a compiler warning)
     207.br
     208Start view.exe without params.
     209:elink.
    151210:li.:link reftype=launch object='view.exe' data='test_topics.hlp TestTopic'.
    152 object='view.exe' data='test_topics.hlp TestTopic'
    153 :elink.
    154 :li.NewView (and also the original view) is not able to handle the call of
     211&colon.link reftype=launch object='view.exe' data='test_topics.hlp TestTopic'.
     212.br
     213Start view.exe with command line 'test_topics.hlp TestTopic'.
     214:elink.
     215:li.:link reftype=launch object='p:\newview_dev\test\rendering\dir with blank\e.exe' data='config.sys'.
     216&colon.link reftype=launch object='p&colon.\newview_dev\test\rendering\dir with blank\e.exe' data='config.sys'.
     217.br
     218NewView (and also the original view) is not able to handle the call of
    155219executables with blanks in file/path name correct.
    156 :link reftype=launch object='c:\os 2\e.exe' data=''.
    157 object='c:\os 2\e.exe' data=''
    158 :elink.
     220:elink.
     221:eol.
     222.*
     223.*
     224.**********************************************************
     225:h3.Link type 'url'
     226:p.This kind of links are used to start the default browser.
     227:ol.
     228:li.http&colon.&slash.&slash.www&per.rbri&per.org
     229.br
     230Plain url
     231:li.:link reftype=launch object='firefox.exe' data='http://www.rbri.org'.
     232&colon.link reftype=launch object='firefox.exe' data='http&colon.&slash.&slash.www&per.rbri&per.org'.
     233.br
     234Start firefox with url.
     235:elink.
     236:li.:link reftype=launch object='fireFOX.exe' data='http://www.rbri.org'.
     237&colon.link reftype=launch object='fireFOX.exe' data='http&colon.&slash.&slash.www&per.rbri&per.org'.
     238.br
     239Start firefox with url (detect must be case insensitive).
     240:elink.
     241:li.:link reftype=launch object='mozilla.exe' data='http://www.rbri.org'.
     242&colon.link reftype=launch object='mozilla.exe' data='http&colon.&slash.&slash.www&per.rbri&per.org'.
     243.br
     244Start mozilla with url.
     245:elink.
     246:li.:link reftype=launch object='netscape.exe' data='http://www.rbri.org'.
     247&colon.link reftype=launch object='netscape.exe' data='http&colon.&slash.&slash.www&per.rbri&per.org'.
     248.br
     249Start netscape with url.
     250:elink.
     251:li.:link reftype=launch object='explore.exe' data='http://www.rbri.org'.
     252&colon.link reftype=launch object='explore.exe' data='http&colon.&slash.&slash.www&per.rbri&per.org'.
     253.br
     254Start explore with url.
     255:elink.
     256:eol.
     257.*
     258.*
     259.**********************************************************
     260:h2.Link type 'inform'
     261:p.Not supported by NewView at the moment.
    159262:eol.
    160263.*
Note: See TracChangeset for help on using the changeset viewer.