com.atlassian.plugin.repositories
Class TestFilePluginInstaller

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.plugin.repositories.TestFilePluginInstaller
All Implemented Interfaces:
junit.framework.Test

public class TestFilePluginInstaller
extends junit.framework.TestCase


Constructor Summary
TestFilePluginInstaller()
           
 
Method Summary
protected  void setUp()
           
 void testClearBackups()
           
 void testInstallPlugin()
           
 void testInstallPluginWithExisting()
           
 void testInstallPluginWithExistingOld()
           
 void testRevertInstalledPlugin()
           
 void testRevertInstalledPluginWithDifferentNamedInstalledPlugin()
           
 void testRevertInstalledPluginWithOld()
           
 void testRevertInstalledPluginWithTwoPrevious()
           
 void testRevertInstalledPluginWithTwoPreviousAndDifferentNames()
           
 void testRevertInstalledPluginWithTwoPreviousAndDifferentNamesOneOriginal()
           
 void testRevertInstalledPluginWithTwoPreviousAndSameNamesOneOriginal()
           
 void testRevertUpgradedTwicePlugin()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestFilePluginInstaller

public TestFilePluginInstaller()
Method Detail

setUp

protected void setUp()
              throws Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
Exception

testInstallPlugin

public void testInstallPlugin()
                       throws IOException
Throws:
IOException

testInstallPluginWithExisting

public void testInstallPluginWithExisting()
                                   throws IOException
Throws:
IOException

testInstallPluginWithExistingOld

public void testInstallPluginWithExistingOld()
                                      throws IOException
Throws:
IOException

testRevertInstalledPlugin

public void testRevertInstalledPlugin()
                               throws IOException
Throws:
IOException

testRevertInstalledPluginWithOld

public void testRevertInstalledPluginWithOld()
                                      throws IOException
Throws:
IOException

testRevertUpgradedTwicePlugin

public void testRevertUpgradedTwicePlugin()
                                   throws IOException
Throws:
IOException

testRevertInstalledPluginWithTwoPrevious

public void testRevertInstalledPluginWithTwoPrevious()
                                              throws IOException
Throws:
IOException

testRevertInstalledPluginWithTwoPreviousAndDifferentNames

public void testRevertInstalledPluginWithTwoPreviousAndDifferentNames()
                                                               throws IOException
Throws:
IOException

testRevertInstalledPluginWithTwoPreviousAndDifferentNamesOneOriginal

public void testRevertInstalledPluginWithTwoPreviousAndDifferentNamesOneOriginal()
                                                                          throws IOException
Throws:
IOException

testRevertInstalledPluginWithTwoPreviousAndSameNamesOneOriginal

public void testRevertInstalledPluginWithTwoPreviousAndSameNamesOneOriginal()
                                                                     throws IOException
Throws:
IOException

testRevertInstalledPluginWithDifferentNamedInstalledPlugin

public void testRevertInstalledPluginWithDifferentNamedInstalledPlugin()
                                                                throws IOException
Throws:
IOException

testClearBackups

public void testClearBackups()
                      throws IOException
Throws:
IOException


Copyright © 2011 Atlassian. All Rights Reserved.