Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Add missing suite for Upload Tests
Browse files Browse the repository at this point in the history
Missed in previous merge.
  • Loading branch information
djansen-redhat committed Sep 16, 2013
1 parent 52f9706 commit 97fd595
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 3 deletions.
Expand Up @@ -24,6 +24,7 @@
import org.junit.runners.Suite;
import org.zanata.feature.account.AccountTestSuite;
import org.zanata.feature.administration.AdministrationTestSuite;
import org.zanata.feature.document.DocumentTestSuite;
import org.zanata.feature.glossary.GlossaryTestSuite;
import org.zanata.feature.security.SecurityTestSuite;
import org.zanata.feature.startNewProject.CreateSampleProjectTestSuite;
Expand All @@ -36,7 +37,8 @@
GlossaryTestSuite.class,
SecurityTestSuite.class,
CreateSampleProjectTestSuite.class,
VersionGroupTestSuite.class
VersionGroupTestSuite.class,
DocumentTestSuite.class
})
public class AggregateTestSuite {
}
@@ -0,0 +1,35 @@
/*
* Copyright 2013, Red Hat, Inc. and individual contributors as indicated by the
* @author tags. See the copyright.txt file in the distribution for a full
* listing of individual contributors.
*
* This is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation; either version 2.1 of the License, or (at your option)
* any later version.
*
* This software is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
* FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this software; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA, or see the FSF
* site: http://www.fsf.org.
*/
package org.zanata.feature.document;

import org.junit.runner.RunWith;
import org.junit.runners.Suite;

/**
* @author Damian Jansen <a href="mailto:djansen@redhat.com">djansen@redhat.com</a>
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({
UploadTest.class
})
public class DocumentTestSuite
{
}
Expand Up @@ -765,7 +765,7 @@ else if( entry.getKey().equals(HeaderFields.KEY_PoRevisionDate) )
}
}
}

@Test
public void headersFromOriginalPush() throws Exception
{
Expand Down Expand Up @@ -820,7 +820,7 @@ else if( entry.getKey().equals(HeaderFields.KEY_PoRevisionDate) )
}
}
}

@Test
public void headersAfterTranslating() throws Exception
{
Expand Down

0 comments on commit 97fd595

Please sign in to comment.