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

Constructor Detail

TestFileSize

public TestFileSize(java.lang.String s)
Method Detail

testLonglong

public void testLonglong()

testFormat

public void testFormat()

testFormatLessThan1KB

public void testFormatLessThan1KB()

testFormatLessThan1MB

public void testFormatLessThan1MB()

testFormatGreaterThan1GB

public void testFormatGreaterThan1GB()


Copyright © 2009 Atlassian Pty Ltd. All Rights Reserved.