Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,14 @@
.*
# ignore all files/dirs beginning with _
_*
# EventViewer Jar
JEventViewer*.jar

# except these two
!.gitignore
!.github/

# EventViewer Jar
JEventViewer*.jar

# ignore any .evio, .ev, or .hipo extension files (+ other common file types)
*.evio*
*.ev
Expand All @@ -17,6 +18,8 @@ JEventViewer*.jar
*.txt
*.out.*
perf.data*
# Unless in test directory
!etc/test_files/*

# test programs to ignore
src/main/java/org/jlab/coda/jevio/dev/*
Expand Down
Binary file added etc/test_files/BigOut2.ev
Binary file not shown.
Binary file added etc/test_files/compactEvioBuild.V4.ev
Binary file not shown.
Binary file added etc/test_files/compactEvioBuild.ev
Binary file not shown.
Binary file added etc/test_files/compactEvioBuild.ev.lz4
Binary file not shown.
315 changes: 315 additions & 0 deletions etc/test_files/eviodict.xml

Large diffs are not rendered by default.

Binary file added etc/test_files/fileTest.ev
Binary file not shown.
8 changes: 8 additions & 0 deletions etc/test_files/fileTestDict.dict
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<xmlDict>
<xmldumpDictEntry name="My Event" tag="1" num="1" />
<xmldumpDictEntry name="Segments" tag="2" num="2" />
<xmldumpDictEntry name="My Shorts" tag="3" />
<xmldumpDictEntry name="Banks" tag="4" num="4" />
<xmldumpDictEntry name="My chars" tag="5" num="5" />
<xmldumpDictEntry name="Last Bank" tag="33" num="66" />
</xmlDict>
Binary file added etc/test_files/fileTestND.ev
Binary file not shown.
Binary file added etc/test_files/testEventsV6_javaAPI.evio
Binary file not shown.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.jlab.coda</groupId>
<artifactId>jevio</artifactId>
<version>6.1.0</version> <!-- JEVIO version tag -->
<version>6.1.2</version> <!-- JEVIO version tag -->
<name>Jefferson Lab EVIO Java Library (JEVIO)</name>
<description>Java library for EVIO (Event Input/Output)</description>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion src/test/cpp/EvioTestHelper.h
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ using namespace evio;
std::string baseNameV4 = "testEventsV4_cppAPI.evio"; // base name of file to be created. If split > 1, this is the base name of all files created. If split < 1, this is the name of the only file created.
std::string baseNameV6 = "testEventsV6_cppAPI.evio"; // base name of file to be created. If split > 1, this is the base name of all files created. If split < 1, this is the name of the only file created.
std::string baseNameHIPO = "testEventsHIPO_cppAPI.hipo"; // base name of file to be created. If split > 1, this is the base name of all files created. If split < 1, this is the name of the only file created.
std::string directory = "./"; // directory in which file is to be placed
std::string directory = "etc/test_files"; // directory in which file is to be placed

private:

Expand Down
2 changes: 1 addition & 1 deletion src/test/java/EvioTestHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public class EvioTestHelper {
public static String baseNameV4 = "testEventsV4_javaAPI.evio"; // base name of file to be created. If split > 1, this is the base name of all files created. If split < 1, this is the name of the only file created.
public static String baseNameV6 = "testEventsV6_javaAPI.evio"; // base name of file to be created. If split > 1, this is the base name of all files created. If split < 1, this is the name of the only file created.
public static String baseNameHIPO = "testEventsHIPO_javaAPI.hipo"; // base name of file to be created. If split > 1, this is the base name of all files created. If split < 1, this is the name of the only file created.
public static String directory = "tmp"; // "/mnt/tmpfs" or null=relative path (or directory in which file is to be placed)
public static String directory = "etc/test_files"; // "/mnt/tmpfs" or null=relative path (or directory in which file is to be placed)
final static String runType = ""; // name of run type configuration to be used in naming files
private final static int runNumber = 1; // arbitrary, usually experiment-specific
private final static long split = 0; // if < 1, do not split file, write to only one file of unlimited size. Else this is max size in bytes to make a file before closing it and starting writing another.
Expand Down
Loading