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

hazendaz / jmockit1 / 496

15 Nov 2025 05:33PM UTC coverage: 72.192% (-0.008%) from 72.2%
496

push

github

web-flow
Merge pull request #412 from hazendaz/renovate/major-spring-core

Update spring core to v7 (major)

5677 of 8360 branches covered (67.91%)

Branch coverage included in aggregate %.

11922 of 16018 relevant lines covered (74.43%)

0.74 hits per line

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

0.0
/main/src/main/java/mockit/internal/injection/full/TestConversationJavax.java
1
/*
2
 * MIT License
3
 * Copyright (c) 2006-2025 JMockit developers
4
 * See LICENSE file for full license text.
5
 */
6
package mockit.internal.injection.full;
7

8
import javax.enterprise.context.Conversation;
9

10
final class TestConversationJavax implements Conversation {
11
    private boolean currentlyTransient;
12
    private int counter;
13
    private String currentId;
14
    private long currentTimeout;
15

16
    TestConversationJavax() {
×
17
        currentlyTransient = true;
×
18
    }
×
19

20
    @Override
21
    public void begin() {
22
        counter++;
×
23
        currentId = String.valueOf(counter);
×
24
        currentlyTransient = false;
×
25
    }
×
26

27
    @Override
28
    public void begin(String id) {
29
        counter++;
×
30
        currentId = id;
×
31
        currentlyTransient = false;
×
32
    }
×
33

34
    @Override
35
    public void end() {
36
        currentlyTransient = true;
×
37
        currentId = null;
×
38
    }
×
39

40
    @Override
41
    public String getId() {
42
        return currentId;
×
43
    }
44

45
    @Override
46
    public long getTimeout() {
47
        return currentTimeout;
×
48
    }
49

50
    @Override
51
    public void setTimeout(long milliseconds) {
52
        currentTimeout = milliseconds;
×
53
    }
×
54

55
    @Override
56
    public boolean isTransient() {
57
        return currentlyTransient;
×
58
    }
59
}
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