Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'valgrind/org.eclipse.linuxtools.valgrind.cachegrind.tests/src/org/eclipse/linuxtools/internal/valgrind/cachegrind/tests/BasicCachegrindTest.java')
-rw-r--r--valgrind/org.eclipse.linuxtools.valgrind.cachegrind.tests/src/org/eclipse/linuxtools/internal/valgrind/cachegrind/tests/BasicCachegrindTest.java82
1 files changed, 41 insertions, 41 deletions
diff --git a/valgrind/org.eclipse.linuxtools.valgrind.cachegrind.tests/src/org/eclipse/linuxtools/internal/valgrind/cachegrind/tests/BasicCachegrindTest.java b/valgrind/org.eclipse.linuxtools.valgrind.cachegrind.tests/src/org/eclipse/linuxtools/internal/valgrind/cachegrind/tests/BasicCachegrindTest.java
index 7298b8e840..99f64944f5 100644
--- a/valgrind/org.eclipse.linuxtools.valgrind.cachegrind.tests/src/org/eclipse/linuxtools/internal/valgrind/cachegrind/tests/BasicCachegrindTest.java
+++ b/valgrind/org.eclipse.linuxtools.valgrind.cachegrind.tests/src/org/eclipse/linuxtools/internal/valgrind/cachegrind/tests/BasicCachegrindTest.java
@@ -25,52 +25,52 @@ import org.junit.Test;
public class BasicCachegrindTest extends AbstractCachegrindTest {
- @Before
- public void prep() throws Exception {
- proj = createProjectAndBuild("cpptest"); //$NON-NLS-1$
- }
+ @Before
+ public void prep() throws Exception {
+ proj = createProjectAndBuild("cpptest"); //$NON-NLS-1$
+ }
- @Override
- @After
- public void tearDown() throws CoreException {
- deleteProject(proj);
- super.tearDown();
- }
+ @Override
+ @After
+ public void tearDown() throws CoreException {
+ deleteProject(proj);
+ super.tearDown();
+ }
- @Test
- public void testNumPIDs() throws Exception {
- ILaunchConfiguration config = createConfiguration(proj.getProject());
- doLaunch(config, "testNumPIDs"); //$NON-NLS-1$
+ @Test
+ public void testNumPIDs() throws Exception {
+ ILaunchConfiguration config = createConfiguration(proj.getProject());
+ doLaunch(config, "testNumPIDs"); //$NON-NLS-1$
- CachegrindViewPart view = (CachegrindViewPart) ValgrindUIPlugin
- .getDefault().getView().getDynamicView();
- assertEquals(1, view.getOutputs().length);
- }
+ CachegrindViewPart view = (CachegrindViewPart) ValgrindUIPlugin
+ .getDefault().getView().getDynamicView();
+ assertEquals(1, view.getOutputs().length);
+ }
- @Test
- public void testFileNames() throws Exception {
- ILaunchConfiguration config = createConfiguration(proj.getProject());
- doLaunch(config, "testFileNames"); //$NON-NLS-1$
+ @Test
+ public void testFileNames() throws Exception {
+ ILaunchConfiguration config = createConfiguration(proj.getProject());
+ doLaunch(config, "testFileNames"); //$NON-NLS-1$
- CachegrindViewPart view = (CachegrindViewPart) ValgrindUIPlugin
- .getDefault().getView().getDynamicView();
- CachegrindOutput output = view.getOutputs()[0];
- CachegrindFile file = getFileByName(output, "cpptest.cpp"); //$NON-NLS-1$
- assertNotNull(file);
- file = getFileByName(output, "cpptest.h"); //$NON-NLS-1$
- assertNotNull(file);
- }
+ CachegrindViewPart view = (CachegrindViewPart) ValgrindUIPlugin
+ .getDefault().getView().getDynamicView();
+ CachegrindOutput output = view.getOutputs()[0];
+ CachegrindFile file = getFileByName(output, "cpptest.cpp"); //$NON-NLS-1$
+ assertNotNull(file);
+ file = getFileByName(output, "cpptest.h"); //$NON-NLS-1$
+ assertNotNull(file);
+ }
- @Test
- public void testNumFunctions() throws Exception {
- ILaunchConfiguration config = createConfiguration(proj.getProject());
- doLaunch(config, "testNumFunctions"); //$NON-NLS-1$
+ @Test
+ public void testNumFunctions() throws Exception {
+ ILaunchConfiguration config = createConfiguration(proj.getProject());
+ doLaunch(config, "testNumFunctions"); //$NON-NLS-1$
- CachegrindViewPart view = (CachegrindViewPart) ValgrindUIPlugin
- .getDefault().getView().getDynamicView();
- CachegrindOutput output = view.getOutputs()[0];
- CachegrindFile file = getFileByName(output, "cpptest.cpp"); //$NON-NLS-1$
- assertNotNull(file);
- assertEquals(8, file.getFunctions().length);
- }
+ CachegrindViewPart view = (CachegrindViewPart) ValgrindUIPlugin
+ .getDefault().getView().getDynamicView();
+ CachegrindOutput output = view.getOutputs()[0];
+ CachegrindFile file = getFileByName(output, "cpptest.cpp"); //$NON-NLS-1$
+ assertNotNull(file);
+ assertEquals(8, file.getFunctions().length);
+ }
}

Back to the top