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

optimizely / java-sdk / 732 / 2
91%
master: 91%

Build:
DEFAULT BRANCH: master
Ran 06 Nov 2018 11:21PM UTC
Files 89
Run time 6s
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

06 Nov 2018 11:17PM UTC coverage: 88.602% (-0.7%) from 89.253%
732.2

push

travis-ci

web-flow
Audience combinations (#225)

* create ConditionUtil for condition parsing and add audeince holder.

* add ability to parse audienceConditions.  Also, consolidate parseConditions to ConditionsUtil.

* fix the parsers to parse audienceConditions

* add audienceConditions parsed correctly in V4 datafile and empty in the rest

* start using audienceConditions

* user series of ors to test audienceConditions

* rename AudienceHolderCondition to AudienceIdCondition.

* add license headers

* remove extra parseConditions

* add tests for audienceCondition with AND

* refactor and move audience id condition resolver to ConditionsUtil

* added sanity checks, comments, and exceptions

* add exceptions before refactor

* use implicit or condition to evaluate

* refactor to pass in the project config when evaluating conditions.

* remove unused exception

* catch all exceptions just in case.

* slight refactor

* rename methods and cleanup javadoc

* update with last fixes

* refactor how audienceConditions is parsed

* allow for empty audienceConditions.  Check for index out of bounds in 'not' operand

* change so that empty Not condition returns null

* if conditions has no condition for not operator.  evaluates to null

* refactor out operand parse. rename audience combindations

* remove parsing of audienceConditions as string.

* add parsing checks for valid and invalid conditions for all parsers.  tweak convertObject to use value and attribute to ensure type safety.  Add generics for condition types holder

* rename convert to castToValueType

* add a couple of safeguards

* minor fixes from Logan's comments

2612 of 2948 relevant lines covered (88.6%)

0.89 hits per line

Source Files on job 732.2
  • Tree
  • List 0
  • Changed 25
  • Source Changed 25
  • Coverage Changed 19
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 214
  • Travis Job 732.2
  • 3bd8c843 on github
  • Prev Job for on master (#728.1)
  • Next Job for on master (#741.2)
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