Merge pull request #219 from kakao/feature/move_test_from_rest_to_core Feature/move test from rest to core
Project: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/commit/67aafe35 Tree: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/tree/67aafe35 Diff: http://git-wip-us.apache.org/repos/asf/incubator-s2graph/diff/67aafe35 Branch: refs/heads/feature/test_daewon Commit: 67aafe3592fc97d27e4366c97a5f71d63efcb2ae Parents: bd65d26 610d519 Author: Doyung Yoon <[email protected]> Authored: Tue Dec 29 17:36:04 2015 +0900 Committer: Doyung Yoon <[email protected]> Committed: Tue Dec 29 17:36:04 2015 +0900 ---------------------------------------------------------------------- .../scala/com/kakao/s2graph/core/Graph.scala | 2 +- .../kakao/s2graph/core/rest/RequestParser.scala | 21 + .../scala/com/kakao/s2graph/core/EdgeTest.scala | 29 + .../com/kakao/s2graph/core/GraphTest.scala | 8 - .../kakao/s2graph/core/Integrate/CrudTest.scala | 227 +++ .../core/Integrate/IntegrateCommon.scala | 308 ++++ .../s2graph/core/Integrate/QueryTest.scala | 639 ++++++++ .../core/Integrate/StrongLabelDeleteTest.scala | 282 ++++ .../core/Integrate/WeakLabelDeleteTest.scala | 129 ++ .../com/kakao/s2graph/core/JsonParserTest.scala | 3 - .../com/kakao/s2graph/core/QueryParamTest.scala | 3 - .../com/kakao/s2graph/core/TestCommon.scala | 6 - .../s2graph/core/TestCommonWithModels.scala | 15 +- .../app/controllers/EdgeController.scala | 9 +- .../benchmark/PostProcessBenchmarkSpec.scala | 6 +- .../test/controllers/BasicCrudSpec.scala | 500 ++++--- .../test/controllers/PostProcessSpec.scala | 2 +- s2rest_play/test/controllers/QuerySpec.scala | 1386 +++++++++--------- s2rest_play/test/controllers/SpecCommon.scala | 35 +- .../controllers/StrongLabelDeleteSpec.scala | 690 ++++----- .../test/controllers/WeakLabelDeleteSpec.scala | 252 ++-- 21 files changed, 3064 insertions(+), 1488 deletions(-) ----------------------------------------------------------------------
