mil.dod.th.ose.gui.webapp/test/mil/dod/th/ose/gui/webapp/advanced/TestBundleMgrImpl.java
private BundleInfoType createBundleInfo(int bundleState)
    {
        BundleInfoType bundleInfo = BundleInfoType.newBuilder().
                setBundleDescription("Descrip").setBundleName("SomeBundle").setBundleId(Long.valueOf(5)).
                setBundleLocation("Location").setBundleSymbolicName("SymbolicName").setBundleVendor("SomeVendor").
                setBundleVersion("1.0.1").setBundleLastModified(Long.valueOf(10)).setBundleState(bundleState).
                addPackageExport("").addPackageImport("").build();
        
        return bundleInfo;
    }
/**
     * Method used in testing to create a bundle info response message that can be used to create a bundle model.
     */
Method used in testing to create a bundle info response message that can be used to create a bundle model.
Method used in testing to create a bundle info response message that can be used to create a bundle model .
private BundleInfoType createBundleInfo(int bundleState)
    {
        BundleInfoType bundleInfo = BundleInfoType.newBuilder().
                setBundleDescription("Descrip").setBundleName("SomeBundle").setBundleId(Long.valueOf(5)).
                setBundleLocation("Location").setBundleSymbolicName("SymbolicName").setBundleVendor("SomeVendor").
                setBundleVersion("1.0.1").setBundleLastModified(Long.valueOf(10)).setBundleState(bundleState).
                addPackageExport("").addPackageImport("").build();
        return bundleInfo;
    }
private BundleInfoType createBundleInfo ( int bundleState ) { BundleInfoType bundleInfo = BundleInfoType . newBuilder ( ) . setBundleDescription ( "Descrip" ) . setBundleName ( "SomeBundle" ) . setBundleId ( Long . valueOf ( 5 ) ) . setBundleLocation ( "Location" ) . setBundleSymbolicName ( "SymbolicName" ) . setBundleVendor ( "SomeVendor" ) . setBundleVersion ( "1.0.1" ) . setBundleLastModified ( Long . valueOf ( 10 ) ) . setBundleState ( bundleState ) . addPackageExport ( "" ) . addPackageImport ( "" ) . build ( ) ; return bundleInfo ; }
Method used in testing to create a bundle info response message that can be used to create a bundle model.
Method used in testing to create a bundle info response message that can be used to create a bundle model .