harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r427435 - /incubator/harmony/enhanced/classlib/trunk/modules/sound/src/test/java/org/apache/harmony/sound/tests/javax/sound/midi/SoundbankResourceTest.java
Date Tue, 01 Aug 2006 03:58:15 GMT
Author: smishura
Date: Mon Jul 31 20:58:15 2006
New Revision: 427435

URL: http://svn.apache.org/viewvc?rev=427435&view=rev
Log:
Adjust test to convention

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/sound/src/test/java/org/apache/harmony/sound/tests/javax/sound/midi/SoundbankResourceTest.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/sound/src/test/java/org/apache/harmony/sound/tests/javax/sound/midi/SoundbankResourceTest.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/sound/src/test/java/org/apache/harmony/sound/tests/javax/sound/midi/SoundbankResourceTest.java?rev=427435&r1=427434&r2=427435&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/sound/src/test/java/org/apache/harmony/sound/tests/javax/sound/midi/SoundbankResourceTest.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/sound/src/test/java/org/apache/harmony/sound/tests/javax/sound/midi/SoundbankResourceTest.java
Mon Jul 31 20:58:15 2006
@@ -28,27 +28,24 @@
 public class SoundbankResourceTest extends TestCase
 {
     /**
-     * test method getName() of class SoundbankResource
-     *
+     * @tests javax.sound.midi.Soundbank#getName()
      */
     public void test_getName()
     {
-        
         SoundbankResource1 sound = new SoundbankResource1( null, null, null );
-        assertTrue( sound.getName() == null );
+        assertNull(sound.getName());
         
         SoundbankResource1 sound1 = new SoundbankResource1( null, "Test", null );
-        assertTrue( sound1.getName().equals( "Test" ) );
+        assertEquals("Test", sound1.getName());
     }
     
     /**
-     * test method getDataClass() of class SoundbankResource
-     *
+     * @tests javax.sound.midi.Soundbank#getDataClass()
      */
     public void test_getDataClass()
     {
         SoundbankResource1 sound = new SoundbankResource1( null, null, null );
-        assertTrue( sound.getDataClass() == null );
+        assertNull(sound.getDataClass());
     }
     
     /**



Mime
View raw message