- The XBRL Standard
- XBRL Specifications
- Registries
- Functions Registry 1.0
- Functions Registry
- xfi:concept-period-type
- 90202:
All tests
Documentation
This is only a template. It needs to be updated.
Tests still to be done:
Errors thrown when using invalid input arguments.
Owners
Name
|
Affiliation
|
Email
|
Start
|
End
|
Geoff Shuetrim |
Galexy
|
geoff@galexy.net |
30-01-2008 at 00:00:00 |
|
Test Case Variations
V-01
Works for an instant concept.
Documentation
Tests that the function works for an instant concept.
Inputs
- schema: period-type.xsd
- instance: instance.xml
(DTS Discovery starting point)
(ID=V01)
-
Function Call:
xfi:concept-period-type(node-name(/xbrli:xbrl/concept:c1[@contextRef='context-instant'][1]))
(against file V01)
Outputs
-
Result test:
count( $result ) eq 1
and
$result eq 'instant'
V-02
Works for a duration concept.
Documentation
Tests that the function works for an duration concept.
Inputs
- schema: period-type.xsd
- instance: instance.xml
(DTS Discovery starting point)
(ID=V02)
-
Function Call:
xfi:concept-period-type(node-name(/xbrli:xbrl/concept:c2[@contextRef='context-forever'][1]))
(against file V02)
Outputs
-
Result test:
count( $result ) eq 1
and
$result eq 'duration'
Revisions
Name
|
On
|
Details
|
Geoff Shuetrim |
04-02-2008 at 14:30:00 |
Created the test case.
|