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

optimizely / swift-sdk / 2275 / 5
95%
master: 95%

Build:
DEFAULT BRANCH: master
Ran 17 Mar 2021 10:34PM UTC
Files 78
Run time 17s
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

12 Mar 2021 10:14PM UTC coverage: 83.655%. Remained the same
SCHEME=OptimizelySwiftSDK-iOS TEST_SDK=iphonesimulator PLATFORM='iOS Simulator' OS=13.3 NAME='iPhone 11'

cron

travis-ci-com

web-flow
Allow supplying data file handler. (#384)

As consumers of the SDK we have a need to support custom reading and writing of the data files within Optimizely. This PR makes changes to allow for this customization by supporting the injection of an OPTDatafileHandler that can implement these custom behaviors.

There are three main areas of this PR:

- Allow for injecting a OPTDatafileHandler during the construction of the OptimizelyClient. If not supplied then the standard DefaultDatafileHandler is utilized.
- Open the existing implementation of DefaultDatafileHandler so that it can be extended by consumers of the SDK and injected via OptimizelyClient construction.
- Open the existing implementation of DataStoreFile so that it can be easily extended to support custom reading and writing of Data, and utilized in extended versions of OPTDatafileHandler/ DefaultDatafileHandler.

1515 of 1811 relevant lines covered (83.66%)

111.86 hits per line

Source Files on job 2275.5 (SCHEME=OptimizelySwiftSDK-iOS TEST_SDK=iphonesimulator PLATFORM='iOS Simulator' OS=13.3 NAME='iPhone 11')
  • Tree
  • List 0
  • Changed 10
  • Source Changed 10
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 722
  • Travis Job 2275.5
  • 3b3924ca on github
  • Prev Job for SCHEME=OptimizelySwiftSDK-iOS TEST_SDK=iphonesimulator PLATFORM='iOS Simulator' OS=13.3 NAME='iPhone 11' on master (#2274.4)
  • Next Job for SCHEME=OptimizelySwiftSDK-iOS TEST_SDK=iphonesimulator PLATFORM='iOS Simulator' OS=13.3 NAME='iPhone 11' on master (#2278.4)
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