File tree Expand file tree Collapse file tree
org.bridgedb.webservice.bridgerest
src/test/java/org/bridgedb/webservice/bridgerest Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818 <testOutputDirectory >target/test-classes</testOutputDirectory >
1919 <sourceDirectory >src/main/java</sourceDirectory >
2020 <scriptSourceDirectory >scripts</scriptSourceDirectory >
21- <testSourceDirectory >src/test/main </testSourceDirectory >
21+ <testSourceDirectory >src/test/java </testSourceDirectory >
2222 <resources >
2323 <resource >
2424 <directory >src/main/resources</directory >
8080 <version >${project.parent.version} </version >
8181 <scope >compile</scope >
8282 </dependency >
83+ <dependency >
84+ <groupId >org.junit.platform</groupId >
85+ <artifactId >junit-platform-surefire-provider</artifactId >
86+ <version >1.3.2</version >
87+ <scope >test</scope >
88+ </dependency >
89+ <dependency >
90+ <groupId >org.junit.jupiter</groupId >
91+ <artifactId >junit-jupiter-engine</artifactId >
92+ <version >${junit5.jupiter.version} </version >
93+ <scope >test</scope >
94+ </dependency >
95+ <dependency >
96+ <groupId >org.junit.vintage</groupId >
97+ <artifactId >junit-vintage-engine</artifactId >
98+ <version >${junit5.jupiter.version} </version >
99+ <scope >test</scope >
100+ </dependency >
101+ <dependency >
102+ <groupId >org.junit.jupiter</groupId >
103+ <artifactId >junit-jupiter-api</artifactId >
104+ <version >${junit5.jupiter.version} </version >
105+ <scope >test</scope >
106+ </dependency >
83107 </dependencies >
84108</project >
Original file line number Diff line number Diff line change 1+ // Copyright 2024 Egon Willighagen <egonw@users.sf.net>
2+ //
3+ // Licensed under the Apache License, Version 2.0 (the "License");
4+ // you may not use this file except in compliance with the License.
5+ // You may obtain a copy of the License at
6+ //
7+ // http://www.apache.org/licenses/LICENSE-2.0
8+ //
9+ // Unless required by applicable law or agreed to in writing, software
10+ // distributed under the License is distributed on an "AS IS" BASIS,
11+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ // See the License for the specific language governing permissions and
13+ // limitations under the License.
14+ //
15+ package org .bridgedb .webservice .bridgerest ;
16+
17+ import static org .junit .jupiter .api .Assertions .assertNotNull ;
18+
19+ import org .bridgedb .IDMapperException ;
20+ import org .junit .jupiter .api .BeforeAll ;
21+ import org .junit .jupiter .api .Test ;
22+
23+ public class BridgeRestTest {
24+
25+ @ BeforeAll
26+ public static void init () {
27+
28+ }
29+
30+ @ Test
31+ public void test () throws IDMapperException {
32+ BridgeRest service = new BridgeRest ("https://webservice.bridgedb.org/Human" );
33+ assertNotNull (service );
34+ }
35+ }
You can’t perform that action at this time.
0 commit comments