Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
monticore
EmbeddedMontiArc
generators
EMADL2CPP
Commits
072662a1
Commit
072662a1
authored
Mar 07, 2019
by
nilsfreyer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed hashfile
parent
e0c69fe7
Pipeline
#109878
failed with stage
in 2 minutes and 17 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
1 deletion
+4
-1
src/test/java/de/monticore/lang/monticar/emadl/IntegrationCaffe2Test.java
.../monticore/lang/monticar/emadl/IntegrationCaffe2Test.java
+4
-1
src/test/resources/training_data/test_lmdb/lock.mdb
src/test/resources/training_data/test_lmdb/lock.mdb
+0
-0
src/test/resources/training_data/train_lmdb/lock.mdb
src/test/resources/training_data/train_lmdb/lock.mdb
+0
-0
No files found.
src/test/java/de/monticore/lang/monticar/emadl/IntegrationCaffe2Test.java
View file @
072662a1
...
@@ -46,7 +46,7 @@ public class IntegrationCaffe2Test extends AbstractSymtabTest {
...
@@ -46,7 +46,7 @@ public class IntegrationCaffe2Test extends AbstractSymtabTest {
private
void
createHashFile
()
{
private
void
createHashFile
()
{
try
{
try
{
netTrainingHashFile
.
toFile
().
getParentFile
().
mkdirs
();
netTrainingHashFile
.
toFile
().
getParentFile
().
mkdirs
();
List
<
String
>
lines
=
Arrays
.
asList
(
"
7A7FBAC4E0AD84993C1C5F8B4F431055#D85A46E95F839BBEE22D9AC3E6A4BC5C
#6BE4AED3D0DA1940B750FEA8088A7D21#6BE4AED3D0DA1940B750FEA8088A7D21"
);
List
<
String
>
lines
=
Arrays
.
asList
(
"
2F846688B0685A3A3F78B3F247F33EA3#8C92571AA244293955423248FCCCC886
#6BE4AED3D0DA1940B750FEA8088A7D21#6BE4AED3D0DA1940B750FEA8088A7D21"
);
Files
.
write
(
netTrainingHashFile
,
lines
,
Charset
.
forName
(
"UTF-8"
));
Files
.
write
(
netTrainingHashFile
,
lines
,
Charset
.
forName
(
"UTF-8"
));
}
}
catch
(
Exception
e
)
{
catch
(
Exception
e
)
{
...
@@ -98,5 +98,8 @@ public class IntegrationCaffe2Test extends AbstractSymtabTest {
...
@@ -98,5 +98,8 @@ public class IntegrationCaffe2Test extends AbstractSymtabTest {
deleteHashFile
();
deleteHashFile
();
}
}
}
}
src/test/resources/training_data/test_lmdb/lock.mdb
View file @
072662a1
No preview for this file type
src/test/resources/training_data/train_lmdb/lock.mdb
View file @
072662a1
No preview for this file type
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment