This repository was archived by the owner on Nov 25, 2022. It is now read-only.
Commit a115c79
committed
Add data binding test
This test is testing that auto timestamp properties are by default
excluded from mass property binding. We have unit tests in grails-core
for this and those tests work on classes that are explicitly marked
with @entity in the source code. This test is covering a problem that
relates to indetifying a domain class as being a domain class if it is
used as a command object. Testing this in a real app (like this one)
covers that problem.1 parent 4dbc3b2 commit a115c79
File tree
2 files changed
+20
-0
lines changed- app1
- grails-app/domain/functionaltests
- src/test/groovy/functionaltests
2 files changed
+20
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| 6 | + | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
15 | 33 | | |
0 commit comments