Skip to content
Snippets Groups Projects
Commit 8e442235 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

test classes moved to proper package

parent adecf553
No related branches found
No related tags found
2 merge requests!836Resolve "Implement Spring Security",!613WIP: New Minerva Security Layer
Pipeline #11442 failed
......@@ -7,12 +7,14 @@ import org.junit.runners.Suite.SuiteClasses;
import lcsb.mapviewer.model.cache.AllCacheTests;
import lcsb.mapviewer.model.graphics.AllGraphicsTests;
import lcsb.mapviewer.model.map.AllMapTests;
import lcsb.mapviewer.model.security.AllSecurityTests;
import lcsb.mapviewer.model.user.AllUserTests;
@RunWith(Suite.class)
@SuiteClasses({ AllCacheTests.class,
AllGraphicsTests.class,
AllMapTests.class,
AllSecurityTests.class,
AllUserTests.class,
ProjectStatusTest.class,
ProjectTest.class,
......
package lcsb.mapviewer.model.security;
import org.junit.runner.RunWith;
import org.junit.runners.Suite;
import org.junit.runners.Suite.SuiteClasses;
@RunWith(Suite.class)
@SuiteClasses({ PrivilegeTest.class, PrivilegeTypeTest.class })
public class AllSecurityTests {
}
package lcsb.mapviewer.model.user;
package lcsb.mapviewer.model.security;
import lcsb.mapviewer.model.security.Privilege;
import lcsb.mapviewer.model.security.PrivilegeType;
......@@ -8,7 +8,7 @@ import org.junit.After;
import org.junit.Before;
import org.junit.Test;
public class BasicPrivilegeTest {
public class PrivilegeTest {
@Before
public void setUp() throws Exception {
......
package lcsb.mapviewer.model.user;
package lcsb.mapviewer.model.security;
import static org.junit.Assert.assertNotNull;
......
......@@ -8,11 +8,9 @@ import lcsb.mapviewer.model.user.annotator.AllAnnotatorTests;
@RunWith(Suite.class)
@SuiteClasses({ AllAnnotatorTests.class,
BasicPrivilegeTest.class,
ConfigurationElementTypeTest.class,
ConfigurationElementEditTypeTest.class,
ConfigurationTest.class,
PrivilegeTypeTest.class,
UserAnnotationSchemaTest.class,
UserClassAnnotatorsTest.class,
UserClassRequiredAnnotationsTest.class,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment