com.atlassian.plugin.loaders
Class TestRosterFileScanner

java.lang.Object
  extended by com.atlassian.plugin.loaders.TestRosterFileScanner

public class TestRosterFileScanner
extends Object


Constructor Summary
TestRosterFileScanner()
           
 
Method Summary
static void backdateFile(File file)
           
 void getDeploymentUnitsIsEmptyBeforeScan()
           
 void isKnownRosterFileFormatFalseForUnsuffixed()
           
 void isKnownRosterFileFormatTrueForList()
           
 void removeDoesNotFail()
           
 void scanAfterFileUpdateYieldsNewUnits()
           
 void scanAfterResetReturnsDeploymentUnits()
           
 void scanAndGetDeploymentUnitsWithAbsolutePaths()
           
 void scanAndGetDeploymentUnitsWithRelativePaths()
           
 void scanOfMissingFileIsEmpty()
           
 void setUp()
           
 void tearDown()
           
static List<File> writeRosterFile(File rosterFile, String... paths)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TestRosterFileScanner

public TestRosterFileScanner()
Method Detail

setUp

public void setUp()
           throws Exception
Throws:
Exception

tearDown

public void tearDown()
              throws Exception
Throws:
Exception

scanOfMissingFileIsEmpty

public void scanOfMissingFileIsEmpty()

scanAndGetDeploymentUnitsWithAbsolutePaths

public void scanAndGetDeploymentUnitsWithAbsolutePaths()
                                                throws Exception
Throws:
Exception

scanAndGetDeploymentUnitsWithRelativePaths

public void scanAndGetDeploymentUnitsWithRelativePaths()
                                                throws Exception
Throws:
Exception

getDeploymentUnitsIsEmptyBeforeScan

public void getDeploymentUnitsIsEmptyBeforeScan()

scanAfterResetReturnsDeploymentUnits

public void scanAfterResetReturnsDeploymentUnits()
                                          throws Exception
Throws:
Exception

scanAfterFileUpdateYieldsNewUnits

public void scanAfterFileUpdateYieldsNewUnits()
                                       throws Exception
Throws:
Exception

removeDoesNotFail

public void removeDoesNotFail()

isKnownRosterFileFormatTrueForList

public void isKnownRosterFileFormatTrueForList()

isKnownRosterFileFormatFalseForUnsuffixed

public void isKnownRosterFileFormatFalseForUnsuffixed()

writeRosterFile

public static List<File> writeRosterFile(File rosterFile,
                                         String... paths)
                                  throws IOException
Throws:
IOException

backdateFile

public static void backdateFile(File file)
                         throws Exception
Throws:
Exception


Copyright © 2015 Atlassian. All rights reserved.