Examples of ENCourseNode


Examples of org.olat.course.nodes.ENCourseNode

public class ENCourseNodeConfiguration implements CourseNodeConfiguration, OLATExtension {

  private static final String PACKAGE = Util.getPackageName(CourseNodeConfiguration.class);

  public CourseNode getInstance() {
    return new ENCourseNode();
  }
View Full Code Here

Examples of org.olat.course.nodes.ENCourseNode

   * Cancel enrollment. Check size after each step.
   */
  public void testEnroll() throws Exception {
    System.out.println("testEnroll: start...");
    EnrollmentManager enrollmentManager = EnrollmentManager.getInstance();
    ENCourseNode enNode = new ENCourseNode();
    OLATResourceable ores = OresHelper.createOLATResourceableTypeWithoutCheck("TestCourse");
    CourseEnvironment cenv = CourseFactory.createEmptyCourse(ores, "Test", "Test", "learningObjectives").getCourseEnvironment();
    // 1. enroll wg1 user
    IdentityEnvironment ienv = new IdentityEnvironment();
    ienv.setIdentity(wg1);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.