[zanata/zanata-server] fbc88b: rhbz980658 move tests for common upload checks to ...

GitHub noreply at github.com
Fri Aug 2 03:28:11 UTC 2013


  Branch: refs/heads/test-file-service-classes
  Home:   https://github.com/zanata/zanata-server
  Commit: fbc88bd162d4814d67ec3a824ceba5a0c991845f
      https://github.com/zanata/zanata-server/commit/fbc88bd162d4814d67ec3a824ceba5a0c991845f
  Author: David Mason <dr.d.mason at gmail.com>
  Date:   2013-08-01 (Thu, 01 Aug 2013)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/file/DocumentUploadUtil.java
    A zanata-war/src/test/java/org/zanata/file/DocumentUploadTest.java
    A zanata-war/src/test/java/org/zanata/file/DocumentUploadUtilTest.java
    M zanata-war/src/test/java/org/zanata/file/SourceDocumentUploadTest.java
    A zanata-war/src/test/java/org/zanata/file/TranslationDocumentUploadTest.java

  Log Message:
  -----------
  rhbz980658 move tests for common upload checks to new test class

    Checks are performed in DocumentUploadUtil, so would have been duplicated
    in source and translation upload tests. Instead, source and translation
    upload tests just make sure they handle exceptions from the util properly
    and tests for the specific checks run only against the util.





More information about the zanata-commits mailing list