Please send questions to st10@humboldt.edu .
****************
SEE GORY DETAILS - DONE
****************
last modified: 12-12-11

The user should have the option to see their compiler error messages.

STATUS: DONE
FIRST PASSED: 12-08-11
acceptance tests last attempted: 12-12-11
acceptance tests last passed:    12-12-11

------------------
acceptance test 1
------------------
if a function has an error, can you see the compiler's error messages?

(if necessary, exit theGui.pyw via the Python menu)

1. Go to 
      /Users/smtuttle/480xp-tests/bad-functs
   ...open circ_area.cpp there, and remove a semicolon from one
      of the statements in its body

2. run:
   python3 theGui.pyw

3. Click "Change directory" and navigate to the following
   directory:
   /Users/smtuttle/480xp-tests/bad-functs
   ...and click "Choose".

   (This directory has a circ_area that is missing a ; after its
   return statement.)

4. highlight circ_area (don't click its checkbox), and click Edit
   (Should see filled-in recipe steps for function.)

5. click "Detailed error messages" checkbox.

6. Click "Compile, Test, and Save" --
   should see pop-up dialog with g++ compiler error message indicating
   the missing ; after the return statement

7. Fix the semi-colon, and change one of the instances of radius
   in the body to rdius

8. Click "Compile, Test, and Save" --
   should see pop-up dialog with g++ compiler error message indicating
   the name that doesn't have a value in this scope

9. Change rdius to radius, and 
   change the squaring-radius logic to:
   radius ** 2

10. Click "Compile, Test, and Save" --
   should see pop-up dialog with g++ compiler error message indicating
   a bad usage of unary *

11. put the squaring logic back to radius * radius, and
    leave the parameter type out of circ_area's header;

12. Click "Compile, Test, and Save" --
   should see pop-up dialog with g++ compiler error message indicating
   the bad header? (get multiple error messages here)

13. put the parameter type of double for radius back in circ_area's
    header;

14. Click "Compile, Test, and Save" --
    now it should compile, and tests should pass;

LAST TESTED: 12-12-11
LAST PASSED: 12-12-11

------------------
acceptance test 2
------------------
if a function has an error in its .h file, can you see the compiler's 
error messages? 

(if necessary, exit theGui.pyw via the Python menu)

1. Go to 
      /Users/smtuttle/480xp-tests/bad-functs
   ...open circ_area.h there, and remove type double from PI's
      const declaration

2. run:
   python3 theGui.pyw

(if necessary:
3. Click "Change directory" and navigate to the following
   directory:
   /Users/smtuttle/480xp-tests/bad-functs
   ...and click "Choose".

   (This directory now has a circ_area.h that is missing a 
   type in PI's constant declaration)
)

4. highlight circ_area (don't click its checkbox), and click Edit
   (Should see filled-in recipe steps for function.)

5. click "Detailed error messages" checkbox

6. Click "Compile, Test, and Save";
   should see g++ compiler error messages indicating
   the missing type in PI's declaraton in circ_area.h

7. Add double to PI's declaration, and click "Compile, Test and Save"
   again -- it should now compile, and all its tests pass.

LAST TESTED: 12-12-11
LAST PASSED: 12-12-11

------------------
acceptance test 3
------------------
if an expression typed in Helper++ has a syntax error, can you
see the compiler's error messages?

(if necessary:
1. run:
   python3 theGui.pyw
)

2. in Helper++ window, click "Detailed error messages" checkbox

3. type in the bad-syntax expression:
   sqrt 2 + 3
   ...and click Execute

   Are compiler error messages shown?
   
LAST TESTED: 12-12-11
LAST PASSED: 12-12-11