com.atlassian.core.util
Class TestFileSize

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by com.atlassian.core.util.TestFileSize
All Implemented Interfaces:
junit.framework.Test

public class TestFileSize
extends junit.framework.TestCase


Constructor Summary
TestFileSize(String s)
           
 
Method Summary
 void setUp()
           
 void tearDown()
           
 void testFormat()
           
 void testFormatGreaterThan1GB()
           
 void testFormatLessThan1KB()
           
 void testFormatLessThan1MB()
           
 void testLonglong()
           
 
Methods inherited from class junit.framework.TestCase
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TestFileSize

public TestFileSize(String s)
Method Detail

setUp

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

tearDown

public void tearDown()
              throws Exception
Overrides:
tearDown in class junit.framework.TestCase
Throws:
Exception

testLonglong

public void testLonglong()

testFormat

public void testFormat()

testFormatLessThan1KB

public void testFormatLessThan1KB()

testFormatLessThan1MB

public void testFormatLessThan1MB()

testFormatGreaterThan1GB

public void testFormatGreaterThan1GB()


Copyright © 2015 Atlassian. All rights reserved.