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

optimizely / swift-sdk / 2274
95%

Build:
DEFAULT BRANCH: master
Ran 12 Mar 2021 10:31PM UTC
Jobs 3
Files 26
Run time 1min
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

pending completion
2274

push

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.

1395 of 1540 relevant lines covered (90.58%)

387.79 hits per line

Jobs
ID Job ID Ran Files Coverage
4 2274.4 (SCHEME=OptimizelySwiftSDK-iOS TEST_SDK=iphonesimulator PLATFORM='iOS Simulator' OS=13.3 NAME='iPhone 11') 12 Mar 2021 10:32PM UTC 0
83.66
Travis Job 2274.4
5 2274.5 (SCHEME=OptimizelySwiftSDK-iOS TEST_SDK=iphonesimulator PLATFORM='iOS Simulator' OS=11.4 NAME='iPhone 7 Plus') 12 Mar 2021 10:31PM UTC 0
83.66
Travis Job 2274.5
6 2274.6 (SCHEME=OptimizelySwiftSDK-iOS TEST_SDK=iphonesimulator PLATFORM='iOS Simulator' OS=11.1 NAME='iPad Air') 12 Mar 2021 10:31PM UTC 0
83.66
Travis Job 2274.6
Source Files on build 2274
Detailed source file information is not available for this build.
  • Back to Repo
  • Build #2274
  • 3b3924ca on github
  • Prev Build on master (#2259)
  • Next Build on master (#2275)
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