You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update `TestInfo` property of snippets that have demo code to
`advanced`.
Add new `AdvancedTest.Level` property that provides further information
about testing of snippets which have `TestInfo=advanced`. Snippets that
have demo code were given `AdvancedTest.Level` property with value
`demo` while snippets that have unit tests were given
`AdvancedTest.Level` property with value `unit-tests`.
Add new `AdvancedTest.URL` property to all snippets with
`TestInfo=advanced` that had value containing URL of related demo or
unit test project.
@@ -1381,6 +1401,8 @@ DescEx="<p>Returns the date of Easter Sunday for the given year in the Gregorian
1381
1401
Extra="<p>This routine is derived from a snippet taken from the SWAG Archive. That snippet was converted to Pascal by Kerry Sokalsky from Modula-2 code written by Greg Vigneault in 1993.</p><p>The algorithm was taken from chapter 4 of "Astronomical Formulae for Calculators" 2nd edition; by Jean Meeus; publisher: Willmann-Bell Inc., ISBN 0-943396-01-8.</p><p>The algorithm is valid for all years in the Gregorian calendar, i.e. from 1583 onwards. The extreme dates of Easter are March 22 (as in 1818 and 2285) and April 25 (as in 1886, 1943, 2038).</p><p>For more details of the algorithm see <a href="http://en.wikipedia.org/wiki/Computus#Anonymous_Gregorian_algorithm">this article</a> on Wikipedia.</p>"
DescEx="<p>Gets information about the size of a drive and the space available to the current user. Returns True if the the required information can be obtained and False if not.</p><p>On success <var>AvailBytes</var> is the amount of space available to the current user, <var>TotalBytes</var> is the total number of bytes on the disk that is available to the current user and <var>FreeBytes</var> is the total number of free bytes on the disk.</p>"
171
192
Extra="<p>Drive must be a valid drive such as <mono>C:\</mono> or a UNC name such as <mono>\\MyServer\MyShare\</mono> (with trailing backslash).</p><p>If per-user disk quotas are being used then the value of <var>AvailBytes</var> maybe less than the free space available on the disk and <var>TotalBytes</var> may be less that the total number of bytes on the disk.</p><p>Loosely based on code contributed by Bill Miller.</p>"
@@ -194,6 +218,9 @@ DescEx="<p>Returns the display name for the drive with the given root path.</p>"
194
218
Extra="<p><strong>Note:</strong> On versions of Delphi that do not support the <var>SysUtils.RaiseLastOSError</var> routine, this call can be replaced by <var>RaiseLastWin32Error</var>.</p>"
DescEx="<p>Returns the serial number of the volume whose root directory is contained in the <var>Drive</var> parameter. Returns 0 if the given drive is not valid or has no serial number.</p>"
243
273
Extra="<p>The <var>Drive</var> parameter must either be the name of a local drive (e.g. <mono>C:\</mono>) or network share (e.g. <mono>\\MyServer\MyShare\</mono>). A trailing backslash must be provided. A drive letter on its own will not be recognised.</p>"
@@ -291,6 +327,9 @@ DescEx="<p>Checks if the given drive path represents a valid drive.</p>"
291
327
Extra="<p>A valid drive can be a disk letter (e.g. <mono>C</mono>), a drive name (e.g <mono>C:</mono> or <mono>C:\</mono>) or an absolute file path on the drive (e.g. <mono>C:\Foo\Bar.txt</mono>).</p>"
0 commit comments