Nick Wellnhofer created LUCY-253:
------------------------------------

             Summary: Rework core test macros
                 Key: LUCY-253
                 URL: https://issues.apache.org/jira/browse/LUCY-253
             Project: Lucy
          Issue Type: Improvement
          Components: Test
            Reporter: Nick Wellnhofer
            Priority: Minor


[As discussed on 
lucy-dev|http://mail-archives.apache.org/mod_mbox/lucy-dev/201302.mbox/%3C447C29D7-F985-4353-9191-F610F95C4A7D%40aevum.de%3E],
 we want to make some changes to the core test macros defined in 
{{core/Lucy/Test.cfh}}.

Rename some macros:

* {{TEST_TRUE => OK}}
* {{TEST_INT_EQ => INT_EQ}}
* {{TEST_FLOAT_EQ => FLOAT_EQ}}
* {{TEST_STR_EQ => STR_EQ}}

Introduce new macros to compare {{CharBufs}}:

* {{CB_EQ}}
* {{CB_EQ_STR}}

We should also store the current test batch in a global variable so we can do 
away with the first macro argument.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to