User Tools

Site Tools


java:junit4

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
java:junit4 [2010/07/31 01:03]
rlunaro
java:junit4 [2014/12/24 10:42] (current)
Line 52: Line 52:
 import org.springframework.beans.factory.annotation.Autowired;​ import org.springframework.beans.factory.annotation.Autowired;​
  
 +import static org.junit.Assert.*;​
  
  
Line 83: Line 84:
  System.out.println("​hello spring"​);​  System.out.println("​hello spring"​);​
  element.setIdAndContent( -1, new StringBuilder("​hola"​) );  element.setIdAndContent( -1, new StringBuilder("​hola"​) );
 + assertTrue( true ); 
  }  }
   
java/junit4.txt ยท Last modified: 2014/12/24 10:42 (external edit)