Sign in
apache
/
groovy
/
4ce380cda5b437999726dfd041cb1b0781e91ec9
/
.
/
groovy
/
modules
/
classic
/
src
/
test
/
groovy
/
LocalPropertyTest.groovy
blob: 26d8d513a2f8b62b2d1c30f730d302fe4bbf727b [
file
] [
log
] [
blame
]
class
LocalPropertyTest
extends
GroovyTestCase
{
property
x
void
testNormalPropertyAccess
()
{
x
=
"abc"
assert
x
==
"abc"
assert
x
!=
"def"
}
void
testPropertyWithThis
()
{
this
.
x
=
"abc"
assert
this
.
x
==
"abc"
assert
this
.
x
!=
"def"
}
}