Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
The Tor Project
Applications
tor-browser-bundle-testsuite
Commits
814f05fb
Unverified
Commit
814f05fb
authored
Sep 01, 2014
by
boklm
Browse files
Add testsuite descriptions
parent
eac7664c
Changes
4
Hide whitespace changes
Inline
Side-by-side
TBBTestSuite/BrowserBundleTests.pm
View file @
814f05fb
...
...
@@ -48,9 +48,10 @@ my $test_types = {
};
our
%testsuite
=
(
test_types
=>
$test_types
,
pre_tests
=>
\
&pre_tests
,
post_tests
=>
\
&post_tests
,
description
=>
'
Tor Browser Bundle integration tests
',
test_types
=>
$test_types
,
pre_tests
=>
\
&pre_tests
,
post_tests
=>
\
&post_tests
,
);
our
@tests
=
(
...
...
TBBTestSuite/BrowserUnitTests.pm
View file @
814f05fb
...
...
@@ -23,9 +23,10 @@ my $test_types = {
};
our
%testsuite
=
(
test_types
=>
$test_types
,
pre_tests
=>
\
&pre_tests
,
post_tests
=>
\
&post_tests
,
description
=>
'
Tor Browser unit tests
',
test_types
=>
$test_types
,
pre_tests
=>
\
&pre_tests
,
post_tests
=>
\
&post_tests
,
pre_makereport
=>
\
&pre_makereport
,
pre_reports_index
=>
\
&pre_reports_index
,
);
...
...
TBBTestSuite/Reports.pm
View file @
814f05fb
...
...
@@ -154,6 +154,7 @@ sub make_reports_index {
reports_by_type
=>
\
%reports_by_type
,
reports_by_tag
=>
\
%reports_by_tag
,
reports_by_month
=>
\
%reports_by_month
,
testsuite_types
=>
\
%
TBBTestSuite::Tests::
testsuite_types
,
};
$template
->
process
('
reports_index.html
',
$vars
,
'
index.html
')
||
exit_error
"
Template Error:
\n
"
.
$template
->
error
;
...
...
tmpl/reports_index.html
View file @
814f05fb
...
...
@@ -27,7 +27,7 @@
<h1>
Tests Reports
</h1>
<ul>
[% FOREACH type IN reports_by_type.keys.sort %]
<li><a
href=
"index-[% type %].html"
>
[% t
ype %] reports
</a>
<li><a
href=
"index-[% type %].html"
>
[% t
estsuite_types.$type.description %]
</a>
[% IF reports_by_month.$type %]
<div>
Months:
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment