<commit_before>// ==========================================================================
// Project: SproutCore - JavaScript Application Framework
// Copyright: ©2006-2009 Sprout Systems, Inc. and contributors.
// portions copyright @2009 Apple Inc.
// License: Licensed under MIT license (see license.js)
// ==========================================================================
/*global module test htmlbody ok equals same stop start */

htmlbody('<style> .sc-static-layout { border: 1px red dotted; } </style>');
(function() {
  var method = function() { console.log("done"); };
var pane = SC.ControlTestPane.design({ width:200,height: 32 })
  .add("full", SC.MenuItemView.design({ 
    content: SC.Object.create({ 
      icon: "sc-icon-folder-16",
      title1: "List Item 1",
      checkbox: YES,
      shortcut: "Text",
      keyEquivalent: "alt_shift_z"
   }),
  isAnOption: YES,
  contentValueKey: "title1",
  contentIconKey: "icon",
  shortCutKey: "shortcut",
  contentCheckboxKey: "checkbox",
  keyEquivalent: "shift_>",
  action: method,
  isEnabled: NO
    // contentIsBranchKey: 'branch'
  }))
  
  .add("disabled menu item with no content", SC.MenuItemView.design({ 
    content: SC.Object.create(),
    isSeparator: YES,
    isEnabled: NO
  }));
 
pane.show();

module("Menu Item View");
test("Changing the properties", function() {
  pane.view('full').set('isEnabledKey', YES);
});
})();<commit_msg>These menu item unit tests were bogus anyway, so putting a placeholder for now.<commit_after>// ==========================================================================
// Project:   SproutCore - JavaScript Application Framework
// Copyright: ©2006-2009 Sprout Systems, Inc. and contributors.
//            portions copyright @2010 Apple Inc.
// License:   Licensed under MIT license (see license.js)
// ==========================================================================

/*global module test htmlbody ok equals same stop start */

module("TODO: Test SC.MenuItemView UI");
{'fraction_non_alphanumeric': 0.2708229426433915, 'fraction_numerical': 0.017456359102244388, 'mean_word_length': 4.48087431693989, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 6, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3824705', 'n_tokens_mistral': 572, 'n_tokens_neox': 517, 'n_words': 159}