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

Commit

Permalink
Add the appropriate test suites
Browse files Browse the repository at this point in the history
Add the missing test suites for existing tests and the suite for
project search.
  • Loading branch information
djansen-redhat authored and Patrick Huang committed Feb 28, 2014
1 parent 8798223 commit 1aadad3
Show file tree
Hide file tree
Showing 4 changed files with 126 additions and 7 deletions.
Expand Up @@ -24,13 +24,18 @@
import org.junit.runners.Suite;
import org.zanata.feature.account.AccountTestSuite;
import org.zanata.feature.administration.AdministrationTestSuite;
import org.zanata.feature.clientserver.ClientServerTestSuite;
import org.zanata.feature.concurrentedit.ConcurrentEditTestSuite;
import org.zanata.feature.dashboard.DashboardTestSuite;
import org.zanata.feature.document.DocumentTestSuite;
import org.zanata.feature.editor.EditorTestSuite;
import org.zanata.feature.glossary.GlossaryTestSuite;
import org.zanata.feature.googleopenid.GoogleOpenIDTestSuite;
import org.zanata.feature.infrastructure.InfrastructureTestSuite;
import org.zanata.feature.language.LanguageTestSuite;
import org.zanata.feature.misc.MiscTestSuite;
import org.zanata.feature.project.ProjectTestSuite;
import org.zanata.feature.search.SearchTestSuite;
import org.zanata.feature.security.SecurityTestSuite;
import org.zanata.feature.startNewProject.CreateSampleProjectTestSuite;
import org.zanata.feature.versionGroup.VersionGroupTestSuite;
Expand All @@ -43,12 +48,23 @@
* href="mailto:djansen@redhat.com">djansen@redhat.com</a>
*/
@RunWith(Suite.class)
@Suite.SuiteClasses({InfrastructureTestSuite.class,
AccountTestSuite.class, AdministrationTestSuite.class,
GlossaryTestSuite.class, SecurityTestSuite.class,
CreateSampleProjectTestSuite.class, VersionGroupTestSuite.class,
DocumentTestSuite.class, DashboardTestSuite.class,
GoogleOpenIDTestSuite.class, ProjectTestSuite.class,
LanguageTestSuite.class, DetailedTestSuite.class})
@Suite.SuiteClasses({
AccountTestSuite.class,
AdministrationTestSuite.class,
ClientServerTestSuite.class,
ConcurrentEditTestSuite.class,
DashboardTestSuite.class,
DocumentTestSuite.class,
EditorTestSuite.class,
GlossaryTestSuite.class,
GoogleOpenIDTestSuite.class,
InfrastructureTestSuite.class,
LanguageTestSuite.class,
MiscTestSuite.class,
ProjectTestSuite.class,
SearchTestSuite.class,
SecurityTestSuite.class,
VersionGroupTestSuite.class,
CreateSampleProjectTestSuite.class })
public class AggregateTestSuite {
}
@@ -0,0 +1,35 @@
/*
* Copyright 2014, 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.clientserver;

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({GettextPluralSupportTest.class,
ProjectMaintainerTest.class, PropertiesRoundTripTest.class})

public class ClientServerTestSuite {
}
@@ -0,0 +1,34 @@
/*
* Copyright 2014, 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.concurrentedit;

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({ ConcurrentEditTest.class })

public class ConcurrentEditTestSuite {
}
@@ -0,0 +1,34 @@
/*
* Copyright 2014, 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.misc;

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({ContactAdminTest.class, ObsoleteTextTest.class })

public class MiscTestSuite {
}

0 comments on commit 1aadad3

Please sign in to comment.