| /******************************************************************************* |
| * Copyright (c) 2012 NumberFour AG |
| * |
| * This program and the accompanying materials are made available under the |
| * terms of the Eclipse Public License v. 2.0 which is available at |
| * http://www.eclipse.org/legal/epl-2.0. |
| * |
| * SPDX-License-Identifier: EPL-2.0 |
| * |
| * Contributors: |
| * NumberFour AG - initial API and Implementation (Alex Panchenko) |
| *******************************************************************************/ |
| package org.eclipse.dltk.javascript.core.tests.rewrite; |
| |
| import org.eclipse.dltk.javascript.ast.Script; |
| import org.eclipse.dltk.javascript.core.dom.rewrite.ASTConverter; |
| import org.eclipse.dltk.javascript.parser.tests.XmlQueryTests; |
| import org.junit.Ignore; |
| |
| public class XmlQueryRewriteTests extends XmlQueryTests { |
| |
| @Override |
| protected Script parse(String source) { |
| final Script script = super.parse(source); |
| final ASTConverter converter = new ASTConverter(); |
| /* (Source) */converter.visit(script); |
| return script; |
| } |
| |
| @Ignore("fails with ClassCastException") |
| @Override |
| public void testXmlColonColonBracketExpression() { |
| // TODO (alex) fix failures |
| super.testXmlColonColonBracketExpression(); |
| } |
| |
| @Ignore("fails with ClassCastException") |
| @Override |
| public void testXmlDotParenExpression() { |
| super.testXmlDotParenExpression(); |
| } |
| |
| @Ignore("fails with ClassCastException") |
| @Override |
| public void testXmlAttributeBracketExpression() { |
| super.testXmlAttributeBracketExpression(); |
| } |
| |
| } |