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

optimizely / java-sdk / 732
91%

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

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%)

1.77 hits per line

Jobs
ID Job ID Ran Files Coverage
1 732.1 06 Nov 2018 11:23PM UTC 0
88.6
Travis Job 732.1
2 732.2 06 Nov 2018 11:21PM UTC 0
88.6
Travis Job 732.2
Source Files on build 732
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #732
  • 3bd8c843 on github
  • Prev Build on master (#728)
  • Next Build on master (#741)
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