Skip to content

Commit

Permalink
Merge pull request joomla#12 from realityking/at
Browse files Browse the repository at this point in the history
New Unit tests
  • Loading branch information
LouisLandry committed Jun 10, 2011
2 parents 406f839 + ee67f82 commit 52e4f7a
Show file tree
Hide file tree
Showing 3 changed files with 435 additions and 102 deletions.
102 changes: 0 additions & 102 deletions tests/suite/joomla/document/JDocumentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,9 +128,6 @@ public function testConstruct($options, $expects)
);
}

/**
* @todo Implement testGetInstance().
*/
public function testGetInstance() {
$this->object = JDocument::getInstance();

Expand All @@ -152,9 +149,6 @@ public function testGetInstance() {
);
}

/**
* @todo Implement testSetType().
*/
public function testSetType()
{
$this->object = new JDocument;
Expand All @@ -166,9 +160,6 @@ public function testSetType()
);
}

/**
* @todo Implement testGetType().
*/
public function testGetType()
{
$this->object = new JDocument;
Expand Down Expand Up @@ -211,9 +202,6 @@ public function testSetBuffer()
);
}

/**
* @todo Implement testGetMetaData().
*/
public function testGetMetaData()
{
$this->object = new JDocument;
Expand Down Expand Up @@ -274,9 +262,6 @@ public function testGetMetaData()
);
}

/**
* @todo Implement testAddScript().
*/
public function testAddScript()
{
$this->object = new JDocument;
Expand Down Expand Up @@ -316,9 +301,6 @@ public function testAddScript()
);
}

/**
* @todo Implement testAddScriptDeclaration().
*/
public function testAddScriptDeclaration()
{
$this->object = new JDocument;
Expand All @@ -345,9 +327,6 @@ public function testAddScriptDeclaration()
);
}

/**
* @todo Implement testAddStyleSheet().
*/
public function testAddStyleSheet()
{
$this->object = new JDocument;
Expand All @@ -372,9 +351,6 @@ public function testAddStyleSheet()
);
}

/**
* @todo Implement testAddStyleDeclaration().
*/
public function testAddStyleDeclaration()
{
$this->object = new JDocument;
Expand All @@ -401,9 +377,6 @@ public function testAddStyleDeclaration()
);
}

/**
* @todo Implement testSetCharset().
*/
public function testSetCharset()
{
$this->object = new JDocument;
Expand All @@ -416,9 +389,6 @@ public function testSetCharset()
);
}

/**
* @todo Implement testGetCharset().
*/
public function testGetCharset()
{
$this->object = new JDocument;
Expand All @@ -431,9 +401,6 @@ public function testGetCharset()
);
}

/**
* @todo Implement testSetLanguage().
*/
public function testSetLanguage()
{
$this->object = new JDocument;
Expand All @@ -446,9 +413,6 @@ public function testSetLanguage()
);
}

/**
* @todo Implement testGetLanguage().
*/
public function testGetLanguage()
{
$this->object = new JDocument;
Expand All @@ -461,9 +425,6 @@ public function testGetLanguage()
);
}

/**
* @todo Implement testSetDirection().
*/
public function testSetDirection()
{
$this->object = new JDocument;
Expand All @@ -476,9 +437,6 @@ public function testSetDirection()
);
}

/**
* @todo Implement testGetDirection().
*/
public function testGetDirection()
{
$this->object = new JDocument;
Expand All @@ -491,9 +449,6 @@ public function testGetDirection()
);
}

/**
* @todo Implement testSetTitle().
*/
public function testSetTitle()
{
$this->object = new JDocument;
Expand All @@ -506,9 +461,6 @@ public function testSetTitle()
);
}

/**
* @todo Implement testGetTitle().
*/
public function testGetTitle()
{
$this->object = new JDocument;
Expand All @@ -521,9 +473,6 @@ public function testGetTitle()
);
}

/**
* @todo Implement testSetBase().
*/
public function testSetBase()
{
$this->object = new JDocument;
Expand All @@ -536,9 +485,6 @@ public function testSetBase()
);
}

/**
* @todo Implement testGetBase().
*/
public function testGetBase()
{
$this->object = new JDocument;
Expand All @@ -551,9 +497,6 @@ public function testGetBase()
);
}

/**
* @todo Implement testSetDescription().
*/
public function testSetDescription()
{
$this->object = new JDocument;
Expand All @@ -566,9 +509,6 @@ public function testSetDescription()
);
}

/**
* @todo Implement testGetDescription().
*/
public function testGetDescription()
{
$this->object = new JDocument;
Expand All @@ -581,9 +521,6 @@ public function testGetDescription()
);
}

/**
* @todo Implement testSetLink().
*/
public function testSetLink()
{
$this->object = new JDocument;
Expand All @@ -596,9 +533,6 @@ public function testSetLink()
);
}

/**
* @todo Implement testGetLink().
*/
public function testGetLink()
{
$this->object = new JDocument;
Expand All @@ -611,9 +545,6 @@ public function testGetLink()
);
}

/**
* @todo Implement testSetGenerator().
*/
public function testSetGenerator()
{
$this->object = new JDocument;
Expand All @@ -626,9 +557,6 @@ public function testSetGenerator()
);
}

/**
* @todo Implement testGetGenerator().
*/
public function testGetGenerator()
{
$this->object = new JDocument;
Expand All @@ -641,9 +569,6 @@ public function testGetGenerator()
);
}

/**
* @todo Implement testSetModifiedDate().
*/
public function testSetModifiedDate()
{
$this->object = new JDocument;
Expand All @@ -656,9 +581,6 @@ public function testSetModifiedDate()
);
}

/**
* @todo Implement testGetModifiedDate().
*/
public function testGetModifiedDate()
{
$this->object = new JDocument;
Expand All @@ -671,9 +593,6 @@ public function testGetModifiedDate()
);
}

/**
* @todo Implement testSetMimeEncoding().
*/
public function testSetMimeEncoding()
{
$this->object = new JDocument;
Expand All @@ -699,9 +618,6 @@ public function testGetMimeEncoding()
$this->assertEquals('zip',$document->getMimeEncoding(),'getMimeEncoding should be zip');
}

/**
* @todo Implement testSetLineEnd().
*/
public function testSetLineEnd()
{
$this->object = new JDocument;
Expand Down Expand Up @@ -736,9 +652,6 @@ public function testSetLineEnd()

}

/**
* @todo Implement test_getLineEnd().
*/
public function test_getLineEnd()
{
$this->object = new JDocument;
Expand All @@ -751,9 +664,6 @@ public function test_getLineEnd()
);
}

/**
* @todo Implement testSetTab().
*/
public function testSetTab()
{
$this->object = new JDocument;
Expand All @@ -767,9 +677,6 @@ public function testSetTab()

}

/**
* @todo Implement test_getTab().
*/
public function test_getTab()
{
$this->object = new JDocument;
Expand All @@ -782,9 +689,6 @@ public function test_getTab()
);
}

/**
* @todo Implement testLoadRenderer().
*/
public function testLoadRenderer()
{
$this->object = new JDocument;
Expand All @@ -796,9 +700,6 @@ public function testLoadRenderer()
);
}

/**
* @todo Implement testParse().
*/
public function testParse()
{
$this->object = new JDocument;
Expand All @@ -809,9 +710,6 @@ public function testParse()
);
}

/**
* @todo Implement testRender().
*/
public function testRender()
{
$this->object = new JDocument;
Expand Down
Loading

0 comments on commit 52e4f7a

Please sign in to comment.