Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
3bb05b5f
Commit
3bb05b5f
authored
Feb 26, 2015
by
Heinrich Fenkart
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Unit tests: Use new names of module hooks
Refs #15893
parent
442d2dd4
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
22 additions
and
22 deletions
+22
-22
js/tests/unit/affix.js
js/tests/unit/affix.js
+2
-2
js/tests/unit/alert.js
js/tests/unit/alert.js
+2
-2
js/tests/unit/button.js
js/tests/unit/button.js
+2
-2
js/tests/unit/carousel.js
js/tests/unit/carousel.js
+2
-2
js/tests/unit/collapse.js
js/tests/unit/collapse.js
+2
-2
js/tests/unit/dropdown.js
js/tests/unit/dropdown.js
+2
-2
js/tests/unit/modal.js
js/tests/unit/modal.js
+2
-2
js/tests/unit/popover.js
js/tests/unit/popover.js
+2
-2
js/tests/unit/scrollspy.js
js/tests/unit/scrollspy.js
+2
-2
js/tests/unit/tab.js
js/tests/unit/tab.js
+2
-2
js/tests/unit/tooltip.js
js/tests/unit/tooltip.js
+2
-2
No files found.
js/tests/unit/affix.js
View file @
3bb05b5f
...
@@ -8,11 +8,11 @@ $(function () {
...
@@ -8,11 +8,11 @@ $(function () {
})
})
QUnit
.
module
(
'
affix
'
,
{
QUnit
.
module
(
'
affix
'
,
{
setup
:
function
()
{
beforeEach
:
function
()
{
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
$
.
fn
.
bootstrapAffix
=
$
.
fn
.
affix
.
noConflict
()
$
.
fn
.
bootstrapAffix
=
$
.
fn
.
affix
.
noConflict
()
},
},
teardown
:
function
()
{
afterEach
:
function
()
{
$
.
fn
.
affix
=
$
.
fn
.
bootstrapAffix
$
.
fn
.
affix
=
$
.
fn
.
bootstrapAffix
delete
$
.
fn
.
bootstrapAffix
delete
$
.
fn
.
bootstrapAffix
}
}
...
...
js/tests/unit/alert.js
View file @
3bb05b5f
...
@@ -8,11 +8,11 @@ $(function () {
...
@@ -8,11 +8,11 @@ $(function () {
})
})
QUnit
.
module
(
'
alert
'
,
{
QUnit
.
module
(
'
alert
'
,
{
setup
:
function
()
{
beforeEach
:
function
()
{
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
$
.
fn
.
bootstrapAlert
=
$
.
fn
.
alert
.
noConflict
()
$
.
fn
.
bootstrapAlert
=
$
.
fn
.
alert
.
noConflict
()
},
},
teardown
:
function
()
{
afterEach
:
function
()
{
$
.
fn
.
alert
=
$
.
fn
.
bootstrapAlert
$
.
fn
.
alert
=
$
.
fn
.
bootstrapAlert
delete
$
.
fn
.
bootstrapAlert
delete
$
.
fn
.
bootstrapAlert
}
}
...
...
js/tests/unit/button.js
View file @
3bb05b5f
...
@@ -8,11 +8,11 @@ $(function () {
...
@@ -8,11 +8,11 @@ $(function () {
})
})
QUnit
.
module
(
'
button
'
,
{
QUnit
.
module
(
'
button
'
,
{
setup
:
function
()
{
beforeEach
:
function
()
{
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
$
.
fn
.
bootstrapButton
=
$
.
fn
.
button
.
noConflict
()
$
.
fn
.
bootstrapButton
=
$
.
fn
.
button
.
noConflict
()
},
},
teardown
:
function
()
{
afterEach
:
function
()
{
$
.
fn
.
button
=
$
.
fn
.
bootstrapButton
$
.
fn
.
button
=
$
.
fn
.
bootstrapButton
delete
$
.
fn
.
bootstrapButton
delete
$
.
fn
.
bootstrapButton
}
}
...
...
js/tests/unit/carousel.js
View file @
3bb05b5f
...
@@ -8,11 +8,11 @@ $(function () {
...
@@ -8,11 +8,11 @@ $(function () {
})
})
QUnit
.
module
(
'
carousel
'
,
{
QUnit
.
module
(
'
carousel
'
,
{
setup
:
function
()
{
beforeEach
:
function
()
{
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
$
.
fn
.
bootstrapCarousel
=
$
.
fn
.
carousel
.
noConflict
()
$
.
fn
.
bootstrapCarousel
=
$
.
fn
.
carousel
.
noConflict
()
},
},
teardown
:
function
()
{
afterEach
:
function
()
{
$
.
fn
.
carousel
=
$
.
fn
.
bootstrapCarousel
$
.
fn
.
carousel
=
$
.
fn
.
bootstrapCarousel
delete
$
.
fn
.
bootstrapCarousel
delete
$
.
fn
.
bootstrapCarousel
}
}
...
...
js/tests/unit/collapse.js
View file @
3bb05b5f
...
@@ -8,11 +8,11 @@ $(function () {
...
@@ -8,11 +8,11 @@ $(function () {
})
})
QUnit
.
module
(
'
collapse
'
,
{
QUnit
.
module
(
'
collapse
'
,
{
setup
:
function
()
{
beforeEach
:
function
()
{
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
$
.
fn
.
bootstrapCollapse
=
$
.
fn
.
collapse
.
noConflict
()
$
.
fn
.
bootstrapCollapse
=
$
.
fn
.
collapse
.
noConflict
()
},
},
teardown
:
function
()
{
afterEach
:
function
()
{
$
.
fn
.
collapse
=
$
.
fn
.
bootstrapCollapse
$
.
fn
.
collapse
=
$
.
fn
.
bootstrapCollapse
delete
$
.
fn
.
bootstrapCollapse
delete
$
.
fn
.
bootstrapCollapse
}
}
...
...
js/tests/unit/dropdown.js
View file @
3bb05b5f
...
@@ -8,11 +8,11 @@ $(function () {
...
@@ -8,11 +8,11 @@ $(function () {
})
})
QUnit
.
module
(
'
dropdowns
'
,
{
QUnit
.
module
(
'
dropdowns
'
,
{
setup
:
function
()
{
beforeEach
:
function
()
{
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
$
.
fn
.
bootstrapDropdown
=
$
.
fn
.
dropdown
.
noConflict
()
$
.
fn
.
bootstrapDropdown
=
$
.
fn
.
dropdown
.
noConflict
()
},
},
teardown
:
function
()
{
afterEach
:
function
()
{
$
.
fn
.
dropdown
=
$
.
fn
.
bootstrapDropdown
$
.
fn
.
dropdown
=
$
.
fn
.
bootstrapDropdown
delete
$
.
fn
.
bootstrapDropdown
delete
$
.
fn
.
bootstrapDropdown
}
}
...
...
js/tests/unit/modal.js
View file @
3bb05b5f
...
@@ -8,11 +8,11 @@ $(function () {
...
@@ -8,11 +8,11 @@ $(function () {
})
})
QUnit
.
module
(
'
modal
'
,
{
QUnit
.
module
(
'
modal
'
,
{
setup
:
function
()
{
beforeEach
:
function
()
{
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
$
.
fn
.
bootstrapModal
=
$
.
fn
.
modal
.
noConflict
()
$
.
fn
.
bootstrapModal
=
$
.
fn
.
modal
.
noConflict
()
},
},
teardown
:
function
()
{
afterEach
:
function
()
{
$
.
fn
.
modal
=
$
.
fn
.
bootstrapModal
$
.
fn
.
modal
=
$
.
fn
.
bootstrapModal
delete
$
.
fn
.
bootstrapModal
delete
$
.
fn
.
bootstrapModal
}
}
...
...
js/tests/unit/popover.js
View file @
3bb05b5f
...
@@ -8,11 +8,11 @@ $(function () {
...
@@ -8,11 +8,11 @@ $(function () {
})
})
QUnit
.
module
(
'
popover
'
,
{
QUnit
.
module
(
'
popover
'
,
{
setup
:
function
()
{
beforeEach
:
function
()
{
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
$
.
fn
.
bootstrapPopover
=
$
.
fn
.
popover
.
noConflict
()
$
.
fn
.
bootstrapPopover
=
$
.
fn
.
popover
.
noConflict
()
},
},
teardown
:
function
()
{
afterEach
:
function
()
{
$
.
fn
.
popover
=
$
.
fn
.
bootstrapPopover
$
.
fn
.
popover
=
$
.
fn
.
bootstrapPopover
delete
$
.
fn
.
bootstrapPopover
delete
$
.
fn
.
bootstrapPopover
}
}
...
...
js/tests/unit/scrollspy.js
View file @
3bb05b5f
...
@@ -8,11 +8,11 @@ $(function () {
...
@@ -8,11 +8,11 @@ $(function () {
})
})
QUnit
.
module
(
'
scrollspy
'
,
{
QUnit
.
module
(
'
scrollspy
'
,
{
setup
:
function
()
{
beforeEach
:
function
()
{
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
$
.
fn
.
bootstrapScrollspy
=
$
.
fn
.
scrollspy
.
noConflict
()
$
.
fn
.
bootstrapScrollspy
=
$
.
fn
.
scrollspy
.
noConflict
()
},
},
teardown
:
function
()
{
afterEach
:
function
()
{
$
.
fn
.
scrollspy
=
$
.
fn
.
bootstrapScrollspy
$
.
fn
.
scrollspy
=
$
.
fn
.
bootstrapScrollspy
delete
$
.
fn
.
bootstrapScrollspy
delete
$
.
fn
.
bootstrapScrollspy
}
}
...
...
js/tests/unit/tab.js
View file @
3bb05b5f
...
@@ -8,11 +8,11 @@ $(function () {
...
@@ -8,11 +8,11 @@ $(function () {
})
})
QUnit
.
module
(
'
tabs
'
,
{
QUnit
.
module
(
'
tabs
'
,
{
setup
:
function
()
{
beforeEach
:
function
()
{
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
$
.
fn
.
bootstrapTab
=
$
.
fn
.
tab
.
noConflict
()
$
.
fn
.
bootstrapTab
=
$
.
fn
.
tab
.
noConflict
()
},
},
teardown
:
function
()
{
afterEach
:
function
()
{
$
.
fn
.
tab
=
$
.
fn
.
bootstrapTab
$
.
fn
.
tab
=
$
.
fn
.
bootstrapTab
delete
$
.
fn
.
bootstrapTab
delete
$
.
fn
.
bootstrapTab
}
}
...
...
js/tests/unit/tooltip.js
View file @
3bb05b5f
...
@@ -8,11 +8,11 @@ $(function () {
...
@@ -8,11 +8,11 @@ $(function () {
})
})
QUnit
.
module
(
'
tooltip
'
,
{
QUnit
.
module
(
'
tooltip
'
,
{
setup
:
function
()
{
beforeEach
:
function
()
{
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
// Run all tests in noConflict mode -- it's the only way to ensure that the plugin works in noConflict mode
$
.
fn
.
bootstrapTooltip
=
$
.
fn
.
tooltip
.
noConflict
()
$
.
fn
.
bootstrapTooltip
=
$
.
fn
.
tooltip
.
noConflict
()
},
},
teardown
:
function
()
{
afterEach
:
function
()
{
$
.
fn
.
tooltip
=
$
.
fn
.
bootstrapTooltip
$
.
fn
.
tooltip
=
$
.
fn
.
bootstrapTooltip
delete
$
.
fn
.
bootstrapTooltip
delete
$
.
fn
.
bootstrapTooltip
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment