Skip to main content
summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/org.eclipse.jet.tests.core/src/org/eclipse/jet/tests/tools/compiler/TestTemplateInput.java25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/org.eclipse.jet.tests.core/src/org/eclipse/jet/tests/tools/compiler/TestTemplateInput.java b/tests/org.eclipse.jet.tests.core/src/org/eclipse/jet/tests/tools/compiler/TestTemplateInput.java
index 1232dc6..75f3866 100644
--- a/tests/org.eclipse.jet.tests.core/src/org/eclipse/jet/tests/tools/compiler/TestTemplateInput.java
+++ b/tests/org.eclipse.jet.tests.core/src/org/eclipse/jet/tests/tools/compiler/TestTemplateInput.java
@@ -60,31 +60,6 @@ public class TestTemplateInput extends TestCase {
*/
public void testGetTemplatePath_pathWithSpaces() throws IOException, TemplateInputException, URISyntaxException {
final String templatePath = "Copy of test1.txt";
- URI location2 = new URI("file", "/C:/usr/workspaces/ws-m2t-jet-head/org.eclipse.jet.tests.core/data/templates/base1/", null);
- DefaultTemplateInput defaultTemplateInput = new DefaultTemplateInput(location2, templatePath, "UTF-8");
-
- assertEquals(templatePath, defaultTemplateInput.getTemplatePath());
-
- Reader reader = null;
- try {
- reader = defaultTemplateInput.getReader();
- assertNotNull("reader", reader);
- } finally {
- if(reader != null) {
- reader.close();
- }
- }
- }
-
- /**
- * Test method for {@link org.eclipse.jet.internal.core.parser.DefaultTemplateInput#getTemplatePath()}.
- * @throws IOException
- * @throws TemplateInputException
- * @throws URISyntaxException
- */
- public void testGetTemplatePath_pathWithSpaces1() throws IOException, TemplateInputException, URISyntaxException {
- final String templatePath = "Copy of test1.txt";
- URI location2 = new URI("file", "/C:/usr/workspaces/ws-m2t-jet-head/org.eclipse.jet.tests.core/data/templates/base1/", null);
DefaultTemplateInput defaultTemplateInput = new DefaultTemplateInput(location1, templatePath, "UTF-8");
assertEquals(templatePath, defaultTemplateInput.getTemplatePath());

Back to the top