incubator-deft-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmee...@apache.org
Subject svn commit: r1154336 [2/2] - in /incubator/deft/sandbox: ./ src/main/java/org/apache/deft/annotation/ src/main/java/org/apache/deft/example/client/ src/main/java/org/apache/deft/example/handler/ src/main/java/org/apache/deft/example/keyvalue/ src/main/...
Date Fri, 05 Aug 2011 18:24:48 GMT
Added: incubator/deft/sandbox/src/test/java/org/apache/deft/web/http/protocol/HttpVerbTest.java
URL: http://svn.apache.org/viewvc/incubator/deft/sandbox/src/test/java/org/apache/deft/web/http/protocol/HttpVerbTest.java?rev=1154336&view=auto
==============================================================================
--- incubator/deft/sandbox/src/test/java/org/apache/deft/web/http/protocol/HttpVerbTest.java
(added)
+++ incubator/deft/sandbox/src/test/java/org/apache/deft/web/http/protocol/HttpVerbTest.java
Fri Aug  5 18:24:46 2011
@@ -0,0 +1,36 @@
+/*
+ *  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.deft.web.http.protocol;
+
+import static org.junit.Assert.assertEquals;
+
+import org.junit.Test;
+
+/**
+ * Test cases for {@link HttpVerb}.
+ */
+public class HttpVerbTest {
+
+    @Test
+    public void testHttpVerb() {
+
+        assertEquals(8, HttpVerb.values().length);
+    }
+}

Propchange: incubator/deft/sandbox/src/test/java/org/apache/deft/web/http/protocol/HttpVerbTest.java
------------------------------------------------------------------------------
    svn:eol-style = native



Mime
View raw message