aslsocial/src/test/java/org/gcube/applicationsupportlayer/social/AppTest.java

59 lines
1.3 KiB
Java

package org.gcube.applicationsupportlayer.social;
import org.gcube.application.framework.core.session.ASLSession;
import org.gcube.application.framework.core.session.SessionManager;
import org.gcube.applicationsupportlayer.social.mailing.EmailPlugin;
import org.gcube.portal.custom.scopemanager.scopehelper.ScopeHelper;
import org.gcube.portal.databook.shared.Notification;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* Unit test for simple App.
*/
public class AppTest
extends TestCase
{
/**
* Create the test case
*
* @param testName name of the test case
*/
public AppTest( String testName )
{
super( testName );
}
/**
* @return the suite of tests being tested
*/
public static Test suite()
{
return new TestSuite( AppTest.class );
}
/**
* the current ASLSession
* @return the session
*/
private ASLSession getTestSession() {
ASLSession toReturn = SessionManager.getInstance().getASLSession("11", "test.user");
toReturn.setScope("/gcube");
toReturn.setUserFullName("Pico Pallino");
toReturn.setUserEmailAddress("test@test123.com");
toReturn.setGroupModelInfos("TheGroup", 123L);
return toReturn;
}
/**
*
*/
public void testApp() {
assertTrue( true );
}
}