projects
/
deliverable
/
tracecompass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tmf: Bug 489971: Premature processing of payload in custom parser
[deliverable/tracecompass.git]
/
tmf
/
org.eclipse.tracecompass.tmf.core.tests
/
src
/
org
/
eclipse
/
tracecompass
/
tmf
/
core
/
tests
/
parsers
/
custom
/
CustomTxtIndexTest.java
diff --git
a/tmf/org.eclipse.tracecompass.tmf.core.tests/src/org/eclipse/tracecompass/tmf/core/tests/parsers/custom/CustomTxtIndexTest.java
b/tmf/org.eclipse.tracecompass.tmf.core.tests/src/org/eclipse/tracecompass/tmf/core/tests/parsers/custom/CustomTxtIndexTest.java
index ae924283563ae30fe741a6198d51ea6a0ffd70ef..5bcdba1b0dcc3512122bd780a66e0f4743bcded1 100644
(file)
--- a/
tmf/org.eclipse.tracecompass.tmf.core.tests/src/org/eclipse/tracecompass/tmf/core/tests/parsers/custom/CustomTxtIndexTest.java
+++ b/
tmf/org.eclipse.tracecompass.tmf.core.tests/src/org/eclipse/tracecompass/tmf/core/tests/parsers/custom/CustomTxtIndexTest.java
@@
-57,6
+57,10
@@
public class CustomTxtIndexTest extends AbstractCustomTraceIndexTest {
SimpleDateFormat f = new SimpleDateFormat(TIMESTAMP_FORMAT);
String eventStr = f.format(new Date(i)) + " hello world\n";
writer.write(eventStr);
+ int extra = i % 3;
+ for (int j = 0; j < extra; j++) {
+ writer.write("extra line\n");
+ }
}
}
This page took
0.026244 seconds
and
5
git commands to generate.