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

asrob-uc3m / robotDevastation / 677 / 1
82%
develop: 87%

Build:
Build:
LAST BUILD BRANCH: master
DEFAULT BRANCH: develop
Ran 16 Apr 2017 05:04PM UTC
Files 62
Run time 3s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Apr 2017 04:53PM UTC coverage: 81.763% (+0.8%) from 80.991%
SDL_AUDIODRIVER=dummy

push

travis-ci

PeterBowman
Provide trivial copy ctor and assignment operator for singleton classes

One could still create copies with the following code:

// Create singleton
MockImageManager::RegisterManager();
ImageManager * im = ImageManager::getImageManager(MockImageManager::id);

// Violate singleton's contract with copy constructor
MockImageManager * temp = (MockImageManager*)im; // for conciseness
MockImageManager mim1(*temp);                         // copy-ctor #1
MockImageManager mim2 = *temp;                        // copy-ctor #2
MockImageManager mim3 = MockImageManager(*temp);      // copy-ctor #3
MockImageManager *pmim = new MockImageManager(*temp); // copy-ctor #4

// Copy assignment operator
mim1 = mim3;

See also http://stackoverflow.com/a/6811055

2013 of 2462 relevant lines covered (81.76%)

3790.66 hits per line

Source Files on job 677.1 (SDL_AUDIODRIVER=dummy)
  • Tree
  • List 0
  • Changed 59
  • Source Changed 12
  • Coverage Changed 57
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 677
  • Travis Job 677.1
  • 2272d973 on github
  • Prev Job for AUDIODEV=null on patch-issue96 (#667.1)
  • Next Job for SDL_AUDIODRIVER=dummy on patch-issue96 (#678.1)
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