Skip to content

Commit

Permalink
added gototest ability in vscode extension
Browse files Browse the repository at this point in the history
Signed-off-by: Achal Talati <achal.talati@oracle.com>
  • Loading branch information
Achal1607 committed Apr 16, 2024
1 parent e6f0f68 commit 211054b
Show file tree
Hide file tree
Showing 9 changed files with 572 additions and 140 deletions.
97 changes: 97 additions & 0 deletions ide/gototest/apichanges.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->

<?xml-stylesheet href="../../nbbuild/javadoctools/apichanges.xsl" type="text/xsl"?>
<!DOCTYPE apichanges PUBLIC "-//NetBeans//DTD API changes list 1.0//EN" "../../nbbuild/javadoctools/apichanges.dtd">

<!-- INFO FOR PEOPLE ADDING CHANGES:
[most of contents snipped - see openide's apichanges for how-to instructions]
<change>
<api name="compiler"/>
<summary>Some brief description here, can use <b>XHTML</b></summary>
<version major="1" minor="99"/>
<date day="13" month="6" year="2001"/>
<author login="jrhacker"/>
<compatibility addition="yes"/>
<description>
The main description of the change here.
Again can use full <b>XHTML</b> as needed.
</description>
<class package="org.openide.compiler" name="DoWhatIWantCompiler"/>
<issue number="14309"/>
</change>
-->

<apichanges>

<!-- First, a list of API names you may use: -->
<apidefs>
<apidef name="GOTOTEST_API">Navigate To Test APIs</apidef>
</apidefs>

<!-- ACTUAL CHANGES BEGIN HERE: -->
<change id="TestOppositeLocator">
<api name="GOTOTEST_API"/>
<summary>Adding TestOppositeLocator</summary>
<version major="1" minor="57"/>
<date day="12" month="1" year="2024"/>
<author login="Achal1607"/>
<compatibility binary="compatible" source="compatible" addition="yes" deletion="no"/>
<description>
A <code>TestOppsiteLocator</code> class introduced that finds one or multiple test files for a source file, and one or multiple source files for a test file.
</description>
<class package="org.netbeans.api.gototest" name="TestOppositeLocator"/>
</change>
</changes>

<!-- Now the surrounding HTML text and document structure: -->

<htmlcontents>
<!--
NO NO NO NO NO!
==============> DO NOT EDIT ME! <======================
AUTOMATICALLY GENERATED FROM APICHANGES.XML, DO NOT EDIT
SEE xml/api/doc/changes/apichanges.xml
-->
<head>
<title>Navigate To Test API changes by date</title>
<link rel="stylesheet" href="prose.css" type="text/css"/>
</head>
<body>

<p class="overviewlink"><a href="overview-summary.html">Overview</a></p>

<h1>Introduction</h1>

<p>This document lists changes made to the Navigate To Test APIs. Please ask on the
<code>dev@netbeans.apache.org</code>
mailing list if you have any questions about the details of a
change, or are wondering how to convert existing code to be compatible.
</p>

<hr/><standard-changelists module-code-name="org.netbeans.api.gototest/1"/>

<hr/><p>@FOOTER@</p>

</body>
</htmlcontents>
</apichanges>
21 changes: 16 additions & 5 deletions ide/gototest/nbproject/project.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,15 @@
<data xmlns="http://www.netbeans.org/ns/nb-module-project/2">
<code-name-base>org.netbeans.modules.gototest</code-name-base>
<module-dependencies>
<dependency>
<code-name-base>org.netbeans.api.annotations.common</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<release-version>1</release-version>
<specification-version>1.50</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.netbeans.modules.gsf.testrunner</code-name-base>
<build-prerequisite/>
Expand Down Expand Up @@ -100,27 +109,27 @@
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.openide.util.ui</code-name-base>
<code-name-base>org.openide.util</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<specification-version>9.3</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.openide.util</code-name-base>
<code-name-base>org.openide.util.lookup</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<specification-version>9.3</specification-version>
<specification-version>8.0</specification-version>
</run-dependency>
</dependency>
<dependency>
<code-name-base>org.openide.util.lookup</code-name-base>
<code-name-base>org.openide.util.ui</code-name-base>
<build-prerequisite/>
<compile-dependency/>
<run-dependency>
<specification-version>8.0</specification-version>
<specification-version>9.3</specification-version>
</run-dependency>
</dependency>
<dependency>
Expand All @@ -135,13 +144,15 @@
<friend-packages>
<friend>org.netbeans.modules.jackpot30.file</friend>
<friend>org.netbeans.modules.java.hints.declarative</friend>
<friend>org.netbeans.modules.java.lsp.server</friend>
<friend>org.netbeans.modules.junit</friend>
<friend>org.netbeans.modules.php.project</friend>
<friend>org.netbeans.modules.python.project</friend>
<friend>org.netbeans.modules.refactoring.java</friend>
<friend>org.netbeans.modules.ruby.project</friend>
<friend>org.netbeans.modules.testng</friend>
<friend>org.netbeans.modules.web.clientproject.api</friend>
<package>org.netbeans.api.gototest</package>
<package>org.netbeans.spi.gototest</package>
</friend-packages>
</data>
Expand Down
Loading

0 comments on commit 211054b

Please sign in to comment.