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

hpi-swa-teaching / TelegramClient / 9635648045

23 Jun 2024 05:20PM UTC coverage: 32.13% (-0.6%) from 32.731%
9635648045

push

github

Elia Doumerc
Merge develop into feature/sendPics

43 of 217 new or added lines in 39 files covered. (19.82%)

4 existing lines in 3 files now uncovered.

2047 of 6371 relevant lines covered (32.13%)

0.32 hits per line

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

0.0
/packages/TelegramClient-UI.package/TCUPollOption.class/instance/initializeWith.and..st
1
as yet unclassified
×
2
initializeWith: aPollMessage and: anOption
×
NEW
3
        | text |
×
4
        
×
5
        pollMessage := aPollMessage.
×
6
        pollOption := anOption.
×
7
        (aPollMessage messageModel allowsMultipleAnswers)
×
8
                ifTrue: [selectionMorph := RectangleMorph new]
×
9
                ifFalse: [selectionMorph := CircleMorph new].
×
10
        selectionMorph
×
11
                color: aPollMessage messageColor;
×
12
                extent: 16@16.
×
NEW
13
        text := (anOption votePercentage asString),'% ',(anOption text).
×
14
        textMorph := aPollMessage class defaultTextMorph
×
NEW
15
                contents: (TCUEmojiHelper embedEmojisInto: text);
×
16
                hResizing: #spaceFill;
×
17
                color: Color white;
×
18
                margins: aPollMessage class defaultMargins;
×
19
                position: 26@0;
×
20
                lock;
×
21
                yourself.
×
22
        self color: pollMessage messageColor;
×
23
                borderWidth: 0;
×
24
                addMorph: selectionMorph;
×
25
                addMorph: textMorph;
×
26
                hResizing: #shrinkWrap;
×
27
                "hResizing: #spaceFill;"
×
28
                vResizing: #shrinkWrap;
×
29
        on: #mouseDown send: #mouseDown to: self
×
30
        updateSelection.
×
31

×
32
        
×
33
        
×
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