FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
node-java/test/javaObject-test.js at master · thdtjsdn/node-java · GitHub
thdtjsdn
/
node-java
Public
forked from
joeferner/node-java
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
node-java
/
test
/
javaObject-test.js
Copy path
More file actions
More file actions
Latest commit
History
History
History
19 lines (15 loc) · 441 Bytes
Breadcrumbs
node-java
/
test
/
javaObject-test.js
Copy path
File metadata and controls
19 lines (15 loc) · 441 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
var
java
=
require
(
"../testHelpers"
)
.
java
;
var
nodeunit
=
require
(
"nodeunit"
)
;
var
util
=
require
(
"util"
)
;
exports
[
'Java Object'
]
=
nodeunit
.
testCase
(
{
setUp
:
function
(
callback
)
{
this
.
testObj
=
java
.
newInstanceSync
(
"Test"
)
;
callback
(
)
;
}
,
"field"
:
function
(
test
)
{
test
.
equal
(
this
.
testObj
.
nonstaticInt
,
42
)
;
this
.
testObj
.
nonstaticInt
=
112
;
test
.
equal
(
this
.
testObj
.
nonstaticInt
,
112
)
;
test
.
done
(
)
;
}
}
)
;
Back
|
FazBrowse Home
|
New Git URL