Skip to content

Commit

Permalink
-Add unit tests. WIP.
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzo-gomez-windhover committed Apr 21, 2024
1 parent 482e5bf commit 8c9bd56
Show file tree
Hide file tree
Showing 13 changed files with 1,487 additions and 14 deletions.
22 changes: 12 additions & 10 deletions src/main/java/com/windhoverlabs/yamcs/cfs/evs/CfsEvsPlugin.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,15 +99,15 @@ public class CfsEvsPlugin extends AbstractTmDataLink
implements Runnable, StreamSubscriber, SystemParametersProducer {

public class CFE_FS_Header_Content {
byte[] ContentType = new byte[4];
int subType;
int length;
int spacecraftID;
int processorID;
int applicationID;
int timeSeconds;
int timeSubSeconds;
byte[] descriptionBytes = new byte[32];
public byte[] ContentType = new byte[4];
public int subType;
public int length;
public int spacecraftID;
public int processorID;
public int applicationID;
public int timeSeconds;
public int timeSubSeconds;
public byte[] descriptionBytes = new byte[32];
}
/* Configuration Defaults */
static long POLLING_PERIOD_DEFAULT = 1000;
Expand Down Expand Up @@ -548,7 +548,9 @@ public void ParseFile(Path inputFile) {
+ " ProcID="
+ header.processorID
+ " AppID="
+ header.applicationID);
+ header.applicationID
+ " Description="
+ description);

/* Initialize the packet input stream with the data input stream. We reinitialize it
* with every file to ensure the byte stream is at the correct location, immediately
Expand Down
Loading

0 comments on commit 8c9bd56

Please sign in to comment.