Fix strange cib loading path caused by non-bundliness of Tests/AppKit.

This commit is contained in:
Alexander Ljungberg committed 2010-11-19 13:04:59 -03:00
1 parent 70bc3557b4
commit 741c235f08
2 files changed
+15 -1

No files matched your search

@@ -105,7 +105,7 @@
{
// Note: this cib will connect 'objectController'. This is only for debugging purposes,
// this code should run with or without that connection.
var cib = [CPBundle loadCibFile:[[CPBundle bundleForClass:CPKeyValueBindingSimpleBindingsTest] pathForResource:"../Tests/AppKit/Resources/SimpleBindingsAdoption_03.cib"] externalNameTable:[CPDictionary dictionaryWithObject:self forKey:CPCibOwner]];
var cib = [CPBundle loadCibFile:[[CPBundle bundleForClass:CPKeyValueBindingSimpleBindingsTest] pathForResource:"SimpleBindingsAdoption_03.cib"] externalNameTable:[CPDictionary dictionaryWithObject:self forKey:CPCibOwner]];
// Test the interaction.
[textField setStringValue:@"0.7"];
+14
View File
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CPBundleIdentifier</key>
<string>com.280n.Tests.AppKit</string>
<key>CPBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CPBundleName</key>
<string>AppKit</string>
<key>CPBundlePackageType</key>
<string>FMWK</string>
</dict>
</plist>