Started to add tests for the tools.
This commit is contained in:
parent
33f75aefae
commit
e34df613ca
23 changed files with 661 additions and 0 deletions
3
golden-files/results/contents-hi3_py
Normal file
3
golden-files/results/contents-hi3_py
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[0m[38;2;106;184;37m[48;2;0;0;0m[1mdef[0m[38;2;208;208;208m[48;2;0;0;0m [0m[38;2;68;127;207m[48;2;0;0;0mhi[0m[38;2;208;208;208m[48;2;0;0;0m():[0m[38;2;255;255;255m[48;2;0;0;0m
|
||||
[0m[38;2;208;208;208m[48;2;0;0;0m [0m[38;2;106;184;37m[48;2;0;0;0m[1mprint[0m[38;2;208;208;208m[48;2;0;0;0m([0m[38;2;237;157;19m[48;2;0;0;0m"hi"[0m[38;2;208;208;208m[48;2;0;0;0m)[0m[38;2;255;255;255m[48;2;0;0;0m
|
||||
[0m
|
||||
18
golden-files/results/metadata-hi3_py
Normal file
18
golden-files/results/metadata-hi3_py
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
[0m[38;2;90;90;255m[48;2;0;0;0msize:[0m[38;2;255;255;255m[48;2;0;0;0m 12.0 B[0m[38;2;100;100;100m[48;2;0;0;0m (12 bytes)[0m[38;2;255;255;255m[48;2;0;0;0m
|
||||
[0m[38;2;90;90;255m[48;2;0;0;0mpermissions:[0m[38;2;255;255;255m[48;2;0;0;0m ?rwxr-xr-x[0m[38;2;100;100;100m[48;2;0;0;0m (755)[0m[38;2;255;255;255m[48;2;0;0;0m
|
||||
|
||||
[0m[38;2;90;90;255m[48;2;0;0;0mmodified time:[0m[38;2;255;255;255m[48;2;0;0;0m Sun Jan 31 23:14:05 2016[0m[38;2;100;100;100m[48;2;0;0;0m (1454282045 secs)[0m[38;2;255;255;255m[48;2;0;0;0m
|
||||
[0m[38;2;90;90;255m[48;2;0;0;0mcreation time:[0m[38;2;255;255;255m[48;2;0;0;0m Sun Jan 31 23:14:05 2016[0m[38;2;100;100;100m[48;2;0;0;0m (1454282045 secs)[0m[38;2;255;255;255m[48;2;0;0;0m
|
||||
[0m[38;2;90;90;255m[48;2;0;0;0maccess time:[0m[38;2;255;255;255m[48;2;0;0;0m Sun Jan 31 23:14:07 2016[0m[38;2;100;100;100m[48;2;0;0;0m (1454282047 secs)[0m[38;2;255;255;255m[48;2;0;0;0m
|
||||
|
||||
[0m[38;2;90;90;255m[48;2;0;0;0mowner:[0m[38;2;255;255;255m[48;2;0;0;0m foo[0m[38;2;100;100;100m[48;2;0;0;0m (1111 uid)[0m[38;2;255;255;255m[48;2;0;0;0m
|
||||
[0m[38;2;90;90;255m[48;2;0;0;0mgroup:[0m[38;2;255;255;255m[48;2;0;0;0m foo[0m[38;2;100;100;100m[48;2;0;0;0m (1111 gid)[0m[38;2;255;255;255m[48;2;0;0;0m
|
||||
|
||||
[0m[38;2;90;90;255m[48;2;0;0;0mhardlinks:[0m[38;2;255;255;255m[48;2;0;0;0m 2
|
||||
[0m[38;2;90;90;255m[48;2;0;0;0msymlink:[0m[38;2;255;255;255m[48;2;0;0;0m no
|
||||
|
||||
[0m[38;2;90;90;255m[48;2;0;0;0mmd5:[0m[38;2;255;255;255m[48;2;0;0;0m 28ca2e417cb64ea4e555efe3203642de
|
||||
[0m[38;2;90;90;255m[48;2;0;0;0msha1:[0m[38;2;255;255;255m[48;2;0;0;0m 8b8c0214f3f0a0d79032d1b44550064964a33a26
|
||||
|
||||
[0m[38;2;90;90;255m[48;2;0;0;0mmime type:[0m[38;2;255;255;255m[48;2;0;0;0m text/plain; charset=us-ascii
|
||||
[0m[38;2;90;90;255m[48;2;0;0;0mfile type:[0m[38;2;255;255;255m[48;2;0;0;0m ASCII text [0m
|
||||
0
golden-files/results/pep8-hi3_py
Normal file
0
golden-files/results/pep8-hi3_py
Normal file
12
golden-files/results/perl6_syntax-perl6_p6
Normal file
12
golden-files/results/perl6_syntax-perl6_p6
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
Useless declaration of a has-scoped method in mainline (did you mean 'my regex http-verb'?)
|
||||
[31m===[0mSORRY![31m===[0m Error while compiling ./input/perl6.p6
|
||||
Two terms in a row
|
||||
at ./input/perl6.p6:30
|
||||
------> [32m<BOL>[33m⏏[31msay 'here';[0m
|
||||
expecting any of:
|
||||
postfix
|
||||
infix stopper
|
||||
infix or meta-infix
|
||||
statement end
|
||||
statement modifier
|
||||
statement modifier loop
|
||||
1
golden-files/results/perl_syntax-perl_pl
Normal file
1
golden-files/results/perl_syntax-perl_pl
Normal file
|
|
@ -0,0 +1 @@
|
|||
./input/perl.pl syntax OK
|
||||
70
golden-files/results/perldoc-contents_pod
Normal file
70
golden-files/results/perldoc-contents_pod
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
Net::Z3950::AsyncZ
|
||||
Intro
|
||||
Net::Z3950::AsyncZ adds an additional layer of asynchronous support for
|
||||
the Z3950 module through the use of multiple forked processes. I hope
|
||||
that users will also find that it provides a convenient front end to
|
||||
"Net::Z3950". My initial idea was to write something that would provide
|
||||
a convenient means of processing and formatting Z39.50 records--which I
|
||||
did, using the "Z3950" synchronous code. But I also wanted something
|
||||
that could handle queries to large numbers of servers at one session.
|
||||
Working on this part of my project, I found that I had trouble with the
|
||||
"Z3950" asynchronous features and so ended up with what I have here.
|
||||
|
||||
I give a more detailed account in in the DESCRIPTION section of
|
||||
"AsyncZ.pod".
|
||||
|
||||
Documentation
|
||||
AsyncZ.pod
|
||||
This is the starting point--it gives an overview of the AsyncZ
|
||||
module, describes the basic mechanics of its asynchronous workings,
|
||||
and details the particulars of the objects and methods. But see
|
||||
""Examples.pod" for detailed explanations of the sample scripts
|
||||
which come with the "Net::Z3950::AsyncZ" distribution.
|
||||
|
||||
Options.pod
|
||||
This document details the various options that can be set to modify
|
||||
the behavior of AsyncZ Index
|
||||
|
||||
Report.pod
|
||||
Report.pod deals with how records are treated line by line and how
|
||||
you can affect the apearance of a record's line by line output
|
||||
|
||||
Examples.pod
|
||||
This document goes through the sample scripts that come with the
|
||||
"Net::Z3950::AsyncZ" distribution and annotates them in a
|
||||
line-by-line fashion. It's a basic HOW-TO.
|
||||
|
||||
The Modules
|
||||
There are more modules than there is documentation. The reason for this
|
||||
is that the only module you have full and complete access to is
|
||||
"Net::Z3950::AsyncZ". The other modules are either internal to
|
||||
"Net::AsyncZ" or accessed indirectly or in part indirectly.
|
||||
|
||||
Here are the modules:
|
||||
Net::Z3950::AsyncZ
|
||||
The main module: direct access --documented in "AsyncZ" and
|
||||
"Options" documentation
|
||||
|
||||
Net::Z3950::AsyncZ::ErrMsg
|
||||
User error message handling: indirect access -- documented in
|
||||
"AsyncZ" documentation
|
||||
|
||||
Net::Z3950::AsyncZ::Errors
|
||||
Error handling for debugging: limited access -- documented in
|
||||
"AsyncZ" documentation
|
||||
|
||||
Net::Z3950::AsyncZ::Report
|
||||
Module reponsible for fetching and formatting records: limited
|
||||
access -- documented
|
||||
|
||||
Net::Z3950::AsyncZ::ZLoop
|
||||
Event loop for child processes: no access -- not documented
|
||||
|
||||
Net::Z3950::AsyncZ::ZSend
|
||||
Connection details for child processes: no access -- not documented
|
||||
|
||||
Net::Z3950::AsyncZ::Options::_params
|
||||
Options for child processes: direct and indirect access --
|
||||
documented in "Options" and "AsyncZ" documentation
|
||||
|
||||
INDEX
|
||||
1
golden-files/results/perldoc-perl_pl
Normal file
1
golden-files/results/perldoc-perl_pl
Normal file
|
|
@ -0,0 +1 @@
|
|||
No documentation found for "./input/perl.pl".
|
||||
3
golden-files/results/perltidy-perl_pl
Normal file
3
golden-files/results/perltidy-perl_pl
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
[0m[38;2;153;153;153m[48;2;0;0;0m[3m#!/usr/bin/perl[0m[38;2;255;255;255m[48;2;0;0;0m
|
||||
[0m[38;2;106;184;37m[48;2;0;0;0m[1mprint[0m[38;2;208;208;208m[48;2;0;0;0m [0m[38;2;237;157;19m[48;2;0;0;0m"Hello, world!\n"[0m[38;2;208;208;208m[48;2;0;0;0m;[0m[38;2;255;255;255m[48;2;0;0;0m
|
||||
[0m
|
||||
12
golden-files/results/pydoc-hi3_py
Normal file
12
golden-files/results/pydoc-hi3_py
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
Help on module hi3:
|
||||
|
||||
NAME
|
||||
hi3
|
||||
|
||||
FUNCTIONS
|
||||
hi()
|
||||
|
||||
FILE
|
||||
/home/ahamilton/code/vigil/golden-files/input/hi3.py
|
||||
|
||||
|
||||
0
golden-files/results/pyflakes-hi3_py
Normal file
0
golden-files/results/pyflakes-hi3_py
Normal file
1
golden-files/results/pylint-hi3_py
Normal file
1
golden-files/results/pylint-hi3_py
Normal file
|
|
@ -0,0 +1 @@
|
|||
No config file found, using default configuration
|
||||
4
golden-files/results/python_coverage-hi3_py
Normal file
4
golden-files/results/python_coverage-hi3_py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
[0m[38;2;255;255;255m[48;2;0;0;0m
|
||||
|
||||
[0m[38;2;0;255;0m[48;2;0;0;0m> def hi():[0m[38;2;255;255;255m[48;2;0;0;0m
|
||||
[0m[38;2;0;255;0m[48;2;0;0;0m> print("hi")[0m
|
||||
2
golden-files/results/python_gut-hi3_py
Normal file
2
golden-files/results/python_gut-hi3_py
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
[0m[38;2;106;184;37m[48;2;0;0;0m[1mdef[0m[38;2;208;208;208m[48;2;0;0;0m [0m[38;2;68;127;207m[48;2;0;0;0mhi[0m[38;2;208;208;208m[48;2;0;0;0m():[0m[38;2;255;255;255m[48;2;0;0;0m
|
||||
[0m
|
||||
1
golden-files/results/python_mccabe-hi3_py
Normal file
1
golden-files/results/python_mccabe-hi3_py
Normal file
|
|
@ -0,0 +1 @@
|
|||
3:1: 'hi' 2
|
||||
4
golden-files/results/python_modulefinder-hi3_py
Normal file
4
golden-files/results/python_modulefinder-hi3_py
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
|
||||
Name File
|
||||
---- ----
|
||||
m __main__ ./input/hi3.py
|
||||
0
golden-files/results/python_syntax-hi3_py
Normal file
0
golden-files/results/python_syntax-hi3_py
Normal file
1
golden-files/results/python_unittests-hi3_py
Normal file
1
golden-files/results/python_unittests-hi3_py
Normal file
|
|
@ -0,0 +1 @@
|
|||
No tests.
|
||||
Loading…
Add table
Add a link
Reference in a new issue