Sign in
apache
/
groovy
/
refs/tags/GROOVY_1_0
/
.
/
groovy-core
/
src
/
test
/
groovy
/
LocalPropertyTest.groovy
blob: 0cb87cb407ad603a8885cb52e29c91b2caf384b1 [
file
] [
log
] [
blame
]
class
LocalPropertyTest
extends
GroovyTestCase
{
def
x
void
testNormalPropertyAccess
()
{
x
=
"abc"
assert
x
==
"abc"
assert
x
!=
"def"
}
void
testPropertyWithThis
()
{
this
.
x
=
"abc"
assert
this
.
x
==
"abc"
assert
this
.
x
!=
"def"
}
}