Title: some erros on running the packaged tests · Issue #172 · joeferner/node-java · GitHub
Open Graph Title: some erros on running the packaged tests · Issue #172 · joeferner/node-java
X Title: some erros on running the packaged tests · Issue #172 · joeferner/node-java
Description: hi , I am using java 1.6 SDK, node 10.3.3. npm install java works well. Then I tried to run the packaged tests, There are two packaged test folders -- test and test8 Test8 contains lambda, so it will fail in my environment as I have SDK ...
Open Graph Description: hi , I am using java 1.6 SDK, node 10.3.3. npm install java works well. Then I tried to run the packaged tests, There are two packaged test folders -- test and test8 Test8 contains lambda, so it wi...
X Description: hi , I am using java 1.6 SDK, node 10.3.3. npm install java works well. Then I tried to run the packaged tests, There are two packaged test folders -- test and test8 Test8 contains lambda, so it wi...
Opengraph URL: https://github.com/joeferner/node-java/issues/172
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"some erros on running the packaged tests","articleBody":"hi , I am using java 1.6 SDK, node 10.3.3.\n npm install java works well.\nThen I tried to run the packaged tests, There are two packaged test folders -- test and test8\nTest8 contains lambda, so it will fail in my environment as I have SDK 1.6.\n I modify the package.json to invoke the test folder. (instead of test8 folder).\n\nThen I try the npm test, this fails with the following assertions:\n\njava-staticField-test\n✖ Java - Static Field - getStaticFieldValue int\nAssertionError: 200 == 42\n at Object.equal (/home/o/testJava/node_modules/java/node_modules/nodeunit/lib/types.js:83:39)\n\n✔ Java - Static Field - setStaticFieldValue int\n✖ Java - Static Field - getStaticFieldValue double\n\nAssertionError: 112 == 42.5\n at Object.equal (/home/o/testJava/node_modules/java/node_modules/nodeunit/lib/types.js:83:39)\n\njavaObject-test\n✖ Java Object - field\n\nTypeError: Cannot read property 'nonstaticInt' of undefined\n at Object.exports.Java Object.nodeunit.testCase.field (/home/o/testJava/node_modules/java/test/javaOb ject-test.js:14:28)\n at Object.\u003canonymous> (/home//testJava/node_modules/java/node_modules/nodeunit/lib/core.js:236:16)\n at Object.\u003canonymous> (/home/o/testJava/node_modules/java/node_modules/nodeunit/lib/core.js:236:16)\n at /home/ivyho/testJava/node_modules/java/node_modules/nodeunit/lib/core.js:236:16\n at Object.exports.runTest (/home/io/testJava/node_modules/java/node_modules/nodeunit/lib/core.js:70:9)\n at /home/o/testJava/node_modules/java/node_modules/nodeunit/lib/core.js:118:25\n at /home/o/testJava/node_modules/java/node_modules/nodeunit/deps/async.js:513:13\n at iterate (/home/o/testJava/node_modules/java/node_modules/nodeunit/deps/async.js:123:13)\n at async.forEachSeries (/home/io/testJava/node_modules/java/node_modules/nodeunit/deps/async.js:139:9)\n at _concat (/home/o/testJava/node_modules/java/node_modules/nodeunit/deps/async.js:512:9)\n\nutils-types-test\n✖ Utils - Types - Array of Objects\n\nAssertionError: [{\"nonstaticInt\":42},{\"nonstaticInt\":42},{\"nonstaticInt\":42}] == null\n at Object.equal (/home/o/testJava/node_modules/java/node_modules/nodeunit/lib/types.js:83:39)\n\n**\\* ERROR: Lost reference to the dynamic proxy. You must maintain a reference in javascript land using ref() and unref(). (0x1b95bf0) ***\n✔ Utils - Types - Static Method Overload\n✔ Utils - Types - Method Overload\n\nFAILURES: 6/369 assertions failed (1029ms)\nnpm ERR! Test failed. See above for more details.\nnpm ERR! not ok code 0\n\n Are these expected failures? Thank you in advance.\n","author":{"url":"https://github.com/smartmouse","@type":"Person","name":"smartmouse"},"datePublished":"2014-11-11T22:49:28Z","url":"https://github.com/joeferner/node-java/issues/172"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:42e1de55-cb7e-9829-938b-80dc4f925a19 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CDD6:266BB:26C7292:36036B9:6AFD473D |
| html-safe-nonce | 276d1aa7227980d2bc5ba0cbb244c5a701487b2c2e2fc55bad817e7d58beb67b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDREQ2OjI2NkJCOjI2QzcyOTI6MzYwMzZCOTo2QUZENDczRCIsInZpc2l0b3JfaWQiOiI4NTc3ODU3NDg1MDYxMDQ4MTI1IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a14978ec18f68087bf08cf76ce30fa7784257fd1d2538a0127e99c47540ba6c5 |
| hovercard-subject-tag | issue:48446389 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/joeferner/node-java/172/issue_layout |
| twitter:image | https://opengraph.githubassets.com/b4096f6416ce8798721a1732766c78811de64e3a00c9f092f6f13a32b750cf14/joeferner/node-java/issues/172 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/b4096f6416ce8798721a1732766c78811de64e3a00c9f092f6f13a32b750cf14/joeferner/node-java/issues/172 |
| og:image:alt | hi , I am using java 1.6 SDK, node 10.3.3. npm install java works well. Then I tried to run the packaged tests, There are two packaged test folders -- test and test8 Test8 contains lambda, so it wi... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | smartmouse |
| hostname | github.com |
| expected-hostname | github.com |
| None | bdbacc25b921224ff0befcb9e629560a1255be51aec9991d6e3f95b5e9151474 |
| turbo-cache-control | no-preview |
| go-import | github.com/joeferner/node-java git https://github.com/joeferner/node-java.git |
| octolytics-dimension-user_id | 808857 |
| octolytics-dimension-user_login | joeferner |
| octolytics-dimension-repository_id | 3228734 |
| octolytics-dimension-repository_nwo | joeferner/node-java |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 3228734 |
| octolytics-dimension-repository_network_root_nwo | joeferner/node-java |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 556dd37bb0aceffb25724e151b5d858b3265b40b |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width