mirror of
https://github.com/tstack/lnav.git
synced 2024-09-11 13:05:51 +03:00
[tests] coverage for markdown breadcrumbs
This commit is contained in:
parent
16d39f3fd9
commit
a459370bd8
@ -924,10 +924,8 @@ EXPECTED_FILES = \
|
||||
$(srcdir)/%reldir%/test_sql_xml_func.sh_fefeb387ae14d4171225ea06cbbff3ec43990cf0.out \
|
||||
$(srcdir)/%reldir%/test_text_file.sh_5b51b55dff7332c5bee2c9b797c401c5614d574a.err \
|
||||
$(srcdir)/%reldir%/test_text_file.sh_5b51b55dff7332c5bee2c9b797c401c5614d574a.out \
|
||||
$(srcdir)/%reldir%/test_text_file.sh_801414c6bb6d3f9225973eafa3c6dfa49cd2081d.err \
|
||||
$(srcdir)/%reldir%/test_text_file.sh_801414c6bb6d3f9225973eafa3c6dfa49cd2081d.out \
|
||||
$(srcdir)/%reldir%/test_text_file.sh_87943c6be50d701a03e901f16493314c839af1ab.err \
|
||||
$(srcdir)/%reldir%/test_text_file.sh_87943c6be50d701a03e901f16493314c839af1ab.out \
|
||||
$(srcdir)/%reldir%/test_text_file.sh_c21295f131c221861568bda5014b76ef99bdd11f.err \
|
||||
$(srcdir)/%reldir%/test_text_file.sh_c21295f131c221861568bda5014b76ef99bdd11f.out \
|
||||
$(srcdir)/%reldir%/test_text_file.sh_c2a346ca1da2da4346f1d310212e166767993ce9.err \
|
||||
$(srcdir)/%reldir%/test_text_file.sh_c2a346ca1da2da4346f1d310212e166767993ce9.out \
|
||||
$()
|
||||
|
@ -0,0 +1,63 @@
|
||||
[
|
||||
{
|
||||
"top_meta": {
|
||||
"file": "{top_srcdir}/README.md",
|
||||
"breadcrumbs": [
|
||||
{
|
||||
"display_value": "README.md",
|
||||
"search_placeholder": "",
|
||||
"possibilities": [
|
||||
{
|
||||
"display_value": "README.md"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"display_value": "LNAV – The Logfile Navigator",
|
||||
"search_placeholder": "",
|
||||
"possibilities": [
|
||||
{
|
||||
"display_value": "LNAV – The Logfile Navigator"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"display_value": "Contributing",
|
||||
"search_placeholder": "",
|
||||
"possibilities": [
|
||||
{
|
||||
"display_value": "Contributing"
|
||||
},
|
||||
{
|
||||
"display_value": "Features"
|
||||
},
|
||||
{
|
||||
"display_value": "Installation"
|
||||
},
|
||||
{
|
||||
"display_value": "Links"
|
||||
},
|
||||
{
|
||||
"display_value": "Screenshot"
|
||||
},
|
||||
{
|
||||
"display_value": "See Also"
|
||||
},
|
||||
{
|
||||
"display_value": "Usage"
|
||||
}
|
||||
]
|
||||
},
|
||||
{
|
||||
"display_value": "⋯",
|
||||
"search_placeholder": "",
|
||||
"possibilities": [
|
||||
{
|
||||
"display_value": "Building From Source"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
]
|
@ -6,5 +6,11 @@ unset XDG_CONFIG_HOME
|
||||
run_cap_test ${lnav_test} -n \
|
||||
${top_srcdir}/README.md
|
||||
|
||||
run_cap_test ${lnav_test} -n \
|
||||
-c ':goto 115' \
|
||||
-c ";SELECT top_meta FROM lnav_views WHERE name = 'text'" \
|
||||
-c ':write-json-to -' \
|
||||
${top_srcdir}/README.md
|
||||
|
||||
run_cap_test ${lnav_test} -n \
|
||||
${top_srcdir}/src/log_level.cc
|
||||
|
Loading…
Reference in New Issue
Block a user