Git Product home page Git Product logo

pyplyn's Issues

plugin-api build failures

Executed mvn package

-------------------------------------------------------
 T E S T S
-------------------------------------------------------
objc[13860]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/bin/java (0x10b1e14c0) and /Library/Java/JavaVirtualMachines/jdk1.8.0_131.jdk/Contents/Home/jre/lib/libinstrument.dylib (0x10b2e14e0). One of the two will be used. Which one is undefined.
Running TestSuite
Configuring TestNG with: org.apache.maven.surefire.testng.conf.TestNG652Configurator@565f390
Tests run: 72, Failures: 7, Errors: 0, Skipped: 0, Time elapsed: 107.164 sec <<< FAILURE!
testFormatMillisWithDecimal(com.salesforce.pyplyn.util.FormatUtilsTest)  Time elapsed: 0.007 sec  <<< FAILURE!
java.lang.AssertionError:
Expected: "500.1ms"
     but: was "500,1ms"
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
	at com.salesforce.pyplyn.util.FormatUtilsTest.testFormatMillisWithDecimal(FormatUtilsTest.java:205)

testFormatNumber(com.salesforce.pyplyn.util.FormatUtilsTest)  Time elapsed: 0.003 sec  <<< FAILURE!
java.lang.AssertionError:
Expected: "1.2346"
     but: was "1,2346"
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
	at com.salesforce.pyplyn.util.FormatUtilsTest.testFormatNumber(FormatUtilsTest.java:180)

testFormatSeconds(com.salesforce.pyplyn.util.FormatUtilsTest)  Time elapsed: 0 sec  <<< FAILURE!
java.lang.AssertionError:
Expected: "1.5s"
     but: was "1,5s"
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
	at com.salesforce.pyplyn.util.FormatUtilsTest.testFormatSeconds(FormatUtilsTest.java:217)

testFormatSecondsDoubleDigits(com.salesforce.pyplyn.util.FormatUtilsTest)  Time elapsed: 0 sec  <<< FAILURE!
java.lang.AssertionError:
Expected: "12.35s"
     but: was "12,35s"
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
	at com.salesforce.pyplyn.util.FormatUtilsTest.testFormatSecondsDoubleDigits(FormatUtilsTest.java:229)

testFormattingNegativeNumbersDoesNotExceedSize(com.salesforce.pyplyn.util.FormatUtilsTest)  Time elapsed: 0.002 sec  <<< FAILURE!
java.lang.AssertionError:
Expected: "-9,2E"
     but: was "-9.2E"
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
	at com.salesforce.pyplyn.util.FormatUtilsTest.formatterAssertions(FormatUtilsTest.java:251)
	at java.util.HashMap$EntrySet.forEach(HashMap.java:1043)
	at com.salesforce.pyplyn.util.FormatUtilsTest.testFormattingNegativeNumbersDoesNotExceedSize(FormatUtilsTest.java:90)

testFormattingPositiveNumbersDoesNotExceedSize(com.salesforce.pyplyn.util.FormatUtilsTest)  Time elapsed: 0.001 sec  <<< FAILURE!
java.lang.AssertionError:
Expected: "1,2K"
     but: was "1.2K"
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
	at com.salesforce.pyplyn.util.FormatUtilsTest.formatterAssertions(FormatUtilsTest.java:251)
	at java.util.HashMap$EntrySet.forEach(HashMap.java:1043)
	at com.salesforce.pyplyn.util.FormatUtilsTest.testFormattingPositiveNumbersDoesNotExceedSize(FormatUtilsTest.java:57)

testParseNumber(com.salesforce.pyplyn.util.FormatUtilsTest)  Time elapsed: 0.004 sec  <<< FAILURE!
java.lang.AssertionError:
Expected: an instance of java.lang.Double
     but: <1L> is a java.lang.Long
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
	at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8)
	at com.salesforce.pyplyn.util.FormatUtilsTest.testParseNumber(FormatUtilsTest.java:167)


Results :

Failed tests:   testFormatMillisWithDecimal(com.salesforce.pyplyn.util.FormatUtilsTest): (..)
  testFormatNumber(com.salesforce.pyplyn.util.FormatUtilsTest): (..)
  testFormatSeconds(com.salesforce.pyplyn.util.FormatUtilsTest): (..)
  testFormatSecondsDoubleDigits(com.salesforce.pyplyn.util.FormatUtilsTest): (..)
  testFormattingNegativeNumbersDoesNotExceedSize(com.salesforce.pyplyn.util.FormatUtilsTest): (..)
  testFormattingPositiveNumbersDoesNotExceedSize(com.salesforce.pyplyn.util.FormatUtilsTest): (..)
  testParseNumber(com.salesforce.pyplyn.util.FormatUtilsTest): (..)

Tests run: 72, Failures: 7, Errors: 0, Skipped: 0

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] pyplyn ............................................. SUCCESS [ 43.005 s]
[INFO] plugin-api ......................................... FAILURE [02:11 min]
[INFO] argus-client ....................................... SKIPPED
[INFO] refocus-client ..................................... SKIPPED
[INFO] duct ............................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 02:54 min
[INFO] Finished at: 2017-05-16T16:03:14+02:00
[INFO] Final Memory: 33M/353M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.12.4:test (default-test) on project plugin-api: There are test failures.
[ERROR]
[ERROR] Please refer to /Users/Bartek/workspace/kamil/pyplyn/plugin-api/target/surefire-reports for the individual test results.
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :plugin-api

Comma instead of dots might be related to Polish locale set on my laptop. Other than that, I don't know how to troubleshoot these build failures. Any help would be appreciated.

jar file & releases

It would be cool if releases contained a pre-built jar file. The mvn package building step could've been omitted for non-dev or lazy (like me) users.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.