@@ -0,0 +1,1510 @@
+/*******************************************************************************%0A * Copyright (c) 2016 Red Hat Inc. and others.%0A * All rights reserved. This program and the accompanying materials%0A * are made available under the terms of the Eclipse Public License v1.0%0A * which accompanies this distribution, and is available at%0A * http://www.eclipse.org/legal/epl-v10.html%0A *%0A * Contributors:%0A *     Red Hat Inc. - initial API and implementation%0A *******************************************************************************/%0Apackage org.jboss.tools.vscode.java.internal.handlers;%0A%0Aimport static org.junit.Assert.assertEquals;%0Aimport static org.junit.Assert.assertNotNull;%0A%0Aimport java.util.List;%0A%0Aimport org.eclipse.lsp4j.Location;%0Aimport org.eclipse.lsp4j.Position;%0Aimport org.eclipse.lsp4j.TextDocumentIdentifier;%0Aimport org.eclipse.lsp4j.TextDocumentPositionParams;%0Aimport org.junit.Before;%0Aimport org.junit.Test;%0A%0A/**%0A * @author fbricon%0A *%0A */%0Apublic class NavigateToDefinitionHandlerTest %7B%0A%0A%09private NavigateToDefinitionHandler handler;%0A%0A%09@Before%0A%09public void setUp() %7B%0A%09%09handler = new NavigateToDefinitionHandler();%0A%09%7D%0A%0A%09@Test%0A%09public void testGetEmptyDefinition() throws Exception %7B%0A%09%09List%3C? extends Location%3E definitions = handler.getDefinition(new TextDocumentPositionParams(new TextDocumentIdentifier(%22/foo/bar%22), %22/foo/bar%22, new Position(1, 1)));%0A%09%09assertNotNull(definitions);%0A%09%09assertEquals(1, definitions.size());%0A%09%09assertNotNull(%22Location has no Range%22, definitions.get(0).getRange());%0A%09%7D%0A%0A%7D%0A

Add missing test for 65f2d88