* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package user.tenantmanager;
+package org.opendaylight.nemo.user.tenantmanager;
import junit.framework.TestCase;
import org.junit.Assert;
public class AAATest extends TestCase {
private TenantManage tenantManage;
private AAA aaa;
+ @Override
@Before
public void setUp() throws Exception {
tenantManage = mock(TenantManage.class);
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package user.tenantmanager;
+package org.opendaylight.nemo.user.tenantmanager;
import junit.framework.TestCase;
import org.junit.Assert;
public class RegisterUserTest extends TestCase {
private TenantManage tenantManage;
private RegisterUser registerUser;
+ @Override
@Before
public void setUp() throws Exception {
tenantManage = mock(TenantManage.class);
Assert.assertTrue(registerUser.registerUser(input).equals("The role is not defined in the data store."));
verify(input).getUserRole();
Assert.assertTrue(!userRoles.containsKey(new UserRoleName("admin")));
-
+
users.put(userId,user);
when(input.getUserId())
.thenReturn(userId)
* terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
* and is available at http://www.eclipse.org/legal/epl-v10.html\r
*/\r
-package user.transactionmanager;\r
+package org.opendaylight.nemo.user.transactionmanager;\r
\r
import junit.framework.TestCase;\r
import org.junit.Assert;\r
private AAA aaa;\r
private BeginTransactionInput input;\r
private TransactionBegin transactionBegin;\r
+ @Override\r
@Before\r
public void setUp() throws Exception {\r
aaa = mock(AAA.class);\r
* terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
* and is available at http://www.eclipse.org/legal/epl-v10.html\r
*/\r
-package user.transactionmanager;\r
+package org.opendaylight.nemo.user.transactionmanager;\r
\r
import junit.framework.TestCase;\r
import org.junit.Assert;\r
private AAA aaa;\r
private EndTransactionInput input;\r
private TransactionEnd transactionEnd;\r
+ @Override\r
@Before\r
public void setUp() throws Exception {\r
aaa = mock(AAA.class);\r
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
*/
-package user.vnspacemanager.languagestyle;
+package org.opendaylight.nemo.user.vnspacemanager.languagestyle;
import org.opendaylight.nemo.user.vnspacemanager.languagestyle.LanguageIntent;
*/
/* Generated By:JavaCC: Do not edit this line. SimpleCharStream.java Version 5.0 */
/* JavaCCOptions:STATIC=true,SUPPORT_CLASS_VISIBILITY_PUBLIC=true */
-package user.vnspacemanager.languagestyle.NEMOParse;
+package org.opendaylight.nemo.user.vnspacemanager.languagestyle.NEMOParse;
import junit.framework.TestCase;
import org.junit.Assert;
private Reader reader_empty;
private Class<SimpleCharStream> class1 ;
private Field field;
+ @Override
@Before
public void setUp() throws Exception {
class1 = SimpleCharStream.class;
* terms of the Eclipse Public License v1.0 which accompanies this distribution,\r
* and is available at http://www.eclipse.org/legal/epl-v10.html\r
*/\r
-package org.opendaylight.nemo.renderer.openflow.phtysicalnetwork;\r
+package org.opendaylight.nemo.renderer.openflow.physicalnetwork;\r
\r
import junit.framework.TestCase;\r
import org.junit.Assert;\r
public class PhyConfigLoaderTest extends TestCase {\r
private PhyConfigLoader phyConfigLoader;\r
private DataBroker dataBroker;\r
+ @Override\r
@Before\r
public void setUp() throws Exception {\r
dataBroker = mock(DataBroker.class);\r