Commit a4c7442
committed
Keep only tests that change state across the fix
The raw Map and non-domain cases passed before this change and after it, so
they documented behaviour rather than protecting it, and are dropped.
What is added instead all fails without the fix, each for a distinct reason:
- a property declared Collection rather than List or Set, so the branch is
reached through a third declared type,
- elements arriving as a DataBindingSource rather than a Map, which is the
other item shape that branch instantiates,
- deny-by-default enabled with the property allowlisted, which shows the loss
is not gated by the opt-in: the element is an empty Object there too, and
the property binds, so the failure is the data being destroyed rather than
the binding being denied.1 parent 1829d42 commit a4c7442
1 file changed
Lines changed: 44 additions & 8 deletions
File tree
- grails-test-suite-persistence/src/test/groovy/grails/web/databinding
Lines changed: 44 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| 31 | + | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
| |||
1982 | 1983 | | |
1983 | 1984 | | |
1984 | 1985 | | |
1985 | | - | |
| 1986 | + | |
1986 | 1987 | | |
1987 | 1988 | | |
1988 | 1989 | | |
1989 | 1990 | | |
1990 | 1991 | | |
1991 | | - | |
| 1992 | + | |
1992 | 1993 | | |
1993 | 1994 | | |
1994 | 1995 | | |
1995 | | - | |
1996 | | - | |
| 1996 | + | |
| 1997 | + | |
1997 | 1998 | | |
1998 | 1999 | | |
1999 | | - | |
| 2000 | + | |
| 2001 | + | |
| 2002 | + | |
| 2003 | + | |
| 2004 | + | |
| 2005 | + | |
| 2006 | + | |
| 2007 | + | |
| 2008 | + | |
| 2009 | + | |
| 2010 | + | |
| 2011 | + | |
| 2012 | + | |
2000 | 2013 | | |
2001 | 2014 | | |
2002 | 2015 | | |
2003 | 2016 | | |
2004 | 2017 | | |
2005 | | - | |
| 2018 | + | |
2006 | 2019 | | |
2007 | 2020 | | |
2008 | 2021 | | |
2009 | | - | |
2010 | | - | |
| 2022 | + | |
| 2023 | + | |
| 2024 | + | |
| 2025 | + | |
| 2026 | + | |
| 2027 | + | |
| 2028 | + | |
| 2029 | + | |
| 2030 | + | |
| 2031 | + | |
| 2032 | + | |
| 2033 | + | |
| 2034 | + | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
| 2038 | + | |
| 2039 | + | |
| 2040 | + | |
| 2041 | + | |
| 2042 | + | |
| 2043 | + | |
| 2044 | + | |
| 2045 | + | |
2011 | 2046 | | |
2012 | 2047 | | |
2013 | 2048 | | |
| |||
2017 | 2052 | | |
2018 | 2053 | | |
2019 | 2054 | | |
| 2055 | + | |
2020 | 2056 | | |
2021 | 2057 | | |
2022 | 2058 | | |
| |||
0 commit comments