From 4ee6882e9f8c947835e3b5731d783d32bf818757 Mon Sep 17 00:00:00 2001 From: "Endi S. Dewata" Date: Fri, 4 Feb 2011 11:48:09 -0600 Subject: Removed unused code. --- install/ui/test/details_tests.js | 45 ---------------------------------------- 1 file changed, 45 deletions(-) (limited to 'install/ui/test/details_tests.js') diff --git a/install/ui/test/details_tests.js b/install/ui/test/details_tests.js index 804958134..039be0e61 100644 --- a/install/ui/test/details_tests.js +++ b/install/ui/test/details_tests.js @@ -217,51 +217,6 @@ test("Testing details lifecycle: create, setup, load.", function(){ }); -test("Testing create_input().", function() { - - var field = IPA.details_field({ - 'name': "name" - }); - - var name = "name"; - var value="value"; - var rights = 'rscwo' - var input = field.create_input(value, null, rights); - ok(input,"input not null"); - - var text = input.find('input'); - ok(text); - - same(text[0].name,name ); - same(text[0].value,value ); - same(text[0].type,"text" ); -}); - -test("Testing create_input() read only .", function() { - - var field = IPA.details_field({ - 'name': "name" - }); - - var name = "name"; - var value="value"; - var rights = 'rsc' - var input = field.create_input(value, null, rights); - ok(input,"input not null"); - - var text = input.find('input'); - ok(text); - - same(text[0].name,name ); - same(text[0].value,value ); - same(text[0].type,"text" ); - ok(text[0].disabled); - -}); - - - - test("Testing IPA.details_section_setup again()",function(){ var section = IPA.stanza({name: 'IDIDID', label: 'NAMENAMENAME'}). -- cgit