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

database-rider / database-rider / #911

27 Oct 2024 07:44PM CUT coverage: 83.964% (+0.01%) from 83.951%
#911

push

web-flow
#610 fix support for parent classes hierarchy (#612)

* refs #610 fix annotation support for parent classes hierarchy

---------

Co-authored-by: Lee <hosing.lee@hsl-it-solutions.nl>

9 of 9 new or added lines in 1 file covered. (100.0%)

3084 of 3673 relevant lines covered (83.96%)

0.84 hits per line

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

0.0
/rider-examples/rider-micronaut/src/main/java/example/controllers/PetController.java
1
package example.controllers;
2

3
import java.util.List;
4
import java.util.Optional;
5

6
import example.domain.NameDTO;
7
import example.domain.Pet;
8
import example.repositories.PetRepository;
9
import io.micronaut.data.model.Pageable;
10
import io.micronaut.http.annotation.Controller;
11
import io.micronaut.http.annotation.Get;
12

13
@Controller("/pets")
14
class PetController {
15

16
    private final PetRepository petRepository;
17

18
    PetController(PetRepository petRepository) {
×
19
        this.petRepository = petRepository;
×
20
    }
×
21

22
    @Get("/")
23
    List<NameDTO> all(Pageable pageable) {
24
        return petRepository.list(pageable);
×
25
    }
26

27
    @Get("/{name}")
28
    Optional<Pet> byName(String name) {
29
        return petRepository.findByName(name);
×
30
    }
31

32
}
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

© 2025 Coveralls, Inc