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 26
26
import org .testng .annotations .*;
27
27
28
28
import com .mongodb .util .*;
29
+ import org .testng .Assert ;
29
30
30
- public class BSONTest extends TestCase {
31
+ public class BSONTest extends Assert {
31
32
32
33
33
34
public BSONTest (){
@@ -319,9 +320,4 @@ public void testRandomRoundTrips(){
319
320
320
321
List <String > _data = new ArrayList <String >();
321
322
322
-
323
- public static void main ( String args [] ){
324
- (new BSONTest ()).runConsole ();
325
- }
326
-
327
323
}
Original file line number Diff line number Diff line change 18
18
19
19
package org .bson ;
20
20
21
- import java .io .*;
22
- import java .nio .*;
21
+ import com .mongodb .util .TestCase ;
23
22
import java .util .*;
24
- import java .util .zip .*;
25
23
26
24
import org .testng .annotations .Test ;
27
25
28
- import com .mongodb .util .*;
29
26
import org .bson .io .*;
27
+ import org .testng .Assert ;
30
28
31
- public class PoolOutputBufferTest extends TestCase {
29
+ public class PoolOutputBufferTest extends Assert {
32
30
33
31
public PoolOutputBufferTest (){
34
32
for ( int x = 8 ; x <(PoolOutputBuffer .BUF_SIZE *3 ); x *=2 ){
@@ -75,8 +73,4 @@ public void testBig1(){
75
73
76
74
List <String > _data = new ArrayList <String >();
77
75
78
- public static void main ( String args [] ){
79
- (new PoolOutputBufferTest ()).runConsole ();
80
- }
81
-
82
76
}
You can’t perform that action at this time.
0 commit comments