Unit Tests

- While fixing bug.360.t, discovered a bigger problem, which is not yet
  fixed.  When a due date is removed from a recurring child task, the
  imask, parent and recur attributes should also be removed.  Similarly
  when a recur frequency is removed from a recurring child task, the
  imask and parent should also be removed.
- Net result: two new failing tests.
This commit is contained in:
Paul Beckingham
2011-09-12 22:57:32 -04:00
parent 02047a6e99
commit d1e52c05d6
3 changed files with 28 additions and 31 deletions

View File

@@ -1795,7 +1795,6 @@ bool A3::extract_attr (
{
Nibbler n (input);
// Ensure a clean parse.
name = "";
value = "";
@@ -1803,8 +1802,6 @@ bool A3::extract_attr (
{
if (n.skip (':'))
{
// Both quoted and unquoted Att's are accepted.
// Consider removing this for a stricter parse.
if (n.getQuoted ('"', value) ||
n.getQuoted ('\'', value) ||
n.getUntilEOS (value))
@@ -1828,7 +1825,6 @@ bool A3::extract_attmod (
{
Nibbler n (input);
// Ensure a clean parse.
name = "";
value = "";
modifier = "";
@@ -1847,8 +1843,6 @@ bool A3::extract_attmod (
if (n.skip (':') ||
n.skip ('='))
{
// Both quoted and unquoted Att's are accepted.
// Consider removing this for a stricter parse.
if (n.getQuoted ('"', value) ||
n.getQuoted ('\'', value) ||
n.getUntilEOS (value))