svn: /pear/packages/Net_DNS/trunk/tests/ AllTests.php Net_DNS_RR_LOCTest.php

From: Date: Tue, 13 Apr 2010 06:56:19 +0000
Subject: svn: /pear/packages/Net_DNS/trunk/tests/ AllTests.php Net_DNS_RR_LOCTest.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-59251@lists.php.net to get a copy of this message
clockwerx Tue, 13 Apr 2010 06:56:19 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=297946 Log: Test coverage skeletons Changed paths: U pear/packages/Net_DNS/trunk/tests/AllTests.php A pear/packages/Net_DNS/trunk/tests/Net_DNS_RR_LOCTest.php Modified: pear/packages/Net_DNS/trunk/tests/AllTests.php =================================================================== --- pear/packages/Net_DNS/trunk/tests/AllTests.php 2010-04-13 06:48:54 UTC (rev 297945) +++ pear/packages/Net_DNS/trunk/tests/AllTests.php 2010-04-13 06:56:19 UTC (rev 297946) @@ -7,7 +7,8 @@ require_once 'PHPUnit/TextUI/TestRunner.php'; require_once 'Net_DNS_ResolverTest.php'; -require_once 'Net_DNS_RRTest.php'; +require_once 'Net_DNS_RRTest.php'; +require_once 'Net_DNS_RR_LOCTest.php'; class Net_DNS_AllTests { @@ -21,7 +22,8 @@ $suite = new PHPUnit_Framework_TestSuite('PEAR - Net_DNS'); $suite->addTestSuite('Net_DNS_ResolverTest'); - $suite->addTestSuite('Net_DNS_RRTest'); + $suite->addTestSuite('Net_DNS_RRTest'); + $suite->addTestSuite('Net_DNS_RR_LOCTest'); return $suite; } Added: pear/packages/Net_DNS/trunk/tests/Net_DNS_RR_LOCTest.php =================================================================== --- pear/packages/Net_DNS/trunk/tests/Net_DNS_RR_LOCTest.php (rev 0) +++ pear/packages/Net_DNS/trunk/tests/Net_DNS_RR_LOCTest.php 2010-04-13 06:56:19 UTC (rev 297946) @@ -0,0 +1,35 @@ +<?php +require_once 'Net/DNS.php'; + +class Net_DNS_RR_LOCTest extends PHPUnit_Framework_TestCase { + + + public function testShouldSetUpInitialState() { + $this->markTestIncomplete('function Net_DNS_RR_LOC($rro, $data, $offset = 0)'); + } + + public function testShouldParse() { + $this->markTestIncomplete('parse'); + } + + public function testShouldFormatDataCorrectly() { + $this->markTestIncomplete('rdatastr'); + } + + public function testShouldDoSomethingWithRRData() { + $this->markTestIncomplete('rr_rdata'); + } + + public function testShouldReturnCorrectNtovalFigures() { + $this->markTestIncomplete('precsize_ntoval'); + } + + public function testShouldReturnCorrectValtonFigures() { + $this->markTestIncomplete('precsize_valton'); + } + + public function testShouldReturnACorrectlyFormattedLatDonDmsString() { + $this->markTestIncomplete('latlon2dms'); + } + +}

« previous php.pear.cvs (#59251) next »