Changes between Version 1 and Version 2 of ConvertTestsToParrot

Show
Ignore:
Timestamp:
12/03/08 21:06:13 (11 years ago)
Author:
coke
Comment:

update wiki formatting to avoid ST syntax.

Legend:

Unmodified
Added
Removed
Modified
  • ConvertTestsToParrot

    v1 v2  
    8080Here is a brief list of some potential stumbling blocks and ways around them: 
    8181 
    82 * There are a number of tests which confirm proper error reporting. This can be done in PIR in two ways. The simplest method is to create an exception handler and check the exception message. 
     82 * There are a number of tests which confirm proper error reporting. This can be done in PIR in two ways. The simplest method is to create an exception handler and check the exception message. 
    8383 
    8484{{{ 
     
    9292}}} 
    9393 
    94 > becomes... 
    95  
     94becomes... 
    9695 
    9796{{{ 
     
    111110}}} 
    112111 
    113 > Alternatively, you can create a EventHandler PMC and check for the appropriate error type. See t/pmc/ro.t for an example. This method may be preferable 
     112Alternatively, you can create a EventHandler PMC and check for the appropriate error type. See t/pmc/ro.t for an example. This method may be preferable 
    114113 
    115  
    116 * Some tests create new classes and add methods to those namespaces. In a consolidated file you will need to make sure the new class names don't collide (you'll probably find a number of Foo and Bar classes), and you will need to make sure you return to the root namespace after the test completes. 
     114 * Some tests create new classes and add methods to those namespaces. In a consolidated file you will need to make sure the new class names don't collide (you'll probably find a number of Foo and Bar classes), and you will need to make sure you return to the root namespace after the test completes. 
    117115 
    118116{{{ 
     
    120118}}} 
    121119 
    122 * Many tests are skipped based on the operating system. You can test for this in PIR with the following: 
     120 * Many tests are skipped based on the operating system. You can test for this in PIR with the following: 
    123121 
    124122{{{