• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ni-kismet / engineering-flot / 1077
79%

Build:
DEFAULT BRANCH: master
Ran 23 Oct 2017 05:41AM UTC
Jobs 1
Files 16
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
1077

push

travis-ci

web-flow
Composeimages (#153)

* first draft of composing images

* Removed a lot of unused code. The promises work now.

* Finally using the dynamically generated temp images.

* Renamed some functions to better express what they are doing.

* Removed async/await since they are not supported in Edge. Replaced them with promises.

* Removed debug code.

* Renamed some parameters and added an image to page.

* Fixed a bug in copySVGToImg. Renamed destination/destinationImage to destinationCanvas. First test is passing.

* Added a second test with two SVGs, one after the other (vertically).

* Added a test with an empty array of sources. Existing tests verify for destination canvas width and height.

* Added two more tests for SVGs and one Canvas test.

* Finished first canvas test.

* Improved two tests.

* Improved a description. Added two verifications. Removed unused code.

* Added a test with an SVG and a Canvas. Added a new matchPixelColor function, which takes into accout that there might be small differences betwen expected values and real values.

* Refactored the array comparison code into matchPixelDataArrays function. Added a test for two canvases.

* Added a test with two partially overlapped canvases.

* Fixed vertical offsets on SVG comparisons. Added a test with a canvas which is out of view area.

* Added a test with overlapping SVG and Canvas. They also overwrite destination canvas where transparet.

* Removed the code which tests for destination overwritting, because it is not the expected behavior.

* Removed hardcoded values from embedCSSRulesInSVG function.

* Added a test which verifies a different svg size than the other tests.

* increased width of line stroke from a test

* Removed pic.html and style.css from branch, as they should not get to master. Did some cleanup to make the code look ok. Also, removed unused code.

* Set spacings to 0.

* Removed backticks.

* Removed padding.

* Added Math.round on computing destination size.

* Renamed a variable. Removed unused code.

* Implemented part of the feedback.

* Moved composeImages function at the top of the file. Defined some constants. In karma.conf.js the default browser for coverage is now set to Chrome.

* Added tests/svgstyle.css, both as a file and in karma.conf.js. Added a test which uses external css for SVGs.  Rearranged some functions. Refactored others.

* Removed some verifications of tests themselves (testing the tests).

* Added a custom matcher. Used only in one place for now.

* Refactored many expect calls, to use the new matchers. This can be furthered simplified.

* Renamed some constants.

* Simplified composeImages function to pass temp images through callbacks and added a filter for invisible images. Changed the order of browser testing, pushing Edge to the end of the list. Added three tests, which should avoid drawing invisible images.

* Simplified usage of toMatchCanvasArea in various expect statements.

* Renamed pixelColor function to canvasData, because it can return more than a pixel.

* Added a small description about ComposeImages

* Reverting gitignore file, because pic.html and style.css are no longer part of this branch.

2605 of 3245 relevant lines covered (80.28%)

698.62 hits per line

Jobs
ID Job ID Ran Files Coverage
1 1077.1 23 Oct 2017 05:41AM UTC 0
80.28
Travis Job 1077.1
Source Files on build 1077
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #1077
  • f642054c on github
  • Prev Build on master (#1071)
  • Next Build on master (#1084)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc