Sign in
apache
/
groovy
/
0b4cb8487bd3da9b9af5d15d0c5bc311b618ad96
/
.
/
groovy
/
modules
/
classic
/
src
/
test
/
groovy
/
txn
/
TransactionTest.groovy
blob: af2a5af095121e7192131f6380b5479b1fcbe2b3 [
file
] [
log
] [
blame
]
package
groovy
.
txn
class
TransactionTest
extends
GroovyTestCase
{
void
testTxn
()
{
builder
=
new
TransactionBuilder
()
builder
.
transaction
{
run
{
println
(
"run code!"
)
}
onError
{
println
(
"on error!"
)
}
onSuccess
{
println
(
"on success!"
)
}
}
}
}