lp:~knitzsche/scope-aggregator/gtest

Created by Kyle Nitzsche and last modified
Get this branch:
bzr branch lp:~knitzsche/scope-aggregator/gtest
Only Kyle Nitzsche can upload to this branch. If you are Kyle Nitzsche please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Owner:
Kyle Nitzsche
Project:
scope-aggregator
Status:
Merged

Recent revisions

197. By Kyle Nitzsche

change Client::check_result_fallbacks to return a tuple instead of a
pair to return ivalue optimization.

196. By Kyle Nitzsche

move qstr() and sstr() methods to Client class and let everything call
them from the Client (instead of defining them statically at the top of
every file that wants them).

195. By Kyle Nitzsche

comment out the cmake snippet that runs the google tests automatically
on build because this fails when building with click-buddy because it
builds in a click chroot which, for example, is amd64 byt produces armhf

Open to ideas for how to always run the google tests on make.

194. By Kyle Nitzsche

gtests: add a hints.json to gtest/scope-directory because while our
tests supply test specific hints json files, the code does warn when
hints.json cannot be found, and these warnings muddy up gtest output.

193. By Kyle Nitzsche

create new methods:
* handle_keyword_child()
* handle_category_child()
* handle_declared_child()

in Query class and move the relevant code into them, thus simplifying
and shortening the lambda function in handle_child_scope_results()

192. By Kyle Nitzsche

gtests: add verify_no_departments

Verifies that a child scopes json file that does not have departments
does NOT result in a call to register_departments()

191. By Kyle Nitzsche

Gtest: on the verify_chlld_scopes_json test, added expecations that
register_departments() is called.

tweaked test comments

190. By Kyle Nitzsche

google test: new test: TestAggScope.verify_cardinality_methods

This test verifies cardinality settings are correctly loaded and that
the current setting is retrieved.

189. By Kyle Nitzsche

add "hints_remote" gtest.

Verifies that an agg scope that uses a hints scope to display hints does
display hints when the hints_is_hidden file is not present and that it
does not display hints when the file is present. (the file is created
when the user dismisses hints.)

188. By Kyle Nitzsche

the two hints tests work:
* hints_not_using (verifies a scope that declares not using hints
  does not in fact try to show them)
* hints_using_local (verifies local hints works AND does not display
  after being dismissed, amont other bits)

details in source.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:scope-aggregator
This branch contains Public information 
Everyone can see this information.

Subscribers