Skip to content

Commit

Permalink
Fix markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
ruprict committed Mar 25, 2010
1 parent d21f703 commit ae6c81d
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 10 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
.DS_Store
.DS_Store
bin-debug/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ __Source code to support my user presentation at the 2010 ESRI Developers Summit
* [Parsely](http://www.spicefactory.org/parsely)
* [FlexUnit4](http://opensource.adobe.com/wiki/display/flexunit/FlexUnit)
* [ASMock](http://asmock.sourceforge.net/)
* [Hamcrest] http://github.com/drewbourne/hamcrest-as3
* [Hamcrest](http://github.com/drewbourne/hamcrest-as3)
* [Great article on View Patterns by Paul Williams of Adobe](http://blogs.adobe.com/paulw/archives/2007/09/presentation_pa.html)


2 changes: 0 additions & 2 deletions test/application/StadiumSelectedCommandTest.as
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@ package application

public class StadiumSelectedCommandTest
{

[Test]
public function shouldSetSelectedStadiumOnModel():void{
//Arrange
var comm:StadiumSelectedCommand= new StadiumSelectedCommand();
comm.selectedExtent= new Extent();
var stadium:Stadium = new Stadium("Cowboys","NFC");

var mp:MapPoint = new MapPoint(1,2);
stadium.geometry =mp;
//Act
Expand Down
8 changes: 2 additions & 6 deletions test/presentation/MapViewPMTest.as
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,17 @@ package presentation
import org.flexunit.experimental.eventfulTestCase.EventfulTestCase;

public class MapViewPMTest extends EventfulTestCase
{

{
[Test]
public function shouldDispatchSelectStadiumsEvent():void{
//Arrange
var pm:MapViewPM = new MapViewPM();
var extent:Extent = new Extent(1,2,3,4);
listenForEvent(pm,"selectStadiums",true);

//Act
pm.selectStadiums(extent);

//Assert
assertEvents();

assertEvents();
}

[Test]
Expand Down

0 comments on commit ae6c81d

Please sign in to comment.