You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@lucy.apache.org by "Nick Wellnhofer (JIRA)" <ji...@apache.org> on 2016/02/06 16:07:39 UTC

[lucy-issues] [jira] [Moved] (CLOWNFISH-73) Rework core test macros

     [ https://issues.apache.org/jira/browse/CLOWNFISH-73?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Nick Wellnhofer moved LUCY-253 to CLOWNFISH-73:
-----------------------------------------------

    Component/s:     (was: Test)
                 Core
       Workflow: jira  (was: no-reopen-closed)
            Key: CLOWNFISH-73  (was: LUCY-253)
        Project: Apache Lucy-Clownfish  (was: Lucy)

> Rework core test macros
> -----------------------
>
>                 Key: CLOWNFISH-73
>                 URL: https://issues.apache.org/jira/browse/CLOWNFISH-73
>             Project: Apache Lucy-Clownfish
>          Issue Type: Improvement
>          Components: Core
>            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 was sent by Atlassian JIRA
(v6.3.4#6332)