Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.tests/src/org/eclipse/debug/tests/viewer/model/PresentationContextTests.java')
-rw-r--r--org.eclipse.debug.tests/src/org/eclipse/debug/tests/viewer/model/PresentationContextTests.java10
1 files changed, 5 insertions, 5 deletions
diff --git a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/viewer/model/PresentationContextTests.java b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/viewer/model/PresentationContextTests.java
index 0409c367e..d89a54f03 100644
--- a/org.eclipse.debug.tests/src/org/eclipse/debug/tests/viewer/model/PresentationContextTests.java
+++ b/org.eclipse.debug.tests/src/org/eclipse/debug/tests/viewer/model/PresentationContextTests.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Wind River Systems - initial API and implementation
* IBM - moved to debug platform tests from JDT
@@ -20,7 +20,7 @@ import org.eclipse.ui.XMLMemento;
/**
* Test the serialization of presentation context properties.
- *
+ *
* @since 3.4
*/
public class PresentationContextTests extends TestCase {
@@ -28,7 +28,7 @@ public class PresentationContextTests extends TestCase {
public PresentationContextTests(String name) {
super(name);
}
-
+
/**
* Tests saving and restoring presentation context properties.
*/
@@ -41,7 +41,7 @@ public class PresentationContextTests extends TestCase {
final XMLMemento memento = XMLMemento.createWriteRoot("TEST"); //$NON-NLS-1$
context.saveProperites(memento);
-
+
context = new PresentationContext("test"); //$NON-NLS-1$
context.initProperties(memento);
assertEquals("Wrong value restored", "string", context.getProperty("string")); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
@@ -50,5 +50,5 @@ public class PresentationContextTests extends TestCase {
assertEquals("Wrong value restored", ResourcesPlugin.getWorkspace().getRoot(), context.getProperty("persistable")); //$NON-NLS-1$ //$NON-NLS-2$
context.dispose();
}
-
+
}

Back to the top