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

hazendaz / jmockit1 / 381

28 Oct 2025 02:00PM UTC coverage: 72.226% (-1.0%) from 73.269%
381

push

github

web-flow
Merge pull request #393 from hazendaz/full-jakarta-support

Jakarta Full Migration

5686 of 8360 branches covered (68.01%)

Branch coverage included in aggregate %.

145 of 408 new or added lines in 14 files covered. (35.54%)

19 existing lines in 4 files now uncovered.

11948 of 16055 relevant lines covered (74.42%)

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/TestConversationJakarta.java
1
/*
2
 * Copyright (c) 2006 JMockit developers
3
 * This file is subject to the terms of the MIT license (see LICENSE.txt).
4
 */
5
package mockit.internal.injection.full;
6

7
import jakarta.enterprise.context.Conversation;
8

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

NEW
15
    TestConversationJakarta() {
×
NEW
16
        currentlyTransient = true;
×
NEW
17
    }
×
18

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

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

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

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

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

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

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