Sign in
apache
/
groovy
/
4ce380cda5b437999726dfd041cb1b0781e91ec9
/
.
/
groovy
/
modules
/
classic
/
src
/
test
/
groovy
/
bugs
/
PropertyBug.groovy
blob: c207dd59663688105a2178a1e2df884e2a2ad6b1 [
file
] [
log
] [
blame
]
import
javax
.
swing
.
JButton
import
javax
.
swing
.
JPanel
/**
* @version $Revision$
*/
class
PropertyBug
extends
GroovyTestCase
{
void
testBug
()
{
panel
=
new
JPanel
()
bean
=
new
JButton
()
panel
.
add
(
bean
)
value
=
bean
.
parent
assert
value
!=
null
}
}