Opened 16 years ago
Closed 16 years ago
#1151 closed task (fixed)
Create a batch-importer version of the 'roles' test procedure
Reported by: | Nicklas Nordborg | Owned by: | Martin Svensson |
---|---|---|---|
Priority: | minor | Milestone: | BASE 2.9 |
Component: | test | Version: | |
Keywords: | Cc: |
Description
The 'roles' test program is already
- A manual test procedure to test the web client
- A programmed test procedure to test the core and permission system
It could be useful to extend the test procedure to use the various batch importers instead of using hard-coded values in the test program code. Some parts doesn't have batch importers. It would be preferable if the new variant could re-use the existing code for creating user, groups, projects, software, hardware, protocols, etc.
Batch importers to test: biosource, sample, extract, labeled extract, array design, array batch, array slide, hybridization, scan, raw bioassay and raw data.
Change History (8)
comment:1 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:2 by , 16 years ago
comment:3 by , 16 years ago
comment:4 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
comment:5 by , 16 years ago
comment:6 by , 16 years ago
comment:7 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
The 'rawbioassay_out.txt' file is missing in the repository. Running the 'roles' test program reports:
... --Uploading file: /batchimport/rawbioassay_out.txt --NOT FOUND - skipping upload ...
and later fails with:
--Executing job: Batch import of raw bioassays to Project A net.sf.basedb.core.BaseException: File 'rawbioassay_out.txt' doesn't match the expected file format. at net.sf.basedb.test.PluginUtil.executeJob(PluginUtil.java:148) at net.sf.basedb.test.roles.UserTest.importRawBioAssays(UserTest.java:547) at net.sf.basedb.test.roles.UserTest.run(UserTest.java:256) at net.sf.basedb.test.roles.Run.main(Run.java:70) Caused by: net.sf.basedb.core.UnsupportedFileFormatException: File 'rawbioassay_out.txt' doesn't match the expected file format. at net.sf.basedb.plugins.AbstractFlatFileImporter.run(AbstractFlatFileImporter.java:464) at net.sf.basedb.core.PluginExecutionRequest.invoke(PluginExecutionRequest.java:106) at net.sf.basedb.test.PluginUtil.executeJob(PluginUtil.java:145) ... 3 more ++Leaving user test (FAILED)
comment:8 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | reopened → closed |
The file has been added to the test-data repository.
(In [4625]) References #1151 Created new classes which do the power user-role test and user-role test with batch importers. The new functionallity is not tested yet.