[jira] [Commented] (HBASE-11317) Expand unit testing to cover Mockito and MRUnit and give more examples

2014-07-10 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-11317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14057375#comment-14057375
 ] 

Hudson commented on HBASE-11317:


SUCCESS: Integrated in HBase-TRUNK #5283 (See 
[https://builds.apache.org/job/HBase-TRUNK/5283/])
HBASE-11317 [docs] Expand unit testing to cover Mockito and MRUnit and give 
more examples (Misty Stanley-Jones) (jmhsieh: rev 
21d37b3a591011ecda481de4f284d61041ed3a58)
* src/main/docbkx/developer.xml


 Expand unit testing to cover Mockito and MRUnit and give more examples
 --

 Key: HBASE-11317
 URL: https://issues.apache.org/jira/browse/HBASE-11317
 Project: HBase
  Issue Type: Task
  Components: documentation
Reporter: Mike Drob
Assignee: Misty Stanley-Jones
Priority: Trivial
 Fix For: 0.99.0, 2.0.0

 Attachments: HBASE-11317.patch


 The section at http://hbase.apache.org/book.html#mockito only has a {{TODO}} 
 where examples should go.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HBASE-11317) Expand unit testing to cover Mockito and MRUnit and give more examples

2014-07-10 Thread Hudson (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-11317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14057421#comment-14057421
 ] 

Hudson commented on HBASE-11317:


FAILURE: Integrated in HBase-1.0 #23 (See 
[https://builds.apache.org/job/HBase-1.0/23/])
HBASE-11317 [docs] Expand unit testing to cover Mockito and MRUnit and give 
more examples (Misty Stanley-Jones) (jmhsieh: rev 
3933b85d9462ea256eb2aa46078bb972ac331fdc)
* src/main/docbkx/developer.xml


 Expand unit testing to cover Mockito and MRUnit and give more examples
 --

 Key: HBASE-11317
 URL: https://issues.apache.org/jira/browse/HBASE-11317
 Project: HBase
  Issue Type: Task
  Components: documentation
Reporter: Mike Drob
Assignee: Misty Stanley-Jones
Priority: Trivial
 Fix For: 0.99.0, 2.0.0

 Attachments: HBASE-11317.patch


 The section at http://hbase.apache.org/book.html#mockito only has a {{TODO}} 
 where examples should go.



--
This message was sent by Atlassian JIRA
(v6.2#6252)


[jira] [Commented] (HBASE-11317) Expand unit testing to cover Mockito and MRUnit and give more examples

2014-07-07 Thread Hadoop QA (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-11317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14053388#comment-14053388
 ] 

Hadoop QA commented on HBASE-11317:
---

{color:red}-1 overall{color}.  Here are the results of testing the latest 
attachment 
  http://issues.apache.org/jira/secure/attachment/12654267/HBASE-11317.patch
  against trunk revision .
  ATTACHMENT ID: 12654267

{color:green}+1 @author{color}.  The patch does not contain any @author 
tags.

{color:green}+0 tests included{color}.  The patch appears to be a 
documentation patch that doesn't require tests.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javac{color}.  The applied patch does not increase the 
total number of javac compiler warnings.

{color:green}+1 javadoc{color}.  The javadoc tool did not generate any 
warning messages.

{color:red}-1 findbugs{color}.  The patch appears to introduce 4 new 
Findbugs (version 1.3.9) warnings.

{color:green}+1 release audit{color}.  The applied patch does not increase 
the total number of release audit warnings.

{color:red}-1 lineLengths{color}.  The patch introduces the following lines 
longer than 100:
+
xlink:href=http://blog.cloudera.com/blog/2013/09/how-to-test-hbase-applications-using-popular-tools/;http://blog.cloudera.com/blog/2013/09/how-to-test-hbase-applications-using-popular-tools//link.
+The following sections discuss JUnit, Mockito, MRUnit, and 
HBaseTestingUtility. /para
+  assertEquals(obj.getData1(), Bytes.toString(put.get(Bytes.toBytes(CF), 
Bytes.toBytes(CQ-1)).get(0).getValue()));
+  assertEquals(obj.getData2(), Bytes.toString(put.get(Bytes.toBytes(CF), 
Bytes.toBytes(CQ-2)).get(0).getValue()));/userinput
+
xlink:href=https://github.com/junit-team/junit/wiki/Getting-started;https://github.com/junit-team/junit/wiki/Getting-started/link.
+
xlink:href=https://code.google.com/p/mockito/;https://code.google.com/p/mockito//link./para
+
assertEquals(Bytes.toString(put.get(Bytes.toBytes(CF),Bytes.toBytes(CQ-1)).get(0).getValue()),
 DATA-1);
+
assertEquals(Bytes.toString(put.get(Bytes.toBytes(CF),Bytes.toBytes(CQ-2)).get(0).getValue()),
 DATA-2);
+paraThis code populates codeHBaseTestObj/code with 
“ROWKEY-1”, “DATA-1”,
+“DATA-2” as values. It then inserts the record into 
the mocked table. The Put

  {color:green}+1 site{color}.  The mvn site goal succeeds with this patch.

 {color:red}-1 core tests{color}.  The patch failed these unit tests:
 

 {color:red}-1 core zombie tests{color}.  There are 1 zombie test(s):   
at 
org.apache.hadoop.hbase.mapreduce.TestImportTSVWithVisibilityLabels.testMROnTable(TestImportTSVWithVisibilityLabels.java:162)

Test results: 
https://builds.apache.org/job/PreCommit-HBASE-Build/9977//testReport/
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/9977//artifact/patchprocess/newPatchFindbugsWarningshbase-examples.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/9977//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop-compat.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/9977//artifact/patchprocess/newPatchFindbugsWarningshbase-prefix-tree.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/9977//artifact/patchprocess/newPatchFindbugsWarningshbase-thrift.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/9977//artifact/patchprocess/newPatchFindbugsWarningshbase-server.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/9977//artifact/patchprocess/newPatchFindbugsWarningshbase-client.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/9977//artifact/patchprocess/newPatchFindbugsWarningshbase-hadoop2-compat.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/9977//artifact/patchprocess/newPatchFindbugsWarningshbase-common.html
Findbugs warnings: 
https://builds.apache.org/job/PreCommit-HBASE-Build/9977//artifact/patchprocess/newPatchFindbugsWarningshbase-protocol.html
Console output: 
https://builds.apache.org/job/PreCommit-HBASE-Build/9977//console

This message is automatically generated.

 Expand unit testing to cover Mockito and MRUnit and give more examples
 --

 Key: HBASE-11317
 URL: https://issues.apache.org/jira/browse/HBASE-11317
 Project: HBase
  Issue Type: Task
  Components: documentation
Reporter: Mike Drob
Assignee: Misty Stanley-Jones
Priority: Trivial
 Attachments: HBASE-11317.patch


 The section at 

[jira] [Commented] (HBASE-11317) Expand unit testing to cover Mockito and MRUnit and give more examples

2014-07-07 Thread Mike Drob (JIRA)

[ 
https://issues.apache.org/jira/browse/HBASE-11317?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14053654#comment-14053654
 ] 

Mike Drob commented on HBASE-11317:
---

Very helpful, thanks!

 Expand unit testing to cover Mockito and MRUnit and give more examples
 --

 Key: HBASE-11317
 URL: https://issues.apache.org/jira/browse/HBASE-11317
 Project: HBase
  Issue Type: Task
  Components: documentation
Reporter: Mike Drob
Assignee: Misty Stanley-Jones
Priority: Trivial
 Attachments: HBASE-11317.patch


 The section at http://hbase.apache.org/book.html#mockito only has a {{TODO}} 
 where examples should go.



--
This message was sent by Atlassian JIRA
(v6.2#6252)