Skip to content

Commit

Permalink
Start of unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
Gcolon021 committed Jun 28, 2023
1 parent 938f7d4 commit c6e1cc7
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -267,12 +267,12 @@ public void testMinimumThreshold() throws IOException {

@Test
public void testProcessContinuousCrossCounts() throws JsonProcessingException {
assertNull(objectUnderTest.processContinuousCrossCounts(null));
assertNull(objectUnderTest.processContinuousCrossCounts(null, null));
}

@Test
public void testProcessCategoricalCrossCounts() throws JsonProcessingException {
assertNull(objectUnderTest.processCategoricalCrossCounts(null));
assertNull(objectUnderTest.processCategoricalCrossCounts(null, null));
}

private QueryRequest getTestQuery() throws JsonProcessingException, JsonMappingException, IOException {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
package edu.harvard.hms.dbmi.avillach;

import junit.framework.TestCase;

public class AggregateDataSharingResourceRSTest extends TestCase {

public void testProcessCategoricalCrossCounts() {

}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
package edu.harvard.hms.dbmi.avillach.resource.visualization.service;

import org.junit.jupiter.api.Test;

import static org.junit.jupiter.api.Assertions.*;

class DataProcessingServiceTest {

@Test
void getCategoricalData() {
}

@Test
void testGetCategoricalData() {
}

@Test
void getContinuousData() {
}
}

0 comments on commit c6e1cc7

Please sign in to comment.