Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
qfq
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
typo3
qfq
Commits
bc61f83e
Commit
bc61f83e
authored
8 years ago
by
Rafael Ostertag
Browse files
Options
Downloads
Patches
Plain Diff
Fixed jasmine tests.
parent
19a315ae
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tests/jasmine/SpecRunner.html
+1
-1
1 addition, 1 deletion
tests/jasmine/SpecRunner.html
tests/jasmine/spec/ElementSpec.js
+1
-1
1 addition, 1 deletion
tests/jasmine/spec/ElementSpec.js
tests/jasmine/spec/ElementTextualSpec.js
+2
-2
2 additions, 2 deletions
tests/jasmine/spec/ElementTextualSpec.js
with
4 additions
and
4 deletions
tests/jasmine/SpecRunner.html
+
1
−
1
View file @
bc61f83e
...
...
@@ -24,7 +24,7 @@
<!-- include spec files here... -->
<script
src=
"spec/HelperFunctionListSpec.js"
></script>
<script
src=
"spec/ElementFormGroupSpec.js"
></script>
<script
src=
"spec/ElementTextSpec.js"
></script>
<script
src=
"spec/ElementText
ual
Spec.js"
></script>
<script
src=
"spec/ElementRadioSpec.js"
></script>
<script
src=
"spec/ElementSelectSpec.js"
></script>
<script
src=
"spec/ElementCheckboxSpec.js"
></script>
...
...
This diff is collapsed.
Click to expand it.
tests/jasmine/spec/ElementSpec.js
+
1
−
1
View file @
bc61f83e
...
...
@@ -19,7 +19,7 @@ describe('Element namespace function getElement()', function () {
it
(
"
should get the proper element instance for text
"
,
function
()
{
var
element
=
QfqNS
.
Element
.
getElement
(
'
personHandle
'
);
expect
(
element
instanceof
QfqNS
.
Element
.
Text
).
toBe
(
true
);
expect
(
element
instanceof
QfqNS
.
Element
.
Text
ual
).
toBe
(
true
);
});
it
(
"
should get the proper element instance for checkbox
"
,
function
()
{
...
...
This diff is collapsed.
Click to expand it.
tests/jasmine/spec/ElementTextSpec.js
→
tests/jasmine/spec/ElementText
ual
Spec.js
+
2
−
2
View file @
bc61f83e
...
...
@@ -16,12 +16,12 @@ describe("Element Text", function () {
beforeAll
(
function
()
{
$textInput
=
$
(
"
input[name='personHandle']
"
);
textInput
=
new
QfqNS
.
Element
.
Text
(
$textInput
);
textInput
=
new
QfqNS
.
Element
.
Text
ual
(
$textInput
);
});
it
(
"
should throw on wrong type
"
,
function
()
{
expect
(
function
()
{
new
QfqNS
.
Element
.
Text
(
$
(
"
input[name='gender']
"
));
new
QfqNS
.
Element
.
Text
ual
(
$
(
"
input[name='gender']
"
));
}).
toThrow
();
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment