Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
NetworkedGraphicsMV3500
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Savage
NetworkedGraphicsMV3500
Commits
95e480e5
Commit
95e480e5
authored
4 years ago
by
Brutzman, Don
Browse files
Options
Downloads
Patches
Plain Diff
accept Terry's changes
parent
66d6857e
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
test/edu/nps/moves/dis7/MarshalEnumsTest.java
+36
-36
36 additions, 36 deletions
test/edu/nps/moves/dis7/MarshalEnumsTest.java
with
36 additions
and
36 deletions
test/edu/nps/moves/dis7/MarshalEnumsTest.java
+
36
−
36
View file @
95e480e5
...
@@ -450,63 +450,63 @@ public class MarshalEnumsTest
...
@@ -450,63 +450,63 @@ public class MarshalEnumsTest
//System.out.println("Testing BitSets");
//System.out.println("Testing BitSets");
/* DisBitSets which were taken from the alphabetical list above where the spaces are */
/* DisBitSets which were taken from the alphabetical list above where the spaces are */
// Testing import of particular Bits class
// Testing import of particular Bits class
marshalOne
(
new
AirPlatformAppearance
(
AirPlatformAppearance
.
AFTERBURNER
_
ON
,
1
),
"17"
);
marshalOne
(
new
AirPlatformAppearance
(
AirPlatformAppearance
.
AFTERBURNERON
,
1
),
"17"
);
marshalOne
(
new
AirPlatformAppearance
().
set
(
AirPlatformAppearance
.
CANOPY
_
TROOP
_
DOOR
,
AppearanceCanopy
.
REAR_CANOPY_RIGHT_TROOP_DOOR_OPEN
.
getValue
()),
"9 3bitslen = 5"
);
marshalOne
(
new
AirPlatformAppearance
().
set
(
AirPlatformAppearance
.
CANOPYTROOPDOOR
,
AppearanceCanopy
.
REAR_CANOPY_RIGHT_TROOP_DOOR_OPEN
.
getValue
()),
"9 3bitslen = 5"
);
marshalOne
(
new
ArealObjectAppearanceMinefield
().
set
(
ArealObjectAppearanceMinefield
.
BREACH
_
STATE
,
1
),
""
);
marshalOne
(
new
ArealObjectAppearanceMinefield
().
set
(
ArealObjectAppearanceMinefield
.
BREACHSTATE
,
1
),
""
);
marshalOne
(
new
CulturalFeatureAppearance
().
set
(
CulturalFeatureAppearance
.
DAMAGE
,
1
),
""
);
marshalOne
(
new
CulturalFeatureAppearance
().
set
(
CulturalFeatureAppearance
.
DAMAGE
,
1
),
""
);
marshalOne
(
new
CulturalFeatureCapabilities
().
set
(
CulturalFeatureCapabilities
.
IED
_
PRESENCE
_
INDICATOR
,
1
),
""
);
marshalOne
(
new
CulturalFeatureCapabilities
().
set
(
CulturalFeatureCapabilities
.
IEDPRESENCEINDICATOR
,
1
),
""
);
marshalOne
(
new
DEDamageDescriptionComponentVisualDamageStatus
().
set
(
DEDamageDescriptionComponentVisualDamageStatus
.
IS
_
FIRE
_
PRESENT
,
1
),
""
);
marshalOne
(
new
DEDamageDescriptionComponentVisualDamageStatus
().
set
(
DEDamageDescriptionComponentVisualDamageStatus
.
ISFIREPRESENT
,
1
),
""
);
marshalOne
(
new
DEFireFlags
().
set
(
DEFireFlags
.
STATE
_
UPDATE
_
FLAG
,
1
),
""
);
marshalOne
(
new
DEFireFlags
().
set
(
DEFireFlags
.
STATEUPDATEFLAG
,
1
),
""
);
marshalOne
(
new
EnvironmentalAppearance
().
set
(
EnvironmentalAppearance
.
DENSITY
,
1
),
""
);
marshalOne
(
new
EnvironmentalAppearance
().
set
(
EnvironmentalAppearance
.
DENSITY
,
1
),
""
);
marshalOne
(
new
EnvironmentalAppearance
().
set
(
EnvironmentalAppearance
.
DENSITY
,
3
).
set
(
EnvironmentalAppearance
.
IS
_
FROZEN
,
1
),
""
);
marshalOne
(
new
EnvironmentalAppearance
().
set
(
EnvironmentalAppearance
.
DENSITY
,
3
).
set
(
EnvironmentalAppearance
.
ISFROZEN
,
1
),
""
);
marshalOne
(
new
EnvironmentalCapabilities
().
set
(
EnvironmentalCapabilities
.
IED
_
PRESENCE
_
INDICATOR
,
1
),
""
);
marshalOne
(
new
EnvironmentalCapabilities
().
set
(
EnvironmentalCapabilities
.
IEDPRESENCEINDICATOR
,
1
),
""
);
marshalOne
(
new
EnvironmentalProcessEnvironmentStatus
().
set
(
EnvironmentalProcessEnvironmentStatus
.
IS
_
ACTIVE
,
1
),
""
);
marshalOne
(
new
EnvironmentalProcessEnvironmentStatus
().
set
(
EnvironmentalProcessEnvironmentStatus
.
ISACTIVE
,
1
),
""
);
marshalOne
(
new
ExpendableAppearance
().
set
(
ExpendableAppearance
.
DAMAGE
,
1
),
""
);
marshalOne
(
new
ExpendableAppearance
().
set
(
ExpendableAppearance
.
DAMAGE
,
1
),
""
);
marshalOne
(
new
ExpendableCapabilities
().
set
(
ExpendableCapabilities
.
RESERVED
,
1
),
""
);
marshalOne
(
new
ExpendableCapabilities
().
set
(
ExpendableCapabilities
.
RESERVED
,
1
),
""
);
marshalOne
(
new
LandPlatformAppearance
().
set
(
LandPlatformAppearance
.
BLACKOUT
_
BRAKE
_
LIGHTS
_
ON
,
1
),
""
);
marshalOne
(
new
LandPlatformAppearance
().
set
(
LandPlatformAppearance
.
BLACKOUTBRAKELIGHTSON
,
1
),
""
);
marshalOne
(
new
LandPlatformCapabilities
().
set
(
LandPlatformCapabilities
.
AMMUNITION
_
SUPPLY
,
1
),
""
);
marshalOne
(
new
LandPlatformCapabilities
().
set
(
LandPlatformCapabilities
.
AMMUNITIONSUPPLY
,
1
),
""
);
marshalOne
(
new
LifeFormsAppearance
().
set
(
LifeFormsAppearance
.
CAMOUFLAGE
_
TYPE
,
1
),
""
);
marshalOne
(
new
LifeFormsAppearance
().
set
(
LifeFormsAppearance
.
CAMOUFLAGETYPE
,
1
),
""
);
marshalOne
(
new
LifeFormsCapabilities
().
set
(
LifeFormsCapabilities
.
AMMUNITION
_
SUPPLY
,
1
),
""
);
marshalOne
(
new
LifeFormsCapabilities
().
set
(
LifeFormsCapabilities
.
AMMUNITIONSUPPLY
,
1
),
""
);
marshalOne
(
new
LinearObjectAppearanceExhaustSmoke
().
set
(
LinearObjectAppearanceExhaustSmoke
.
CHEMICAL
_
TYPE
,
1
),
""
);
marshalOne
(
new
LinearObjectAppearanceExhaustSmoke
().
set
(
LinearObjectAppearanceExhaustSmoke
.
CHEMICALTYPE
,
1
),
""
);
marshalOne
(
new
LinearObjectAppearanceMinefieldLaneMarker
().
set
(
LinearObjectAppearanceMinefieldLaneMarker
.
VISIBLE
_
SIDE
,
1
),
""
);
marshalOne
(
new
LinearObjectAppearanceMinefieldLaneMarker
().
set
(
LinearObjectAppearanceMinefieldLaneMarker
.
VISIBLESIDE
,
1
),
""
);
marshalOne
(
new
LinearObjectAppearanceSpeedBump
().
set
(
LinearObjectAppearanceSpeedBump
.
COLOR
,
1
),
""
);
marshalOne
(
new
LinearObjectAppearanceSpeedBump
().
set
(
LinearObjectAppearanceSpeedBump
.
COLOR
,
1
),
""
);
marshalOne
(
new
LinearObjectAppearanceTankDitchAndConcertinaWire
().
set
(
LinearObjectAppearanceTankDitchAndConcertinaWire
.
BREACH
_
LENGTH
,
1
),
""
);
marshalOne
(
new
LinearObjectAppearanceTankDitchAndConcertinaWire
().
set
(
LinearObjectAppearanceTankDitchAndConcertinaWire
.
BREACHLENGTH
,
1
),
""
);
marshalOne
(
new
LinearObjectAppearanceWire
().
set
(
LinearObjectAppearanceWire
.
COLOR
,
1
),
""
);
marshalOne
(
new
LinearObjectAppearanceWire
().
set
(
LinearObjectAppearanceWire
.
COLOR
,
1
),
""
);
marshalOne
(
new
MinefieldDataFusing
().
set
(
MinefieldDataFusing
.
HAS
_
ANTI
_
HANDLING
_
DEVICE
,
1
),
""
);
marshalOne
(
new
MinefieldDataFusing
().
set
(
MinefieldDataFusing
.
HASANTIHANDLINGDEVICE
,
1
),
""
);
marshalOne
(
new
MinefieldDataPaintScheme
().
set
(
MinefieldDataPaintScheme
.
ALGAE
,
1
),
""
);
marshalOne
(
new
MinefieldDataPaintScheme
().
set
(
MinefieldDataPaintScheme
.
ALGAE
,
1
),
""
);
marshalOne
(
new
MinefieldStateAppearanceBitMap
().
set
(
MinefieldStateAppearanceBitMap
.
ACTIVE
_
STATUS
,
1
),
""
);
marshalOne
(
new
MinefieldStateAppearanceBitMap
().
set
(
MinefieldStateAppearanceBitMap
.
ACTIVESTATUS
,
1
),
""
);
marshalOne
(
new
MunitionAppearance
().
set
(
MunitionAppearance
.
COVER
_
SHROUD
_
STATUS
,
1
),
""
);
marshalOne
(
new
MunitionAppearance
().
set
(
MunitionAppearance
.
COVERSHROUDSTATUS
,
1
),
""
);
marshalOne
(
new
MunitionCapabilities
().
set
(
MunitionCapabilities
.
IED
_
PRESENCE
_
INDICATOR
,
1
),
""
);
marshalOne
(
new
MunitionCapabilities
().
set
(
MunitionCapabilities
.
IEDPRESENCEINDICATOR
,
1
),
""
);
marshalOne
(
new
NonHumanLifeFormsAppearance
().
set
(
NonHumanLifeFormsAppearance
.
HEALTH
,
1
),
""
);
marshalOne
(
new
NonHumanLifeFormsAppearance
().
set
(
NonHumanLifeFormsAppearance
.
HEALTH
,
1
),
""
);
marshalOne
(
new
ObjectStateAppearanceGeneral
().
set
(
ObjectStateAppearanceGeneral
.
DAMAGE
,
1
),
""
);
marshalOne
(
new
ObjectStateAppearanceGeneral
().
set
(
ObjectStateAppearanceGeneral
.
DAMAGE
,
1
),
""
);
marshalOne
(
new
ObjectStateModificationArealObject
().
set
(
ObjectStateModificationArealObject
.
IS
_
LOCATION
_
MODIFIED
,
1
),
""
);
marshalOne
(
new
ObjectStateModificationArealObject
().
set
(
ObjectStateModificationArealObject
.
ISLOCATIONMODIFIED
,
1
),
""
);
marshalOne
(
new
ObjectStateModificationLinearObject
().
set
(
ObjectStateModificationLinearObject
.
IS
_
LOCATION
_
MODIFIED
,
1
),
""
);
marshalOne
(
new
ObjectStateModificationLinearObject
().
set
(
ObjectStateModificationLinearObject
.
ISLOCATIONMODIFIED
,
1
),
""
);
marshalOne
(
new
ObjectStateModificationPointObject
().
set
(
ObjectStateModificationPointObject
.
IS
_
LOCATION
_
MODIFIED
,
1
),
""
);
marshalOne
(
new
ObjectStateModificationPointObject
().
set
(
ObjectStateModificationPointObject
.
ISLOCATIONMODIFIED
,
1
),
""
);
marshalOne
(
new
PointObjectAppearanceAirGroundBurst
().
set
(
PointObjectAppearanceAirGroundBurst
.
CHEMICAL
_
TYPE
,
1
),
""
);
marshalOne
(
new
PointObjectAppearanceAirGroundBurst
().
set
(
PointObjectAppearanceAirGroundBurst
.
CHEMICALTYPE
,
1
),
""
);
marshalOne
(
new
PointObjectAppearanceBuildingStructure
().
set
(
PointObjectAppearanceBuildingStructure
.
COLOR
,
1
),
""
);
marshalOne
(
new
PointObjectAppearanceBuildingStructure
().
set
(
PointObjectAppearanceBuildingStructure
.
COLOR
,
1
),
""
);
marshalOne
(
new
PointObjectAppearanceCrater
().
set
(
PointObjectAppearanceCrater
.
BREACH
_
STATE
,
1
),
""
);
marshalOne
(
new
PointObjectAppearanceCrater
().
set
(
PointObjectAppearanceCrater
.
BREACHSTATE
,
1
),
""
);
marshalOne
(
new
PointObjectAppearanceDisturbedEarthRoad
().
set
(
PointObjectAppearanceDisturbedEarthRoad
.
CONTRAST
,
1
),
""
);
marshalOne
(
new
PointObjectAppearanceDisturbedEarthRoad
().
set
(
PointObjectAppearanceDisturbedEarthRoad
.
CONTRAST
,
1
),
""
);
marshalOne
(
new
PointObjectAppearanceLogCribAbatisEtAl
().
set
(
PointObjectAppearanceLogCribAbatisEtAl
.
BREACH
_
STATE
,
1
),
""
);
marshalOne
(
new
PointObjectAppearanceLogCribAbatisEtAl
().
set
(
PointObjectAppearanceLogCribAbatisEtAl
.
BREACHSTATE
,
1
),
""
);
marshalOne
(
new
PointObjectAppearancePothole
().
set
(
PointObjectAppearancePothole
.
DEPTH
,
1
),
""
);
marshalOne
(
new
PointObjectAppearancePothole
().
set
(
PointObjectAppearancePothole
.
DEPTH
,
1
),
""
);
marshalOne
(
new
PointObjectAppearanceRibbonBridge
().
set
(
PointObjectAppearanceRibbonBridge
.
NUMBER
_
OF
_
SEGMENTS
,
1
),
""
);
marshalOne
(
new
PointObjectAppearanceRibbonBridge
().
set
(
PointObjectAppearanceRibbonBridge
.
NUMBEROFSEGMENTS
,
1
),
""
);
marshalOne
(
new
PointObjectAppearanceTree
().
set
(
PointObjectAppearanceTree
.
LEAF
_
COVERAGE
,
1
),
""
);
marshalOne
(
new
PointObjectAppearanceTree
().
set
(
PointObjectAppearanceTree
.
LEAFCOVERAGE
,
1
),
""
);
marshalOne
(
new
RadioAppearance
().
set
(
RadioAppearance
.
IS
_
FROZEN
,
1
),
""
);
marshalOne
(
new
RadioAppearance
().
set
(
RadioAppearance
.
ISFROZEN
,
1
),
""
);
marshalOne
(
new
RadioCapabilities
().
set
(
RadioCapabilities
.
RESERVED
,
1
),
""
);
marshalOne
(
new
RadioCapabilities
().
set
(
RadioCapabilities
.
RESERVED
,
1
),
""
);
marshalOne
(
new
SensorEmitterAppearance
().
set
(
SensorEmitterAppearance
.
ANTENNA
_
RAISED
,
1
),
""
);
marshalOne
(
new
SensorEmitterAppearance
().
set
(
SensorEmitterAppearance
.
ANTENNARAISED
,
1
),
""
);
marshalOne
(
new
SensorEmitterCapabilities
().
set
(
SensorEmitterCapabilities
.
IED
_
PRESENCE
_
INDICATOR
,
1
),
""
);
marshalOne
(
new
SensorEmitterCapabilities
().
set
(
SensorEmitterCapabilities
.
IEDPRESENCEINDICATOR
,
1
),
""
);
marshalOne
(
new
SpacePlatformAppearance
().
set
(
SpacePlatformAppearance
.
DAMAGE
,
1
),
""
);
marshalOne
(
new
SpacePlatformAppearance
().
set
(
SpacePlatformAppearance
.
DAMAGE
,
1
),
""
);
marshalOne
(
new
SpacePlatformCapabilities
().
set
(
SpacePlatformCapabilities
.
AMMUNITION
_
SUPPLY
,
1
),
""
);
marshalOne
(
new
SpacePlatformCapabilities
().
set
(
SpacePlatformCapabilities
.
AMMUNITIONSUPPLY
,
1
),
""
);
marshalOne
(
new
StopFreezeFrozenBehavior
().
set
(
StopFreezeFrozenBehavior
.
PROCESS
_
UPDATES
,
1
),
""
);
marshalOne
(
new
StopFreezeFrozenBehavior
().
set
(
StopFreezeFrozenBehavior
.
PROCESSUPDATES
,
1
),
""
);
marshalOne
(
new
SubsurfacePlatformAppearance
().
set
(
SubsurfacePlatformAppearance
.
DAMAGE
,
1
),
""
);
marshalOne
(
new
SubsurfacePlatformAppearance
().
set
(
SubsurfacePlatformAppearance
.
DAMAGE
,
1
),
""
);
marshalOne
(
new
SubsurfacePlatformCapabilities
().
set
(
SubsurfacePlatformCapabilities
.
AMMUNITION
_
SUPPLY
,
1
),
""
);
marshalOne
(
new
SubsurfacePlatformCapabilities
().
set
(
SubsurfacePlatformCapabilities
.
AMMUNITIONSUPPLY
,
1
),
""
);
marshalOne
(
new
SupplyAppearance
().
set
(
SupplyAppearance
.
DAMAGE
,
1
),
""
);
marshalOne
(
new
SupplyAppearance
().
set
(
SupplyAppearance
.
DAMAGE
,
1
),
""
);
marshalOne
(
new
SupplyCapabilities
().
set
(
SupplyCapabilities
.
AMMUNITION
_
SUPPLY
,
1
),
""
);
marshalOne
(
new
SupplyCapabilities
().
set
(
SupplyCapabilities
.
AMMUNITIONSUPPLY
,
1
),
""
);
marshalOne
(
new
SurfacePlatformAppearance
().
set
(
SurfacePlatformAppearance
.
DAMAGE
,
1
),
""
);
marshalOne
(
new
SurfacePlatformAppearance
().
set
(
SurfacePlatformAppearance
.
DAMAGE
,
1
),
""
);
marshalOne
(
new
SurfacePlatformCapabilities
().
set
(
SurfacePlatformCapabilities
.
AMMUNITION
_
SUPPLY
,
1
),
""
);
marshalOne
(
new
SurfacePlatformCapabilities
().
set
(
SurfacePlatformCapabilities
.
AMMUNITIONSUPPLY
,
1
),
""
);
marshalOne
(
new
UAPropulsionPlantConfiguration
().
set
(
UAPropulsionPlantConfiguration
.
CONFIGURATION
,
1
),
""
);
marshalOne
(
new
UAPropulsionPlantConfiguration
().
set
(
UAPropulsionPlantConfiguration
.
CONFIGURATION
,
1
),
""
);
// classes with no enumerated bit positions
// classes with no enumerated bit positions
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment