accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ed Coleman (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-1910) Add source to jar files used for testing
Date Tue, 26 Nov 2013 03:05:36 GMT

    [ https://issues.apache.org/jira/browse/ACCUMULO-1910?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13832239#comment-13832239
] 

Ed Coleman commented on ACCUMULO-1910:
--------------------------------------

The source for ./start/src/test/resources/ClassLoaderTestA/Test.jar (and B, C) is below. 
I have a question about packaging.  Because this is a classloader test, was this created as
a separate project so that it would not be in the accumulo namespace and is that how it went
missing?  

TestCombinerX,Y are different, I need to check the others, but how do you want these to be
packaged?  (Stand-alone maven module, or maybe not as a source / class file but just added
as a readme?)

+++++++++

package test;

public class TestObject implements Test {
  
  private int count = 0;

  public String hello() {
    return "Hello from testA";
  }

  public int add() {
    return ++count;
  }
}


> Add source to jar files used for testing
> ----------------------------------------
>
>                 Key: ACCUMULO-1910
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-1910
>             Project: Accumulo
>          Issue Type: Task
>          Components: test
>    Affects Versions: 1.4.4, 1.5.0
>            Reporter: Josh Elser
>              Labels: newbie
>             Fix For: 1.4.5, 1.5.1, 1.6.0
>
>
> Some of the jars we include for testing purposes have the source included. Some do not.
> It would be nice to make sure that we included the source for all of these jars, not
just the class files.
> Jars in 1.4 with no source
> * ./src/start/src/test/resources/ClassLoaderTestA/Test.jar
> * ./src/start/src/test/resources/ClassLoaderTestB/Test.jar
> * ./src/start/src/test/resources/ClassLoaderTestC/Test.jar
> * ./src/start/target/test-classes/ClassLoaderTestA/Test.jar
> * ./src/start/target/test-classes/ClassLoaderTestB/Test.jar
> * ./src/start/target/test-classes/ClassLoaderTestC/Test.jar
> * ./test/system/auto/TestCombinerX.jar
> * ./test/system/auto/TestCombinerY.jar
> Jars in 1.5 and 1.6 with no source:
> * ./start/src/test/resources/ClassLoaderTestA/Test.jar
> * ./start/src/test/resources/ClassLoaderTestB/Test.jar
> * ./start/src/test/resources/ClassLoaderTestC/Test.jar
> * ./start/src/test/resources/HelloWorld2.jar
> * ./test/src/test/resources/FooConstraint.jar
> * ./test/system/auto/TestCombinerX.jar
> * ./test/system/auto/TestCombinerY.jar



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message