Package org.jamesii.core.data.runtime

Examples of org.jamesii.core.data.runtime.SystemInformation


    Serializable expid = getDataStorage().setExperimentID(uid);
    long mid = 987987;
    String version = "AlphaBetaGamma123";
    JavaInfo ji1 = new JavaInfo();
    getDataStorage().writeExperimentSystemInformation(uid, mid, version, ji1);
    SystemInformation si =
        getDataStorage().getExperimentSystemInformation(expid);
    // go through the attributes of the SystemInformation items:
    assertEquals(mid, si.getMachineId());
    assertEquals(version, si.getJamesVersion());
    JavaInfo ji2 = si.getJavaInfo();
    assertEquals(ji1.getName(), ji2.getName());
    assertEquals(ji1.getVersion(), ji2.getVersion());
    assertEquals(ji1.getVendor(), ji2.getVendor());
    assertEquals(ji1.getInstDir(), ji2.getInstDir());
    assertEquals(ji1.getClassFormatVersion(), ji2.getClassFormatVersion());
View Full Code Here

TOP

Related Classes of org.jamesii.core.data.runtime.SystemInformation

Copyright © 2018 www.massapicom. 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.