Overview
Test suite for the Content REST service.
Prerequisites
Prerequisites are tested in the class ContentServiceRestTest.
- SNOMEDCT, version latest, loaded from the config data project
- ICD9CM, 2013, loaded from the config data project
- The config.properties file fully specifies the "security.handler" parameters
- The config.properties file specifies a "viewer.user" and "viewer.password"
Assumptions
Assumptions not fulfilled will cause test failures.
- The security handler specified exists and can be instantiated.
- The security handler successfully authenticates the "viewer.user", and returns a user with application role of VIEWER
Test Cases.
This test suite comprises the following test cases:
- Normal Use - org.ihtsdo.otf.ts.test.rest.SecurityServiceRestNormalUseTest
- Case testNormalUseRestContentt001
- Case testNormalUseRestContentt002
- Case testNormalUseRestContent003
- Case testNormalUseRestContent004
- Case testNormalUseRestContent005
- Case testNormalUseRestContent006
- Case testNormalUseRestContent007
- Case testNormalUseRestContent008
- Case testNormalUseRestContent009
- Case testNormalUseRestContent010
- Case testNormalUseRestContent011
- Case testNormalUseRestContent012
- Case testNormalUseRestContent013
- Case testNormalUseRestContent014
- Case testNormalUseRestContent015
- Case testNormalUseRestContent016
- Case testNormalUseRestContent017
- Case testNormalUseRestContent018
- Case testNormalUseRestContent019
- Degenerate Use - org.ihtsdo.otf.ts.test.rest.SecurityServiceRestDegenerateUseTest
- Edge Cases - org.ihtsdo.otf.ts.test.rest.SecurityServiceRestEdgeCasesTest
- Role Check - org.ihtsdo.otf.ts.test.rest.SecurityServiceRestRoleCheckTest
testNormalUseRestContent004 |
testNormalUseRestContent005 |
testNormalUseRestContent006 |
testNormalUseRestContent007 |
testNormalUseRestContent008 |
testNormalUseRestContent009 |
testNormalUseRestContent010 |
testNormalUseRestContent011 |
testNormalUseRestContent012 |
testNormalUseRestContent013 |
testNormalUseRestContent014 |
testNormalUseRestContent015 |
testNormalUseRestContent016 |
testNormalUseRestContent017 |
testNormalUseRestContent018 |
testNormalUseRestContent019 |