[zanata/zanata-server] f269f0: Source File Upload Tests

GitHub noreply at github.com
Thu Aug 1 04:22:55 UTC 2013


  Branch: refs/heads/document-upload-tests
  Home:   https://github.com/zanata/zanata-server
  Commit: f269f047091408769c4eae5e4a186628e67866cf
      https://github.com/zanata/zanata-server/commit/f269f047091408769c4eae5e4a186628e67866cf
  Author: Damian Jansen <djansen at redhat.com>
  Date:   2013-07-31 (Wed, 31 Jul 2013)

  Changed paths:
    M functional-test/pom.xml
    M functional-test/src/main/java/org/zanata/page/BasePage.java
    A functional-test/src/main/java/org/zanata/page/projects/ProjectSourceDocumentsPage.java
    M functional-test/src/main/java/org/zanata/page/projects/ProjectVersionPage.java
    A functional-test/src/test/java/org/zanata/feature/document/UploadTest.java
    M functional-test/src/test/java/org/zanata/util/DatabaseHelper.java
    M functional-test/src/test/java/org/zanata/util/ResetDatabaseRule.java
    M functional-test/src/test/resources/setup.properties
    A functional-test/testdata/cancelFileUpload.txt
    A functional-test/testdata/uploadedDocumentIsInFilesystem.txt
    M zanata-war/src/main/webapp/iteration/source_files.xhtml

  Log Message:
  -----------
  Source File Upload Tests

Add Uploaded source files testing. Handles success and error case.
Exception located in error cases, these tests are expect fail.
Added a 'Critical Error' check to BasePage and some hard defaults
for the document storage dir.
Added an action to delete the stored files on database reset.
Slight modification of ids in Source Documents pages.





More information about the zanata-commits mailing list