You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by mp...@apache.org on 2011/07/16 00:12:19 UTC

svn commit: r1147333 - /incubator/rave/trunk/rave-portal/src/test/java/org/apache/rave/portal/service/NewAccountServiceTest.java

Author: mpierce
Date: Fri Jul 15 22:12:19 2011
New Revision: 1147333

URL: http://svn.apache.org/viewvc?rev=1147333&view=rev
Log:
(RAVE-89) adding newaccountservice test

Added:
    incubator/rave/trunk/rave-portal/src/test/java/org/apache/rave/portal/service/NewAccountServiceTest.java

Added: incubator/rave/trunk/rave-portal/src/test/java/org/apache/rave/portal/service/NewAccountServiceTest.java
URL: http://svn.apache.org/viewvc/incubator/rave/trunk/rave-portal/src/test/java/org/apache/rave/portal/service/NewAccountServiceTest.java?rev=1147333&view=auto
==============================================================================
--- incubator/rave/trunk/rave-portal/src/test/java/org/apache/rave/portal/service/NewAccountServiceTest.java (added)
+++ incubator/rave/trunk/rave-portal/src/test/java/org/apache/rave/portal/service/NewAccountServiceTest.java Fri Jul 15 22:12:19 2011
@@ -0,0 +1,41 @@
+/*
+ * 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.rave.portal.service;
+
+import org.junit.After;
+import org.junit.Before;
+import org.junit.Test;
+
+import org.apache.rave.portal.model.User;
+import org.apache.rave.portal.service.impl.DefaultNewAccountService;
+
+public class NewAccountServiceTest {
+
+	 @Test
+	 public void createNewAccountTest(){
+		  //TODO implement test
+	 }
+
+	 @Test
+	 public void failedAccountCreationTest() {
+		  //TODO implement test to check failure conditions such as using already
+		  //used user name.
+	 }
+}
\ No newline at end of file