• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

DataBiosphere / consent / #5022

23 Apr 2024 03:29PM UTC coverage: 76.094% (+0.05%) from 76.047%
#5022

push

web-flow
[DUOS-998][risk=no] Standardize Dataset Association DAO (#2307)

0 of 5 new or added lines in 2 files covered. (0.0%)

4 existing lines in 3 files now uncovered.

9549 of 12549 relevant lines covered (76.09%)

0.76 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/main/java/org/broadinstitute/consent/http/db/mapper/DatasetAssociationMapper.java
1
package org.broadinstitute.consent.http.db.mapper;
2

3
import java.sql.ResultSet;
4
import java.sql.SQLException;
5
import org.broadinstitute.consent.http.models.DatasetAssociation;
6
import org.jdbi.v3.core.mapper.RowMapper;
7
import org.jdbi.v3.core.statement.StatementContext;
8

9
public class DatasetAssociationMapper implements RowMapper<DatasetAssociation> {
×
10

11
  @Override
12
  public DatasetAssociation map(ResultSet r, StatementContext statementContext)
13
      throws SQLException {
14
    DatasetAssociation association = new DatasetAssociation();
×
NEW
15
    association.setDatasetId(r.getInt("dataset_id"));
×
NEW
16
    association.setUserId(r.getInt("user_id"));
×
NEW
17
    association.setCreateDate(r.getDate("create_date"));
×
UNCOV
18
    return association;
×
19
  }
20
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc