projects
/
deliverable
/
tracecompass.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ctf: move getStreams to an iterable.
[deliverable/tracecompass.git]
/
org.eclipse.linuxtools.ctf.core.tests
/
src
/
org
/
eclipse
/
linuxtools
/
ctf
/
core
/
tests
/
trace
/
CTFTraceTest.java
diff --git
a/org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/trace/CTFTraceTest.java
b/org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/trace/CTFTraceTest.java
index 5f78810b074dcd4cb00f9ce02f12d8ec2a8d8261..b69ce43e2093b4df50e655eef180609fcc3d0b42 100644
(file)
--- a/
org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/trace/CTFTraceTest.java
+++ b/
org.eclipse.linuxtools.ctf.core.tests/src/org/eclipse/linuxtools/ctf/core/tests/trace/CTFTraceTest.java
@@
-23,7
+23,6
@@
import static org.junit.Assume.assumeTrue;
import java.io.File;
import java.nio.ByteOrder;
import java.io.File;
import java.nio.ByteOrder;
-import java.util.Map;
import java.util.UUID;
import org.eclipse.linuxtools.ctf.core.event.CTFClock;
import java.util.UUID;
import org.eclipse.linuxtools.ctf.core.event.CTFClock;
@@
-192,15
+191,6
@@
public class CTFTraceTest {
assertNotNull(result);
}
assertNotNull(result);
}
- /**
- * Run the Map<Long, Stream> getStreams() method test.
- */
- @Test
- public void testGetStreams() {
- Map<Long, Stream> result = fixture.getStreams();
- assertNotNull(result);
- }
-
/**
* Run the File getTraceDirectory() method test.
*/
/**
* Run the File getTraceDirectory() method test.
*/
@@
-357,7
+347,7
@@
public class CTFTraceTest {
@Test
public void testLookupEnvironment_1() {
String key = "";
@Test
public void testLookupEnvironment_1() {
String key = "";
- String result = fixture.
lookupEnvironmen
t(key);
+ String result = fixture.
getEnvironment().ge
t(key);
assertNull(result);
}
assertNull(result);
}
@@
-367,7
+357,7
@@
public class CTFTraceTest {
@Test
public void testLookupEnvironment_2() {
String key = "otherTest";
@Test
public void testLookupEnvironment_2() {
String key = "otherTest";
- String result = fixture.
lookupEnvironmen
t(key);
+ String result = fixture.
getEnvironment().ge
t(key);
assertNull(result);
}
assertNull(result);
}
@@
-378,7
+368,7
@@
public class CTFTraceTest {
public void testLookupEnvironment_3() {
String key = "test";
fixture.addEnvironmentVar(key, key);
public void testLookupEnvironment_3() {
String key = "test";
fixture.addEnvironmentVar(key, key);
- String result = fixture.
lookupEnvironmen
t(key);
+ String result = fixture.
getEnvironment().ge
t(key);
assertTrue(result.equals(key));
}
assertTrue(result.equals(key));
}
@@
-390,7
+380,7
@@
public class CTFTraceTest {
String key = "test";
fixture.addEnvironmentVar(key, "bozo");
fixture.addEnvironmentVar(key, "the clown");
String key = "test";
fixture.addEnvironmentVar(key, "bozo");
fixture.addEnvironmentVar(key, "the clown");
- String result = fixture.
lookupEnvironmen
t(key);
+ String result = fixture.
getEnvironment().ge
t(key);
assertNotNull(result);
}
assertNotNull(result);
}
This page took
0.025493 seconds
and
5
git commands to generate.