You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pig.apache.org by "Benjamin Francisoud (JIRA)" <ji...@apache.org> on 2008/02/13 17:59:09 UTC

[jira] Created: (PIG-107) Some test methods are not run because there is no @Test annotation

Some test methods are not run because there is no @Test annotation
------------------------------------------------------------------

                 Key: PIG-107
                 URL: https://issues.apache.org/jira/browse/PIG-107
             Project: Pig
          Issue Type: Test
    Affects Versions: 0.1.0
            Reporter: Benjamin Francisoud


I don't know if that's on purpose but in TestLogicalPlanBuilder.java, those methods don't have the @Test annotation and therefore are not run with latest junit (in my case in eclipse):
{code:java}
public void testQuery41() {}
public void testQuery42() {}
public void testQuery43() {}
public void testQuery44() {}    
public void testQueryFail44() throws Throwable {}
{code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (PIG-107) Some test methods are not run because there is no @Test annotation

Posted by "Olga Natkovich (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Olga Natkovich resolved PIG-107.
--------------------------------

    Resolution: Fixed

Patch committed. Thanks Benjamin!

> Some test methods are not run because there is no @Test annotation
> ------------------------------------------------------------------
>
>                 Key: PIG-107
>                 URL: https://issues.apache.org/jira/browse/PIG-107
>             Project: Pig
>          Issue Type: Test
>    Affects Versions: 0.1.0
>            Reporter: Benjamin Francisoud
>         Attachments: PIG-107-v01.patch
>
>
> I don't know if that's on purpose but in TestLogicalPlanBuilder.java, those methods don't have the @Test annotation and therefore are not run with latest junit (in my case in eclipse):
> {code:java}
> public void testQuery41() {}
> public void testQuery42() {}
> public void testQuery43() {}
> public void testQuery44() {}    
> public void testQueryFail44() throws Throwable {}
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (PIG-107) Some test methods are not run because there is no @Test annotation

Posted by "Benjamin Francisoud (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/PIG-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12571297#action_12571297 ] 

Benjamin Francisoud commented on PIG-107:
-----------------------------------------

Thanks to you too ;)

> Some test methods are not run because there is no @Test annotation
> ------------------------------------------------------------------
>
>                 Key: PIG-107
>                 URL: https://issues.apache.org/jira/browse/PIG-107
>             Project: Pig
>          Issue Type: Test
>    Affects Versions: 0.1.0
>            Reporter: Benjamin Francisoud
>         Attachments: PIG-107-v01.patch
>
>
> I don't know if that's on purpose but in TestLogicalPlanBuilder.java, those methods don't have the @Test annotation and therefore are not run with latest junit (in my case in eclipse):
> {code:java}
> public void testQuery41() {}
> public void testQuery42() {}
> public void testQuery43() {}
> public void testQuery44() {}    
> public void testQueryFail44() throws Throwable {}
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Updated: (PIG-107) Some test methods are not run because there is no @Test annotation

Posted by "Benjamin Francisoud (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/PIG-107?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Benjamin Francisoud updated PIG-107:
------------------------------------

    Attachment: PIG-107-v01.patch

Add the missing @Test
All tests are green under eclipse.

> Some test methods are not run because there is no @Test annotation
> ------------------------------------------------------------------
>
>                 Key: PIG-107
>                 URL: https://issues.apache.org/jira/browse/PIG-107
>             Project: Pig
>          Issue Type: Test
>    Affects Versions: 0.1.0
>            Reporter: Benjamin Francisoud
>         Attachments: PIG-107-v01.patch
>
>
> I don't know if that's on purpose but in TestLogicalPlanBuilder.java, those methods don't have the @Test annotation and therefore are not run with latest junit (in my case in eclipse):
> {code:java}
> public void testQuery41() {}
> public void testQuery42() {}
> public void testQuery43() {}
> public void testQuery44() {}    
> public void testQueryFail44() throws Throwable {}
> {code}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.