Changeset 2249
- Timestamp:
- May 12, 2006, 10:37:04 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 16 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/build.xml
r2209 r2249 249 249 </fileset> 250 250 </copy> 251 <chmod file="${test.build}/run.sh" perm="a+x"/>251 <chmod dir="${test.build}" includes="*.sh" perm="a+x"/> 252 252 <copy todir="${test.build}"> 253 253 <fileset dir="${src}"> -
trunk/doc/test/permissions/firstpage.tex
r2236 r2249 54 54 \end{enumerate} 55 55 56 These tests can also be run in automated mode by test programs. This will of 57 course not test the web client, but are useful if one quickly needs to do the 58 parts of the test and then continue with for example the user tests on the 59 web. To run the tests you must first compile the test programs with "ant test". 60 61 Then execute: ./test.sh roles <cmds> 62 63 where <cmds> is a list specifying which tests to run. The following values 64 can be used: 65 66 \begin{itemize} 67 \item all: Run all tests 68 \item root: Run the root user tests 69 \item admin: Run the administrator tests 70 \item power: Run the power user tests 71 \item user: Run the regular user tests 72 \item guest: Run the guest user tests 73 \end{itemize} 74 75 76 56 77 \newpage -
trunk/src/test/run.sh
r1974 r2249 3 3 # BioArray Software Environment (BASE) - http://base.thep.lu.se/ 4 4 # Copyright (C) 2002-2004 Lao Saal, Carl Troein, 5 # Johan Vallon-Christersson, Jari H �kkinen, Nicklas Nordborg5 # Johan Vallon-Christersson, Jari Häkkinen, Nicklas Nordborg 6 6 # 7 7 # This file is part of BASE. … … 23 23 # ---------------------------------------- 24 24 25 # Set up the classpath 26 CP=. 27 28 # Base2 core 29 CP=$CP:../core 30 31 # Hibernate 32 CP=$CP:../../lib/compile/hibernate3.jar 33 CP=$CP:../../lib/dist/cglib-2.1.3.jar 34 CP=$CP:../../lib/dist/asm.jar 35 CP=$CP:../../lib/dist/asm-attrs.jar 36 CP=$CP:../../lib/dist/commons-collections-2.1.1.jar 37 CP=$CP:../../lib/dist/commons-logging-1.0.4.jar 38 CP=$CP:../../lib/dist/dom4j-1.6.1.jar 39 CP=$CP:../../lib/dist/ehcache-1.1.jar 40 CP=$CP:../../lib/dist/jta.jar 41 CP=$CP:../../lib/dist/antlr-2.7.6rc1.jar 42 43 # Log4j logging system (also used by Hibernate) 44 CP=$CP:../../lib/compile/log4j-1.2.11.jar 45 46 # C3P0 Connection pool manager 47 CP=$CP:../../lib/dist/c3p0-0.9.0.jar 48 49 # MySQL JDBC driver 50 CP=$CP:../../lib/dist/mysql-connector-java-3.1.12-bin.jar 51 52 # Postgres JDBC driver 53 CP=$CP:../../lib/dist/postgresql-8.0-313.jdbc3.jar 54 55 # Oracle JDBC driver (experimental) 56 CP=$CP:../../lib/dist/ojdbc14.jar 57 58 # JDOM and Xerces XML parser 59 CP=$CP:../../lib/compile/jdom.jar 60 CP=$CP:../../lib/dist/jaxen-1.1-beta-7.jar 61 CP=$CP:../../lib/dist/saxpath.jar 62 CP=$CP:../../lib/dist/xerces-2.6.2.jar 63 CP=$CP:../../lib/dist/xml-apis.jar 64 65 # Java Advanced Imaging 66 CP=$CP:../../lib/compile/jai_codec.jar 67 CP=$CP:../../lib/compile/jai_core.jar 68 CP=$CP:../../lib/compile/mlibwrapper_jai.jar 69 70 # Java Math Expression Parser 71 CP=$CP:../../lib/compile/jep-2.3.0.jar 72 73 # JFreeChart 74 CP=$CP:../../lib/compile/jfreechart-1.0.0.jar 75 CP=$CP:../../lib/compile/jcommon-1.0.0.jar 76 25 # Import CLASSPATH($CP) 26 . ./set_classpath.sh 77 27 78 28 # Execute test class
Note: See TracChangeset
for help on using the changeset viewer.