Mihail Geshoski
f0dffddaac
MDL-73355 navigation: Add new methods in navigation_node
...
Adds new methods is_action_link() and action_link_actions() in the
navigation_node class. The is_action_link() method can be used to
check whether the node's action is of type action_link. The
action_link_actions() method returns the formatted data required
for the core/actions template if the navigation node has an action
link.
2022-02-23 21:44:08 +08:00
Mihail Geshoski
73154233e0
MDL-71680 navigation: Add unit tests for set_force_into_more_menu()
...
- Part of: MDL-69588
2021-08-23 17:46:39 +08:00
Jake Dallimore
5d0cc05b20
MDL-59277 navigation: add support for container type in get_css_type()
2017-09-18 09:03:51 +08:00
James
eb9a3e9379
MDL-53383 navigation: Do not require $type in remove()
...
navigation_node_collection -> remove function broken when $type is null
2016-03-21 12:16:26 +08:00
Adrian Greeve
508e364f5e
MDL-50917 navigation: Unit test for viewing preference page.
2015-09-22 10:57:52 +08:00
Sam Hemelryk
4d5c7cb0d8
MDL-41081 navigation: added unit tests for navbar::prepend
2013-08-26 08:52:35 +12:00
Petr Škoda
c78c8aaad2
MDL-39915 fix core_navigationlib_testcase regression
2013-07-28 15:29:33 +02:00
Petr Škoda
18c4323019
MDL-39915 cleanup core_outputcomponents_testcase
2013-07-27 23:47:54 +02:00
Marina Glancy
5150c30203
MDL-39801 navigation_node::remove does not allow to insert nodes afterwards
2013-05-31 11:49:34 +10:00
Marina Glancy
e3b11a6e2b
MDL-39801 navigation_node::remove fails if first child does not have a key
2013-05-31 11:49:12 +10:00
Dan Poltawski
43b5915e04
MDL-37574 - Fix navigation tests: remove title
...
We are no longer setting it, to improve accessibility
2013-02-05 08:38:32 +08:00
Dan Poltawski
0e35ba6ffc
MDL-36357 cleanup - remove double semicolons
2012-11-15 09:51:26 +08:00
Marina Glancy
d0c05602f5
MDL-35263 removed unit test test_format_display_course_content()
...
since the function global_navigation::format_display_course_content() is removed
2012-10-02 14:16:54 +08:00
Petr Skoda
4ca04fb58b
MDL-32569 remove remaining references to simpletest and improve events test
2012-04-21 17:08:30 +02:00
Petr Skoda
f4fd0a13d1
MDL-32149 navigation tests
2012-04-03 22:31:01 +02:00