Skip to content

Commit

Permalink
Cleaning up ModuleActivatorTest and adding license header
Browse files Browse the repository at this point in the history
  • Loading branch information
dkayiwa committed Nov 12, 2013
1 parent 38b5c23 commit 6d6bd4b
Showing 1 changed file with 14 additions and 6 deletions.
20 changes: 14 additions & 6 deletions api/src/test/java/org/openmrs/module/ModuleActivatorTest.java
@@ -1,11 +1,23 @@
/**
* The contents of this file are subject to the OpenMRS Public License
* Version 1.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://license.openmrs.org
*
* Software distributed under the License is distributed on an "AS IS"
* basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
* License for the specific language governing rights and limitations
* under the License.
*
* Copyright (C) OpenMRS, LLC. All Rights Reserved.
*/
package org.openmrs.module;

import static org.junit.Assert.assertTrue;

import org.junit.Before;
import org.junit.Test;
import org.openmrs.test.BaseContextSensitiveTest;
import org.springframework.context.support.GenericApplicationContext;

public class ModuleActivatorTest extends BaseContextSensitiveTest {

Expand Down Expand Up @@ -166,8 +178,4 @@ public void init() {
moduleTestData.init(MODULE2_ID);
moduleTestData.init(MODULE3_ID);
}

private GenericApplicationContext getApplicationContext() {
return (GenericApplicationContext) applicationContext;
}
}
}

0 comments on commit 6d6bd4b

Please sign in to comment.