Skip to content

Commit

Permalink
Factor various test example helper routines into their own internal p…
Browse files Browse the repository at this point in the history
…ackage
  • Loading branch information
jung-kurt committed Aug 27, 2015
1 parent e3a6324 commit 18c33c5
Show file tree
Hide file tree
Showing 6 changed files with 265 additions and 155 deletions.
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ rather than PHP.
##Example PDFs


A side effect of running "go test" is the production of a number of example
PDFs. These can be found in the gofpdf/pdf directory after the tests complete.
A side effect of running "go test ./..." is the production of a number of
example PDFs. These can be found in the gofpdf/pdf directory after the tests
complete.

Please note that these examples run in the context of a test. In order run an
example as a standalone application, you'll need to examine [fpdf_test.go](https://github.com/jung-kurt/gofpdf/blob/master/fpdf_test.go) for
Expand Down Expand Up @@ -135,8 +136,11 @@ gofpdf for its document production mode.

gofpdf is a global community effort and you are invited to make it even better.
If you have implemented a new feature or corrected a problem, please consider
contributing your change to the project. Here are guidelines for making
submissions. Your change should
contributing your change to the project. Contributions that do not directly
pertain to the core functionality of gofpdf should be placed in their own
directory directly beneath the `contrib` directory.

Here are guidelines for making submissions. Your change should

* be compatible with the MIT License
* be properly documented
Expand Down
12 changes: 8 additions & 4 deletions doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -112,8 +112,9 @@ rather than PHP.
Example PDFs
A side effect of running "go test" is the production of a number of example
PDFs. These can be found in the gofpdf/pdf directory after the tests complete.
A side effect of running "go test ./..." is the production of a number of
example PDFs. These can be found in the gofpdf/pdf directory after the tests
complete.
Please note that these examples run in the context of a test. In order run an
example as a standalone application, you'll need to examine fpdf_test.go for
Expand Down Expand Up @@ -149,8 +150,11 @@ Contributing Changes
gofpdf is a global community effort and you are invited to make it even better.
If you have implemented a new feature or corrected a problem, please consider
contributing your change to the project. Here are guidelines for making
submissions. Your change should
contributing your change to the project. Contributions that do not directly
pertain to the core functionality of gofpdf should be placed in their own
directory directly beneath the `contrib` directory.
Here are guidelines for making submissions. Your change should
• be compatible with the MIT License
Expand Down
Loading

0 comments on commit 18c33c5

Please sign in to comment.