Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup projects for Java integration tests #129

Open
wants to merge 13 commits into
base: master
Choose a base branch
from

Conversation

dmitry-timofeev
Copy link
Contributor

@dmitry-timofeev dmitry-timofeev commented Sep 17, 2018

Overview

Setup the projects for Java integration tests.

Layout:

  • java-tests for Java ITs using the native library
  • java-testlib with implementations of native methods from ^
  • java-benchmarks using java-tests with JMH setup
  • jni — is the root for the library
  • example — is now included in the workspace to avoid jni rebuilds

Travis now builds and tests (on top of jni):

  • example
  • java-tests

Closes #130

Definition of Done

  • There are no TODOs left in the code
  • Change is covered by automated tests
  • The coding guidelines are followed
  • Public API has documentation
  • This change is not breaking or mentioned in the Changelog
  • Update the Contribution Guide
  • The continuous integration build passes

Filter ITs with tags so that no naming conventions are required
fixme: cargo test with features does not work
fixme: probably, convert to a child module so that dependency
on jni.it is properly satisfied.
* Use two spaces

* Follow naming conventions for groupId

* Remove some unused plugins from pluginManagement
So that users do not have to download Maven manually.
@REM ----------------------------------------------------------------------------

@REM Begin all REM lines with '@' in case MAVEN_BATCH_ECHO is 'on'
@echo off
Copy link
Contributor

@alexander-irbis alexander-irbis Sep 24, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps it's worth to move @echo off to the beginning of the file and remove all "@" before REM, setlocal, etc?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I actually have no idea what that means because this file is added as is by https://github.com/takari/maven-wrapper :-)

Do you think they must update anything?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ at the beginning of the line suppresses echo of the command in the line.
echo off - do the same for all following lines to not place @ in each line.
@echo off - typically the first line in almost all batch files since ancient DOS times.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

But if this is autogenerated file, it makes no sense to fix it...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Java integration tests support
3 participants