You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@poi.apache.org by Yinuo Li <yi...@icloud.com.INVALID> on 2019/06/26 07:08:48 UTC

Help with task: Improve test-coverage of new Microsoft Visio 2007+ support code

I would like to help out with the task listed at /task.html?4d64ce18


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
For additional commands, e-mail: dev-help@poi.apache.org


Re: Help with task: Improve test-coverage of new Microsoft Visio 2007+ support code

Posted by Dominik Stadler <do...@gmx.at>.
Hi,

thanks a lot for your offer!

For this task you can start by checking out the sourcecode,
either via SVN at https://svn.apache.org/repos/asf/poi/trunk/
or via GIT from the github mirror at https://github.com/apache/poi/

The build-dependencies in this case should only be
JDK >= 1.8 and Apache Ant >= 1.9.6, newer versions should
work as well.

When you ran a build via "ant compile-all", the necessary
third-party-libs should be downloaded and you can then use
Eclipse or IntelliJ to load the project and start working
on things.

For Visio classes look at all the classes named XDGF...,
you probably need to look a bit at how the code is structured.
Tests for these classes should go into the src/ooxml/testcases
folder and naming is usually TestXSDGF... We use JUnit 4
with @Test annotations for newly created tests.

Finally you can check coverage of newly created tests either
in the IDE or by running "ant -Dcoverage.enabled=true test-ooxml
testcoveragereport" which will produce a coverage report under
build/coverage/index.html

I suggest you take a first look around, ask questions for
anything you stumble into and start work on a simple test. When
you have a first one we can take a look at it. If you use Git
then a fork on Github will work well or simply as files or
patches via email.

See http://poi.apache.org/subversion.html and
http://poi.apache.org/howtobuild.html for some more information
about the code and building it.

Unfortunately the documentation about XDGF is also lacking a
bit, I just noticed that http://poi.apache.org/overview.html
does not list it correctly and the sidebar links to
http://poi.apache.org/hdgf/index.html, which is the .vsd-format,
not .vsdx, I'll create another task for the documentation
side of Visio/XDGF.

Thanks... Dominik.


On Wed, Jun 26, 2019 at 9:08 AM Yinuo Li <yi...@icloud.com.invalid>
wrote:

> I would like to help out with the task listed at /task.html?4d64ce18
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@poi.apache.org
> For additional commands, e-mail: dev-help@poi.apache.org
>
>