nutch-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NUTCH-2092) Unit Test for NutchServer
Date Wed, 09 Sep 2015 05:10:47 GMT

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

ASF GitHub Bot commented on NUTCH-2092:
---------------------------------------

Github user lewismc commented on a diff in the pull request:

    https://github.com/apache/nutch/pull/54#discussion_r39007881
  
    --- Diff: src/test/org/apache/nutch/service/TestNutchServer.java ---
    @@ -0,0 +1,65 @@
    +/**
    + * Licensed to the Apache Software Foundation (ASF) under one or more
    + * contributor license agreements.  See the NOTICE file distributed with
    + * this work for additional information regarding copyright ownership.
    + * The ASF licenses this file to You under the Apache License, Version 2.0
    + * (the "License"); you may not use this file except in compliance with
    + * the License.  You may obtain a copy of the License at
    + *
    + *     http://www.apache.org/licenses/LICENSE-2.0
    + *
    + * Unless required by applicable law or agreed to in writing, software
    + * distributed under the License is distributed on an "AS IS" BASIS,
    + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    + * See the License for the specific language governing permissions and
    + * limitations under the License.
    + */
    +
    +package org.apache.nutch.service;
    +
    +import javax.ws.rs.core.Response;
    +
    +import org.apache.cxf.jaxrs.client.WebClient;
    +import org.junit.Assert;
    +import org.junit.Test;
    +import org.slf4j.Logger;
    +import org.slf4j.LoggerFactory;
    +
    +public class TestNutchServer {
    +
    --- End diff --
    
    Please adhere to formatting for Nutch code. The formatting is 2 space indents. This can
be seen within the remainder of the code and there is also an existing eclipse code formatter
if you would like to import and use that.


> Unit Test for NutchServer
> -------------------------
>
>                 Key: NUTCH-2092
>                 URL: https://issues.apache.org/jira/browse/NUTCH-2092
>             Project: Nutch
>          Issue Type: Sub-task
>          Components: REST_api
>            Reporter: Sujen Shah
>            Priority: Minor
>              Labels: memex
>             Fix For: 1.11
>
>
> A small test case to start the server and test the admin endpoint. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message