File tree Expand file tree Collapse file tree 2 files changed +5
-15
lines changed Expand file tree Collapse file tree 2 files changed +5
-15
lines changed Original file line number Diff line number Diff line change 2626import org .testng .annotations .*;
2727
2828import com .mongodb .util .*;
29+ import org .testng .Assert ;
2930
30- public class BSONTest extends TestCase {
31+ public class BSONTest extends Assert {
3132
3233
3334 public BSONTest (){
@@ -319,9 +320,4 @@ public void testRandomRoundTrips(){
319320
320321 List <String > _data = new ArrayList <String >();
321322
322-
323- public static void main ( String args [] ){
324- (new BSONTest ()).runConsole ();
325- }
326-
327323}
Original file line number Diff line number Diff line change 1818
1919package org .bson ;
2020
21- import java .io .*;
22- import java .nio .*;
21+ import com .mongodb .util .TestCase ;
2322import java .util .*;
24- import java .util .zip .*;
2523
2624import org .testng .annotations .Test ;
2725
28- import com .mongodb .util .*;
2926import org .bson .io .*;
27+ import org .testng .Assert ;
3028
31- public class PoolOutputBufferTest extends TestCase {
29+ public class PoolOutputBufferTest extends Assert {
3230
3331 public PoolOutputBufferTest (){
3432 for ( int x = 8 ; x <(PoolOutputBuffer .BUF_SIZE *3 ); x *=2 ){
@@ -75,8 +73,4 @@ public void testBig1(){
7573
7674 List <String > _data = new ArrayList <String >();
7775
78- public static void main ( String args [] ){
79- (new PoolOutputBufferTest ()).runConsole ();
80- }
81-
8276}
You can’t perform that action at this time.
0 commit comments