org.itracker.selenium
Class ViewProjectIssueListTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.springframework.test.ConditionalTestCase
              extended by org.springframework.test.AbstractSpringContextTests
                  extended by org.springframework.test.AbstractSingleSpringContextTests
                      extended by org.springframework.test.AbstractDependencyInjectionSpringContextTests
                          extended by org.itracker.AbstractDependencyInjectionTest
                              extended by org.itracker.selenium.AbstractSeleniumTestCase
                                  extended by org.itracker.selenium.ViewProjectIssueListTest
All Implemented Interfaces:
junit.framework.Test

public class ViewProjectIssueListTest
extends AbstractSeleniumTestCase

Verifies the functionality of per-project issues list page.

Author:
Andrey Sergievskiy

Field Summary
 
Fields inherited from class org.itracker.selenium.AbstractSeleniumTestCase
applicationHost, applicationPath, applicationPort, SE_TIMEOUT, selenium, SMTP_PORT, smtpServer
 
Fields inherited from class org.itracker.AbstractDependencyInjectionTest
classLoader, dataSet
 
Fields inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests
AUTOWIRE_BY_NAME, AUTOWIRE_BY_TYPE, AUTOWIRE_NO
 
Fields inherited from class org.springframework.test.AbstractSingleSpringContextTests
applicationContext
 
Fields inherited from class org.springframework.test.ConditionalTestCase
logger
 
Constructor Summary
ViewProjectIssueListTest()
           
 
Method Summary
protected  String[] getConfigLocations()
           
protected  String[] getDataSetFiles()
          must make sure, that the order is correct, so no constraints will be violated.
 void testViewProjectIssueList()
          1.
 
Methods inherited from class org.itracker.selenium.AbstractSeleniumTestCase
closeSession
 
Methods inherited from class org.itracker.AbstractDependencyInjectionTest
callSetup, callTeardown, getDataSource, getSessionFactoryBean, onSetUp, onTearDown, resetConfiguration, setDataSource, setSessionFactoryBean
 
Methods inherited from class org.springframework.test.AbstractDependencyInjectionSpringContextTests
getAutowireMode, injectDependencies, isDependencyCheck, isPopulateProtectedVariables, prepareTestInstance, setAutowireMode, setDependencyCheck, setPopulateProtectedVariables
 
Methods inherited from class org.springframework.test.AbstractSingleSpringContextTests
contextKey, createApplicationContext, createBeanDefinitionReader, customizeBeanFactory, getApplicationContext, getConfigPath, getConfigPaths, getLoadCount, loadContext, loadContextLocations, prepareApplicationContext, setDirty, setUp, tearDown
 
Methods inherited from class org.springframework.test.AbstractSpringContextTests
addContext, contextKeyString, getContext, hasCachedContext, isContextKeyEmpty, setDirty
 
Methods inherited from class org.springframework.test.ConditionalTestCase
getDisabledTestCount, isDisabledInThisEnvironment, recordDisabled, runBare
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runTest, setName, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ViewProjectIssueListTest

public ViewProjectIssueListTest()
Method Detail

testViewProjectIssueList

public void testViewProjectIssueList()
                              throws IOException
1. Login into the application with a specific user (admin_test1). 2. Goto Project List page. 3. Select project "test_name" and click "View" link for it. 4. At the "View Issue" page, compare all issues to the data we expect.

Throws:
IOException

getDataSetFiles

protected String[] getDataSetFiles()
Description copied from class: AbstractDependencyInjectionTest
must make sure, that the order is correct, so no constraints will be violated.

Specified by:
getDataSetFiles in class AbstractDependencyInjectionTest
Returns:

getConfigLocations

protected String[] getConfigLocations()
Overrides:
getConfigLocations in class org.springframework.test.AbstractSingleSpringContextTests


Copyright © 2002-2012 itracker. All Rights Reserved.