Sign in
apache
/
groovy
/
refs/tags/GROOVY_1_1_BETA_3
/
.
/
groovy-core
/
src
/
test
/
groovy
/
LocalPropertyTest.groovy
blob: 8e59bf811521fcc867b21de72c9c6222512829b7 [
file
] [
log
] [
blame
]
package
groovy
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"
}
}